vue-data-ui 3.23.0 → 3.23.2

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.
Files changed (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,31 +1,31 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Gt as t, Jt as n, S as r, q as i, t as a, xt as o } from "./lib-BuMGJ_a0.js";
2
+ import { Gt as t, Jt as n, S as r, q as i, t as a, xt as o } from "./lib-Bttd6u5E.js";
3
3
  import { n as s } from "./useHints-Dq_w2E8B.js";
4
- import { t as c } from "./useConfig-BilxnBNr.js";
5
- import { t as l } from "./usePrinter-BFvi4jVy.js";
4
+ import { t as c } from "./useConfig-DlNpz6P8.js";
5
+ import { t as l } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as u, t as d } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as f } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as p } from "./useNestedProp--NSEmhOH.js";
9
- import { t as m } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ee } from "./img-DIQG5q8T.js";
11
- import { n as te } from "./Title-BODtwViI.js";
12
- import { t as ne } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as re, t as ie } from "./useResponsive-ZtArZtUf.js";
14
- import { t as ae } from "./A11yDataTable-DdRsVULz.js";
15
- import { t as oe } from "./useUserOptionState-DK-_1ddE.js";
16
- import { t as se } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as ce } from "./usePanZoom-CYU3B4T3.js";
18
- import { t as le } from "./BaseZoomControls-rdzlicuz.js";
19
- import { t as ue } from "./geoProjections-BCP_PoiB.js";
20
- import { t as de } from "./vue_ui_geo-B8TODs-G.js";
21
- import { Fragment as fe, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as pe, createVNode as me, defineAsyncComponent as he, guardReactiveProps as b, mergeProps as ge, nextTick as x, normalizeClass as _e, normalizeProps as S, normalizeStyle as ve, onBeforeUnmount as ye, onMounted as be, openBlock as C, ref as w, renderList as xe, renderSlot as T, toDisplayString as Se, toRefs as Ce, unref as E, watch as we, withCtx as D } from "vue";
7
+ import { t as f } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as p } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ee } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as te } from "./img-Bnokohej.js";
11
+ import { n as ne } from "./Title-BE3qg9xl.js";
12
+ import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ie, t as ae } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as oe } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as se } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as le } from "./usePanZoom-CYU3B4T3.js";
18
+ import { t as ue } from "./BaseZoomControls-BZvCnZEi.js";
19
+ import { t as de } from "./geoProjections-CEo3dVaL.js";
20
+ import { t as fe } from "./vue_ui_geo-B8TODs-G.js";
21
+ import { Fragment as pe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as me, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as y, mergeProps as _e, nextTick as ve, normalizeClass as ye, normalizeProps as b, normalizeStyle as be, onBeforeUnmount as xe, onMounted as Se, openBlock as x, ref as S, renderList as Ce, renderSlot as C, toDisplayString as we, toRefs as Te, unref as w, watch as T, withCtx as E } from "vue";
22
22
  //#region src/components/vue-ui-geo.vue
23
- var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe = { style: { position: "relative" } }, ke = [
23
+ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke = { style: { position: "relative" } }, Ae = [
24
24
  "xmlns",
25
25
  "viewBox",
26
26
  "aria-describedby",
27
27
  "id"
28
- ], Ae = ["transform"], je = [
28
+ ], je = ["transform"], Me = [
29
29
  "d",
30
30
  "fill",
31
31
  "stroke",
@@ -33,14 +33,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
33
33
  "onMouseenter",
34
34
  "onMouseleave",
35
35
  "onClick"
36
- ], Me = [
36
+ ], Ne = [
37
37
  "d",
38
38
  "stroke",
39
39
  "stroke-width",
40
40
  "onMouseenter",
41
41
  "onMouseleave",
42
42
  "onClick"
43
- ], Ne = [
43
+ ], Pe = [
44
44
  "cx",
45
45
  "cy",
46
46
  "r",
@@ -48,7 +48,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
48
48
  "stroke",
49
49
  "stroke-width",
50
50
  "onMouseenter"
51
- ], Pe = [
51
+ ], Fe = [
52
52
  "cx",
53
53
  "cy",
54
54
  "r",
@@ -58,12 +58,12 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
58
58
  "onMouseenter",
59
59
  "onMouseleave",
60
60
  "onClick"
61
- ], Fe = [
61
+ ], Ie = [
62
62
  "x",
63
63
  "y",
64
64
  "fill",
65
65
  "font-size"
66
- ], Ie = {
66
+ ], Le = {
67
67
  key: 0,
68
68
  style: {
69
69
  position: "absolute",
@@ -73,10 +73,10 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
73
73
  },
74
74
  "data-dom-to-png-ignore": "",
75
75
  "aria-hidden": "true"
76
- }, Le = {
76
+ }, Re = {
77
77
  key: 6,
78
78
  class: "vue-data-ui-watermark"
79
- }, Re = 1.5, ze = /*#__PURE__*/ ne({
79
+ }, ze = 1.5, Be = /*#__PURE__*/ re({
80
80
  __name: "vue-ui-geo",
81
81
  props: {
82
82
  config: {
@@ -93,34 +93,34 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
93
93
  }
94
94
  },
95
95
  emits: ["copyAlt"],
96
- setup(e, { expose: ne, emit: Te }) {
97
- let ze = he(() => import("./Tooltip-CMTGxeYO.js")), Be = he(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), He = he(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), O = e, Ue = Te, { vue_ui_geo: We } = c(), { isThemeValid: Ge, warnInvalidTheme: Ke } = m(), k = w(i()), qe = w(0), Je = w(0), Ye = w(!1), Xe = w(!1), A = w(null), j = w(!1), Ze = w(null), Qe = w(null), $e = w(null), et = w(null), M = w(null), N = w(null), tt = w(null), nt = w(null), P = w(null), rt = w({
96
+ setup(e, { expose: re, emit: Ee }) {
97
+ let Be = ge(() => import("./Tooltip-DhjyfHwz.js")), Ve = ge(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), He = ge(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Ue = ge(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), D = e, We = Ee, { vue_ui_geo: Ge } = c(), { isThemeValid: Ke, warnInvalidTheme: qe } = p(), O = S(i()), Je = S(0), Ye = S(0), k = S(null), A = S(!1), j = S(null), Xe = S(null), Ze = S(null), Qe = S(null), M = S(null), N = S(null), $e = S(null), et = S(null), P = S(null), tt = S({
98
98
  x: 0,
99
99
  y: 0
100
- }), F = w("pointer"), it = w(!1), I = w(!1);
101
- function at(e) {
102
- I.value = e, qe.value += 1;
100
+ }), F = S("pointer"), nt = S(!1), I = S(!1);
101
+ function rt(e) {
102
+ I.value = e, Je.value += 1;
103
103
  }
104
- function ot() {
105
- let e = p({
106
- userConfig: O.config,
107
- defaultConfig: We
104
+ function it() {
105
+ let e = f({
106
+ userConfig: D.config,
107
+ defaultConfig: Ge
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
- if (!Ge.value(e)) return Ke(e), e;
111
- let n = p({
112
- userConfig: de[t] || O.config,
110
+ if (!Ke.value(e)) return qe(e), e;
111
+ let n = f({
112
+ userConfig: fe[t] || D.config,
113
113
  defaultConfig: e
114
114
  });
115
- return p({
116
- userConfig: O.config,
115
+ return f({
116
+ userConfig: D.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let L = w(ot());
120
+ let L = S(it());
121
121
  s({
122
122
  config: () => L.value,
123
- dataset: () => O.dataset,
123
+ dataset: () => D.dataset,
124
124
  component: "VueUiGeo",
125
125
  rules: [{
126
126
  test: (e) => e.length > 100,
@@ -131,7 +131,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
131
131
  ]
132
132
  }]
133
133
  });
134
- let st = h(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: ct, keepUserOptionState: lt } = oe({ config: L.value }), { svgRef: R } = se({ config: L.value.style.chart.title }), ut = h(() => n({
134
+ let at = m(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: ot, keepUserOptionState: st } = se({ config: L.value }), { svgRef: R } = ce({ config: L.value.style.chart.title }), ct = m(() => n({
135
135
  defaultConfig: {
136
136
  map: { geoJson: {
137
137
  type: "FeatureCollection",
@@ -205,59 +205,59 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
205
205
  } }
206
206
  },
207
207
  userConfig: L.value.skeletonConfig ?? {}
208
- })), { loading: dt, FINAL_DATASET: ft } = u({
209
- ...Ce(O),
208
+ })), { loading: lt, FINAL_DATASET: ut } = u({
209
+ ...Te(D),
210
210
  FINAL_CONFIG: L,
211
- prepareConfig: ot,
211
+ prepareConfig: it,
212
212
  allowEmptyDataset: !0,
213
- skeletonDataset: O.config?.skeletonDataset ?? [],
213
+ skeletonDataset: D.config?.skeletonDataset ?? [],
214
214
  skeletonConfig: n({
215
215
  defaultConfig: L.value,
216
- userConfig: ut.value
216
+ userConfig: ct.value
217
217
  })
218
- }), { isPrinting: pt, isImaging: mt, generatePdf: ht, generateImage: gt } = l({
219
- elementId: `vue-ui-geo_${k.value}`,
218
+ }), { isPrinting: dt, isImaging: ft, generatePdf: pt, generateImage: mt } = l({
219
+ elementId: `vue-ui-geo_${O.value}`,
220
220
  fileName: L.value.style.chart.title.text || "vue-ui-geo",
221
221
  options: L.value.userOptions.print
222
- }), _t = h(() => L.value.style.chart.controls.show ? L.value.style.chart.controls.position === "top" ? tt.value?.$el ?? null : L.value.style.chart.controls.position === "bottom" ? nt.value?.$el ?? null : null : null);
223
- function vt() {
222
+ }), ht = m(() => L.value.style.chart.controls.show ? L.value.style.chart.controls.position === "top" ? $e.value?.$el ?? null : L.value.style.chart.controls.position === "bottom" ? et.value?.$el ?? null : null : null);
223
+ function gt() {
224
224
  M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect(), M.value = null, N.value = null);
225
225
  }
226
- let z = h(() => !!L.value.responsive && !I.value);
227
- we(() => I.value, async (e) => {
226
+ let z = m(() => !!L.value.responsive && !I.value);
227
+ T(() => I.value, async (e) => {
228
228
  if (e) {
229
- vt(), V.value = Number(L.value.style.chart.dimensions.width) || V.value, H.value = Number(L.value.style.chart.dimensions.height) || H.value, await x(), j.value = !1, requestAnimationFrame(() => {
230
- j.value || nn();
229
+ gt(), V.value = Number(L.value.style.chart.dimensions.width) || V.value, H.value = Number(L.value.style.chart.dimensions.height) || H.value, await ve(), A.value = !1, requestAnimationFrame(() => {
230
+ A.value || en();
231
231
  });
232
232
  return;
233
233
  }
234
- L.value.responsive && (await x(), yt());
234
+ L.value.responsive && (await ve(), _t());
235
235
  });
236
- function yt() {
237
- if (vt(), !z.value) return;
238
- let e = re(() => {
239
- if (!A.value) return;
240
- let { width: e, height: t } = ie({
241
- chart: A.value,
242
- noTitle: bt.value ? $e.value : null,
243
- title: L.value.style.chart.title.text ? Qe.value : null,
244
- legend: _t.value,
245
- source: et.value
236
+ function _t() {
237
+ if (gt(), !z.value) return;
238
+ let e = ie(() => {
239
+ if (!k.value) return;
240
+ let { width: e, height: t } = ae({
241
+ chart: k.value,
242
+ noTitle: vt.value ? Ze.value : null,
243
+ title: L.value.style.chart.title.text ? Xe.value : null,
244
+ legend: ht.value,
245
+ source: Qe.value
246
246
  });
247
247
  requestAnimationFrame(() => {
248
248
  V.value = Math.max(.1, Number(e) || .1), H.value = Math.max(.1, Number(t) || .1) - 24;
249
249
  });
250
250
  });
251
- M.value = new ResizeObserver(e), N.value = A.value ? A.value.parentNode : null, N.value && M.value.observe(N.value), e();
251
+ M.value = new ResizeObserver(e), N.value = k.value ? k.value.parentNode : null, N.value && M.value.observe(N.value), e();
252
252
  }
253
- let bt = h(() => L.value.userOptions.show && !L.value.style.chart.title.text), xt = w({ showTooltip: L.value.style.chart.tooltip.show }), B = w(L.value.style.chart.zoom.active);
254
- we(() => O.config, () => {
255
- L.value = ot(), xt.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, yt(), Je.value += 1, qe.value += 1;
253
+ let vt = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), yt = S({ showTooltip: L.value.style.chart.tooltip.show }), B = S(L.value.style.chart.zoom.active);
254
+ T(() => D.config, () => {
255
+ L.value = it(), yt.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, _t(), Ye.value += 1, Je.value += 1;
256
256
  }, { deep: !0 });
257
- let { projections: St } = ue, Ct = h(() => L.value?.projection || "equirectangular"), wt = h(() => {
258
- let e = St?.[Ct.value];
259
- return typeof e == "function" ? e : St.equirectangular;
260
- }), Tt = h(() => L.value.map.geoJson ?? null), Et = {
257
+ let { projections: bt } = de, xt = m(() => L.value?.projection || "equirectangular"), St = m(() => {
258
+ let e = bt?.[xt.value];
259
+ return typeof e == "function" ? e : bt.equirectangular;
260
+ }), Ct = m(() => L.value.map.geoJson ?? null), wt = {
261
261
  aitoff: {
262
262
  width: 1e3,
263
263
  height: 500
@@ -310,14 +310,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
310
310
  width: 1e3,
311
311
  height: 1e3
312
312
  }
313
- }, V = w(L.value.style.chart.dimensions.width), H = w(L.value.style.chart.dimensions.height), Dt = h(() => {
314
- let e = Et[Ct.value] || Et.equirectangular;
313
+ }, V = S(L.value.style.chart.dimensions.width), H = S(L.value.style.chart.dimensions.height), Tt = m(() => {
314
+ let e = wt[xt.value] || wt.equirectangular;
315
315
  return {
316
316
  width: e.width,
317
317
  height: e.height
318
318
  };
319
- }), U = h(() => {
320
- let e = Dt.value, t = V.value, n = H.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
319
+ }), U = m(() => {
320
+ let e = Tt.value, t = V.value, n = H.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
321
321
  return r && i ? {
322
322
  width: t,
323
323
  height: n
@@ -331,16 +331,16 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
331
331
  width: e.width,
332
332
  height: e.height
333
333
  };
334
- }), Ot = h(() => {
334
+ }), Et = m(() => {
335
335
  let e = L.value?.map?.center, t = [0, 0];
336
336
  if (!Array.isArray(e) || e.length !== 2) return t;
337
337
  let n = Number(e[0]), r = Number(e[1]);
338
338
  return !Number.isFinite(n) || !Number.isFinite(r) ? t : [n, r];
339
339
  });
340
340
  function W([e, t]) {
341
- return wt.value([e, t], Dt.value.width, Dt.value.height, Ot.value);
341
+ return St.value([e, t], Tt.value.width, Tt.value.height, Et.value);
342
342
  }
343
- function kt(e, t = {}) {
343
+ function Dt(e, t = {}) {
344
344
  let { defaultName: n = "", namePropertyCandidates: r = [
345
345
  "name",
346
346
  "nom",
@@ -454,7 +454,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
454
454
  features: f
455
455
  };
456
456
  }
457
- function At(e) {
457
+ function Ot(e) {
458
458
  let t = Array.isArray(e?.features) ? e.features : [];
459
459
  function n(e) {
460
460
  if (!e || typeof e != "object") return "";
@@ -487,18 +487,18 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
487
487
  geometry: e.geometry,
488
488
  properties: r,
489
489
  name: i,
490
- uid: `map-feature-${k.value}-${t}`,
490
+ uid: `map-feature-${O.value}-${t}`,
491
491
  index: t
492
492
  };
493
493
  });
494
494
  }
495
- let jt = h(() => kt(Tt.value, {
495
+ let kt = m(() => Dt(Ct.value, {
496
496
  defaultName: "",
497
497
  includeNullGeometries: !1
498
- })), Mt = h(() => At(jt.value));
499
- function Nt(e) {
498
+ })), At = m(() => Ot(kt.value));
499
+ function jt(e) {
500
500
  if (!e || typeof e.type != "string") return "";
501
- if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => Nt(e)).filter(Boolean).join(" ");
501
+ if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => jt(e)).filter(Boolean).join(" ");
502
502
  let t = (e) => {
503
503
  if (!Array.isArray(e) || e.length < 2) return null;
504
504
  let t = Number(e[0]), n = Number(e[1]);
@@ -516,34 +516,34 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
516
516
  }).filter(Boolean).join(" ");
517
517
  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(" ") : "";
518
518
  }
519
- function Pt(e) {
520
- return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Pt(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
519
+ function Mt(e) {
520
+ return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Mt(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
521
521
  }
522
- function Ft(e) {
523
- return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Ft(e)) : e.type === "Point" || e.type === "MultiPoint";
522
+ function Nt(e) {
523
+ return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Nt(e)) : e.type === "Point" || e.type === "MultiPoint";
524
524
  }
525
- let It = h(() => Mt.value.filter((e) => {
525
+ let Pt = m(() => At.value.filter((e) => {
526
526
  let t = e.geometry;
527
527
  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;
528
- })), Lt = h(() => Mt.value.filter((e) => {
528
+ })), Ft = m(() => At.value.filter((e) => {
529
529
  let t = e.geometry;
530
530
  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;
531
- })), Rt = h(() => Mt.value.filter((e) => {
531
+ })), It = m(() => At.value.filter((e) => {
532
532
  let t = e.geometry;
533
- return t ? Ft(t) : !1;
534
- })), zt = h(() => It.value.map((e) => {
535
- let t = Nt(e.geometry);
533
+ return t ? Nt(t) : !1;
534
+ })), Lt = m(() => Pt.value.map((e) => {
535
+ let t = jt(e.geometry);
536
536
  return t ? {
537
537
  ...e,
538
538
  path: t
539
539
  } : null;
540
- }).filter(Boolean)), Bt = h(() => Lt.value.map((e) => {
541
- let t = Nt(e.geometry);
540
+ }).filter(Boolean)), Rt = m(() => Ft.value.map((e) => {
541
+ let t = jt(e.geometry);
542
542
  return t ? {
543
543
  ...e,
544
544
  path: t
545
545
  } : null;
546
- }).filter(Boolean)), Vt = h(() => {
546
+ }).filter(Boolean)), zt = m(() => {
547
547
  let e = [];
548
548
  function t(e = {}) {
549
549
  let t = e?.style && typeof e.style == "object" ? e.style : {}, n = e.radius ?? e.r ?? t.radius ?? t.r, i = e.color ?? e.fill ?? t.color ?? t.fill, a = e.stroke ?? t.stroke, o = e.strokeWidth ?? e.stroke_width ?? t.strokeWidth ?? t.stroke_width;
@@ -554,8 +554,8 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
554
554
  strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(L.value.style.chart.points.strokeWidth)
555
555
  };
556
556
  }
557
- for (let n of Rt.value) {
558
- let r = Pt(n.geometry);
557
+ for (let n of It.value) {
558
+ let r = Mt(n.geometry);
559
559
  for (let i = 0; i < r.length; i += 1) {
560
560
  let a = r[i];
561
561
  if (!Array.isArray(a) || a.length < 2) continue;
@@ -578,7 +578,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
578
578
  }
579
579
  return e;
580
580
  });
581
- function Ht(e) {
581
+ function Bt(e) {
582
582
  if (!e || typeof e.type != "string") return [];
583
583
  let t = [], n = (e) => {
584
584
  if (!Array.isArray(e) || e.length < 2) return;
@@ -596,14 +596,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
596
596
  }
597
597
  };
598
598
  if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
599
- for (let n of e.geometries) t.push(...Ht(n));
599
+ for (let n of e.geometries) t.push(...Bt(n));
600
600
  return t;
601
601
  }
602
602
  return e.type === "Point" ? (n(e.coordinates), t) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(n), t) : (r(e.coordinates), t);
603
603
  }
604
- function Ut(e) {
604
+ function Vt(e) {
605
605
  let t = [];
606
- for (let n of e) t.push(...Ht(n.geometry));
606
+ for (let n of e) t.push(...Bt(n.geometry));
607
607
  if (!t.length) return null;
608
608
  let n = Infinity, r = Infinity, i = -Infinity, a = -Infinity;
609
609
  for (let [e, o] of t) e < n && (n = e), o < r && (r = o), e > i && (i = e), o > a && (a = o);
@@ -617,24 +617,24 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
617
617
  height: s
618
618
  };
619
619
  }
620
- let Wt = h(() => Ut(Mt.value));
621
- function Gt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
620
+ let Ht = m(() => Vt(At.value));
621
+ function Ut({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
622
622
  if (!e || !(e.width > 0) || !(e.height > 0)) return {
623
623
  scale: 1,
624
624
  translateX: 0,
625
625
  translateY: 0,
626
626
  transform: ""
627
627
  };
628
- 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, m = f - e.minX * l, ee = p - e.minY * l;
628
+ 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;
629
629
  return {
630
630
  scale: l,
631
- translateX: m,
632
- translateY: ee,
633
- transform: `translate(${m} ${ee}) scale(${l})`
631
+ translateX: ee,
632
+ translateY: te,
633
+ transform: `translate(${ee} ${te}) scale(${l})`
634
634
  };
635
635
  }
636
- let Kt = h(() => {
637
- let e = Wt.value;
636
+ let Wt = m(() => {
637
+ let e = Ht.value;
638
638
  if (!e) return {
639
639
  scale: 1,
640
640
  translateX: 0,
@@ -642,29 +642,29 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
642
642
  transform: ""
643
643
  };
644
644
  let t = L.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
645
- return Gt({
645
+ return Ut({
646
646
  bounds: e,
647
647
  targetWidth: U.value.width,
648
648
  targetHeight: U.value.height,
649
649
  padding: n
650
650
  });
651
- }), qt = h(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Jt, resetZoom: Yt, setInitialViewBox: Xt, scale: Zt, zoomByFactor: Qt } = ce(R, {
651
+ }), Gt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Kt, resetZoom: qt, setInitialViewBox: Jt, scale: Yt, zoomByFactor: Xt } = le(R, {
652
652
  x: 0,
653
653
  y: 0,
654
654
  width: U.value.width,
655
655
  height: U.value.height
656
656
  }, 1, B);
657
- function $t() {
657
+ function Zt() {
658
658
  B.value = !B.value;
659
659
  }
660
- function en(e) {
661
- let t = Kt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
660
+ function Qt(e) {
661
+ let t = Wt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
662
662
  return {
663
663
  x: e.x * n + r,
664
664
  y: e.y * n + i
665
665
  };
666
666
  }
667
- function tn() {
667
+ function $t() {
668
668
  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;
669
669
  if (!r) return {
670
670
  x: 0,
@@ -679,7 +679,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
679
679
  width: i,
680
680
  height: a
681
681
  };
682
- let l = en({
682
+ let l = Qt({
683
683
  x: s,
684
684
  y: c
685
685
  });
@@ -690,53 +690,53 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
690
690
  height: a
691
691
  };
692
692
  }
693
- function nn() {
694
- let e = tn();
695
- Xt(e, { overwriteCurrentIfNotZoomed: !0 }), j.value = !0;
693
+ function en() {
694
+ let e = $t();
695
+ Jt(e, { overwriteCurrentIfNotZoomed: !0 }), A.value = !0;
696
696
  }
697
- let rn = h(() => {
698
- let e = Jt.value;
699
- return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : qt.value;
697
+ let tn = m(() => {
698
+ let e = Kt.value;
699
+ return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Gt.value;
700
700
  });
701
- function an() {
702
- Qt(Re, !0);
701
+ function nn() {
702
+ Xt(ze, !0);
703
703
  }
704
- function on() {
705
- Qt(1 / Re, !0);
704
+ function rn() {
705
+ Xt(1 / ze, !0);
706
706
  }
707
- async function sn() {
708
- let e = tn();
709
- Xt(e, { overwriteCurrentIfNotZoomed: !0 }), Yt(!0);
707
+ async function an() {
708
+ let e = $t();
709
+ Jt(e, { overwriteCurrentIfNotZoomed: !0 }), qt(!0);
710
710
  }
711
- we(() => [
711
+ T(() => [
712
712
  L.value.projection,
713
713
  L.value.map.center?.[0],
714
714
  L.value.map.center?.[1],
715
715
  L.value.map.fitPadding,
716
- Tt.value
716
+ Ct.value
717
717
  ], async () => {
718
- j.value = !1, await x(), requestAnimationFrame(() => {
719
- j.value || nn();
718
+ A.value = !1, await ve(), requestAnimationFrame(() => {
719
+ A.value || en();
720
720
  });
721
- }, { deep: !1 }), we(() => [
721
+ }, { deep: !1 }), T(() => [
722
722
  V.value,
723
723
  H.value,
724
724
  z.value
725
725
  ], async () => {
726
- z.value && (await x(), Xt({
726
+ z.value && (await ve(), Jt({
727
727
  x: 0,
728
728
  y: 0,
729
729
  width: U.value.width,
730
730
  height: U.value.height
731
- }, { overwriteCurrentIfNotZoomed: !0 }), j.value = !1, requestAnimationFrame(() => {
732
- j.value || nn();
731
+ }, { overwriteCurrentIfNotZoomed: !0 }), A.value = !1, requestAnimationFrame(() => {
732
+ A.value || en();
733
733
  }));
734
734
  }, { flush: "post" });
735
- function cn(e) {
735
+ function on(e) {
736
736
  return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((e) => e?.type === "Feature" && e.geometry?.type === "Point").map((e, t) => {
737
737
  let n = e.properties || {}, r = n.name || n.label || n.title || `Point ${t + 1}`, i = e.geometry.coordinates;
738
738
  return {
739
- uid: `map-point-${k.value}-${t}`,
739
+ uid: `map-point-${O.value}-${t}`,
740
740
  name: r,
741
741
  coordinates: i,
742
742
  color: n.color ?? null,
@@ -751,7 +751,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
751
751
  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));
752
752
  let s = n ? n[0] : NaN, c = n ? n[1] : NaN;
753
753
  return !Number.isFinite(s) || !Number.isFinite(c) ? null : {
754
- uid: `map-point-${k.value}-${t}`,
754
+ uid: `map-point-${O.value}-${t}`,
755
755
  name: r,
756
756
  coordinates: [s, c],
757
757
  color: a,
@@ -767,7 +767,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
767
767
  if (!r || r.length < 2) return null;
768
768
  let i = Number(r[0]), a = Number(r[1]);
769
769
  return !Number.isFinite(i) || !Number.isFinite(a) ? null : {
770
- uid: `map-point-${k.value}-${n}-${e}`,
770
+ uid: `map-point-${O.value}-${n}-${e}`,
771
771
  name: t.name || e,
772
772
  coordinates: [i, a],
773
773
  color: t.color ?? null,
@@ -779,7 +779,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
779
779
  };
780
780
  }).filter(Boolean) : [] : [];
781
781
  }
782
- let ln = h(() => cn(ft.value)), un = h(() => ln.value.map((e) => {
782
+ let sn = m(() => on(ut.value)), cn = m(() => sn.value.map((e) => {
783
783
  let t = W(e.coordinates), n = t?.[0], i = t?.[1];
784
784
  return !Number.isFinite(n) || !Number.isFinite(i) ? null : {
785
785
  ...e,
@@ -788,44 +788,44 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
788
788
  fill: e.color ? r(e.color) : L.value.style.chart.points.fill,
789
789
  radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : L.value.style.chart.points.radius
790
790
  };
791
- }).filter(Boolean)), G = h(() => un.value.map((e, t) => ({
791
+ }).filter(Boolean)), G = m(() => cn.value.map((e, t) => ({
792
792
  ...e,
793
793
  keyboardIndex: t
794
794
  })));
795
- function dn(e) {
796
- let n = en(e), r = t(n.x, n.y, R.value);
797
- r && (rt.value = {
795
+ function ln(e) {
796
+ let n = Qt(e), r = t(n.x, n.y, R.value);
797
+ r && (tt.value = {
798
798
  x: r.x,
799
799
  y: r.y
800
800
  });
801
801
  }
802
- let fn = w(!1), pn = w(""), K = w(!1), q = w(null), J = w(null);
803
- function mn(e) {
804
- pn.value = e, fn.value = !0;
802
+ let un = S(!1), dn = S(""), K = S(!1), q = S(null), J = S(null);
803
+ function fn(e) {
804
+ dn.value = e, un.value = !0;
805
805
  }
806
806
  function Y() {
807
- fn.value = !1, pn.value = "";
807
+ un.value = !1, dn.value = "";
808
808
  }
809
- function hn(e) {
809
+ function pn(e) {
810
810
  return String(e ?? "").replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&#039;");
811
811
  }
812
- function gn(e) {
813
- Ze.value = {
812
+ function mn(e) {
813
+ j.value = {
814
814
  datapoint: e,
815
815
  seriesIndex: e.index,
816
- series: ln.value,
816
+ series: sn.value,
817
817
  config: L.value
818
818
  }, K.value = !1;
819
819
  let t = L.value.style.chart.tooltip.customFormat;
820
820
  if (o(t)) try {
821
- let e = t(Ze.value);
821
+ let e = t(j.value);
822
822
  if (typeof e == "string") return K.value = !0, e;
823
823
  } catch {
824
824
  console.warn("Custom format cannot be applied."), K.value = !1;
825
825
  }
826
- return `<div><div style="font-weight:600">${hn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${hn(e.description)}</div>`}</div>`;
826
+ return `<div><div style="font-weight:600">${pn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${pn(e.description)}</div>`}</div>`;
827
827
  }
828
- function _n(e) {
828
+ function hn(e) {
829
829
  K.value = !1;
830
830
  let t = L.value.style.chart.tooltip.customFormat;
831
831
  if (o(t)) try {
@@ -838,9 +838,9 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
838
838
  console.warn("Custom format cannot be applied."), K.value = !1;
839
839
  }
840
840
  let n = typeof e?.name == "string" ? e.name.trim() : "";
841
- return n ? `<div><div style="font-weight:600">${hn(n)}</div></div>` : (K.value = !1, "");
841
+ return n ? `<div><div style="font-weight:600">${pn(n)}</div></div>` : (K.value = !1, "");
842
842
  }
843
- function vn(e) {
843
+ function gn(e) {
844
844
  if (L.value.events.territoryEnter && L.value.events.territoryEnter({
845
845
  datapoint: e,
846
846
  seriesIndex: e.index
@@ -848,41 +848,41 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
848
848
  J.value = null, Y();
849
849
  return;
850
850
  }
851
- J.value = e.uid, mn(_n(e));
851
+ J.value = e.uid, fn(hn(e));
852
852
  }
853
- function yn(e) {
853
+ function _n(e) {
854
854
  J.value = null, Y(), L.value.events.territoryLeave && L.value.events.territoryLeave({
855
855
  datapoint: e,
856
856
  seriesIndex: e.index
857
857
  });
858
858
  }
859
- function bn(e) {
859
+ function vn(e) {
860
860
  L.value.events.territoryClick && L.value.events.territoryClick({
861
861
  datapoint: e,
862
862
  seriesIndex: e.index
863
863
  });
864
864
  }
865
- function xn(e, t = null, n = "pointer") {
866
- F.value = n, q.value = e.uid, Number.isInteger(t) && (P.value = t), n === "keyboard" && dn(e), mn(gn(e)), L.value.events.datapointEnter && L.value.events.datapointEnter({
865
+ function yn(e, t = null, n = "pointer") {
866
+ F.value = n, q.value = e.uid, Number.isInteger(t) && (P.value = t), n === "keyboard" && ln(e), fn(mn(e)), L.value.events.datapointEnter && L.value.events.datapointEnter({
867
867
  datapoint: e,
868
868
  seriesIndex: e.index
869
869
  });
870
870
  }
871
- function Sn(e, t = "pointer") {
872
- 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({
871
+ function bn(e, t = "pointer") {
872
+ (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({
873
873
  datapoint: e,
874
874
  seriesIndex: e.index
875
875
  }));
876
876
  }
877
- let Cn = h(() => !!L.value.events.datapointClick && typeof L.value.events.datapointClick == "function");
878
- function wn(e) {
879
- Cn.value && L.value.events.datapointClick({
877
+ let xn = m(() => !!L.value.events.datapointClick && typeof L.value.events.datapointClick == "function");
878
+ function Sn(e) {
879
+ xn.value && L.value.events.datapointClick({
880
880
  datapoint: e,
881
881
  seriesIndex: e.index
882
882
  });
883
883
  }
884
- let X = h(() => L.value.style.chart.territory), Tn = h(() => L.value.style.chart.points);
885
- function En(e) {
884
+ let X = m(() => L.value.style.chart.territory), Cn = m(() => L.value.style.chart.points);
885
+ function wn(e) {
886
886
  let t = typeof e?.name == "string" ? e.name.trim() : "";
887
887
  if (!t) {
888
888
  J.value = null, Y();
@@ -894,59 +894,34 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
894
894
  index: e.featureIndex,
895
895
  properties: {}
896
896
  };
897
- J.value = e.uid, mn(_n(n));
897
+ J.value = e.uid, fn(hn(n));
898
898
  }
899
- function Dn() {
899
+ function Tn() {
900
900
  J.value = null, Y();
901
901
  }
902
- let Z = w(!1);
903
- function On() {
902
+ let Z = S(!1);
903
+ function En() {
904
904
  Z.value = !Z.value;
905
905
  }
906
- we(() => Z.value, (e) => {
906
+ T(() => Z.value, (e) => {
907
907
  B.value = !e;
908
908
  });
909
- function kn() {
910
- xt.value.showTooltip = !xt.value.showTooltip;
909
+ function Dn() {
910
+ yt.value.showTooltip = !yt.value.showTooltip;
911
911
  }
912
- let An = h(() => L.value.style.chart.backgroundColor), { exportSvg: jn, getSvg: Mn } = f({
912
+ let On = m(() => L.value.style.chart.backgroundColor), kn = m(() => L.value.style.chart.title), { isCallbackImaging: An, isCallbackSvg: jn, generateSvg: Mn, onGenerateImage: Nn } = ee({
913
913
  svg: R,
914
- title: h(() => L.value.style.chart.title),
915
- legend: void 0,
916
- legendItems: void 0,
917
- backgroundColor: An
914
+ title: kn,
915
+ legend: null,
916
+ legendItems: null,
917
+ backgroundColor: On,
918
+ getSvgCallback: () => L.value.userOptions.callbacks.svg,
919
+ generateImage: mt
918
920
  });
919
- async function Nn({ isCb: e }) {
920
- Xe.value = !0, await x();
921
- try {
922
- if (e) {
923
- let { blob: e, url: t, text: n, dataUrl: r } = await Mn();
924
- await Promise.resolve(L.value.userOptions.callbacks.svg({
925
- blob: e,
926
- url: t,
927
- text: n,
928
- dataUrl: r
929
- }));
930
- } else await Promise.resolve(jn());
931
- } finally {
932
- Xe.value = !1;
933
- }
934
- }
935
- function Pn(e) {
936
- if (e?.stage === "start") {
937
- Ye.value = !0;
938
- return;
939
- }
940
- if (e?.stage === "end") {
941
- Ye.value = !1;
942
- return;
943
- }
944
- gt();
945
- }
946
- async function Fn({ scale: e = 2 } = {}) {
947
- if (!A.value) return;
948
- let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ee({
949
- domElement: A.value,
921
+ async function Pn({ scale: e = 2 } = {}) {
922
+ if (!k.value) return;
923
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await te({
924
+ domElement: k.value,
950
925
  base64: !0,
951
926
  img: !0,
952
927
  scale: e
@@ -960,30 +935,30 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
960
935
  aspectRatio: r
961
936
  };
962
937
  }
963
- let Q = w(!1), $ = null;
964
- function In() {
938
+ let Q = S(!1), $ = null;
939
+ function Fn() {
965
940
  B.value && (Q.value = !0);
966
941
  }
967
- function Ln() {
942
+ function In() {
968
943
  Q.value = !1;
969
944
  }
970
- function Rn() {
945
+ function Ln() {
971
946
  B.value && (Q.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
972
947
  Q.value = !1, $ = null;
973
948
  }, 140));
974
949
  }
975
- ye(() => {
950
+ xe(() => {
976
951
  $ && clearTimeout($);
977
952
  });
978
- async function zn([e, t], { animated: n = !0 } = {}) {
953
+ async function Rn([e, t], { animated: n = !0 } = {}) {
979
954
  let r = Number(e), i = Number(t);
980
955
  if (!Number.isFinite(r) || !Number.isFinite(i)) return;
981
956
  let a = W([r, i]), o = a?.[0], s = a?.[1];
982
957
  if (!Number.isFinite(o) || !Number.isFinite(s)) return;
983
- let c = en({
958
+ let c = Qt({
984
959
  x: o,
985
960
  y: s
986
- }), l = Jt.value ? { ...Jt.value } : {
961
+ }), l = Kt.value ? { ...Kt.value } : {
987
962
  x: 0,
988
963
  y: 0,
989
964
  width: U.value.width,
@@ -995,42 +970,42 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
995
970
  height: l.height
996
971
  };
997
972
  if (!n) {
998
- Jt.value = u;
973
+ Kt.value = u;
999
974
  return;
1000
975
  }
1001
- let d = { ...l }, f = { ...u }, p = null, m = (e) => {
976
+ let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
1002
977
  p ??= e;
1003
978
  let t = Math.min((e - p) / 250, 1);
1004
- Jt.value = {
979
+ Kt.value = {
1005
980
  x: d.x + (f.x - d.x) * t,
1006
981
  y: d.y + (f.y - d.y) * t,
1007
982
  width: d.width + (f.width - d.width) * t,
1008
983
  height: d.height + (f.height - d.height) * t
1009
- }, t < 1 && requestAnimationFrame(m);
984
+ }, t < 1 && requestAnimationFrame(ee);
1010
985
  };
1011
- requestAnimationFrame(m);
986
+ requestAnimationFrame(ee);
1012
987
  }
1013
- be(async () => {
1014
- yt(), await x(), requestAnimationFrame(() => {
1015
- j.value || (nn(), (L.value.map.center?.[0] || L.value.map.center?.[1]) && zn(L.value.map.center, { animated: !1 }));
988
+ Se(async () => {
989
+ _t(), await ve(), requestAnimationFrame(() => {
990
+ A.value || (en(), (L.value.map.center?.[0] || L.value.map.center?.[1]) && Rn(L.value.map.center, { animated: !1 }));
1016
991
  });
1017
- }), ye(() => {
1018
- vt();
992
+ }), xe(() => {
993
+ gt();
1019
994
  });
1020
- async function Bn() {
1021
- if (Ue("copyAlt", {
995
+ async function zn() {
996
+ if (We("copyAlt", {
1022
997
  config: L.value,
1023
- dataset: ft.value
998
+ dataset: ut.value
1024
999
  }), !L.value.userOptions.callbacks.altCopy) {
1025
1000
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1026
1001
  return;
1027
1002
  }
1028
1003
  await Promise.resolve(L.value.userOptions.callbacks.altCopy({
1029
1004
  config: L.value,
1030
- dataset: ft.value
1005
+ dataset: ut.value
1031
1006
  }));
1032
1007
  }
1033
- function Vn(e, t) {
1008
+ function Bn(e, t) {
1034
1009
  let n = G.value;
1035
1010
  if (!n.length) return null;
1036
1011
  let r = n[e];
@@ -1045,45 +1020,45 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1045
1020
  }
1046
1021
  return i;
1047
1022
  }
1048
- function Hn(e) {
1023
+ function Vn(e) {
1049
1024
  let t = G.value;
1050
1025
  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;
1051
1026
  }
1052
- function Un() {
1053
- it.value = !0;
1027
+ function Hn() {
1028
+ nt.value = !0;
1054
1029
  }
1055
- function Wn() {
1030
+ function Un() {
1056
1031
  let e = P.value == null ? null : G.value[P.value];
1057
- e ? Sn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null), it.value = !1;
1032
+ e ? bn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null), nt.value = !1;
1058
1033
  }
1059
- function Gn(e) {
1034
+ function Wn(e) {
1060
1035
  if (!R.value || Z.value || document.activeElement !== R.value || !G.value.length) return;
1061
1036
  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";
1062
1037
  if (!t && !n && !r && !i && !a && !o) return;
1063
1038
  if (e.preventDefault(), e.stopPropagation(), o) {
1064
1039
  let e = P.value == null ? null : G.value[P.value];
1065
- e ? Sn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null);
1040
+ e ? bn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null);
1066
1041
  return;
1067
1042
  }
1068
1043
  if (a) {
1069
1044
  let e = P.value == null ? null : G.value[P.value];
1070
1045
  if (!e) return;
1071
- wn(e);
1046
+ Sn(e);
1072
1047
  return;
1073
1048
  }
1074
1049
  let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
1075
- if (P.value == null ? c = Hn(s) : (c = Vn(P.value, s), c ??= Hn(s)), c == null) return;
1050
+ if (P.value == null ? c = Vn(s) : (c = Bn(P.value, s), c ??= Vn(s)), c == null) return;
1076
1051
  let l = G.value[c];
1077
- l && xn(l, c, "keyboard");
1052
+ l && yn(l, c, "keyboard");
1078
1053
  }
1079
- let Kn = h(() => ({
1054
+ let Gn = m(() => ({
1080
1055
  headers: [
1081
1056
  "Name",
1082
1057
  "Latitude",
1083
1058
  "Longitude",
1084
1059
  "Description"
1085
1060
  ],
1086
- rows: ln.value.map((e) => {
1061
+ rows: sn.value.map((e) => {
1087
1062
  let t = Array.isArray(e.coordinates) ? e.coordinates[1] : null, n = Array.isArray(e.coordinates) ? e.coordinates[0] : null;
1088
1063
  return [
1089
1064
  e.name ?? "",
@@ -1093,41 +1068,41 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1093
1068
  ];
1094
1069
  })
1095
1070
  }));
1096
- return ne({
1097
- getImage: Fn,
1098
- generatePdf: ht,
1099
- generateImage: gt,
1100
- generateSvg: Nn,
1101
- toggleTooltip: kn,
1102
- toggleAnnotator: On,
1103
- toggleFullscreen: at,
1104
- zoomIn: an,
1105
- zoomOut: on,
1106
- resetZoom: Yt,
1107
- focusLocation: zn,
1108
- copyAlt: Bn
1109
- }), (e, t) => (C(), v("div", {
1110
- 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" : ""}`),
1071
+ return re({
1072
+ getImage: Pn,
1073
+ generatePdf: pt,
1074
+ generateImage: mt,
1075
+ generateSvg: Mn,
1076
+ toggleTooltip: Dn,
1077
+ toggleAnnotator: En,
1078
+ toggleFullscreen: rt,
1079
+ zoomIn: nn,
1080
+ zoomOut: rn,
1081
+ resetZoom: qt,
1082
+ focusLocation: Rn,
1083
+ copyAlt: zn
1084
+ }), (e, t) => (x(), _("div", {
1085
+ class: ye(`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" : ""}`),
1111
1086
  ref_key: "geoChart",
1112
- ref: A,
1113
- id: `map_${k.value}`,
1087
+ ref: k,
1088
+ id: `map_${O.value}`,
1114
1089
  dir: "auto",
1115
- style: ve({
1090
+ style: be({
1116
1091
  fontFamily: L.value.style.fontFamily,
1117
1092
  width: "100%",
1118
1093
  backgroundColor: L.value.style.chart.backgroundColor,
1119
1094
  height: z.value ? `${H.value}px` : void 0
1120
1095
  })
1121
1096
  }, [
1122
- y("div", {
1123
- id: `chart-instructions-${k.value}`,
1097
+ v("div", {
1098
+ id: `chart-instructions-${O.value}`,
1124
1099
  class: "sr-only"
1125
- }, [y("p", null, Se(L.value.a11y.translations.keyboardNavigation), 1)], 8, De),
1126
- Kn.value?.rows?.length ? (C(), g(ae, {
1100
+ }, [v("p", null, we(L.value.a11y.translations.keyboardNavigation), 1)], 8, Oe),
1101
+ Gn.value?.rows?.length ? (x(), h(oe, {
1127
1102
  key: 0,
1128
- uid: k.value,
1129
- head: Kn.value.headers,
1130
- body: Kn.value.rows,
1103
+ uid: O.value,
1104
+ head: Gn.value.headers,
1105
+ body: Gn.value.rows,
1131
1106
  notice: L.value.a11y.translations.tableAvailable,
1132
1107
  caption: L.value.a11y.translations.tableCaption
1133
1108
  }, null, 8, [
@@ -1136,21 +1111,21 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1136
1111
  "body",
1137
1112
  "notice",
1138
1113
  "caption"
1139
- ])) : _("", !0),
1140
- bt.value ? (C(), v("div", {
1114
+ ])) : g("", !0),
1115
+ vt.value ? (x(), _("div", {
1141
1116
  key: 1,
1142
1117
  ref_key: "noTitle",
1143
- ref: $e,
1118
+ ref: Ze,
1144
1119
  class: "vue-data-ui-no-title-space",
1145
1120
  style: "height:36px; width: 100%;background:transparent"
1146
- }, null, 512)) : _("", !0),
1147
- L.value.style.chart.title.text ? (C(), v("div", {
1121
+ }, null, 512)) : g("", !0),
1122
+ L.value.style.chart.title.text ? (x(), _("div", {
1148
1123
  key: 2,
1149
1124
  ref_key: "chartTitle",
1150
- ref: Qe,
1125
+ ref: Xe,
1151
1126
  style: "width:100%;background:transparent;padding-bottom:12px"
1152
- }, [(C(), g(te, {
1153
- key: `title_${Je.value}`,
1127
+ }, [(x(), h(ne, {
1128
+ key: `title_${Ye.value}`,
1154
1129
  config: {
1155
1130
  title: {
1156
1131
  cy: "geo-title",
@@ -1161,22 +1136,22 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1161
1136
  ...L.value.style.chart.title.subtitle
1162
1137
  }
1163
1138
  }
1164
- }, null, 8, ["config"]))], 512)) : _("", !0),
1165
- L.value.userOptions.buttons.annotator ? (C(), g(E(Ve), {
1139
+ }, null, 8, ["config"]))], 512)) : g("", !0),
1140
+ L.value.userOptions.buttons.annotator ? (x(), h(w(He), {
1166
1141
  key: 3,
1167
- svgRef: E(R),
1142
+ svgRef: w(R),
1168
1143
  backgroundColor: L.value.style.chart.backgroundColor,
1169
1144
  color: L.value.style.chart.color,
1170
1145
  active: Z.value,
1171
- isCursorPointer: st.value,
1172
- onClose: On
1146
+ isCursorPointer: at.value,
1147
+ onClose: En
1173
1148
  }, {
1174
- "annotator-action-close": D(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1175
- "annotator-action-color": D(({ color: t }) => [T(e.$slots, "annotator-action-color", S(b({ color: t })), void 0, !0)]),
1176
- "annotator-action-draw": D(({ mode: t }) => [T(e.$slots, "annotator-action-draw", S(b({ mode: t })), void 0, !0)]),
1177
- "annotator-action-undo": D(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", S(b({ disabled: t })), void 0, !0)]),
1178
- "annotator-action-redo": D(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", S(b({ disabled: t })), void 0, !0)]),
1179
- "annotator-action-delete": D(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", S(b({ disabled: t })), void 0, !0)]),
1149
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1150
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
1151
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
1152
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
1153
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
1154
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
1180
1155
  _: 3
1181
1156
  }, 8, [
1182
1157
  "svgRef",
@@ -1184,15 +1159,15 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1184
1159
  "color",
1185
1160
  "active",
1186
1161
  "isCursorPointer"
1187
- ])) : _("", !0),
1188
- L.value.userOptions.show && (E(lt) || E(ct)) ? (C(), g(E(Be), {
1162
+ ])) : g("", !0),
1163
+ L.value.userOptions.show && (w(st) || w(ot)) ? (x(), h(w(Ve), {
1189
1164
  ref: "userOptionsRef",
1190
- key: `user_options_${qe.value}`,
1165
+ key: `user_options_${Je.value}`,
1191
1166
  backgroundColor: L.value.style.chart.backgroundColor,
1192
1167
  color: L.value.style.chart.color,
1193
- isPrinting: E(pt),
1194
- isImaging: E(mt),
1195
- uid: k.value,
1168
+ isPrinting: w(dt),
1169
+ isImaging: w(ft),
1170
+ uid: O.value,
1196
1171
  hasXls: !1,
1197
1172
  hasTable: !1,
1198
1173
  hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
@@ -1205,27 +1180,27 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1205
1180
  hasZoom: L.value.userOptions.buttons.zoom,
1206
1181
  isZoom: B.value,
1207
1182
  isFullscreen: I.value,
1208
- isTooltip: xt.value.showTooltip,
1183
+ isTooltip: yt.value.showTooltip,
1209
1184
  titles: { ...L.value.userOptions.buttonTitles },
1210
- chartElement: A.value,
1185
+ chartElement: k.value,
1211
1186
  position: L.value.userOptions.position,
1212
1187
  isAnnotation: Z.value,
1213
1188
  callbacks: L.value.userOptions.callbacks,
1214
1189
  printScale: L.value.userOptions.print.scale,
1215
- isCursorPointer: st.value,
1216
- onToggleFullscreen: at,
1217
- onGeneratePdf: E(ht),
1218
- onGenerateImage: Pn,
1219
- onGenerateSvg: Nn,
1220
- onToggleTooltip: kn,
1221
- onToggleAnnotator: On,
1222
- onToggleZoom: $t,
1223
- onCopyAlt: Bn,
1224
- style: ve({ visibility: E(lt) ? E(ct) ? "visible" : "hidden" : "visible" })
1225
- }, pe({ _: 2 }, [
1190
+ isCursorPointer: at.value,
1191
+ onToggleFullscreen: rt,
1192
+ onGeneratePdf: w(pt),
1193
+ onGenerateImage: w(Nn),
1194
+ onGenerateSvg: w(Mn),
1195
+ onToggleTooltip: Dn,
1196
+ onToggleAnnotator: En,
1197
+ onToggleZoom: Zt,
1198
+ onCopyAlt: zn,
1199
+ style: be({ visibility: w(st) ? w(ot) ? "visible" : "hidden" : "visible" })
1200
+ }, me({ _: 2 }, [
1226
1201
  e.$slots.menuIcon ? {
1227
1202
  name: "menuIcon",
1228
- fn: D(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", S(b({
1203
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", b(y({
1229
1204
  isOpen: t,
1230
1205
  color: n
1231
1206
  })), void 0, !0)]),
@@ -1233,27 +1208,27 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1233
1208
  } : void 0,
1234
1209
  e.$slots.optionTooltip ? {
1235
1210
  name: "optionTooltip",
1236
- fn: D(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1211
+ fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1237
1212
  key: "1"
1238
1213
  } : void 0,
1239
1214
  e.$slots.optionPdf ? {
1240
1215
  name: "optionPdf",
1241
- fn: D(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1216
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1242
1217
  key: "2"
1243
1218
  } : void 0,
1244
1219
  e.$slots.optionImg ? {
1245
1220
  name: "optionImg",
1246
- fn: D(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1221
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1247
1222
  key: "3"
1248
1223
  } : void 0,
1249
1224
  e.$slots.optionSvg ? {
1250
1225
  name: "optionSvg",
1251
- fn: D(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1226
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1252
1227
  key: "4"
1253
1228
  } : void 0,
1254
1229
  e.$slots.optionFullscreen ? {
1255
1230
  name: "optionFullscreen",
1256
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", S(b({
1231
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", b(y({
1257
1232
  toggleFullscreen: t,
1258
1233
  isFullscreen: n
1259
1234
  })), void 0, !0)]),
@@ -1261,7 +1236,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1261
1236
  } : void 0,
1262
1237
  e.$slots.optionAnnotator ? {
1263
1238
  name: "optionAnnotator",
1264
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", S(b({
1239
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", b(y({
1265
1240
  toggleAnnotator: t,
1266
1241
  isAnnotator: n
1267
1242
  })), void 0, !0)]),
@@ -1269,7 +1244,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1269
1244
  } : void 0,
1270
1245
  e.$slots.optionZoom ? {
1271
1246
  name: "optionZoom",
1272
- fn: D(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", S(b({
1247
+ fn: E(({ toggleZoom: t, isZoomLocked: n }) => [C(e.$slots, "optionZoom", b(y({
1273
1248
  toggleZoom: t,
1274
1249
  isZoomLocked: n
1275
1250
  })), void 0, !0)]),
@@ -1277,72 +1252,46 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1277
1252
  } : void 0,
1278
1253
  e.$slots.optionAltCopy ? {
1279
1254
  name: "optionAltCopy",
1280
- fn: D(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", S(b({ altCopy: t })), void 0, !0)]),
1255
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
1281
1256
  key: "8"
1282
1257
  } : void 0,
1283
1258
  e.$slots["custom-menu-before"] ? {
1284
1259
  name: "custom-menu-before",
1285
- fn: D(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1260
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1286
1261
  key: "9"
1287
1262
  } : void 0,
1288
1263
  e.$slots["custom-menu-after"] ? {
1289
1264
  name: "custom-menu-after",
1290
- fn: D(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1265
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1291
1266
  key: "10"
1292
1267
  } : void 0
1293
- ]), 1032, [
1294
- "backgroundColor",
1295
- "color",
1296
- "isPrinting",
1297
- "isImaging",
1298
- "uid",
1299
- "hasTooltip",
1300
- "hasPdf",
1301
- "hasImg",
1302
- "hasSvg",
1303
- "hasFullscreen",
1304
- "hasAltCopy",
1305
- "hasAnnotator",
1306
- "hasZoom",
1307
- "isZoom",
1308
- "isFullscreen",
1309
- "isTooltip",
1310
- "titles",
1311
- "chartElement",
1312
- "position",
1313
- "isAnnotation",
1314
- "callbacks",
1315
- "printScale",
1316
- "isCursorPointer",
1317
- "onGeneratePdf",
1318
- "style"
1319
- ])) : _("", !0),
1320
- L.value.style.chart.controls.position === "top" && L.value.style.chart.controls.show && !E(dt) ? (C(), g(le, {
1268
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasFullscreen.hasAltCopy.hasAnnotator.hasZoom.isZoom.isFullscreen.isTooltip.titles.chartElement.position.isAnnotation.callbacks.printScale.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : g("", !0),
1269
+ L.value.style.chart.controls.position === "top" && L.value.style.chart.controls.show && !w(lt) ? (x(), h(ue, {
1321
1270
  key: 5,
1322
1271
  ref_key: "zoomControlsTop",
1323
- ref: tt,
1272
+ ref: $e,
1324
1273
  config: L.value,
1325
- scale: E(Zt),
1274
+ scale: w(Yt),
1326
1275
  isFullscreen: I.value,
1327
- isCursorPointer: st.value,
1328
- onZoomIn: an,
1329
- onZoomOut: on,
1330
- onResetZoom: sn
1276
+ isCursorPointer: at.value,
1277
+ onZoomIn: nn,
1278
+ onZoomOut: rn,
1279
+ onResetZoom: an
1331
1280
  }, null, 8, [
1332
1281
  "config",
1333
1282
  "scale",
1334
1283
  "isFullscreen",
1335
1284
  "isCursorPointer"
1336
- ])) : _("", !0),
1337
- y("div", Oe, [(C(), v("svg", {
1285
+ ])) : g("", !0),
1286
+ v("div", ke, [(x(), _("svg", {
1338
1287
  ref_key: "svgRef",
1339
1288
  ref: R,
1340
- xmlns: E(a),
1341
- viewBox: rn.value,
1289
+ xmlns: w(a),
1290
+ viewBox: tn.value,
1342
1291
  preserveAspectRatio: "xMidYMid meet",
1343
- "aria-describedby": `map-keyboard-instructions-${k.value}`,
1292
+ "aria-describedby": `map-keyboard-instructions-${O.value}`,
1344
1293
  tabindex: "0",
1345
- style: ve({
1294
+ style: be({
1346
1295
  display: "block",
1347
1296
  width: "100%",
1348
1297
  height: z.value ? `${H.value}px` : "auto",
@@ -1350,20 +1299,20 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1350
1299
  touchAction: B.value ? "none" : "auto",
1351
1300
  cursor: B.value ? Q.value ? "grabbing" : "grab" : "default"
1352
1301
  }),
1353
- id: `vue-ui-geo_${k.value}`,
1354
- onPointerdown: In,
1355
- onPointerup: Ln,
1356
- onPointercancel: Ln,
1357
- onPointerleave: Ln,
1358
- onWheel: Rn,
1359
- onFocus: Un,
1360
- onBlur: Wn,
1361
- onKeydown: Gn
1362
- }, [me(E(He)), y("g", {
1363
- transform: Kt.value.transform,
1364
- style: ve({ pointerEvents: Q.value ? "none" : "auto" })
1302
+ id: `vue-ui-geo_${O.value}`,
1303
+ onPointerdown: Fn,
1304
+ onPointerup: In,
1305
+ onPointercancel: In,
1306
+ onPointerleave: In,
1307
+ onWheel: Ln,
1308
+ onFocus: Hn,
1309
+ onBlur: Un,
1310
+ onKeydown: Wn
1311
+ }, [he(w(Ue)), v("g", {
1312
+ transform: Wt.value.transform,
1313
+ style: be({ pointerEvents: Q.value ? "none" : "auto" })
1365
1314
  }, [
1366
- y("g", null, [(C(!0), v(fe, null, xe(zt.value, (e) => (C(), v("path", {
1315
+ v("g", null, [(x(!0), _(pe, null, Ce(Lt.value, (e) => (x(), _("path", {
1367
1316
  class: "vue-ui-geo-territory",
1368
1317
  key: e.uid,
1369
1318
  d: e.path,
@@ -1371,11 +1320,11 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1371
1320
  stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1372
1321
  "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1373
1322
  "vector-effect": "non-scaling-stroke",
1374
- onMouseenter: (t) => vn(e),
1375
- onMouseleave: (t) => yn(e),
1376
- onClick: (t) => bn(e)
1377
- }, null, 40, je))), 128))]),
1378
- y("g", null, [(C(!0), v(fe, null, xe(Bt.value, (e) => (C(), v("path", {
1323
+ onMouseenter: (t) => gn(e),
1324
+ onMouseleave: (t) => _n(e),
1325
+ onClick: (t) => vn(e)
1326
+ }, null, 40, Me))), 128))]),
1327
+ v("g", null, [(x(!0), _(pe, null, Ce(Rt.value, (e) => (x(), _("path", {
1379
1328
  class: "vue-ui-geo-territory",
1380
1329
  key: e.uid,
1381
1330
  d: e.path,
@@ -1383,11 +1332,11 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1383
1332
  stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1384
1333
  "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1385
1334
  "vector-effect": "non-scaling-stroke",
1386
- onMouseenter: (t) => vn(e),
1387
- onMouseleave: (t) => yn(e),
1388
- onClick: (t) => bn(e)
1389
- }, null, 40, Me))), 128))]),
1390
- y("g", null, [(C(!0), v(fe, null, xe(Vt.value, (e) => (C(), v("circle", {
1335
+ onMouseenter: (t) => gn(e),
1336
+ onMouseleave: (t) => _n(e),
1337
+ onClick: (t) => vn(e)
1338
+ }, null, 40, Ne))), 128))]),
1339
+ v("g", null, [(x(!0), _(pe, null, Ce(zt.value, (e) => (x(), _("circle", {
1391
1340
  key: e.uid,
1392
1341
  cx: e.x,
1393
1342
  cy: e.y,
@@ -1396,31 +1345,31 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1396
1345
  stroke: e.stroke,
1397
1346
  "stroke-width": e.strokeWidth,
1398
1347
  "vector-effect": "non-scaling-stroke",
1399
- onMouseenter: (t) => En(e),
1400
- onMouseleave: Dn
1401
- }, null, 40, Ne))), 128))]),
1402
- (C(!0), v(fe, null, xe(un.value, (t, n) => (C(), v("g", { key: t.uid }, [T(e.$slots, "datapoint", ge({ ref_for: !0 }, {
1348
+ onMouseenter: (t) => wn(e),
1349
+ onMouseleave: Tn
1350
+ }, null, 40, Pe))), 128))]),
1351
+ (x(!0), _(pe, null, Ce(cn.value, (t, n) => (x(), _("g", { key: t.uid }, [C(e.$slots, "datapoint", _e({ ref_for: !0 }, {
1403
1352
  point: t,
1404
- onPointEnter: xn,
1405
- onPointLeave: Sn,
1406
- onPointClick: wn,
1353
+ onPointEnter: yn,
1354
+ onPointLeave: bn,
1355
+ onPointClick: Sn,
1407
1356
  highlighted: q.value === t.uid
1408
- }), () => [y("circle", {
1409
- class: _e({
1357
+ }), () => [v("circle", {
1358
+ class: ye({
1410
1359
  "vue-ui-geo-point": !0,
1411
- "vue-ui-geo-point-with-event": Cn.value && st.value
1360
+ "vue-ui-geo-point-with-event": xn.value && at.value
1412
1361
  }),
1413
1362
  cx: t.x,
1414
1363
  cy: t.y,
1415
1364
  r: q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
1416
1365
  fill: t.fill,
1417
- stroke: Tn.value.stroke,
1418
- "stroke-width": Tn.value.strokeWidth,
1366
+ stroke: Cn.value.stroke,
1367
+ "stroke-width": Cn.value.strokeWidth,
1419
1368
  "vector-effect": "non-scaling-stroke",
1420
- onMouseenter: (e) => xn(t, n),
1421
- onMouseleave: (e) => Sn(t),
1422
- onClick: (e) => wn(t)
1423
- }, null, 42, Pe)], !0), L.value.style.chart.points.labels.show ? (C(), v("text", {
1369
+ onMouseenter: (e) => yn(t, n),
1370
+ onMouseleave: (e) => bn(t),
1371
+ onClick: (e) => Sn(t)
1372
+ }, null, 42, Fe)], !0), L.value.style.chart.points.labels.show ? (x(), _("text", {
1424
1373
  key: 0,
1425
1374
  class: "vue-ui-geo-point-label",
1426
1375
  x: t.x,
@@ -1428,47 +1377,47 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1428
1377
  "text-anchor": "middle",
1429
1378
  fill: L.value.style.chart.points.labels.color,
1430
1379
  "font-size": 1 * L.value.style.chart.points.labels.fontSizeRatio
1431
- }, Se(t.name), 9, Fe)) : _("", !0)]))), 128)),
1432
- T(e.$slots, "svg", { svg: {
1433
- drawingArea: rn.value,
1434
- x: Wt.value?.minX ?? 0,
1435
- y: Wt.value?.minY ?? 0,
1436
- width: Wt.value?.width ?? 0,
1437
- height: Wt.value?.height ?? 0,
1438
- isPrintingImg: E(pt) || E(mt) || Ye.value,
1439
- isPrintingSvg: Xe.value,
1380
+ }, we(t.name), 9, Ie)) : g("", !0)]))), 128)),
1381
+ C(e.$slots, "svg", { svg: {
1382
+ drawingArea: tn.value,
1383
+ x: Ht.value?.minX ?? 0,
1384
+ y: Ht.value?.minY ?? 0,
1385
+ width: Ht.value?.width ?? 0,
1386
+ height: Ht.value?.height ?? 0,
1387
+ isPrintingImg: w(dt) || w(ft) || w(An),
1388
+ isPrintingSvg: w(jn),
1440
1389
  data: {
1441
- areaPaths: zt.value,
1442
- linePaths: Bt.value,
1443
- geoJsonPoints: Vt.value,
1444
- projectedPoints: un.value
1390
+ areaPaths: Lt.value,
1391
+ linePaths: Rt.value,
1392
+ geoJsonPoints: zt.value,
1393
+ projectedPoints: cn.value
1445
1394
  }
1446
1395
  } }, void 0, !0)
1447
- ], 12, Ae)], 44, ke)), e.$slots.hint ? (C(), v("div", Ie, [T(e.$slots, "hint", S(b({
1396
+ ], 12, je)], 44, Ae)), e.$slots.hint ? (x(), _("div", Le, [C(e.$slots, "hint", b(y({
1448
1397
  hint: L.value.a11y.translations.keyboardNavigation,
1449
- isVisible: it.value
1450
- })), void 0, !0)])) : _("", !0)]),
1451
- e.$slots.watermark ? (C(), v("div", Le, [T(e.$slots, "watermark", S(b({ isPrinting: E(pt) || E(mt) || Ye.value || Xe.value })), void 0, !0)])) : _("", !0),
1452
- L.value.style.chart.controls.position === "bottom" && L.value.style.chart.controls.show && !E(dt) ? (C(), g(le, {
1398
+ isVisible: nt.value
1399
+ })), void 0, !0)])) : g("", !0)]),
1400
+ e.$slots.watermark ? (x(), _("div", Re, [C(e.$slots, "watermark", b(y({ isPrinting: w(dt) || w(ft) || w(An) || w(jn) })), void 0, !0)])) : g("", !0),
1401
+ L.value.style.chart.controls.position === "bottom" && L.value.style.chart.controls.show && !w(lt) ? (x(), h(ue, {
1453
1402
  key: 7,
1454
1403
  ref_key: "zoomControlsBottom",
1455
- ref: nt,
1404
+ ref: et,
1456
1405
  config: L.value,
1457
- scale: E(Zt),
1406
+ scale: w(Yt),
1458
1407
  isFullscreen: I.value,
1459
- isCursorPointer: st.value,
1460
- onZoomIn: an,
1461
- onZoomOut: on,
1462
- onResetZoom: sn
1408
+ isCursorPointer: at.value,
1409
+ onZoomIn: nn,
1410
+ onZoomOut: rn,
1411
+ onResetZoom: an
1463
1412
  }, null, 8, [
1464
1413
  "config",
1465
1414
  "scale",
1466
1415
  "isFullscreen",
1467
1416
  "isCursorPointer"
1468
- ])) : _("", !0),
1469
- me(E(ze), {
1417
+ ])) : g("", !0),
1418
+ he(w(Be), {
1470
1419
  teleportTo: L.value.style.chart.tooltip.teleportTo,
1471
- show: xt.value.showTooltip && fn.value,
1420
+ show: yt.value.showTooltip && un.value,
1472
1421
  backgroundColor: L.value.style.chart.tooltip.backgroundColor,
1473
1422
  color: L.value.style.chart.tooltip.color,
1474
1423
  fontSize: L.value.style.chart.tooltip.fontSize,
@@ -1479,8 +1428,8 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1479
1428
  position: L.value.style.chart.tooltip.position,
1480
1429
  offsetX: L.value.style.chart.tooltip.offsetX,
1481
1430
  offsetY: L.value.style.chart.tooltip.offsetY,
1482
- parent: A.value,
1483
- content: pn.value,
1431
+ parent: k.value,
1432
+ content: dn.value,
1484
1433
  isCustom: K.value,
1485
1434
  isFullscreen: I.value,
1486
1435
  smooth: L.value.style.chart.tooltip.smooth,
@@ -1488,11 +1437,11 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1488
1437
  smoothForce: L.value.style.chart.tooltip.smoothForce,
1489
1438
  smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold,
1490
1439
  isA11yMode: F.value === "keyboard",
1491
- a11yPosition: rt.value
1440
+ a11yPosition: tt.value
1492
1441
  }, {
1493
- "tooltip-before": D(() => [T(e.$slots, "tooltip-before", S(b({ ...Ze.value })), void 0, !0)]),
1494
- tooltip: D(() => [T(e.$slots, "tooltip", S(b({ ...Ze.value })), void 0, !0)]),
1495
- "tooltip-after": D(() => [T(e.$slots, "tooltip-after", S(b({ ...Ze.value })), void 0, !0)]),
1442
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", b(y({ ...j.value })), void 0, !0)]),
1443
+ tooltip: E(() => [C(e.$slots, "tooltip", b(y({ ...j.value })), void 0, !0)]),
1444
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", b(y({ ...j.value })), void 0, !0)]),
1496
1445
  _: 3
1497
1446
  }, 8, [
1498
1447
  "teleportTo",
@@ -1518,15 +1467,15 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
1518
1467
  "isA11yMode",
1519
1468
  "a11yPosition"
1520
1469
  ]),
1521
- e.$slots.source ? (C(), v("div", {
1470
+ e.$slots.source ? (x(), _("div", {
1522
1471
  key: 8,
1523
1472
  ref_key: "source",
1524
- ref: et,
1473
+ ref: Qe,
1525
1474
  dir: "auto"
1526
- }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
1527
- T(e.$slots, "skeleton", {}, () => [E(dt) ? (C(), g(d, { key: 0 })) : _("", !0)], !0)
1528
- ], 14, Ee));
1475
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1476
+ C(e.$slots, "skeleton", {}, () => [w(lt) ? (x(), h(d, { key: 0 })) : g("", !0)], !0)
1477
+ ], 14, De));
1529
1478
  }
1530
- }, [["__scopeId", "data-v-ebec76f9"]]);
1479
+ }, [["__scopeId", "data-v-0dc55d82"]]);
1531
1480
  //#endregion
1532
- export { Te as n, ze as t };
1481
+ export { Ee as n, Be as t };