vue-data-ui 3.17.13 → 3.18.1
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-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.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-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.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-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.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 +4775 -627
- 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-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.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-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.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-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.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
|
@@ -0,0 +1,1504 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { H as t, It as n, pt as r, t as i, y as a, zt as o } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as s } from "./useConfig-BV0kTCnO.js";
|
|
4
|
+
import { t as c } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { n as l, t as u } from "./BaseScanner-C7dmAref.js";
|
|
6
|
+
import { t as d } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
+
import { t as f } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
+
import { t as p } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
+
import { t as ee } from "./img-BjOr008R.js";
|
|
10
|
+
import { n as te } from "./Title-__gWq2g6.js";
|
|
11
|
+
import { t as ne } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
12
|
+
import { c as re } from "./canvas-lib-DTaADQOK.js";
|
|
13
|
+
import { t as ie } from "./useResponsive-CrAInupd.js";
|
|
14
|
+
import { t as ae } from "./A11yDataTable-q2-8fSlJ.js";
|
|
15
|
+
import { t as oe } from "./useUserOptionState-CjPJPTg2.js";
|
|
16
|
+
import { t as se } from "./useChartAccessibility-Do37qcw2.js";
|
|
17
|
+
import { t as ce } from "./usePanZoom-B-4M_gmY.js";
|
|
18
|
+
import { t as le } from "./BaseZoomControls-Ce1yqas1.js";
|
|
19
|
+
import { t as ue } from "./geoProjections-CQIkC70z.js";
|
|
20
|
+
import { t as de } from "./vue_ui_geo-C0UbQ0Lc.js";
|
|
21
|
+
import { Fragment as fe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as pe, createVNode as me, defineAsyncComponent as he, guardReactiveProps as y, mergeProps as ge, nextTick as b, normalizeClass as _e, normalizeProps as x, normalizeStyle as ve, onBeforeUnmount as ye, onMounted as be, openBlock as S, ref as C, renderList as xe, renderSlot as w, toDisplayString as Se, toRefs as Ce, unref as T, watch as we, withCtx as E } from "vue";
|
|
22
|
+
//#region src/components/vue-ui-geo.vue
|
|
23
|
+
var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe = { style: { position: "relative" } }, ke = [
|
|
24
|
+
"xmlns",
|
|
25
|
+
"viewBox",
|
|
26
|
+
"aria-describedby",
|
|
27
|
+
"id"
|
|
28
|
+
], Ae = ["transform"], je = [
|
|
29
|
+
"d",
|
|
30
|
+
"fill",
|
|
31
|
+
"stroke",
|
|
32
|
+
"stroke-width",
|
|
33
|
+
"onMouseenter",
|
|
34
|
+
"onMouseleave",
|
|
35
|
+
"onClick"
|
|
36
|
+
], Me = [
|
|
37
|
+
"d",
|
|
38
|
+
"stroke",
|
|
39
|
+
"stroke-width",
|
|
40
|
+
"onMouseenter",
|
|
41
|
+
"onMouseleave",
|
|
42
|
+
"onClick"
|
|
43
|
+
], Ne = [
|
|
44
|
+
"cx",
|
|
45
|
+
"cy",
|
|
46
|
+
"r",
|
|
47
|
+
"fill",
|
|
48
|
+
"stroke",
|
|
49
|
+
"stroke-width",
|
|
50
|
+
"onMouseenter"
|
|
51
|
+
], Pe = [
|
|
52
|
+
"cx",
|
|
53
|
+
"cy",
|
|
54
|
+
"r",
|
|
55
|
+
"fill",
|
|
56
|
+
"stroke",
|
|
57
|
+
"stroke-width",
|
|
58
|
+
"onMouseenter",
|
|
59
|
+
"onMouseleave",
|
|
60
|
+
"onClick"
|
|
61
|
+
], Fe = [
|
|
62
|
+
"x",
|
|
63
|
+
"y",
|
|
64
|
+
"fill",
|
|
65
|
+
"font-size"
|
|
66
|
+
], Ie = {
|
|
67
|
+
key: 0,
|
|
68
|
+
style: {
|
|
69
|
+
position: "absolute",
|
|
70
|
+
top: "100%",
|
|
71
|
+
left: "0",
|
|
72
|
+
width: "100%"
|
|
73
|
+
},
|
|
74
|
+
"data-dom-to-png-ignore": "",
|
|
75
|
+
"aria-hidden": "true"
|
|
76
|
+
}, Le = {
|
|
77
|
+
key: 6,
|
|
78
|
+
class: "vue-data-ui-watermark"
|
|
79
|
+
}, Re = 1.5, ze = /* @__PURE__ */ ne({
|
|
80
|
+
__name: "vue-ui-geo",
|
|
81
|
+
props: {
|
|
82
|
+
config: {
|
|
83
|
+
type: Object,
|
|
84
|
+
default() {
|
|
85
|
+
return {};
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
dataset: {
|
|
89
|
+
type: [Array, Object],
|
|
90
|
+
default() {
|
|
91
|
+
return [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
emits: ["copyAlt"],
|
|
96
|
+
setup(e, { expose: ne, emit: Te }) {
|
|
97
|
+
let ze = he(() => import("./Tooltip-B7lmdbac.js")), Be = he(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), He = he(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), D = e, Ue = Te, { vue_ui_geo: We } = s(), { isThemeValid: Ge, warnInvalidTheme: Ke } = p(), O = C(t()), qe = C(0), Je = C(0), Ye = C(!1), Xe = C(!1), k = C(null), A = C(!1), j = C(null), Ze = C(null), Qe = C(null), $e = C(null), M = C(null), N = C(null), et = C(null), tt = C(null), P = C(null), nt = C({
|
|
98
|
+
x: 0,
|
|
99
|
+
y: 0
|
|
100
|
+
}), F = C("pointer"), rt = C(!1), I = C(!1);
|
|
101
|
+
function it(e) {
|
|
102
|
+
I.value = e, qe.value += 1;
|
|
103
|
+
}
|
|
104
|
+
function at() {
|
|
105
|
+
let e = f({
|
|
106
|
+
userConfig: D.config,
|
|
107
|
+
defaultConfig: We
|
|
108
|
+
}), t = e.theme;
|
|
109
|
+
if (!t) return e;
|
|
110
|
+
if (!Ge.value(e)) return Ke(e), e;
|
|
111
|
+
let n = f({
|
|
112
|
+
userConfig: de[t] || D.config,
|
|
113
|
+
defaultConfig: e
|
|
114
|
+
});
|
|
115
|
+
return f({
|
|
116
|
+
userConfig: D.config,
|
|
117
|
+
defaultConfig: n
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
let L = C(at()), ot = m(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: st, keepUserOptionState: ct } = oe({ config: L.value }), { svgRef: R } = se({ config: L.value.style.chart.title }), lt = m(() => o({
|
|
121
|
+
defaultConfig: {
|
|
122
|
+
map: { geoJson: {
|
|
123
|
+
type: "FeatureCollection",
|
|
124
|
+
features: [
|
|
125
|
+
{
|
|
126
|
+
type: "Feature",
|
|
127
|
+
properties: { name: "Island A" },
|
|
128
|
+
geometry: {
|
|
129
|
+
type: "Polygon",
|
|
130
|
+
coordinates: [[
|
|
131
|
+
[-6, 2],
|
|
132
|
+
[-4, 2],
|
|
133
|
+
[-4, 4],
|
|
134
|
+
[-6, 4],
|
|
135
|
+
[-6, 2]
|
|
136
|
+
]]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
type: "Feature",
|
|
141
|
+
properties: { name: "Island B" },
|
|
142
|
+
geometry: {
|
|
143
|
+
type: "Polygon",
|
|
144
|
+
coordinates: [[
|
|
145
|
+
[-2, -1],
|
|
146
|
+
[1, -1],
|
|
147
|
+
[1, 2],
|
|
148
|
+
[-2, 2],
|
|
149
|
+
[-2, -1]
|
|
150
|
+
]]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: "Feature",
|
|
155
|
+
properties: { name: "Island C" },
|
|
156
|
+
geometry: {
|
|
157
|
+
type: "Polygon",
|
|
158
|
+
coordinates: [[
|
|
159
|
+
[3, -3],
|
|
160
|
+
[5, -3],
|
|
161
|
+
[5, -1],
|
|
162
|
+
[3, -1],
|
|
163
|
+
[3, -3]
|
|
164
|
+
]]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
type: "Feature",
|
|
169
|
+
properties: { name: "Island D" },
|
|
170
|
+
geometry: {
|
|
171
|
+
type: "Polygon",
|
|
172
|
+
coordinates: [[
|
|
173
|
+
[4, 3],
|
|
174
|
+
[7, 3],
|
|
175
|
+
[7, 5],
|
|
176
|
+
[4, 5],
|
|
177
|
+
[4, 3]
|
|
178
|
+
]]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
} },
|
|
183
|
+
userOptions: { show: !1 },
|
|
184
|
+
style: { chart: {
|
|
185
|
+
backgroundColor: "#99999930",
|
|
186
|
+
territory: {
|
|
187
|
+
fill: "#99999950",
|
|
188
|
+
stroke: "#8A8A8A",
|
|
189
|
+
strokeWidth: .5
|
|
190
|
+
}
|
|
191
|
+
} }
|
|
192
|
+
},
|
|
193
|
+
userConfig: L.value.skeletonConfig ?? {}
|
|
194
|
+
})), { loading: ut, FINAL_DATASET: dt } = l({
|
|
195
|
+
...Ce(D),
|
|
196
|
+
FINAL_CONFIG: L,
|
|
197
|
+
prepareConfig: at,
|
|
198
|
+
allowEmptyDataset: !0,
|
|
199
|
+
skeletonDataset: D.config?.skeletonDataset ?? [],
|
|
200
|
+
skeletonConfig: o({
|
|
201
|
+
defaultConfig: L.value,
|
|
202
|
+
userConfig: lt.value
|
|
203
|
+
})
|
|
204
|
+
}), { isPrinting: ft, isImaging: pt, generatePdf: mt, generateImage: ht } = c({
|
|
205
|
+
elementId: `vue-ui-geo_${O.value}`,
|
|
206
|
+
fileName: L.value.style.chart.title.text || "vue-ui-geo",
|
|
207
|
+
options: L.value.userOptions.print
|
|
208
|
+
}), gt = m(() => L.value.style.chart.controls.show ? L.value.style.chart.controls.position === "top" ? et.value?.$el ?? null : L.value.style.chart.controls.position === "bottom" ? tt.value?.$el ?? null : null : null);
|
|
209
|
+
function _t() {
|
|
210
|
+
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect(), M.value = null, N.value = null);
|
|
211
|
+
}
|
|
212
|
+
let z = m(() => !!L.value.responsive && !I.value);
|
|
213
|
+
we(() => I.value, async (e) => {
|
|
214
|
+
if (e) {
|
|
215
|
+
_t(), V.value = Number(L.value.style.chart.dimensions.width) || V.value, H.value = Number(L.value.style.chart.dimensions.height) || H.value, await b(), A.value = !1, requestAnimationFrame(() => {
|
|
216
|
+
A.value || tn();
|
|
217
|
+
});
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
L.value.responsive && (await b(), vt());
|
|
221
|
+
});
|
|
222
|
+
function vt() {
|
|
223
|
+
if (_t(), !z.value) return;
|
|
224
|
+
let e = re(() => {
|
|
225
|
+
if (!k.value) return;
|
|
226
|
+
let { width: e, height: t } = ie({
|
|
227
|
+
chart: k.value,
|
|
228
|
+
noTitle: yt.value ? Qe.value : null,
|
|
229
|
+
title: L.value.style.chart.title.text ? Ze.value : null,
|
|
230
|
+
legend: gt.value,
|
|
231
|
+
source: $e.value
|
|
232
|
+
});
|
|
233
|
+
requestAnimationFrame(() => {
|
|
234
|
+
V.value = Math.max(.1, Number(e) || .1), H.value = Math.max(.1, Number(t) || .1) - 24;
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
M.value = new ResizeObserver(e), N.value = k.value ? k.value.parentNode : null, N.value && M.value.observe(N.value), e();
|
|
238
|
+
}
|
|
239
|
+
let yt = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), bt = C({ showTooltip: L.value.style.chart.tooltip.show }), B = C(L.value.style.chart.zoom.active);
|
|
240
|
+
we(() => D.config, () => {
|
|
241
|
+
L.value = at(), bt.value.showTooltip = L.value.style.chart.tooltip.show, B.value = L.value.style.chart.zoom.active, V.value = L.value.style.chart.dimensions.width, H.value = L.value.style.chart.dimensions.height, vt(), Je.value += 1, qe.value += 1;
|
|
242
|
+
}, { deep: !0 });
|
|
243
|
+
let { projections: xt } = ue, St = m(() => L.value?.projection || "equirectangular"), Ct = m(() => {
|
|
244
|
+
let e = xt?.[St.value];
|
|
245
|
+
return typeof e == "function" ? e : xt.equirectangular;
|
|
246
|
+
}), wt = m(() => L.value.map.geoJson ?? null), Tt = {
|
|
247
|
+
aitoff: {
|
|
248
|
+
width: 1e3,
|
|
249
|
+
height: 500
|
|
250
|
+
},
|
|
251
|
+
azimuthalEquidistant: {
|
|
252
|
+
width: 1e3,
|
|
253
|
+
height: 1e3
|
|
254
|
+
},
|
|
255
|
+
bonne: {
|
|
256
|
+
width: 1e3,
|
|
257
|
+
height: 1e3
|
|
258
|
+
},
|
|
259
|
+
equirectangular: {
|
|
260
|
+
width: 1e3,
|
|
261
|
+
height: 700
|
|
262
|
+
},
|
|
263
|
+
gallPeters: {
|
|
264
|
+
width: 1e3,
|
|
265
|
+
height: 800
|
|
266
|
+
},
|
|
267
|
+
globe: {
|
|
268
|
+
width: 1e3,
|
|
269
|
+
height: 1e3
|
|
270
|
+
},
|
|
271
|
+
hammer: {
|
|
272
|
+
width: 1e3,
|
|
273
|
+
height: 500
|
|
274
|
+
},
|
|
275
|
+
mercator: {
|
|
276
|
+
width: 1e3,
|
|
277
|
+
height: 750
|
|
278
|
+
},
|
|
279
|
+
mollweide: {
|
|
280
|
+
width: 1e3,
|
|
281
|
+
height: 600
|
|
282
|
+
},
|
|
283
|
+
robinson: {
|
|
284
|
+
width: 1e3,
|
|
285
|
+
height: 600
|
|
286
|
+
},
|
|
287
|
+
sinusoidal: {
|
|
288
|
+
width: 1e3,
|
|
289
|
+
height: 500
|
|
290
|
+
},
|
|
291
|
+
vanDerGrinten: {
|
|
292
|
+
width: 1e3,
|
|
293
|
+
height: 1e3
|
|
294
|
+
},
|
|
295
|
+
winkelTripel: {
|
|
296
|
+
width: 1e3,
|
|
297
|
+
height: 1e3
|
|
298
|
+
}
|
|
299
|
+
}, V = C(L.value.style.chart.dimensions.width), H = C(L.value.style.chart.dimensions.height), Et = m(() => {
|
|
300
|
+
let e = Tt[St.value] || Tt.equirectangular;
|
|
301
|
+
return {
|
|
302
|
+
width: e.width,
|
|
303
|
+
height: e.height
|
|
304
|
+
};
|
|
305
|
+
}), U = m(() => {
|
|
306
|
+
let e = Et.value, t = V.value, n = H.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
|
|
307
|
+
return r && i ? {
|
|
308
|
+
width: t,
|
|
309
|
+
height: n
|
|
310
|
+
} : r && !i ? {
|
|
311
|
+
width: t,
|
|
312
|
+
height: t * (e.height / e.width)
|
|
313
|
+
} : !r && i ? {
|
|
314
|
+
width: n * (e.width / e.height),
|
|
315
|
+
height: n
|
|
316
|
+
} : {
|
|
317
|
+
width: e.width,
|
|
318
|
+
height: e.height
|
|
319
|
+
};
|
|
320
|
+
}), Dt = m(() => {
|
|
321
|
+
let e = L.value?.map?.center, t = [0, 0];
|
|
322
|
+
if (!Array.isArray(e) || e.length !== 2) return t;
|
|
323
|
+
let n = Number(e[0]), r = Number(e[1]);
|
|
324
|
+
return !Number.isFinite(n) || !Number.isFinite(r) ? t : [n, r];
|
|
325
|
+
});
|
|
326
|
+
function W([e, t]) {
|
|
327
|
+
return Ct.value([e, t], Et.value.width, Et.value.height, Dt.value);
|
|
328
|
+
}
|
|
329
|
+
function Ot(e, t = {}) {
|
|
330
|
+
let { defaultName: n = "", namePropertyCandidates: r = [
|
|
331
|
+
"name",
|
|
332
|
+
"nom",
|
|
333
|
+
"admin",
|
|
334
|
+
"NAME",
|
|
335
|
+
"label",
|
|
336
|
+
"title",
|
|
337
|
+
"description",
|
|
338
|
+
"DESCRIPTION",
|
|
339
|
+
"NAME_1",
|
|
340
|
+
"NAME_2",
|
|
341
|
+
"NAME_3",
|
|
342
|
+
"NAME_EN",
|
|
343
|
+
"name:en",
|
|
344
|
+
"name_en",
|
|
345
|
+
"localname",
|
|
346
|
+
"local_name"
|
|
347
|
+
], includeNullGeometries: i = !1 } = t, a = {
|
|
348
|
+
type: "FeatureCollection",
|
|
349
|
+
features: []
|
|
350
|
+
};
|
|
351
|
+
function o(e) {
|
|
352
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
353
|
+
}
|
|
354
|
+
function s(e) {
|
|
355
|
+
return !o(e) || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? Array.isArray(e.geometries) : Object.hasOwn(e, "coordinates");
|
|
356
|
+
}
|
|
357
|
+
function c(e) {
|
|
358
|
+
if (!o(e)) return "";
|
|
359
|
+
for (let t of r) {
|
|
360
|
+
let n = e[t];
|
|
361
|
+
if (typeof n == "string" && n.trim()) return n.trim();
|
|
362
|
+
}
|
|
363
|
+
return "";
|
|
364
|
+
}
|
|
365
|
+
function l({ geometry: e, properties: t, fallbackName: r, featureIndex: i }) {
|
|
366
|
+
let a = o(t) ? { ...t } : {}, s = c(a), l = n ? `${n} ${i + 1}` : "", u = s || (typeof r == "string" ? r.trim() : "") || l;
|
|
367
|
+
return !a.name && u && (a.name = u), {
|
|
368
|
+
type: "Feature",
|
|
369
|
+
geometry: e,
|
|
370
|
+
properties: a
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
function u(e, t, n, r, a) {
|
|
374
|
+
let c = Array.isArray(e?.geometries) ? e.geometries : [], d = r;
|
|
375
|
+
for (let e = 0; e < c.length; e += 1) {
|
|
376
|
+
let r = c[e];
|
|
377
|
+
if (r) {
|
|
378
|
+
if (o(r) && r.type === "GeometryCollection") {
|
|
379
|
+
d = u(r, t, n, d, a);
|
|
380
|
+
continue;
|
|
381
|
+
}
|
|
382
|
+
if (s(r)) {
|
|
383
|
+
if (r.coordinates == null && r.type !== "GeometryCollection") {
|
|
384
|
+
i && (a.push(l({
|
|
385
|
+
geometry: null,
|
|
386
|
+
properties: t,
|
|
387
|
+
fallbackName: n,
|
|
388
|
+
featureIndex: d
|
|
389
|
+
})), d += 1);
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
392
|
+
a.push(l({
|
|
393
|
+
geometry: r,
|
|
394
|
+
properties: t,
|
|
395
|
+
fallbackName: n,
|
|
396
|
+
featureIndex: d
|
|
397
|
+
})), d += 1;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
return d;
|
|
402
|
+
}
|
|
403
|
+
function d(e, t, n = 0) {
|
|
404
|
+
let r = n;
|
|
405
|
+
if (e == null) return r;
|
|
406
|
+
if (Array.isArray(e)) {
|
|
407
|
+
for (let n of e) r = d(n, t, r);
|
|
408
|
+
return r;
|
|
409
|
+
}
|
|
410
|
+
if (!o(e) || typeof e.type != "string") return r;
|
|
411
|
+
if (e.type === "FeatureCollection") {
|
|
412
|
+
let n = Array.isArray(e.features) ? e.features : [];
|
|
413
|
+
for (let e of n) r = d(e, t, r);
|
|
414
|
+
return r;
|
|
415
|
+
}
|
|
416
|
+
if (e.type === "Feature") {
|
|
417
|
+
let n = o(e.properties) ? e.properties : {}, a = c(n), d = e.geometry ?? null;
|
|
418
|
+
return d == null ? (i && (t.push(l({
|
|
419
|
+
geometry: null,
|
|
420
|
+
properties: n,
|
|
421
|
+
fallbackName: a,
|
|
422
|
+
featureIndex: r
|
|
423
|
+
})), r += 1), r) : o(d) && d.type === "GeometryCollection" ? u(d, n, a, r, t) : (s(d) && (t.push(l({
|
|
424
|
+
geometry: d,
|
|
425
|
+
properties: n,
|
|
426
|
+
fallbackName: a,
|
|
427
|
+
featureIndex: r
|
|
428
|
+
})), r += 1), r);
|
|
429
|
+
}
|
|
430
|
+
return e.type === "GeometryCollection" ? u(e, {}, "", r, t) : (s(e) && (t.push(l({
|
|
431
|
+
geometry: e,
|
|
432
|
+
properties: {},
|
|
433
|
+
fallbackName: "",
|
|
434
|
+
featureIndex: r
|
|
435
|
+
})), r += 1), r);
|
|
436
|
+
}
|
|
437
|
+
let f = [];
|
|
438
|
+
return d(e, f, 0), {
|
|
439
|
+
...a,
|
|
440
|
+
features: f
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
function kt(e) {
|
|
444
|
+
let t = Array.isArray(e?.features) ? e.features : [];
|
|
445
|
+
function n(e) {
|
|
446
|
+
if (!e || typeof e != "object") return "";
|
|
447
|
+
let t = [
|
|
448
|
+
e.name,
|
|
449
|
+
e.nom,
|
|
450
|
+
e.admin,
|
|
451
|
+
e.NAME,
|
|
452
|
+
e.label,
|
|
453
|
+
e.title,
|
|
454
|
+
e.description,
|
|
455
|
+
e.DESCRIPTION,
|
|
456
|
+
e.NAME_1,
|
|
457
|
+
e.NAME_2,
|
|
458
|
+
e.NAME_3,
|
|
459
|
+
e.NAME_EN,
|
|
460
|
+
e["name:en"],
|
|
461
|
+
e.name_en,
|
|
462
|
+
e.localname,
|
|
463
|
+
e.local_name
|
|
464
|
+
];
|
|
465
|
+
for (let e of t) if (typeof e == "string" && e.trim()) return e.trim();
|
|
466
|
+
for (let t of Object.values(e)) if (typeof t == "string" && t.trim()) return t.trim();
|
|
467
|
+
return "";
|
|
468
|
+
}
|
|
469
|
+
return t.filter((e) => e && e.type === "Feature" && e.geometry).map((e, t) => {
|
|
470
|
+
let r = e.properties || {}, i = n(r);
|
|
471
|
+
return {
|
|
472
|
+
feature: e,
|
|
473
|
+
geometry: e.geometry,
|
|
474
|
+
properties: r,
|
|
475
|
+
name: i,
|
|
476
|
+
uid: `map-feature-${O.value}-${t}`,
|
|
477
|
+
index: t
|
|
478
|
+
};
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
let At = m(() => Ot(wt.value, {
|
|
482
|
+
defaultName: "",
|
|
483
|
+
includeNullGeometries: !1
|
|
484
|
+
})), jt = m(() => kt(At.value));
|
|
485
|
+
function Mt(e) {
|
|
486
|
+
if (!e || typeof e.type != "string") return "";
|
|
487
|
+
if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => Mt(e)).filter(Boolean).join(" ");
|
|
488
|
+
let t = (e) => {
|
|
489
|
+
if (!Array.isArray(e) || e.length < 2) return null;
|
|
490
|
+
let t = Number(e[0]), n = Number(e[1]);
|
|
491
|
+
if (!Number.isFinite(t) || !Number.isFinite(n)) return null;
|
|
492
|
+
let r = W([t, n]);
|
|
493
|
+
if (!Array.isArray(r) || r.length < 2) return null;
|
|
494
|
+
let i = Number(r[0]), a = Number(r[1]);
|
|
495
|
+
return !Number.isFinite(i) || !Number.isFinite(a) ? null : [i, a];
|
|
496
|
+
}, n = (e) => {
|
|
497
|
+
let n = (e || []).map(t).filter(Boolean);
|
|
498
|
+
return n.length < 2 ? "" : "M" + n.map(([e, t]) => `${e},${t}`).join("L");
|
|
499
|
+
}, r = (e) => (e || []).map((e) => {
|
|
500
|
+
let t = n(e);
|
|
501
|
+
return t ? t + "Z" : "";
|
|
502
|
+
}).filter(Boolean).join(" ");
|
|
503
|
+
return e.type === "Polygon" ? r(e.coordinates) : e.type === "MultiPolygon" ? (e.coordinates || []).map(r).filter(Boolean).join(" ") : e.type === "LineString" ? n(e.coordinates) : e.type === "MultiLineString" ? (e.coordinates || []).map(n).filter(Boolean).join(" ") : "";
|
|
504
|
+
}
|
|
505
|
+
function Nt(e) {
|
|
506
|
+
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Nt(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
|
|
507
|
+
}
|
|
508
|
+
function Pt(e) {
|
|
509
|
+
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Pt(e)) : e.type === "Point" || e.type === "MultiPoint";
|
|
510
|
+
}
|
|
511
|
+
let Ft = m(() => jt.value.filter((e) => {
|
|
512
|
+
let t = e.geometry;
|
|
513
|
+
return t ? t.type === "GeometryCollection" ? (Array.isArray(t.geometries) ? t.geometries : []).some((e) => e?.type === "Polygon" || e?.type === "MultiPolygon") : t.type === "Polygon" || t.type === "MultiPolygon" : !1;
|
|
514
|
+
})), It = m(() => jt.value.filter((e) => {
|
|
515
|
+
let t = e.geometry;
|
|
516
|
+
return t ? t.type === "GeometryCollection" ? (Array.isArray(t.geometries) ? t.geometries : []).some((e) => e?.type === "LineString" || e?.type === "MultiLineString") : t.type === "LineString" || t.type === "MultiLineString" : !1;
|
|
517
|
+
})), Lt = m(() => jt.value.filter((e) => {
|
|
518
|
+
let t = e.geometry;
|
|
519
|
+
return t ? Pt(t) : !1;
|
|
520
|
+
})), Rt = m(() => Ft.value.map((e) => {
|
|
521
|
+
let t = Mt(e.geometry);
|
|
522
|
+
return t ? {
|
|
523
|
+
...e,
|
|
524
|
+
path: t
|
|
525
|
+
} : null;
|
|
526
|
+
}).filter(Boolean)), zt = m(() => It.value.map((e) => {
|
|
527
|
+
let t = Mt(e.geometry);
|
|
528
|
+
return t ? {
|
|
529
|
+
...e,
|
|
530
|
+
path: t
|
|
531
|
+
} : null;
|
|
532
|
+
}).filter(Boolean)), Bt = m(() => {
|
|
533
|
+
let e = [];
|
|
534
|
+
function t(e = {}) {
|
|
535
|
+
let t = e?.style && typeof e.style == "object" ? e.style : {}, n = e.radius ?? e.r ?? t.radius ?? t.r, r = e.color ?? e.fill ?? t.color ?? t.fill, i = e.stroke ?? t.stroke, o = e.strokeWidth ?? e.stroke_width ?? t.strokeWidth ?? t.stroke_width;
|
|
536
|
+
return {
|
|
537
|
+
radius: Number.isFinite(Number(n)) ? Number(n) : Number(L.value.style.chart.points.radius),
|
|
538
|
+
fill: r != null && String(r).trim() ? a(String(r).trim()) : L.value.style.chart.points.fill,
|
|
539
|
+
stroke: i != null && String(i).trim() ? a(String(i).trim()) : L.value.style.chart.points.stroke,
|
|
540
|
+
strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(L.value.style.chart.points.strokeWidth)
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
for (let n of Lt.value) {
|
|
544
|
+
let r = Nt(n.geometry);
|
|
545
|
+
for (let i = 0; i < r.length; i += 1) {
|
|
546
|
+
let a = r[i];
|
|
547
|
+
if (!Array.isArray(a) || a.length < 2) continue;
|
|
548
|
+
let o = Number(a[0]), s = Number(a[1]);
|
|
549
|
+
if (!Number.isFinite(o) || !Number.isFinite(s)) continue;
|
|
550
|
+
let c = W([o, s]), l = c?.[0], u = c?.[1];
|
|
551
|
+
if (!Number.isFinite(l) || !Number.isFinite(u)) continue;
|
|
552
|
+
let d = t(n?.feature?.properties && typeof n.feature.properties == "object" ? n.feature.properties : {});
|
|
553
|
+
e.push({
|
|
554
|
+
uid: `${n.uid}-geojson-point-${i}`,
|
|
555
|
+
name: n.name || "",
|
|
556
|
+
x: l,
|
|
557
|
+
y: u,
|
|
558
|
+
...d,
|
|
559
|
+
originalFeature: n.feature,
|
|
560
|
+
featureIndex: n.index,
|
|
561
|
+
pointIndex: i
|
|
562
|
+
});
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return e;
|
|
566
|
+
});
|
|
567
|
+
function Vt(e) {
|
|
568
|
+
if (!e || typeof e.type != "string") return [];
|
|
569
|
+
let t = [], n = (e) => {
|
|
570
|
+
if (!Array.isArray(e) || e.length < 2) return;
|
|
571
|
+
let n = Number(e[0]), r = Number(e[1]);
|
|
572
|
+
if (!Number.isFinite(n) || !Number.isFinite(r)) return;
|
|
573
|
+
let i = W([n, r]), a = i?.[0], o = i?.[1];
|
|
574
|
+
!Number.isFinite(a) || !Number.isFinite(o) || t.push([a, o]);
|
|
575
|
+
}, r = (e) => {
|
|
576
|
+
if (Array.isArray(e)) {
|
|
577
|
+
if (e.length >= 2 && typeof e[0] == "number" && typeof e[1] == "number") {
|
|
578
|
+
n(e);
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
for (let t of e) r(t);
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
|
|
585
|
+
for (let n of e.geometries) t.push(...Vt(n));
|
|
586
|
+
return t;
|
|
587
|
+
}
|
|
588
|
+
return e.type === "Point" ? (n(e.coordinates), t) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(n), t) : (r(e.coordinates), t);
|
|
589
|
+
}
|
|
590
|
+
function Ht(e) {
|
|
591
|
+
let t = [];
|
|
592
|
+
for (let n of e) t.push(...Vt(n.geometry));
|
|
593
|
+
if (!t.length) return null;
|
|
594
|
+
let n = Infinity, r = Infinity, i = -Infinity, a = -Infinity;
|
|
595
|
+
for (let [e, o] of t) e < n && (n = e), o < r && (r = o), e > i && (i = e), o > a && (a = o);
|
|
596
|
+
let o = i - n, s = a - r;
|
|
597
|
+
return !(o > 0) || !(s > 0) ? null : {
|
|
598
|
+
minX: n,
|
|
599
|
+
minY: r,
|
|
600
|
+
maxX: i,
|
|
601
|
+
maxY: a,
|
|
602
|
+
width: o,
|
|
603
|
+
height: s
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
let Ut = m(() => Ht(jt.value));
|
|
607
|
+
function Wt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
|
|
608
|
+
if (!e || !(e.width > 0) || !(e.height > 0)) return {
|
|
609
|
+
scale: 1,
|
|
610
|
+
translateX: 0,
|
|
611
|
+
translateY: 0,
|
|
612
|
+
transform: ""
|
|
613
|
+
};
|
|
614
|
+
let i = Number.isFinite(Number(r)) ? Number(r) : 0, a = Math.max(1, t - i * 2), o = Math.max(1, n - i * 2), s = a / e.width, c = o / e.height, l = Math.min(s, c), u = e.width * l, d = e.height * l, f = i + (a - u) / 2, p = i + (o - d) / 2, ee = f - e.minX * l, te = p - e.minY * l;
|
|
615
|
+
return {
|
|
616
|
+
scale: l,
|
|
617
|
+
translateX: ee,
|
|
618
|
+
translateY: te,
|
|
619
|
+
transform: `translate(${ee} ${te}) scale(${l})`
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
let Gt = m(() => {
|
|
623
|
+
let e = Ut.value;
|
|
624
|
+
if (!e) return {
|
|
625
|
+
scale: 1,
|
|
626
|
+
translateX: 0,
|
|
627
|
+
translateY: 0,
|
|
628
|
+
transform: ""
|
|
629
|
+
};
|
|
630
|
+
let t = L.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
|
|
631
|
+
return Wt({
|
|
632
|
+
bounds: e,
|
|
633
|
+
targetWidth: U.value.width,
|
|
634
|
+
targetHeight: U.value.height,
|
|
635
|
+
padding: n
|
|
636
|
+
});
|
|
637
|
+
}), Kt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: qt, resetZoom: Jt, setInitialViewBox: Yt, scale: Xt, zoomByFactor: Zt } = ce(R, {
|
|
638
|
+
x: 0,
|
|
639
|
+
y: 0,
|
|
640
|
+
width: U.value.width,
|
|
641
|
+
height: U.value.height
|
|
642
|
+
}, 1, B);
|
|
643
|
+
function Qt() {
|
|
644
|
+
B.value = !B.value;
|
|
645
|
+
}
|
|
646
|
+
function $t(e) {
|
|
647
|
+
let t = Gt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
|
|
648
|
+
return {
|
|
649
|
+
x: e.x * n + r,
|
|
650
|
+
y: e.y * n + i
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
function en() {
|
|
654
|
+
let e = L.value?.map?.center, t = Number(e?.[0]), n = Number(e?.[1]), r = Array.isArray(e) && e.length === 2 && Number.isFinite(t) && Number.isFinite(n) && (t !== 0 || n !== 0), i = U.value.width, a = U.value.height;
|
|
655
|
+
if (!r) return {
|
|
656
|
+
x: 0,
|
|
657
|
+
y: 0,
|
|
658
|
+
width: i,
|
|
659
|
+
height: a
|
|
660
|
+
};
|
|
661
|
+
let o = W([t, n]), s = o?.[0], c = o?.[1];
|
|
662
|
+
if (!Number.isFinite(s) || !Number.isFinite(c)) return {
|
|
663
|
+
x: 0,
|
|
664
|
+
y: 0,
|
|
665
|
+
width: i,
|
|
666
|
+
height: a
|
|
667
|
+
};
|
|
668
|
+
let l = $t({
|
|
669
|
+
x: s,
|
|
670
|
+
y: c
|
|
671
|
+
});
|
|
672
|
+
return {
|
|
673
|
+
x: l.x - i / 2,
|
|
674
|
+
y: l.y - a / 2,
|
|
675
|
+
width: i,
|
|
676
|
+
height: a
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
function tn() {
|
|
680
|
+
Yt(en(), { overwriteCurrentIfNotZoomed: !0 }), A.value = !0;
|
|
681
|
+
}
|
|
682
|
+
let nn = m(() => {
|
|
683
|
+
let e = qt.value;
|
|
684
|
+
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Kt.value;
|
|
685
|
+
});
|
|
686
|
+
function rn() {
|
|
687
|
+
Zt(Re, !0);
|
|
688
|
+
}
|
|
689
|
+
function an() {
|
|
690
|
+
Zt(1 / Re, !0);
|
|
691
|
+
}
|
|
692
|
+
async function on() {
|
|
693
|
+
Yt(en(), { overwriteCurrentIfNotZoomed: !0 }), Jt(!0);
|
|
694
|
+
}
|
|
695
|
+
we(() => [
|
|
696
|
+
L.value.projection,
|
|
697
|
+
L.value.map.center?.[0],
|
|
698
|
+
L.value.map.center?.[1],
|
|
699
|
+
L.value.map.fitPadding,
|
|
700
|
+
wt.value
|
|
701
|
+
], async () => {
|
|
702
|
+
A.value = !1, await b(), requestAnimationFrame(() => {
|
|
703
|
+
A.value || tn();
|
|
704
|
+
});
|
|
705
|
+
}, { deep: !1 }), we(() => [
|
|
706
|
+
V.value,
|
|
707
|
+
H.value,
|
|
708
|
+
z.value
|
|
709
|
+
], async () => {
|
|
710
|
+
z.value && (await b(), Yt({
|
|
711
|
+
x: 0,
|
|
712
|
+
y: 0,
|
|
713
|
+
width: U.value.width,
|
|
714
|
+
height: U.value.height
|
|
715
|
+
}, { overwriteCurrentIfNotZoomed: !0 }), A.value = !1, requestAnimationFrame(() => {
|
|
716
|
+
A.value || tn();
|
|
717
|
+
}));
|
|
718
|
+
}, { flush: "post" });
|
|
719
|
+
function sn(e) {
|
|
720
|
+
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((e) => e?.type === "Feature" && e.geometry?.type === "Point").map((e, t) => {
|
|
721
|
+
let n = e.properties || {}, r = n.name || n.label || n.title || `Point ${t + 1}`, i = e.geometry.coordinates;
|
|
722
|
+
return {
|
|
723
|
+
uid: `map-point-${O.value}-${t}`,
|
|
724
|
+
name: r,
|
|
725
|
+
coordinates: i,
|
|
726
|
+
color: n.color ?? null,
|
|
727
|
+
radius: n.radius ?? null,
|
|
728
|
+
hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
|
|
729
|
+
description: n.description ?? null,
|
|
730
|
+
original: e,
|
|
731
|
+
index: t
|
|
732
|
+
};
|
|
733
|
+
}) : Array.isArray(e) ? e.map((e, t) => {
|
|
734
|
+
let n = null, r = `Point ${t + 1}`, i = null, a = null, o = null;
|
|
735
|
+
Array.isArray(e) && e.length >= 2 ? n = [Number(e[0]), Number(e[1])] : e && typeof e == "object" && (Array.isArray(e.coordinates) && e.coordinates.length >= 2 ? n = [Number(e.coordinates[0]), Number(e.coordinates[1])] : Number.isFinite(Number(e.lon)) && Number.isFinite(Number(e.lat)) && (n = [Number(e.lon), Number(e.lat)]), typeof e.name == "string" && e.name.trim() && (r = e.name), e.description != null && (i = e.description), e.color != null && (a = e.color), e.radius != null && (o = e.radius));
|
|
736
|
+
let s = n ? n[0] : NaN, c = n ? n[1] : NaN;
|
|
737
|
+
return !Number.isFinite(s) || !Number.isFinite(c) ? null : {
|
|
738
|
+
uid: `map-point-${O.value}-${t}`,
|
|
739
|
+
name: r,
|
|
740
|
+
coordinates: [s, c],
|
|
741
|
+
color: a,
|
|
742
|
+
radius: o,
|
|
743
|
+
hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
|
|
744
|
+
description: i,
|
|
745
|
+
original: e,
|
|
746
|
+
index: t
|
|
747
|
+
};
|
|
748
|
+
}).filter(Boolean) : typeof e == "object" ? Object.entries(e).map(([e, t], n) => {
|
|
749
|
+
if (!t || typeof t != "object") return null;
|
|
750
|
+
let r = Array.isArray(t.coordinates) ? t.coordinates : null;
|
|
751
|
+
if (!r || r.length < 2) return null;
|
|
752
|
+
let i = Number(r[0]), a = Number(r[1]);
|
|
753
|
+
return !Number.isFinite(i) || !Number.isFinite(a) ? null : {
|
|
754
|
+
uid: `map-point-${O.value}-${n}-${e}`,
|
|
755
|
+
name: t.name || e,
|
|
756
|
+
coordinates: [i, a],
|
|
757
|
+
color: t.color ?? null,
|
|
758
|
+
radius: t.radius ?? null,
|
|
759
|
+
hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
|
|
760
|
+
description: t.description ?? null,
|
|
761
|
+
original: t,
|
|
762
|
+
index: n
|
|
763
|
+
};
|
|
764
|
+
}).filter(Boolean) : [] : [];
|
|
765
|
+
}
|
|
766
|
+
let cn = m(() => sn(dt.value)), ln = m(() => cn.value.map((e) => {
|
|
767
|
+
let t = W(e.coordinates), n = t?.[0], r = t?.[1];
|
|
768
|
+
return !Number.isFinite(n) || !Number.isFinite(r) ? null : {
|
|
769
|
+
...e,
|
|
770
|
+
x: n,
|
|
771
|
+
y: r,
|
|
772
|
+
fill: e.color ? a(e.color) : L.value.style.chart.points.fill,
|
|
773
|
+
radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : L.value.style.chart.points.radius
|
|
774
|
+
};
|
|
775
|
+
}).filter(Boolean)), G = m(() => ln.value.map((e, t) => ({
|
|
776
|
+
...e,
|
|
777
|
+
keyboardIndex: t
|
|
778
|
+
})));
|
|
779
|
+
function un(e) {
|
|
780
|
+
let t = $t(e), r = n(t.x, t.y, R.value);
|
|
781
|
+
r && (nt.value = {
|
|
782
|
+
x: r.x,
|
|
783
|
+
y: r.y
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
let dn = C(!1), fn = C(""), K = C(!1), q = C(null), J = C(null);
|
|
787
|
+
function pn(e) {
|
|
788
|
+
fn.value = e, dn.value = !0;
|
|
789
|
+
}
|
|
790
|
+
function Y() {
|
|
791
|
+
dn.value = !1, fn.value = "";
|
|
792
|
+
}
|
|
793
|
+
function mn(e) {
|
|
794
|
+
return String(e ?? "").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
795
|
+
}
|
|
796
|
+
function hn(e) {
|
|
797
|
+
j.value = {
|
|
798
|
+
datapoint: e,
|
|
799
|
+
seriesIndex: e.index,
|
|
800
|
+
series: cn.value,
|
|
801
|
+
config: L.value
|
|
802
|
+
}, K.value = !1;
|
|
803
|
+
let t = L.value.style.chart.tooltip.customFormat;
|
|
804
|
+
if (r(t)) try {
|
|
805
|
+
let e = t(j.value);
|
|
806
|
+
if (typeof e == "string") return K.value = !0, e;
|
|
807
|
+
} catch {
|
|
808
|
+
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
809
|
+
}
|
|
810
|
+
return `<div><div style="font-weight:600">${mn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${mn(e.description)}</div>`}</div>`;
|
|
811
|
+
}
|
|
812
|
+
function gn(e) {
|
|
813
|
+
K.value = !1;
|
|
814
|
+
let t = L.value.style.chart.tooltip.customFormat;
|
|
815
|
+
if (r(t)) try {
|
|
816
|
+
let n = t({
|
|
817
|
+
datapoint: e,
|
|
818
|
+
config: L.value
|
|
819
|
+
});
|
|
820
|
+
if (typeof n == "string") return K.value = !0, n;
|
|
821
|
+
} catch {
|
|
822
|
+
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
823
|
+
}
|
|
824
|
+
let n = typeof e?.name == "string" ? e.name.trim() : "";
|
|
825
|
+
return n ? `<div><div style="font-weight:600">${mn(n)}</div></div>` : (K.value = !1, "");
|
|
826
|
+
}
|
|
827
|
+
function _n(e) {
|
|
828
|
+
if (L.value.events.territoryEnter && L.value.events.territoryEnter({
|
|
829
|
+
datapoint: e,
|
|
830
|
+
seriesIndex: e.index
|
|
831
|
+
}), !(typeof e?.name == "string" && e.name.trim()) && !L.value.style.chart.territory.hover.enabledWhenEmpty) {
|
|
832
|
+
J.value = null, Y();
|
|
833
|
+
return;
|
|
834
|
+
}
|
|
835
|
+
J.value = e.uid, pn(gn(e));
|
|
836
|
+
}
|
|
837
|
+
function vn(e) {
|
|
838
|
+
J.value = null, Y(), L.value.events.territoryLeave && L.value.events.territoryLeave({
|
|
839
|
+
datapoint: e,
|
|
840
|
+
seriesIndex: e.index
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
function yn(e) {
|
|
844
|
+
L.value.events.territoryClick && L.value.events.territoryClick({
|
|
845
|
+
datapoint: e,
|
|
846
|
+
seriesIndex: e.index
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
function bn(e, t = null, n = "pointer") {
|
|
850
|
+
F.value = n, q.value = e.uid, Number.isInteger(t) && (P.value = t), n === "keyboard" && un(e), pn(hn(e)), L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
851
|
+
datapoint: e,
|
|
852
|
+
seriesIndex: e.index
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function xn(e, t = "pointer") {
|
|
856
|
+
t === "pointer" && F.value === "keyboard" || (q.value = null, Y(), t !== "pointer" && (P.value = null, F.value = "pointer"), L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
857
|
+
datapoint: e,
|
|
858
|
+
seriesIndex: e.index
|
|
859
|
+
}));
|
|
860
|
+
}
|
|
861
|
+
let Sn = m(() => !!L.value.events.datapointClick && typeof L.value.events.datapointClick == "function");
|
|
862
|
+
function Cn(e) {
|
|
863
|
+
Sn.value && L.value.events.datapointClick({
|
|
864
|
+
datapoint: e,
|
|
865
|
+
seriesIndex: e.index
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
let X = m(() => L.value.style.chart.territory), wn = m(() => L.value.style.chart.points);
|
|
869
|
+
function Tn(e) {
|
|
870
|
+
let t = typeof e?.name == "string" ? e.name.trim() : "";
|
|
871
|
+
if (!t) {
|
|
872
|
+
J.value = null, Y();
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
let n = {
|
|
876
|
+
name: t,
|
|
877
|
+
uid: e.uid,
|
|
878
|
+
index: e.featureIndex,
|
|
879
|
+
properties: {}
|
|
880
|
+
};
|
|
881
|
+
J.value = e.uid, pn(gn(n));
|
|
882
|
+
}
|
|
883
|
+
function En() {
|
|
884
|
+
J.value = null, Y();
|
|
885
|
+
}
|
|
886
|
+
let Z = C(!1);
|
|
887
|
+
function Dn() {
|
|
888
|
+
Z.value = !Z.value;
|
|
889
|
+
}
|
|
890
|
+
we(() => Z.value, (e) => {
|
|
891
|
+
B.value = !e;
|
|
892
|
+
});
|
|
893
|
+
function On() {
|
|
894
|
+
bt.value.showTooltip = !bt.value.showTooltip;
|
|
895
|
+
}
|
|
896
|
+
let kn = m(() => L.value.style.chart.backgroundColor), { exportSvg: An, getSvg: jn } = d({
|
|
897
|
+
svg: R,
|
|
898
|
+
title: m(() => L.value.style.chart.title),
|
|
899
|
+
legend: void 0,
|
|
900
|
+
legendItems: void 0,
|
|
901
|
+
backgroundColor: kn
|
|
902
|
+
});
|
|
903
|
+
async function Mn({ isCb: e }) {
|
|
904
|
+
Xe.value = !0, await b();
|
|
905
|
+
try {
|
|
906
|
+
if (e) {
|
|
907
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await jn();
|
|
908
|
+
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
909
|
+
blob: e,
|
|
910
|
+
url: t,
|
|
911
|
+
text: n,
|
|
912
|
+
dataUrl: r
|
|
913
|
+
}));
|
|
914
|
+
} else await Promise.resolve(An());
|
|
915
|
+
} finally {
|
|
916
|
+
Xe.value = !1;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
function Nn(e) {
|
|
920
|
+
if (e?.stage === "start") {
|
|
921
|
+
Ye.value = !0;
|
|
922
|
+
return;
|
|
923
|
+
}
|
|
924
|
+
if (e?.stage === "end") {
|
|
925
|
+
Ye.value = !1;
|
|
926
|
+
return;
|
|
927
|
+
}
|
|
928
|
+
ht();
|
|
929
|
+
}
|
|
930
|
+
async function Pn({ scale: e = 2 } = {}) {
|
|
931
|
+
if (!k.value) return;
|
|
932
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ee({
|
|
933
|
+
domElement: k.value,
|
|
934
|
+
base64: !0,
|
|
935
|
+
img: !0,
|
|
936
|
+
scale: e
|
|
937
|
+
});
|
|
938
|
+
return {
|
|
939
|
+
imageUri: i,
|
|
940
|
+
base64: a,
|
|
941
|
+
title: L.value.style.chart.title.text,
|
|
942
|
+
width: t,
|
|
943
|
+
height: n,
|
|
944
|
+
aspectRatio: r
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
let Q = C(!1), $ = null;
|
|
948
|
+
function Fn() {
|
|
949
|
+
B.value && (Q.value = !0);
|
|
950
|
+
}
|
|
951
|
+
function In() {
|
|
952
|
+
Q.value = !1;
|
|
953
|
+
}
|
|
954
|
+
function Ln() {
|
|
955
|
+
B.value && (Q.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
|
|
956
|
+
Q.value = !1, $ = null;
|
|
957
|
+
}, 140));
|
|
958
|
+
}
|
|
959
|
+
ye(() => {
|
|
960
|
+
$ && clearTimeout($);
|
|
961
|
+
});
|
|
962
|
+
async function Rn([e, t], { animated: n = !0 } = {}) {
|
|
963
|
+
let r = Number(e), i = Number(t);
|
|
964
|
+
if (!Number.isFinite(r) || !Number.isFinite(i)) return;
|
|
965
|
+
let a = W([r, i]), o = a?.[0], s = a?.[1];
|
|
966
|
+
if (!Number.isFinite(o) || !Number.isFinite(s)) return;
|
|
967
|
+
let c = $t({
|
|
968
|
+
x: o,
|
|
969
|
+
y: s
|
|
970
|
+
}), l = qt.value ? { ...qt.value } : {
|
|
971
|
+
x: 0,
|
|
972
|
+
y: 0,
|
|
973
|
+
width: U.value.width,
|
|
974
|
+
height: U.value.height
|
|
975
|
+
}, u = {
|
|
976
|
+
x: c.x - l.width / 2,
|
|
977
|
+
y: c.y - l.height / 2,
|
|
978
|
+
width: l.width,
|
|
979
|
+
height: l.height
|
|
980
|
+
};
|
|
981
|
+
if (!n) {
|
|
982
|
+
qt.value = u;
|
|
983
|
+
return;
|
|
984
|
+
}
|
|
985
|
+
let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
|
|
986
|
+
p ??= e;
|
|
987
|
+
let t = Math.min((e - p) / 250, 1);
|
|
988
|
+
qt.value = {
|
|
989
|
+
x: d.x + (f.x - d.x) * t,
|
|
990
|
+
y: d.y + (f.y - d.y) * t,
|
|
991
|
+
width: d.width + (f.width - d.width) * t,
|
|
992
|
+
height: d.height + (f.height - d.height) * t
|
|
993
|
+
}, t < 1 && requestAnimationFrame(ee);
|
|
994
|
+
};
|
|
995
|
+
requestAnimationFrame(ee);
|
|
996
|
+
}
|
|
997
|
+
be(async () => {
|
|
998
|
+
vt(), await b(), requestAnimationFrame(() => {
|
|
999
|
+
A.value || (tn(), (L.value.map.center?.[0] || L.value.map.center?.[1]) && Rn(L.value.map.center, { animated: !1 }));
|
|
1000
|
+
});
|
|
1001
|
+
}), ye(() => {
|
|
1002
|
+
_t();
|
|
1003
|
+
});
|
|
1004
|
+
async function zn() {
|
|
1005
|
+
if (Ue("copyAlt", {
|
|
1006
|
+
config: L.value,
|
|
1007
|
+
dataset: dt.value
|
|
1008
|
+
}), !L.value.userOptions.callbacks.altCopy) {
|
|
1009
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1010
|
+
return;
|
|
1011
|
+
}
|
|
1012
|
+
await Promise.resolve(L.value.userOptions.callbacks.altCopy({
|
|
1013
|
+
config: L.value,
|
|
1014
|
+
dataset: dt.value
|
|
1015
|
+
}));
|
|
1016
|
+
}
|
|
1017
|
+
function Bn(e, t) {
|
|
1018
|
+
let n = G.value;
|
|
1019
|
+
if (!n.length) return null;
|
|
1020
|
+
let r = n[e];
|
|
1021
|
+
if (!r) return null;
|
|
1022
|
+
let i = null, a = Infinity;
|
|
1023
|
+
for (let o = 0; o < n.length; o += 1) {
|
|
1024
|
+
if (o === e) continue;
|
|
1025
|
+
let s = n[o], c = s.x - r.x, l = s.y - r.y, u = !1, d = 0, f = 0;
|
|
1026
|
+
if (t === "right" && c > 0 && (u = !0, d = c, f = Math.abs(l)), t === "left" && c < 0 && (u = !0, d = Math.abs(c), f = Math.abs(l)), t === "down" && l > 0 && (u = !0, d = l, f = Math.abs(c)), t === "up" && l < 0 && (u = !0, d = Math.abs(l), f = Math.abs(c)), !u) continue;
|
|
1027
|
+
let p = d * d + f * f * 4;
|
|
1028
|
+
p < a && (a = p, i = o);
|
|
1029
|
+
}
|
|
1030
|
+
return i;
|
|
1031
|
+
}
|
|
1032
|
+
function Vn(e) {
|
|
1033
|
+
let t = G.value;
|
|
1034
|
+
return t.length ? e === "right" ? t.reduce((e, t, n, r) => t.x < r[e].x ? n : e, 0) : e === "left" ? t.reduce((e, t, n, r) => t.x > r[e].x ? n : e, 0) : e === "down" ? t.reduce((e, t, n, r) => t.y < r[e].y ? n : e, 0) : e === "up" ? t.reduce((e, t, n, r) => t.y > r[e].y ? n : e, 0) : 0 : null;
|
|
1035
|
+
}
|
|
1036
|
+
function Hn() {
|
|
1037
|
+
rt.value = !0;
|
|
1038
|
+
}
|
|
1039
|
+
function Un() {
|
|
1040
|
+
let e = P.value == null ? null : G.value[P.value];
|
|
1041
|
+
e ? xn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null), rt.value = !1;
|
|
1042
|
+
}
|
|
1043
|
+
function Wn(e) {
|
|
1044
|
+
if (!R.value || Z.value || document.activeElement !== R.value || !G.value.length) return;
|
|
1045
|
+
let t = e.key === "ArrowRight", n = e.key === "ArrowLeft", r = e.key === "ArrowDown", i = e.key === "ArrowUp", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1046
|
+
if (!t && !n && !r && !i && !a && !o) return;
|
|
1047
|
+
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1048
|
+
let e = P.value == null ? null : G.value[P.value];
|
|
1049
|
+
e ? xn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null);
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1052
|
+
if (a) {
|
|
1053
|
+
let e = P.value == null ? null : G.value[P.value];
|
|
1054
|
+
if (!e) return;
|
|
1055
|
+
Cn(e);
|
|
1056
|
+
return;
|
|
1057
|
+
}
|
|
1058
|
+
let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
|
|
1059
|
+
if (P.value == null ? c = Vn(s) : (c = Bn(P.value, s), c ??= Vn(s)), c == null) return;
|
|
1060
|
+
let l = G.value[c];
|
|
1061
|
+
l && bn(l, c, "keyboard");
|
|
1062
|
+
}
|
|
1063
|
+
let Gn = m(() => ({
|
|
1064
|
+
headers: [
|
|
1065
|
+
"Name",
|
|
1066
|
+
"Latitude",
|
|
1067
|
+
"Longitude",
|
|
1068
|
+
"Description"
|
|
1069
|
+
],
|
|
1070
|
+
rows: cn.value.map((e) => {
|
|
1071
|
+
let t = Array.isArray(e.coordinates) ? e.coordinates[1] : null, n = Array.isArray(e.coordinates) ? e.coordinates[0] : null;
|
|
1072
|
+
return [
|
|
1073
|
+
e.name ?? "",
|
|
1074
|
+
Number.isFinite(t) ? String(t) : "",
|
|
1075
|
+
Number.isFinite(n) ? String(n) : "",
|
|
1076
|
+
e.description ?? ""
|
|
1077
|
+
];
|
|
1078
|
+
})
|
|
1079
|
+
}));
|
|
1080
|
+
return ne({
|
|
1081
|
+
getImage: Pn,
|
|
1082
|
+
generatePdf: mt,
|
|
1083
|
+
generateImage: ht,
|
|
1084
|
+
generateSvg: Mn,
|
|
1085
|
+
toggleTooltip: On,
|
|
1086
|
+
toggleAnnotator: Dn,
|
|
1087
|
+
toggleFullscreen: it,
|
|
1088
|
+
zoomIn: rn,
|
|
1089
|
+
zoomOut: an,
|
|
1090
|
+
resetZoom: Jt,
|
|
1091
|
+
focusLocation: Rn,
|
|
1092
|
+
copyAlt: zn
|
|
1093
|
+
}), (e, t) => (S(), _("div", {
|
|
1094
|
+
class: _e(`vue-data-ui-component vue-ui-geo ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value ? "vue-ui-geo-responsive" : ""} ${Q.value ? "vue-ui-geo-interacting" : ""}`),
|
|
1095
|
+
ref_key: "geoChart",
|
|
1096
|
+
ref: k,
|
|
1097
|
+
id: `map_${O.value}`,
|
|
1098
|
+
dir: "auto",
|
|
1099
|
+
style: ve({
|
|
1100
|
+
fontFamily: L.value.style.fontFamily,
|
|
1101
|
+
width: "100%",
|
|
1102
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1103
|
+
height: z.value ? `${H.value}px` : void 0
|
|
1104
|
+
})
|
|
1105
|
+
}, [
|
|
1106
|
+
v("div", {
|
|
1107
|
+
id: `chart-instructions-${O.value}`,
|
|
1108
|
+
class: "sr-only"
|
|
1109
|
+
}, [v("p", null, Se(L.value.a11y.translations.keyboardNavigation), 1)], 8, De),
|
|
1110
|
+
Gn.value?.rows?.length ? (S(), h(ae, {
|
|
1111
|
+
key: 0,
|
|
1112
|
+
uid: O.value,
|
|
1113
|
+
head: Gn.value.headers,
|
|
1114
|
+
body: Gn.value.rows,
|
|
1115
|
+
notice: L.value.a11y.translations.tableAvailable,
|
|
1116
|
+
caption: L.value.a11y.translations.tableCaption
|
|
1117
|
+
}, null, 8, [
|
|
1118
|
+
"uid",
|
|
1119
|
+
"head",
|
|
1120
|
+
"body",
|
|
1121
|
+
"notice",
|
|
1122
|
+
"caption"
|
|
1123
|
+
])) : g("", !0),
|
|
1124
|
+
yt.value ? (S(), _("div", {
|
|
1125
|
+
key: 1,
|
|
1126
|
+
ref_key: "noTitle",
|
|
1127
|
+
ref: Qe,
|
|
1128
|
+
class: "vue-data-ui-no-title-space",
|
|
1129
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
1130
|
+
}, null, 512)) : g("", !0),
|
|
1131
|
+
L.value.style.chart.title.text ? (S(), _("div", {
|
|
1132
|
+
key: 2,
|
|
1133
|
+
ref_key: "chartTitle",
|
|
1134
|
+
ref: Ze,
|
|
1135
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1136
|
+
}, [(S(), h(te, {
|
|
1137
|
+
key: `title_${Je.value}`,
|
|
1138
|
+
config: {
|
|
1139
|
+
title: {
|
|
1140
|
+
cy: "geo-title",
|
|
1141
|
+
...L.value.style.chart.title
|
|
1142
|
+
},
|
|
1143
|
+
subtitle: {
|
|
1144
|
+
cy: "geo-subtitle",
|
|
1145
|
+
...L.value.style.chart.title.subtitle
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}, null, 8, ["config"]))], 512)) : g("", !0),
|
|
1149
|
+
L.value.userOptions.buttons.annotator ? (S(), h(T(Ve), {
|
|
1150
|
+
key: 3,
|
|
1151
|
+
svgRef: T(R),
|
|
1152
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1153
|
+
color: L.value.style.chart.color,
|
|
1154
|
+
active: Z.value,
|
|
1155
|
+
isCursorPointer: ot.value,
|
|
1156
|
+
onClose: Dn
|
|
1157
|
+
}, {
|
|
1158
|
+
"annotator-action-close": E(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1159
|
+
"annotator-action-color": E(({ color: t }) => [w(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
1160
|
+
"annotator-action-draw": E(({ mode: t }) => [w(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
1161
|
+
"annotator-action-undo": E(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
1162
|
+
"annotator-action-redo": E(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
1163
|
+
"annotator-action-delete": E(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
1164
|
+
_: 3
|
|
1165
|
+
}, 8, [
|
|
1166
|
+
"svgRef",
|
|
1167
|
+
"backgroundColor",
|
|
1168
|
+
"color",
|
|
1169
|
+
"active",
|
|
1170
|
+
"isCursorPointer"
|
|
1171
|
+
])) : g("", !0),
|
|
1172
|
+
L.value.userOptions.show && (T(ct) || T(st)) ? (S(), h(T(Be), {
|
|
1173
|
+
ref: "userOptionsRef",
|
|
1174
|
+
key: `user_options_${qe.value}`,
|
|
1175
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1176
|
+
color: L.value.style.chart.color,
|
|
1177
|
+
isPrinting: T(ft),
|
|
1178
|
+
isImaging: T(pt),
|
|
1179
|
+
uid: O.value,
|
|
1180
|
+
hasXls: !1,
|
|
1181
|
+
hasTable: !1,
|
|
1182
|
+
hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
|
|
1183
|
+
hasPdf: L.value.userOptions.buttons.pdf,
|
|
1184
|
+
hasImg: L.value.userOptions.buttons.img,
|
|
1185
|
+
hasSvg: L.value.userOptions.buttons.svg,
|
|
1186
|
+
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
1187
|
+
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
1188
|
+
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
1189
|
+
hasZoom: L.value.userOptions.buttons.zoom,
|
|
1190
|
+
isZoom: B.value,
|
|
1191
|
+
isFullscreen: I.value,
|
|
1192
|
+
isTooltip: bt.value.showTooltip,
|
|
1193
|
+
titles: { ...L.value.userOptions.buttonTitles },
|
|
1194
|
+
chartElement: k.value,
|
|
1195
|
+
position: L.value.userOptions.position,
|
|
1196
|
+
isAnnotation: Z.value,
|
|
1197
|
+
callbacks: L.value.userOptions.callbacks,
|
|
1198
|
+
printScale: L.value.userOptions.print.scale,
|
|
1199
|
+
isCursorPointer: ot.value,
|
|
1200
|
+
onToggleFullscreen: it,
|
|
1201
|
+
onGeneratePdf: T(mt),
|
|
1202
|
+
onGenerateImage: Nn,
|
|
1203
|
+
onGenerateSvg: Mn,
|
|
1204
|
+
onToggleTooltip: On,
|
|
1205
|
+
onToggleAnnotator: Dn,
|
|
1206
|
+
onToggleZoom: Qt,
|
|
1207
|
+
onCopyAlt: zn,
|
|
1208
|
+
style: ve({ visibility: T(ct) ? T(st) ? "visible" : "hidden" : "visible" })
|
|
1209
|
+
}, pe({ _: 2 }, [
|
|
1210
|
+
e.$slots.menuIcon ? {
|
|
1211
|
+
name: "menuIcon",
|
|
1212
|
+
fn: E(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", x(y({
|
|
1213
|
+
isOpen: t,
|
|
1214
|
+
color: n
|
|
1215
|
+
})), void 0, !0)]),
|
|
1216
|
+
key: "0"
|
|
1217
|
+
} : void 0,
|
|
1218
|
+
e.$slots.optionTooltip ? {
|
|
1219
|
+
name: "optionTooltip",
|
|
1220
|
+
fn: E(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1221
|
+
key: "1"
|
|
1222
|
+
} : void 0,
|
|
1223
|
+
e.$slots.optionPdf ? {
|
|
1224
|
+
name: "optionPdf",
|
|
1225
|
+
fn: E(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1226
|
+
key: "2"
|
|
1227
|
+
} : void 0,
|
|
1228
|
+
e.$slots.optionImg ? {
|
|
1229
|
+
name: "optionImg",
|
|
1230
|
+
fn: E(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1231
|
+
key: "3"
|
|
1232
|
+
} : void 0,
|
|
1233
|
+
e.$slots.optionSvg ? {
|
|
1234
|
+
name: "optionSvg",
|
|
1235
|
+
fn: E(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1236
|
+
key: "4"
|
|
1237
|
+
} : void 0,
|
|
1238
|
+
e.$slots.optionFullscreen ? {
|
|
1239
|
+
name: "optionFullscreen",
|
|
1240
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", x(y({
|
|
1241
|
+
toggleFullscreen: t,
|
|
1242
|
+
isFullscreen: n
|
|
1243
|
+
})), void 0, !0)]),
|
|
1244
|
+
key: "5"
|
|
1245
|
+
} : void 0,
|
|
1246
|
+
e.$slots.optionAnnotator ? {
|
|
1247
|
+
name: "optionAnnotator",
|
|
1248
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", x(y({
|
|
1249
|
+
toggleAnnotator: t,
|
|
1250
|
+
isAnnotator: n
|
|
1251
|
+
})), void 0, !0)]),
|
|
1252
|
+
key: "6"
|
|
1253
|
+
} : void 0,
|
|
1254
|
+
e.$slots.optionZoom ? {
|
|
1255
|
+
name: "optionZoom",
|
|
1256
|
+
fn: E(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", x(y({
|
|
1257
|
+
toggleZoom: t,
|
|
1258
|
+
isZoomLocked: n
|
|
1259
|
+
})), void 0, !0)]),
|
|
1260
|
+
key: "7"
|
|
1261
|
+
} : void 0,
|
|
1262
|
+
e.$slots.optionAltCopy ? {
|
|
1263
|
+
name: "optionAltCopy",
|
|
1264
|
+
fn: E(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
1265
|
+
key: "8"
|
|
1266
|
+
} : void 0
|
|
1267
|
+
]), 1032, [
|
|
1268
|
+
"backgroundColor",
|
|
1269
|
+
"color",
|
|
1270
|
+
"isPrinting",
|
|
1271
|
+
"isImaging",
|
|
1272
|
+
"uid",
|
|
1273
|
+
"hasTooltip",
|
|
1274
|
+
"hasPdf",
|
|
1275
|
+
"hasImg",
|
|
1276
|
+
"hasSvg",
|
|
1277
|
+
"hasFullscreen",
|
|
1278
|
+
"hasAltCopy",
|
|
1279
|
+
"hasAnnotator",
|
|
1280
|
+
"hasZoom",
|
|
1281
|
+
"isZoom",
|
|
1282
|
+
"isFullscreen",
|
|
1283
|
+
"isTooltip",
|
|
1284
|
+
"titles",
|
|
1285
|
+
"chartElement",
|
|
1286
|
+
"position",
|
|
1287
|
+
"isAnnotation",
|
|
1288
|
+
"callbacks",
|
|
1289
|
+
"printScale",
|
|
1290
|
+
"isCursorPointer",
|
|
1291
|
+
"onGeneratePdf",
|
|
1292
|
+
"style"
|
|
1293
|
+
])) : g("", !0),
|
|
1294
|
+
L.value.style.chart.controls.position === "top" && L.value.style.chart.controls.show && !T(ut) ? (S(), h(le, {
|
|
1295
|
+
key: 5,
|
|
1296
|
+
ref_key: "zoomControlsTop",
|
|
1297
|
+
ref: et,
|
|
1298
|
+
config: L.value,
|
|
1299
|
+
scale: T(Xt),
|
|
1300
|
+
isFullscreen: I.value,
|
|
1301
|
+
isCursorPointer: ot.value,
|
|
1302
|
+
onZoomIn: rn,
|
|
1303
|
+
onZoomOut: an,
|
|
1304
|
+
onResetZoom: on
|
|
1305
|
+
}, null, 8, [
|
|
1306
|
+
"config",
|
|
1307
|
+
"scale",
|
|
1308
|
+
"isFullscreen",
|
|
1309
|
+
"isCursorPointer"
|
|
1310
|
+
])) : g("", !0),
|
|
1311
|
+
v("div", Oe, [(S(), _("svg", {
|
|
1312
|
+
ref_key: "svgRef",
|
|
1313
|
+
ref: R,
|
|
1314
|
+
xmlns: T(i),
|
|
1315
|
+
viewBox: nn.value,
|
|
1316
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1317
|
+
"aria-describedby": `map-keyboard-instructions-${O.value}`,
|
|
1318
|
+
tabindex: "0",
|
|
1319
|
+
style: ve({
|
|
1320
|
+
display: "block",
|
|
1321
|
+
width: "100%",
|
|
1322
|
+
height: z.value ? `${H.value}px` : "auto",
|
|
1323
|
+
background: L.value.style.chart.backgroundColor,
|
|
1324
|
+
touchAction: B.value ? "none" : "auto",
|
|
1325
|
+
cursor: B.value ? Q.value ? "grabbing" : "grab" : "default"
|
|
1326
|
+
}),
|
|
1327
|
+
id: `vue-ui-geo_${O.value}`,
|
|
1328
|
+
onPointerdown: Fn,
|
|
1329
|
+
onPointerup: In,
|
|
1330
|
+
onPointercancel: In,
|
|
1331
|
+
onPointerleave: In,
|
|
1332
|
+
onWheel: Ln,
|
|
1333
|
+
onFocus: Hn,
|
|
1334
|
+
onBlur: Un,
|
|
1335
|
+
onKeydown: Wn
|
|
1336
|
+
}, [me(T(He)), v("g", {
|
|
1337
|
+
transform: Gt.value.transform,
|
|
1338
|
+
style: ve({ pointerEvents: Q.value ? "none" : "auto" })
|
|
1339
|
+
}, [
|
|
1340
|
+
v("g", null, [(S(!0), _(fe, null, xe(Rt.value, (e) => (S(), _("path", {
|
|
1341
|
+
class: "vue-ui-geo-territory",
|
|
1342
|
+
key: e.uid,
|
|
1343
|
+
d: e.path,
|
|
1344
|
+
fill: J.value === e.uid ? X.value.hover.fill : X.value.fill,
|
|
1345
|
+
stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
|
|
1346
|
+
"stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
|
|
1347
|
+
"vector-effect": "non-scaling-stroke",
|
|
1348
|
+
onMouseenter: (t) => _n(e),
|
|
1349
|
+
onMouseleave: (t) => vn(e),
|
|
1350
|
+
onClick: (t) => yn(e)
|
|
1351
|
+
}, null, 40, je))), 128))]),
|
|
1352
|
+
v("g", null, [(S(!0), _(fe, null, xe(zt.value, (e) => (S(), _("path", {
|
|
1353
|
+
class: "vue-ui-geo-territory",
|
|
1354
|
+
key: e.uid,
|
|
1355
|
+
d: e.path,
|
|
1356
|
+
fill: "none",
|
|
1357
|
+
stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
|
|
1358
|
+
"stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
|
|
1359
|
+
"vector-effect": "non-scaling-stroke",
|
|
1360
|
+
onMouseenter: (t) => _n(e),
|
|
1361
|
+
onMouseleave: (t) => vn(e),
|
|
1362
|
+
onClick: (t) => yn(e)
|
|
1363
|
+
}, null, 40, Me))), 128))]),
|
|
1364
|
+
v("g", null, [(S(!0), _(fe, null, xe(Bt.value, (e) => (S(), _("circle", {
|
|
1365
|
+
key: e.uid,
|
|
1366
|
+
cx: e.x,
|
|
1367
|
+
cy: e.y,
|
|
1368
|
+
r: e.radius,
|
|
1369
|
+
fill: e.fill,
|
|
1370
|
+
stroke: e.stroke,
|
|
1371
|
+
"stroke-width": e.strokeWidth,
|
|
1372
|
+
"vector-effect": "non-scaling-stroke",
|
|
1373
|
+
onMouseenter: (t) => Tn(e),
|
|
1374
|
+
onMouseleave: En
|
|
1375
|
+
}, null, 40, Ne))), 128))]),
|
|
1376
|
+
(S(!0), _(fe, null, xe(ln.value, (t, n) => (S(), _("g", { key: t.uid }, [w(e.$slots, "datapoint", ge({ ref_for: !0 }, {
|
|
1377
|
+
point: t,
|
|
1378
|
+
onPointEnter: bn,
|
|
1379
|
+
onPointLeave: xn,
|
|
1380
|
+
onPointClick: Cn,
|
|
1381
|
+
highlighted: q.value === t.uid
|
|
1382
|
+
}), () => [v("circle", {
|
|
1383
|
+
class: _e({
|
|
1384
|
+
"vue-ui-geo-point": !0,
|
|
1385
|
+
"vue-ui-geo-point-with-event": Sn.value && ot.value
|
|
1386
|
+
}),
|
|
1387
|
+
cx: t.x,
|
|
1388
|
+
cy: t.y,
|
|
1389
|
+
r: q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
|
|
1390
|
+
fill: t.fill,
|
|
1391
|
+
stroke: wn.value.stroke,
|
|
1392
|
+
"stroke-width": wn.value.strokeWidth,
|
|
1393
|
+
"vector-effect": "non-scaling-stroke",
|
|
1394
|
+
onMouseenter: (e) => bn(t, n),
|
|
1395
|
+
onMouseleave: (e) => xn(t),
|
|
1396
|
+
onClick: (e) => Cn(t)
|
|
1397
|
+
}, null, 42, Pe)], !0), L.value.style.chart.points.labels.show ? (S(), _("text", {
|
|
1398
|
+
key: 0,
|
|
1399
|
+
class: "vue-ui-geo-point-label",
|
|
1400
|
+
x: t.x,
|
|
1401
|
+
y: t.y + (q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + L.value.style.chart.points.labels.offsetY + 1 * L.value.style.chart.points.labels.fontSizeRatio,
|
|
1402
|
+
"text-anchor": "middle",
|
|
1403
|
+
fill: L.value.style.chart.points.labels.color,
|
|
1404
|
+
"font-size": 1 * L.value.style.chart.points.labels.fontSizeRatio
|
|
1405
|
+
}, Se(t.name), 9, Fe)) : g("", !0)]))), 128)),
|
|
1406
|
+
w(e.$slots, "svg", { svg: {
|
|
1407
|
+
drawingArea: nn.value,
|
|
1408
|
+
x: Ut.value?.minX ?? 0,
|
|
1409
|
+
y: Ut.value?.minY ?? 0,
|
|
1410
|
+
width: Ut.value?.width ?? 0,
|
|
1411
|
+
height: Ut.value?.height ?? 0,
|
|
1412
|
+
isPrintingImg: T(ft) || T(pt) || Ye.value,
|
|
1413
|
+
isPrintingSvg: Xe.value,
|
|
1414
|
+
data: {
|
|
1415
|
+
areaPaths: Rt.value,
|
|
1416
|
+
linePaths: zt.value,
|
|
1417
|
+
geoJsonPoints: Bt.value,
|
|
1418
|
+
projectedPoints: ln.value
|
|
1419
|
+
}
|
|
1420
|
+
} }, void 0, !0)
|
|
1421
|
+
], 12, Ae)], 44, ke)), e.$slots.hint ? (S(), _("div", Ie, [w(e.$slots, "hint", x(y({
|
|
1422
|
+
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1423
|
+
isVisible: rt.value
|
|
1424
|
+
})), void 0, !0)])) : g("", !0)]),
|
|
1425
|
+
e.$slots.watermark ? (S(), _("div", Le, [w(e.$slots, "watermark", x(y({ isPrinting: T(ft) || T(pt) || Ye.value || Xe.value })), void 0, !0)])) : g("", !0),
|
|
1426
|
+
L.value.style.chart.controls.position === "bottom" && L.value.style.chart.controls.show && !T(ut) ? (S(), h(le, {
|
|
1427
|
+
key: 7,
|
|
1428
|
+
ref_key: "zoomControlsBottom",
|
|
1429
|
+
ref: tt,
|
|
1430
|
+
config: L.value,
|
|
1431
|
+
scale: T(Xt),
|
|
1432
|
+
isFullscreen: I.value,
|
|
1433
|
+
isCursorPointer: ot.value,
|
|
1434
|
+
onZoomIn: rn,
|
|
1435
|
+
onZoomOut: an,
|
|
1436
|
+
onResetZoom: on
|
|
1437
|
+
}, null, 8, [
|
|
1438
|
+
"config",
|
|
1439
|
+
"scale",
|
|
1440
|
+
"isFullscreen",
|
|
1441
|
+
"isCursorPointer"
|
|
1442
|
+
])) : g("", !0),
|
|
1443
|
+
me(T(ze), {
|
|
1444
|
+
teleportTo: L.value.style.chart.tooltip.teleportTo,
|
|
1445
|
+
show: bt.value.showTooltip && dn.value,
|
|
1446
|
+
backgroundColor: L.value.style.chart.tooltip.backgroundColor,
|
|
1447
|
+
color: L.value.style.chart.tooltip.color,
|
|
1448
|
+
fontSize: L.value.style.chart.tooltip.fontSize,
|
|
1449
|
+
borderRadius: L.value.style.chart.tooltip.borderRadius,
|
|
1450
|
+
borderColor: L.value.style.chart.tooltip.borderColor,
|
|
1451
|
+
borderWidth: L.value.style.chart.tooltip.borderWidth,
|
|
1452
|
+
backgroundOpacity: L.value.style.chart.tooltip.backgroundOpacity,
|
|
1453
|
+
position: L.value.style.chart.tooltip.position,
|
|
1454
|
+
offsetY: L.value.style.chart.tooltip.offsetY,
|
|
1455
|
+
parent: k.value,
|
|
1456
|
+
content: fn.value,
|
|
1457
|
+
isCustom: K.value,
|
|
1458
|
+
isFullscreen: I.value,
|
|
1459
|
+
smooth: L.value.style.chart.tooltip.smooth,
|
|
1460
|
+
backdropFilter: L.value.style.chart.tooltip.backdropFilter,
|
|
1461
|
+
smoothForce: L.value.style.chart.tooltip.smoothForce,
|
|
1462
|
+
smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1463
|
+
isA11yMode: F.value === "keyboard",
|
|
1464
|
+
a11yPosition: nt.value
|
|
1465
|
+
}, {
|
|
1466
|
+
"tooltip-before": E(() => [w(e.$slots, "tooltip-before", x(y({ ...j.value })), void 0, !0)]),
|
|
1467
|
+
tooltip: E(() => [w(e.$slots, "tooltip", x(y({ ...j.value })), void 0, !0)]),
|
|
1468
|
+
"tooltip-after": E(() => [w(e.$slots, "tooltip-after", x(y({ ...j.value })), void 0, !0)]),
|
|
1469
|
+
_: 3
|
|
1470
|
+
}, 8, [
|
|
1471
|
+
"teleportTo",
|
|
1472
|
+
"show",
|
|
1473
|
+
"backgroundColor",
|
|
1474
|
+
"color",
|
|
1475
|
+
"fontSize",
|
|
1476
|
+
"borderRadius",
|
|
1477
|
+
"borderColor",
|
|
1478
|
+
"borderWidth",
|
|
1479
|
+
"backgroundOpacity",
|
|
1480
|
+
"position",
|
|
1481
|
+
"offsetY",
|
|
1482
|
+
"parent",
|
|
1483
|
+
"content",
|
|
1484
|
+
"isCustom",
|
|
1485
|
+
"isFullscreen",
|
|
1486
|
+
"smooth",
|
|
1487
|
+
"backdropFilter",
|
|
1488
|
+
"smoothForce",
|
|
1489
|
+
"smoothSnapThreshold",
|
|
1490
|
+
"isA11yMode",
|
|
1491
|
+
"a11yPosition"
|
|
1492
|
+
]),
|
|
1493
|
+
e.$slots.source ? (S(), _("div", {
|
|
1494
|
+
key: 8,
|
|
1495
|
+
ref_key: "source",
|
|
1496
|
+
ref: $e,
|
|
1497
|
+
dir: "auto"
|
|
1498
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
|
|
1499
|
+
w(e.$slots, "skeleton", {}, () => [T(ut) ? (S(), h(u, { key: 0 })) : g("", !0)], !0)
|
|
1500
|
+
], 14, Ee));
|
|
1501
|
+
}
|
|
1502
|
+
}, [["__scopeId", "data-v-dacad053"]]);
|
|
1503
|
+
//#endregion
|
|
1504
|
+
export { Te as n, ze as t };
|