vue-data-ui 3.25.7 → 3.25.9

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 (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,31 +1,31 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Jt as n, S as r, Zt as i, q as a, t as o } from "./lib-Dql7cqyA.js";
3
- import { n as s } from "./useHints-Dq_w2E8B.js";
4
- import { t as c } from "./useConfig-CIQZ6_r7.js";
5
- import { t as l } from "./usePrinter-DISD7q5m.js";
6
- import { n as u, t as d } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as f } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as p } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ee } from "./useChartExport-iwOqiIWX.js";
10
- import { t as te } from "./img-DhGApYG0.js";
11
- import { n as ne } from "./Title-CPHi-evi.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-BTzjVDPM.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 Ee, withCtx as T } from "vue";
2
+ import { Ct as t, Jt as n, S as r, Z as i, Zt as a, q as o, t as s } from "./lib-Dql7cqyA.js";
3
+ import { n as c } from "./useHints-Dq_w2E8B.js";
4
+ import { t as l } from "./useConfig-D32D002m.js";
5
+ import { t as u } from "./usePrinter-DISD7q5m.js";
6
+ import { n as d, t as f } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as p } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as ee } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as te } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as ne } from "./img-DhGApYG0.js";
11
+ import { n as re } from "./Title-CPHi-evi.js";
12
+ import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ae, t as oe } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as se } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as le } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as ue } from "./usePanZoom-CYU3B4T3.js";
18
+ import { t as de } from "./BaseZoomControls-BTzjVDPM.js";
19
+ import { t as fe } from "./geoProjections-CEo3dVaL.js";
20
+ import { t as pe } from "./vue_ui_geo-B8TODs-G.js";
21
+ import { Fragment as me, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as he, createVNode as ge, defineAsyncComponent as _e, guardReactiveProps as y, mergeProps as ve, nextTick as ye, normalizeClass as be, normalizeProps as b, normalizeStyle as xe, onBeforeUnmount as Se, onMounted as Ce, openBlock as x, ref as S, renderList as we, renderSlot as C, toDisplayString as Te, toRefs as Ee, unref as w, watch as De, withCtx as T } from "vue";
22
22
  //#region src/components/vue-ui-geo.vue
23
- var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae = { style: { position: "relative" } }, je = [
23
+ var Oe = /* @__PURE__ */ e({ default: () => He }), ke = ["id"], Ae = ["id"], je = { style: { position: "relative" } }, Me = [
24
24
  "xmlns",
25
25
  "viewBox",
26
26
  "aria-describedby",
27
27
  "id"
28
- ], Me = ["transform"], Ne = [
28
+ ], Ne = ["transform"], Pe = [
29
29
  "d",
30
30
  "fill",
31
31
  "stroke",
@@ -33,14 +33,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
33
33
  "onMouseenter",
34
34
  "onMouseleave",
35
35
  "onClick"
36
- ], Pe = [
36
+ ], Fe = [
37
37
  "d",
38
38
  "stroke",
39
39
  "stroke-width",
40
40
  "onMouseenter",
41
41
  "onMouseleave",
42
42
  "onClick"
43
- ], Fe = [
43
+ ], Ie = [
44
44
  "cx",
45
45
  "cy",
46
46
  "r",
@@ -48,7 +48,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
48
48
  "stroke",
49
49
  "stroke-width",
50
50
  "onMouseenter"
51
- ], Ie = [
51
+ ], Le = [
52
52
  "cx",
53
53
  "cy",
54
54
  "r",
@@ -58,12 +58,12 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
58
58
  "onMouseenter",
59
59
  "onMouseleave",
60
60
  "onClick"
61
- ], Le = [
61
+ ], Re = [
62
62
  "x",
63
63
  "y",
64
64
  "fill",
65
65
  "font-size"
66
- ], Re = {
66
+ ], ze = {
67
67
  key: 0,
68
68
  style: {
69
69
  position: "absolute",
@@ -73,10 +73,10 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
73
73
  },
74
74
  "data-dom-to-png-ignore": "",
75
75
  "aria-hidden": "true"
76
- }, ze = {
76
+ }, Be = {
77
77
  key: 6,
78
78
  class: "vue-data-ui-watermark"
79
- }, Be = 1.5, Ve = /*#__PURE__*/ re({
79
+ }, Ve = 1.5, He = /*#__PURE__*/ ie({
80
80
  __name: "vue-ui-geo",
81
81
  props: {
82
82
  config: {
@@ -93,32 +93,32 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
93
93
  }
94
94
  },
95
95
  emits: ["copyAlt"],
96
- setup(e, { expose: re, emit: De }) {
97
- let Ve = ge(() => import("./Tooltip-hhrkQ3Lk.js")), He = ge(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ue = ge(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), We = ge(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), E = e, Ge = De, { vue_ui_geo: Ke } = c(), { isThemeValid: qe, warnInvalidTheme: Je } = p(), D = S(a()), Ye = S(0), Xe = S(0), O = S(null), k = S(!1), Ze = S(null), Qe = S(null), $e = S(null), et = S(null), A = S(null), j = S(null), tt = S(null), nt = S(null), M = S(null), rt = S({
96
+ setup(e, { expose: ie, emit: Oe }) {
97
+ let He = _e(() => import("./Tooltip-hhrkQ3Lk.js")), Ue = _e(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), We = _e(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ge = _e(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), E = e, Ke = Oe, { vue_ui_geo: qe } = l(), { isThemeValid: Je, warnInvalidTheme: Ye } = ee(), D = S(o()), Xe = S(0), Ze = S(0), O = S(null), k = S(!1), Qe = S(null), $e = S(null), et = S(null), tt = S(null), A = S(null), j = S(null), nt = S(null), rt = S(null), M = S(null), it = S({
98
98
  x: 0,
99
99
  y: 0
100
- }), N = S("pointer"), it = S(!1), P = S(!1);
101
- function at(e) {
102
- P.value = e, Ye.value += 1;
100
+ }), N = S("pointer"), at = S(!1), P = S(!1);
101
+ function ot(e) {
102
+ P.value = e, Xe.value += 1;
103
103
  }
104
- function ot() {
105
- let e = f({
104
+ function st() {
105
+ let e = p({
106
106
  userConfig: E.config,
107
- defaultConfig: Ke
107
+ defaultConfig: qe
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
- if (!qe.value(e)) return Je(e), e;
111
- let n = f({
112
- userConfig: fe[t] || E.config,
110
+ if (!Je.value(e)) return Ye(e), e;
111
+ let n = p({
112
+ userConfig: pe[t] || E.config,
113
113
  defaultConfig: e
114
114
  });
115
- return f({
115
+ return p({
116
116
  userConfig: E.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let F = S(ot()), st = m(() => F.value.style.chart.points.labels), I = m(() => F.value.style.chart.points), L = m(() => F.value.style.chart);
121
- s({
120
+ let F = S(st()), ct = m(() => F.value.style.chart.points.labels), I = m(() => F.value.style.chart.points), L = m(() => F.value.style.chart);
121
+ c({
122
122
  config: () => F.value,
123
123
  dataset: () => E.dataset,
124
124
  component: "VueUiGeo",
@@ -131,7 +131,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
131
131
  ]
132
132
  }]
133
133
  });
134
- let ct = m(() => F.value.userOptions.useCursorPointer), { userOptionsVisible: lt, keepUserOptionState: ut } = se({ config: F.value }), { svgRef: R } = ce({ config: L.value.title }), dt = m(() => i({
134
+ let lt = m(() => F.value.userOptions.useCursorPointer), { userOptionsVisible: ut, keepUserOptionState: dt } = ce({ config: F.value }), { svgRef: R } = le({ config: L.value.title }), ft = m(() => a({
135
135
  defaultConfig: {
136
136
  map: { geoJson: {
137
137
  type: "FeatureCollection",
@@ -205,59 +205,71 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
205
205
  } }
206
206
  },
207
207
  userConfig: F.value.skeletonConfig ?? {}
208
- })), { loading: ft, FINAL_DATASET: pt } = u({
209
- ...Te(E),
208
+ })), { loading: pt, FINAL_DATASET: mt } = d({
209
+ ...Ee(E),
210
210
  FINAL_CONFIG: F,
211
- prepareConfig: ot,
211
+ prepareConfig: st,
212
212
  allowEmptyDataset: !0,
213
213
  skeletonDataset: E.config?.skeletonDataset ?? [],
214
- skeletonConfig: i({
214
+ skeletonConfig: a({
215
215
  defaultConfig: F.value,
216
- userConfig: dt.value
216
+ userConfig: ft.value
217
217
  })
218
- }), { isPrinting: mt, isImaging: ht, generatePdf: gt, generateImage: _t } = l({
218
+ }), { isPrinting: ht, isImaging: gt, generatePdf: _t, generateImage: vt } = u({
219
219
  elementId: `vue-ui-geo_${D.value}`,
220
220
  fileName: L.value.title.text || "vue-ui-geo",
221
221
  options: F.value.userOptions.print
222
- }), vt = m(() => L.value.controls.show ? L.value.controls.position === "top" ? tt.value?.$el ?? null : L.value.controls.position === "bottom" ? nt.value?.$el ?? null : null : null);
223
- function yt() {
222
+ }), yt = m(() => L.value.controls.show ? L.value.controls.position === "top" ? nt.value?.$el ?? null : L.value.controls.position === "bottom" ? rt.value?.$el ?? null : null : null);
223
+ function bt() {
224
224
  A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect(), A.value = null, j.value = null);
225
225
  }
226
226
  let z = m(() => !!F.value.responsive && !P.value);
227
- Ee(() => P.value, async (e) => {
227
+ De(() => P.value, async (e) => {
228
228
  if (e) {
229
- yt(), V.value = Number(L.value.dimensions.width) || V.value, H.value = Number(L.value.dimensions.height) || H.value, await ve(), k.value = !1, requestAnimationFrame(() => {
230
- k.value || rn();
229
+ bt(), H.value = Number(L.value.dimensions.width) || H.value, U.value = Number(L.value.dimensions.height) || U.value, await ye(), k.value = !1, requestAnimationFrame(() => {
230
+ k.value || on();
231
231
  });
232
232
  return;
233
233
  }
234
- F.value.responsive && (await ve(), bt());
234
+ F.value.responsive && (await ye(), xt());
235
235
  });
236
- function bt() {
237
- if (yt(), !z.value) return;
238
- let e = ie(() => {
236
+ function xt() {
237
+ if (bt(), !z.value) return;
238
+ let e = ae(() => {
239
239
  if (!O.value) return;
240
- let { width: e, height: t } = ae({
240
+ let { width: e, height: t } = oe({
241
241
  chart: O.value,
242
- noTitle: xt.value ? $e.value : null,
243
- title: L.value.title.text ? Qe.value : null,
244
- legend: vt.value,
245
- source: et.value
242
+ noTitle: St.value ? et.value : null,
243
+ title: L.value.title.text ? $e.value : null,
244
+ legend: yt.value,
245
+ source: tt.value
246
246
  });
247
247
  requestAnimationFrame(() => {
248
- V.value = Math.max(.1, Number(e) || .1), H.value = Math.max(.1, Number(t) || .1) - 24;
248
+ H.value = Math.max(.1, Number(e) || .1), U.value = Math.max(.1, Number(t) || .1) - 24;
249
249
  });
250
250
  });
251
251
  A.value = new ResizeObserver(e), j.value = O.value ? O.value.parentNode : null, j.value && A.value.observe(j.value), e();
252
252
  }
253
- let xt = m(() => F.value.userOptions.show && !L.value.title.text), St = S({ showTooltip: L.value.tooltip.show }), B = S(L.value.zoom.active);
254
- Ee(() => E.config, () => {
255
- F.value = ot(), St.value.showTooltip = L.value.tooltip.show, B.value = L.value.zoom.active, V.value = L.value.dimensions.width, H.value = L.value.dimensions.height, bt(), Xe.value += 1, Ye.value += 1;
253
+ let St = m(() => F.value.userOptions.show && !L.value.title.text), B = S({ showTooltip: L.value.tooltip.show }), V = S(L.value.zoom.active);
254
+ function Ct(e) {
255
+ let t = i(e);
256
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
257
+ }
258
+ let wt = Ct(E.config);
259
+ De(() => E.config, (e, t) => {
260
+ let n = Ct(e), r = n !== wt;
261
+ wt = n;
262
+ let i = st();
263
+ if (!r) {
264
+ F.value.style.chart.tooltip = i.style.chart.tooltip, B.value.showTooltip = F.value.style.chart.tooltip.show;
265
+ return;
266
+ }
267
+ F.value = i, B.value.showTooltip = L.value.tooltip.show, V.value = L.value.zoom.active, H.value = L.value.dimensions.width, U.value = L.value.dimensions.height, xt(), Ze.value += 1, Xe.value += 1;
256
268
  }, { deep: !0 });
257
- let { projections: Ct } = de, wt = m(() => F.value?.projection || "equirectangular"), Tt = m(() => {
258
- let e = Ct?.[wt.value];
259
- return typeof e == "function" ? e : Ct.equirectangular;
260
- }), Et = m(() => F.value.map.geoJson ?? null), Dt = {
269
+ let { projections: Tt } = fe, Et = m(() => F.value?.projection || "equirectangular"), Dt = m(() => {
270
+ let e = Tt?.[Et.value];
271
+ return typeof e == "function" ? e : Tt.equirectangular;
272
+ }), Ot = m(() => F.value.map.geoJson ?? null), kt = {
261
273
  aitoff: {
262
274
  width: 1e3,
263
275
  height: 500
@@ -310,14 +322,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
310
322
  width: 1e3,
311
323
  height: 1e3
312
324
  }
313
- }, V = S(L.value.dimensions.width), H = S(L.value.dimensions.height), Ot = m(() => {
314
- let e = Dt[wt.value] || Dt.equirectangular;
325
+ }, H = S(L.value.dimensions.width), U = S(L.value.dimensions.height), At = m(() => {
326
+ let e = kt[Et.value] || kt.equirectangular;
315
327
  return {
316
328
  width: e.width,
317
329
  height: e.height
318
330
  };
319
- }), U = m(() => {
320
- let e = Ot.value, t = V.value, n = H.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
331
+ }), W = m(() => {
332
+ let e = At.value, t = H.value, n = U.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
321
333
  return r && i ? {
322
334
  width: t,
323
335
  height: n
@@ -331,16 +343,16 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
331
343
  width: e.width,
332
344
  height: e.height
333
345
  };
334
- }), kt = m(() => {
346
+ }), jt = m(() => {
335
347
  let e = F.value?.map?.center, t = [0, 0];
336
348
  if (!Array.isArray(e) || e.length !== 2) return t;
337
349
  let n = Number(e[0]), r = Number(e[1]);
338
350
  return !Number.isFinite(n) || !Number.isFinite(r) ? t : [n, r];
339
351
  });
340
- function W([e, t]) {
341
- return Tt.value([e, t], Ot.value.width, Ot.value.height, kt.value);
352
+ function G([e, t]) {
353
+ return Dt.value([e, t], At.value.width, At.value.height, jt.value);
342
354
  }
343
- function At(e, t = {}) {
355
+ function Mt(e, t = {}) {
344
356
  let { defaultName: n = "", namePropertyCandidates: r = [
345
357
  "name",
346
358
  "nom",
@@ -454,7 +466,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
454
466
  features: f
455
467
  };
456
468
  }
457
- function jt(e) {
469
+ function Nt(e) {
458
470
  let t = Array.isArray(e?.features) ? e.features : [];
459
471
  function n(e) {
460
472
  if (!e || typeof e != "object") return "";
@@ -492,18 +504,18 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
492
504
  };
493
505
  });
494
506
  }
495
- let Mt = m(() => At(Et.value, {
507
+ let Pt = m(() => Mt(Ot.value, {
496
508
  defaultName: "",
497
509
  includeNullGeometries: !1
498
- })), Nt = m(() => jt(Mt.value));
499
- function Pt(e) {
510
+ })), Ft = m(() => Nt(Pt.value));
511
+ function It(e) {
500
512
  if (!e || typeof e.type != "string") return "";
501
- if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => Pt(e)).filter(Boolean).join(" ");
513
+ if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => It(e)).filter(Boolean).join(" ");
502
514
  let t = (e) => {
503
515
  if (!Array.isArray(e) || e.length < 2) return null;
504
516
  let t = Number(e[0]), n = Number(e[1]);
505
517
  if (!Number.isFinite(t) || !Number.isFinite(n)) return null;
506
- let r = W([t, n]);
518
+ let r = G([t, n]);
507
519
  if (!Array.isArray(r) || r.length < 2) return null;
508
520
  let i = Number(r[0]), a = Number(r[1]);
509
521
  return !Number.isFinite(i) || !Number.isFinite(a) ? null : [i, a];
@@ -516,34 +528,34 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
516
528
  }).filter(Boolean).join(" ");
517
529
  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
530
  }
519
- function Ft(e) {
520
- return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Ft(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
531
+ function Lt(e) {
532
+ return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Lt(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
521
533
  }
522
- function It(e) {
523
- return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => It(e)) : e.type === "Point" || e.type === "MultiPoint";
534
+ function Rt(e) {
535
+ return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Rt(e)) : e.type === "Point" || e.type === "MultiPoint";
524
536
  }
525
- let Lt = m(() => Nt.value.filter((e) => {
537
+ let zt = m(() => Ft.value.filter((e) => {
526
538
  let t = e.geometry;
527
539
  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
- })), Rt = m(() => Nt.value.filter((e) => {
540
+ })), Bt = m(() => Ft.value.filter((e) => {
529
541
  let t = e.geometry;
530
542
  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
- })), zt = m(() => Nt.value.filter((e) => {
543
+ })), Vt = m(() => Ft.value.filter((e) => {
532
544
  let t = e.geometry;
533
- return t ? It(t) : !1;
534
- })), Bt = m(() => Lt.value.map((e) => {
535
- let t = Pt(e.geometry);
545
+ return t ? Rt(t) : !1;
546
+ })), Ht = m(() => zt.value.map((e) => {
547
+ let t = It(e.geometry);
536
548
  return t ? {
537
549
  ...e,
538
550
  path: t
539
551
  } : null;
540
- }).filter(Boolean)), Vt = m(() => Rt.value.map((e) => {
541
- let t = Pt(e.geometry);
552
+ }).filter(Boolean)), Ut = m(() => Bt.value.map((e) => {
553
+ let t = It(e.geometry);
542
554
  return t ? {
543
555
  ...e,
544
556
  path: t
545
557
  } : null;
546
- }).filter(Boolean)), Ht = m(() => {
558
+ }).filter(Boolean)), Wt = m(() => {
547
559
  let e = [];
548
560
  function t(e = {}) {
549
561
  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,14 +566,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
554
566
  strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(I.value.strokeWidth)
555
567
  };
556
568
  }
557
- for (let n of zt.value) {
558
- let r = Ft(n.geometry);
569
+ for (let n of Vt.value) {
570
+ let r = Lt(n.geometry);
559
571
  for (let i = 0; i < r.length; i += 1) {
560
572
  let a = r[i];
561
573
  if (!Array.isArray(a) || a.length < 2) continue;
562
574
  let o = Number(a[0]), s = Number(a[1]);
563
575
  if (!Number.isFinite(o) || !Number.isFinite(s)) continue;
564
- let c = W([o, s]), l = c?.[0], u = c?.[1];
576
+ let c = G([o, s]), l = c?.[0], u = c?.[1];
565
577
  if (!Number.isFinite(l) || !Number.isFinite(u)) continue;
566
578
  let d = t(n?.feature?.properties && typeof n.feature.properties == "object" ? n.feature.properties : {});
567
579
  e.push({
@@ -578,13 +590,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
578
590
  }
579
591
  return e;
580
592
  });
581
- function Ut(e) {
593
+ function Gt(e) {
582
594
  if (!e || typeof e.type != "string") return [];
583
595
  let t = [], n = (e) => {
584
596
  if (!Array.isArray(e) || e.length < 2) return;
585
597
  let n = Number(e[0]), r = Number(e[1]);
586
598
  if (!Number.isFinite(n) || !Number.isFinite(r)) return;
587
- let i = W([n, r]), a = i?.[0], o = i?.[1];
599
+ let i = G([n, r]), a = i?.[0], o = i?.[1];
588
600
  !Number.isFinite(a) || !Number.isFinite(o) || t.push([a, o]);
589
601
  }, r = (e) => {
590
602
  if (Array.isArray(e)) {
@@ -596,14 +608,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
596
608
  }
597
609
  };
598
610
  if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
599
- for (let n of e.geometries) t.push(...Ut(n));
611
+ for (let n of e.geometries) t.push(...Gt(n));
600
612
  return t;
601
613
  }
602
614
  return e.type === "Point" ? (n(e.coordinates), t) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(n), t) : (r(e.coordinates), t);
603
615
  }
604
- function Wt(e) {
616
+ function Kt(e) {
605
617
  let t = [];
606
- for (let n of e) t.push(...Ut(n.geometry));
618
+ for (let n of e) t.push(...Gt(n.geometry));
607
619
  if (!t.length) return null;
608
620
  let n = Infinity, r = Infinity, i = -Infinity, a = -Infinity;
609
621
  for (let [e, o] of t) e < n && (n = e), o < r && (r = o), e > i && (i = e), o > a && (a = o);
@@ -617,8 +629,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
617
629
  height: s
618
630
  };
619
631
  }
620
- let Gt = m(() => Wt(Nt.value));
621
- function Kt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
632
+ let qt = m(() => Kt(Ft.value));
633
+ function Jt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
622
634
  if (!e || !(e.width > 0) || !(e.height > 0)) return {
623
635
  scale: 1,
624
636
  translateX: 0,
@@ -633,8 +645,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
633
645
  transform: `translate(${ee} ${te}) scale(${l})`
634
646
  };
635
647
  }
636
- let qt = m(() => {
637
- let e = Gt.value;
648
+ let Yt = m(() => {
649
+ let e = qt.value;
638
650
  if (!e) return {
639
651
  scale: 1,
640
652
  translateX: 0,
@@ -642,44 +654,44 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
642
654
  transform: ""
643
655
  };
644
656
  let t = F.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
645
- return Kt({
657
+ return Jt({
646
658
  bounds: e,
647
- targetWidth: U.value.width,
648
- targetHeight: U.value.height,
659
+ targetWidth: W.value.width,
660
+ targetHeight: W.value.height,
649
661
  padding: n
650
662
  });
651
- }), Jt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Yt, resetZoom: Xt, setInitialViewBox: Zt, scale: Qt, zoomByFactor: $t } = le(R, {
663
+ }), Xt = m(() => `0 0 ${W.value.width} ${W.value.height}`), { viewBox: Zt, resetZoom: Qt, setInitialViewBox: $t, scale: en, zoomByFactor: tn } = ue(R, {
652
664
  x: 0,
653
665
  y: 0,
654
- width: U.value.width,
655
- height: U.value.height
656
- }, 1, B);
657
- function en() {
658
- B.value = !B.value;
666
+ width: W.value.width,
667
+ height: W.value.height
668
+ }, 1, V);
669
+ function nn() {
670
+ V.value = !V.value;
659
671
  }
660
- function tn(e) {
661
- let t = qt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
672
+ function rn(e) {
673
+ let t = Yt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
662
674
  return {
663
675
  x: e.x * n + r,
664
676
  y: e.y * n + i
665
677
  };
666
678
  }
667
- function nn() {
668
- let e = F.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;
679
+ function an() {
680
+ let e = F.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 = W.value.width, a = W.value.height;
669
681
  if (!r) return {
670
682
  x: 0,
671
683
  y: 0,
672
684
  width: i,
673
685
  height: a
674
686
  };
675
- let o = W([t, n]), s = o?.[0], c = o?.[1];
687
+ let o = G([t, n]), s = o?.[0], c = o?.[1];
676
688
  if (!Number.isFinite(s) || !Number.isFinite(c)) return {
677
689
  x: 0,
678
690
  y: 0,
679
691
  width: i,
680
692
  height: a
681
693
  };
682
- let l = tn({
694
+ let l = rn({
683
695
  x: s,
684
696
  y: c
685
697
  });
@@ -690,49 +702,49 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
690
702
  height: a
691
703
  };
692
704
  }
693
- function rn() {
694
- let e = nn();
695
- Zt(e, { overwriteCurrentIfNotZoomed: !0 }), k.value = !0;
705
+ function on() {
706
+ let e = an();
707
+ $t(e, { overwriteCurrentIfNotZoomed: !0 }), k.value = !0;
696
708
  }
697
- let an = m(() => {
698
- let e = Yt.value;
699
- return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Jt.value;
709
+ let sn = m(() => {
710
+ let e = Zt.value;
711
+ return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Xt.value;
700
712
  });
701
- function on() {
702
- $t(Be, !0);
713
+ function cn() {
714
+ tn(Ve, !0);
703
715
  }
704
- function sn() {
705
- $t(1 / Be, !0);
716
+ function ln() {
717
+ tn(1 / Ve, !0);
706
718
  }
707
- async function cn() {
708
- let e = nn();
709
- Zt(e, { overwriteCurrentIfNotZoomed: !0 }), Xt(!0);
719
+ async function un() {
720
+ let e = an();
721
+ $t(e, { overwriteCurrentIfNotZoomed: !0 }), Qt(!0);
710
722
  }
711
- Ee(() => [
723
+ De(() => [
712
724
  F.value.projection,
713
725
  F.value.map.center?.[0],
714
726
  F.value.map.center?.[1],
715
727
  F.value.map.fitPadding,
716
- Et.value
728
+ Ot.value
717
729
  ], async () => {
718
- k.value = !1, await ve(), requestAnimationFrame(() => {
719
- k.value || rn();
730
+ k.value = !1, await ye(), requestAnimationFrame(() => {
731
+ k.value || on();
720
732
  });
721
- }, { deep: !1 }), Ee(() => [
722
- V.value,
733
+ }, { deep: !1 }), De(() => [
723
734
  H.value,
735
+ U.value,
724
736
  z.value
725
737
  ], async () => {
726
- z.value && (await ve(), Zt({
738
+ z.value && (await ye(), $t({
727
739
  x: 0,
728
740
  y: 0,
729
- width: U.value.width,
730
- height: U.value.height
741
+ width: W.value.width,
742
+ height: W.value.height
731
743
  }, { overwriteCurrentIfNotZoomed: !0 }), k.value = !1, requestAnimationFrame(() => {
732
- k.value || rn();
744
+ k.value || on();
733
745
  }));
734
746
  }, { flush: "post" });
735
- function ln(e) {
747
+ function dn(e) {
736
748
  return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((e) => e?.type === "Feature" && e.geometry?.type === "Point").map((e, t) => {
737
749
  let n = e.properties || {}, r = n.name || n.label || n.title || `Point ${t + 1}`, i = e.geometry.coordinates;
738
750
  return {
@@ -779,8 +791,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
779
791
  };
780
792
  }).filter(Boolean) : [] : [];
781
793
  }
782
- let un = m(() => ln(pt.value)), dn = m(() => un.value.map((e) => {
783
- let t = W(e.coordinates), n = t?.[0], i = t?.[1];
794
+ let fn = m(() => dn(mt.value)), pn = m(() => fn.value.map((e) => {
795
+ let t = G(e.coordinates), n = t?.[0], i = t?.[1];
784
796
  return !Number.isFinite(n) || !Number.isFinite(i) ? null : {
785
797
  ...e,
786
798
  x: n,
@@ -788,104 +800,104 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
788
800
  fill: e.color ? r(e.color) : I.value.fill,
789
801
  radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : I.value.radius
790
802
  };
791
- }).filter(Boolean)), G = m(() => dn.value.map((e, t) => ({
803
+ }).filter(Boolean)), K = m(() => pn.value.map((e, t) => ({
792
804
  ...e,
793
805
  keyboardIndex: t
794
806
  })));
795
- function fn(e) {
796
- let t = tn(e), r = n(t.x, t.y, R.value);
797
- r && (rt.value = {
807
+ function mn(e) {
808
+ let t = rn(e), r = n(t.x, t.y, R.value);
809
+ r && (it.value = {
798
810
  x: r.x,
799
811
  y: r.y
800
812
  });
801
813
  }
802
- let pn = S(!1), mn = S(""), K = S(!1), q = S(null), J = S(null);
803
- function hn(e) {
804
- mn.value = e, pn.value = !0;
814
+ let hn = S(!1), gn = S(""), q = S(!1), J = S(null), Y = S(null);
815
+ function _n(e) {
816
+ gn.value = e, hn.value = !0;
805
817
  }
806
- function Y() {
807
- pn.value = !1, mn.value = "";
818
+ function X() {
819
+ hn.value = !1, gn.value = "";
808
820
  }
809
- function gn(e) {
821
+ function vn(e) {
810
822
  return String(e ?? "").replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&#039;");
811
823
  }
812
- function _n(e) {
813
- Ze.value = {
824
+ function yn(e) {
825
+ Qe.value = {
814
826
  datapoint: e,
815
827
  seriesIndex: e.index,
816
- series: un.value,
828
+ series: fn.value,
817
829
  config: F.value
818
- }, K.value = !1;
830
+ }, q.value = !1;
819
831
  let n = L.value.tooltip.customFormat;
820
832
  if (t(n)) try {
821
- let e = n(Ze.value);
822
- if (typeof e == "string") return K.value = !0, e;
833
+ let e = n(Qe.value);
834
+ if (typeof e == "string") return q.value = !0, e;
823
835
  } catch {
824
- console.warn("Custom format cannot be applied."), K.value = !1;
836
+ console.warn("Custom format cannot be applied."), q.value = !1;
825
837
  }
826
- return `<div><div style="font-weight:600">${gn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${gn(e.description)}</div>`}</div>`;
838
+ return `<div><div style="font-weight:600">${vn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${vn(e.description)}</div>`}</div>`;
827
839
  }
828
- function vn(e) {
829
- K.value = !1;
840
+ function bn(e) {
841
+ q.value = !1;
830
842
  let n = L.value.tooltip.customFormat;
831
843
  if (t(n)) try {
832
844
  let t = n({
833
845
  datapoint: e,
834
846
  config: F.value
835
847
  });
836
- if (typeof t == "string") return K.value = !0, t;
848
+ if (typeof t == "string") return q.value = !0, t;
837
849
  } catch {
838
- console.warn("Custom format cannot be applied."), K.value = !1;
850
+ console.warn("Custom format cannot be applied."), q.value = !1;
839
851
  }
840
852
  let r = typeof e?.name == "string" ? e.name.trim() : "";
841
- return r ? `<div><div style="font-weight:600">${gn(r)}</div></div>` : (K.value = !1, "");
853
+ return r ? `<div><div style="font-weight:600">${vn(r)}</div></div>` : (q.value = !1, "");
842
854
  }
843
- function yn(e) {
855
+ function xn(e) {
844
856
  if (F.value.events.territoryEnter && F.value.events.territoryEnter({
845
857
  datapoint: e,
846
858
  seriesIndex: e.index
847
859
  }), !(typeof e?.name == "string" && e.name.trim()) && !L.value.territory.hover.enabledWhenEmpty) {
848
- J.value = null, Y();
860
+ Y.value = null, X();
849
861
  return;
850
862
  }
851
- J.value = e.uid, hn(vn(e));
863
+ Y.value = e.uid, _n(bn(e));
852
864
  }
853
- function bn(e) {
854
- J.value = null, Y(), F.value.events.territoryLeave && F.value.events.territoryLeave({
865
+ function Sn(e) {
866
+ Y.value = null, X(), F.value.events.territoryLeave && F.value.events.territoryLeave({
855
867
  datapoint: e,
856
868
  seriesIndex: e.index
857
869
  });
858
870
  }
859
- function xn(e) {
871
+ function Cn(e) {
860
872
  F.value.events.territoryClick && F.value.events.territoryClick({
861
873
  datapoint: e,
862
874
  seriesIndex: e.index
863
875
  });
864
876
  }
865
- function Sn(e, t = null, n = "pointer") {
866
- N.value = n, q.value = e.uid, Number.isInteger(t) && (M.value = t), n === "keyboard" && fn(e), hn(_n(e)), F.value.events.datapointEnter && F.value.events.datapointEnter({
877
+ function wn(e, t = null, n = "pointer") {
878
+ N.value = n, J.value = e.uid, Number.isInteger(t) && (M.value = t), n === "keyboard" && mn(e), _n(yn(e)), F.value.events.datapointEnter && F.value.events.datapointEnter({
867
879
  datapoint: e,
868
880
  seriesIndex: e.index
869
881
  });
870
882
  }
871
- function Cn(e, t = "pointer") {
872
- (t !== "pointer" || N.value !== "keyboard") && (q.value = null, Y(), t !== "pointer" && (M.value = null, N.value = "pointer"), F.value.events.datapointLeave && F.value.events.datapointLeave({
883
+ function Tn(e, t = "pointer") {
884
+ (t !== "pointer" || N.value !== "keyboard") && (J.value = null, X(), t !== "pointer" && (M.value = null, N.value = "pointer"), F.value.events.datapointLeave && F.value.events.datapointLeave({
873
885
  datapoint: e,
874
886
  seriesIndex: e.index
875
887
  }));
876
888
  }
877
- let wn = m(() => !!F.value.events.datapointClick && typeof F.value.events.datapointClick == "function");
878
- function Tn(e) {
879
- wn.value && F.value.events.datapointClick({
889
+ let En = m(() => !!F.value.events.datapointClick && typeof F.value.events.datapointClick == "function");
890
+ function Dn(e) {
891
+ En.value && F.value.events.datapointClick({
880
892
  datapoint: e,
881
893
  seriesIndex: e.index
882
894
  });
883
895
  }
884
- let X = m(() => L.value.territory);
885
- function En(e) {
896
+ let Z = m(() => L.value.territory);
897
+ function On(e) {
886
898
  let t = typeof e?.name == "string" ? e.name.trim() : "";
887
899
  if (!t) {
888
- J.value = null, Y();
900
+ Y.value = null, X();
889
901
  return;
890
902
  }
891
903
  let n = {
@@ -894,33 +906,33 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
894
906
  index: e.featureIndex,
895
907
  properties: {}
896
908
  };
897
- J.value = e.uid, hn(vn(n));
909
+ Y.value = e.uid, _n(bn(n));
898
910
  }
899
- function Dn() {
900
- J.value = null, Y();
911
+ function kn() {
912
+ Y.value = null, X();
901
913
  }
902
- let Z = S(!1);
903
- function On() {
904
- Z.value = !Z.value;
914
+ let Q = S(!1);
915
+ function An() {
916
+ Q.value = !Q.value;
905
917
  }
906
- Ee(() => Z.value, (e) => {
907
- B.value = !e;
918
+ De(() => Q.value, (e) => {
919
+ V.value = !e;
908
920
  });
909
- function kn() {
910
- St.value.showTooltip = !St.value.showTooltip;
921
+ function jn() {
922
+ B.value.showTooltip = !B.value.showTooltip;
911
923
  }
912
- let An = m(() => L.value.backgroundColor), jn = m(() => L.value.title), { isCallbackImaging: Mn, isCallbackSvg: Nn, generateSvg: Pn, onGenerateImage: Fn } = ee({
924
+ let Mn = m(() => L.value.backgroundColor), Nn = m(() => L.value.title), { isCallbackImaging: Pn, isCallbackSvg: Fn, generateSvg: In, onGenerateImage: Ln } = te({
913
925
  svg: R,
914
- title: jn,
926
+ title: Nn,
915
927
  legend: null,
916
928
  legendItems: null,
917
- backgroundColor: An,
929
+ backgroundColor: Mn,
918
930
  getSvgCallback: () => F.value.userOptions.callbacks.svg,
919
- generateImage: _t
931
+ generateImage: vt
920
932
  });
921
- async function In({ scale: e = 2 } = {}) {
933
+ async function Rn({ scale: e = 2 } = {}) {
922
934
  if (!O.value) return;
923
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await te({
935
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ne({
924
936
  domElement: O.value,
925
937
  base64: !0,
926
938
  img: !0,
@@ -935,34 +947,34 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
935
947
  aspectRatio: r
936
948
  };
937
949
  }
938
- let Q = S(!1), $ = null;
939
- function Ln() {
940
- B.value && (Q.value = !0);
950
+ let $ = S(!1), zn = null;
951
+ function Bn() {
952
+ V.value && ($.value = !0);
941
953
  }
942
- function Rn() {
943
- Q.value = !1;
954
+ function Vn() {
955
+ $.value = !1;
944
956
  }
945
- function zn() {
946
- B.value && (Q.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
947
- Q.value = !1, $ = null;
957
+ function Hn() {
958
+ V.value && ($.value = !0, zn && clearTimeout(zn), zn = setTimeout(() => {
959
+ $.value = !1, zn = null;
948
960
  }, 140));
949
961
  }
950
- xe(() => {
951
- $ && clearTimeout($);
962
+ Se(() => {
963
+ zn && clearTimeout(zn);
952
964
  });
953
- async function Bn([e, t], { animated: n = !0 } = {}) {
965
+ async function Un([e, t], { animated: n = !0 } = {}) {
954
966
  let r = Number(e), i = Number(t);
955
967
  if (!Number.isFinite(r) || !Number.isFinite(i)) return;
956
- let a = W([r, i]), o = a?.[0], s = a?.[1];
968
+ let a = G([r, i]), o = a?.[0], s = a?.[1];
957
969
  if (!Number.isFinite(o) || !Number.isFinite(s)) return;
958
- let c = tn({
970
+ let c = rn({
959
971
  x: o,
960
972
  y: s
961
- }), l = Yt.value ? { ...Yt.value } : {
973
+ }), l = Zt.value ? { ...Zt.value } : {
962
974
  x: 0,
963
975
  y: 0,
964
- width: U.value.width,
965
- height: U.value.height
976
+ width: W.value.width,
977
+ height: W.value.height
966
978
  }, u = {
967
979
  x: c.x - l.width / 2,
968
980
  y: c.y - l.height / 2,
@@ -970,13 +982,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
970
982
  height: l.height
971
983
  };
972
984
  if (!n) {
973
- Yt.value = u;
985
+ Zt.value = u;
974
986
  return;
975
987
  }
976
988
  let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
977
989
  p ??= e;
978
990
  let t = Math.min((e - p) / 250, 1);
979
- Yt.value = {
991
+ Zt.value = {
980
992
  x: d.x + (f.x - d.x) * t,
981
993
  y: d.y + (f.y - d.y) * t,
982
994
  width: d.width + (f.width - d.width) * t,
@@ -985,28 +997,28 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
985
997
  };
986
998
  requestAnimationFrame(ee);
987
999
  }
988
- Se(async () => {
989
- bt(), await ve(), requestAnimationFrame(() => {
990
- k.value || (rn(), (F.value.map.center?.[0] || F.value.map.center?.[1]) && Bn(F.value.map.center, { animated: !1 }));
1000
+ Ce(async () => {
1001
+ xt(), await ye(), requestAnimationFrame(() => {
1002
+ k.value || (on(), (F.value.map.center?.[0] || F.value.map.center?.[1]) && Un(F.value.map.center, { animated: !1 }));
991
1003
  });
992
- }), xe(() => {
993
- yt();
1004
+ }), Se(() => {
1005
+ bt();
994
1006
  });
995
- async function Vn() {
996
- if (Ge("copyAlt", {
1007
+ async function Wn() {
1008
+ if (Ke("copyAlt", {
997
1009
  config: F.value,
998
- dataset: pt.value
1010
+ dataset: mt.value
999
1011
  }), !F.value.userOptions.callbacks.altCopy) {
1000
1012
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1001
1013
  return;
1002
1014
  }
1003
1015
  await Promise.resolve(F.value.userOptions.callbacks.altCopy({
1004
1016
  config: F.value,
1005
- dataset: pt.value
1017
+ dataset: mt.value
1006
1018
  }));
1007
1019
  }
1008
- function Hn(e, t) {
1009
- let n = G.value;
1020
+ function Gn(e, t) {
1021
+ let n = K.value;
1010
1022
  if (!n.length) return null;
1011
1023
  let r = n[e];
1012
1024
  if (!r) return null;
@@ -1020,45 +1032,45 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1020
1032
  }
1021
1033
  return i;
1022
1034
  }
1023
- function Un(e) {
1024
- let t = G.value;
1035
+ function Kn(e) {
1036
+ let t = K.value;
1025
1037
  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;
1026
1038
  }
1027
- function Wn() {
1028
- it.value = !0;
1039
+ function qn() {
1040
+ at.value = !0;
1029
1041
  }
1030
- function Gn() {
1031
- let e = M.value == null ? null : G.value[M.value];
1032
- e ? Cn(e, "keyboard") : (M.value = null, N.value = "pointer", Y(), q.value = null), it.value = !1;
1042
+ function Jn() {
1043
+ let e = M.value == null ? null : K.value[M.value];
1044
+ e ? Tn(e, "keyboard") : (M.value = null, N.value = "pointer", X(), J.value = null), at.value = !1;
1033
1045
  }
1034
- function Kn(e) {
1035
- if (!R.value || Z.value || document.activeElement !== R.value || !G.value.length) return;
1046
+ function Yn(e) {
1047
+ if (!R.value || Q.value || document.activeElement !== R.value || !K.value.length) return;
1036
1048
  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";
1037
1049
  if (!t && !n && !r && !i && !a && !o) return;
1038
1050
  if (e.preventDefault(), e.stopPropagation(), o) {
1039
- let e = M.value == null ? null : G.value[M.value];
1040
- e ? Cn(e, "keyboard") : (M.value = null, N.value = "pointer", Y(), q.value = null);
1051
+ let e = M.value == null ? null : K.value[M.value];
1052
+ e ? Tn(e, "keyboard") : (M.value = null, N.value = "pointer", X(), J.value = null);
1041
1053
  return;
1042
1054
  }
1043
1055
  if (a) {
1044
- let e = M.value == null ? null : G.value[M.value];
1056
+ let e = M.value == null ? null : K.value[M.value];
1045
1057
  if (!e) return;
1046
- Tn(e);
1058
+ Dn(e);
1047
1059
  return;
1048
1060
  }
1049
1061
  let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
1050
- if (M.value == null ? c = Un(s) : (c = Hn(M.value, s), c ??= Un(s)), c == null) return;
1051
- let l = G.value[c];
1052
- l && Sn(l, c, "keyboard");
1062
+ if (M.value == null ? c = Kn(s) : (c = Gn(M.value, s), c ??= Kn(s)), c == null) return;
1063
+ let l = K.value[c];
1064
+ l && wn(l, c, "keyboard");
1053
1065
  }
1054
- let qn = m(() => ({
1066
+ let Xn = m(() => ({
1055
1067
  headers: [
1056
1068
  "Name",
1057
1069
  "Latitude",
1058
1070
  "Longitude",
1059
1071
  "Description"
1060
1072
  ],
1061
- rows: un.value.map((e) => {
1073
+ rows: fn.value.map((e) => {
1062
1074
  let t = Array.isArray(e.coordinates) ? e.coordinates[1] : null, n = Array.isArray(e.coordinates) ? e.coordinates[0] : null;
1063
1075
  return [
1064
1076
  e.name ?? "",
@@ -1068,41 +1080,41 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1068
1080
  ];
1069
1081
  })
1070
1082
  }));
1071
- return re({
1072
- getImage: In,
1073
- generatePdf: gt,
1074
- generateImage: _t,
1075
- generateSvg: Pn,
1076
- toggleTooltip: kn,
1077
- toggleAnnotator: On,
1078
- toggleFullscreen: at,
1079
- zoomIn: on,
1080
- zoomOut: sn,
1081
- resetZoom: Xt,
1082
- focusLocation: Bn,
1083
- copyAlt: Vn
1083
+ return ie({
1084
+ getImage: Rn,
1085
+ generatePdf: _t,
1086
+ generateImage: vt,
1087
+ generateSvg: In,
1088
+ toggleTooltip: jn,
1089
+ toggleAnnotator: An,
1090
+ toggleFullscreen: ot,
1091
+ zoomIn: cn,
1092
+ zoomOut: ln,
1093
+ resetZoom: Qt,
1094
+ focusLocation: Un,
1095
+ copyAlt: Wn
1084
1096
  }), (e, t) => (x(), _("div", {
1085
- class: ye(`vue-data-ui-component vue-ui-geo ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value ? "vue-ui-geo-responsive" : ""} ${Q.value ? "vue-ui-geo-interacting" : ""}`),
1097
+ class: be(`vue-data-ui-component vue-ui-geo ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value ? "vue-ui-geo-responsive" : ""} ${$.value ? "vue-ui-geo-interacting" : ""}`),
1086
1098
  ref_key: "geoChart",
1087
1099
  ref: O,
1088
1100
  id: `map_${D.value}`,
1089
1101
  dir: "auto",
1090
- style: be({
1102
+ style: xe({
1091
1103
  fontFamily: F.value.style.fontFamily,
1092
1104
  width: "100%",
1093
1105
  backgroundColor: L.value.backgroundColor,
1094
- height: z.value ? `${H.value}px` : void 0
1106
+ height: z.value ? `${U.value}px` : void 0
1095
1107
  })
1096
1108
  }, [
1097
1109
  v("div", {
1098
1110
  id: `chart-instructions-${D.value}`,
1099
1111
  class: "sr-only"
1100
- }, [v("p", null, we(F.value.a11y.translations.keyboardNavigation), 1)], 8, ke),
1101
- qn.value?.rows?.length ? (x(), h(oe, {
1112
+ }, [v("p", null, Te(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ae),
1113
+ Xn.value?.rows?.length ? (x(), h(se, {
1102
1114
  key: 0,
1103
1115
  uid: D.value,
1104
- head: qn.value.headers,
1105
- body: qn.value.rows,
1116
+ head: Xn.value.headers,
1117
+ body: Xn.value.rows,
1106
1118
  notice: F.value.a11y.translations.tableAvailable,
1107
1119
  caption: F.value.a11y.translations.tableCaption
1108
1120
  }, null, 8, [
@@ -1112,20 +1124,20 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1112
1124
  "notice",
1113
1125
  "caption"
1114
1126
  ])) : g("", !0),
1115
- xt.value ? (x(), _("div", {
1127
+ St.value ? (x(), _("div", {
1116
1128
  key: 1,
1117
1129
  ref_key: "noTitle",
1118
- ref: $e,
1130
+ ref: et,
1119
1131
  class: "vue-data-ui-no-title-space",
1120
1132
  style: "height:36px; width: 100%;background:transparent"
1121
1133
  }, null, 512)) : g("", !0),
1122
1134
  L.value.title.text ? (x(), _("div", {
1123
1135
  key: 2,
1124
1136
  ref_key: "chartTitle",
1125
- ref: Qe,
1137
+ ref: $e,
1126
1138
  style: "width:100%;background:transparent;padding-bottom:12px"
1127
- }, [(x(), h(ne, {
1128
- key: `title_${Xe.value}`,
1139
+ }, [(x(), h(re, {
1140
+ key: `title_${Ze.value}`,
1129
1141
  config: {
1130
1142
  title: {
1131
1143
  cy: "geo-title",
@@ -1137,15 +1149,15 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1137
1149
  }
1138
1150
  }
1139
1151
  }, null, 8, ["config"]))], 512)) : g("", !0),
1140
- F.value.userOptions.buttons.annotator ? (x(), h(w(Ue), {
1152
+ F.value.userOptions.buttons.annotator ? (x(), h(w(We), {
1141
1153
  key: 3,
1142
1154
  svgRef: w(R),
1143
1155
  backgroundColor: L.value.backgroundColor,
1144
1156
  color: L.value.color,
1145
- active: Z.value,
1146
- isCursorPointer: ct.value,
1157
+ active: Q.value,
1158
+ isCursorPointer: lt.value,
1147
1159
  palette: F.value.userOptions.annotatorPalette,
1148
- onClose: On
1160
+ onClose: An
1149
1161
  }, {
1150
1162
  "annotator-action-close": T(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1151
1163
  "annotator-action-color": T(({ color: t }) => [C(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
@@ -1162,13 +1174,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1162
1174
  "isCursorPointer",
1163
1175
  "palette"
1164
1176
  ])) : g("", !0),
1165
- F.value.userOptions.show && (w(ut) || w(lt)) ? (x(), h(w(He), {
1177
+ F.value.userOptions.show && (w(dt) || w(ut)) ? (x(), h(w(Ue), {
1166
1178
  ref: "userOptionsRef",
1167
- key: `user_options_${Ye.value}`,
1179
+ key: `user_options_${Xe.value}`,
1168
1180
  backgroundColor: L.value.backgroundColor,
1169
1181
  color: L.value.color,
1170
- isPrinting: w(mt),
1171
- isImaging: w(ht),
1182
+ isPrinting: w(ht),
1183
+ isImaging: w(gt),
1172
1184
  uid: D.value,
1173
1185
  hasXls: !1,
1174
1186
  hasTable: !1,
@@ -1180,26 +1192,26 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1180
1192
  hasAltCopy: F.value.userOptions.buttons.altCopy,
1181
1193
  hasAnnotator: F.value.userOptions.buttons.annotator,
1182
1194
  hasZoom: F.value.userOptions.buttons.zoom,
1183
- isZoom: B.value,
1195
+ isZoom: V.value,
1184
1196
  isFullscreen: P.value,
1185
- isTooltip: St.value.showTooltip,
1197
+ isTooltip: B.value.showTooltip,
1186
1198
  titles: { ...F.value.userOptions.buttonTitles },
1187
1199
  chartElement: O.value,
1188
1200
  position: F.value.userOptions.position,
1189
- isAnnotation: Z.value,
1201
+ isAnnotation: Q.value,
1190
1202
  callbacks: F.value.userOptions.callbacks,
1191
1203
  printScale: F.value.userOptions.print.scale,
1192
- isCursorPointer: ct.value,
1193
- onToggleFullscreen: at,
1194
- onGeneratePdf: w(gt),
1195
- onGenerateImage: w(Fn),
1196
- onGenerateSvg: w(Pn),
1197
- onToggleTooltip: kn,
1198
- onToggleAnnotator: On,
1199
- onToggleZoom: en,
1200
- onCopyAlt: Vn,
1201
- style: be({ visibility: w(ut) ? w(lt) ? "visible" : "hidden" : "visible" })
1202
- }, me({ _: 2 }, [
1204
+ isCursorPointer: lt.value,
1205
+ onToggleFullscreen: ot,
1206
+ onGeneratePdf: w(_t),
1207
+ onGenerateImage: w(Ln),
1208
+ onGenerateSvg: w(In),
1209
+ onToggleTooltip: jn,
1210
+ onToggleAnnotator: An,
1211
+ onToggleZoom: nn,
1212
+ onCopyAlt: Wn,
1213
+ style: xe({ visibility: w(dt) ? w(ut) ? "visible" : "hidden" : "visible" })
1214
+ }, he({ _: 2 }, [
1203
1215
  e.$slots.menuIcon ? {
1204
1216
  name: "menuIcon",
1205
1217
  fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", b(y({
@@ -1268,77 +1280,77 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1268
1280
  key: "10"
1269
1281
  } : void 0
1270
1282
  ]), 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),
1271
- L.value.controls.position === "top" && L.value.controls.show && !w(ft) ? (x(), h(ue, {
1283
+ L.value.controls.position === "top" && L.value.controls.show && !w(pt) ? (x(), h(de, {
1272
1284
  key: 5,
1273
1285
  ref_key: "zoomControlsTop",
1274
- ref: tt,
1286
+ ref: nt,
1275
1287
  config: F.value,
1276
- scale: w(Qt),
1288
+ scale: w(en),
1277
1289
  isFullscreen: P.value,
1278
- isCursorPointer: ct.value,
1279
- onZoomIn: on,
1280
- onZoomOut: sn,
1281
- onResetZoom: cn
1290
+ isCursorPointer: lt.value,
1291
+ onZoomIn: cn,
1292
+ onZoomOut: ln,
1293
+ onResetZoom: un
1282
1294
  }, null, 8, [
1283
1295
  "config",
1284
1296
  "scale",
1285
1297
  "isFullscreen",
1286
1298
  "isCursorPointer"
1287
1299
  ])) : g("", !0),
1288
- v("div", Ae, [(x(), _("svg", {
1300
+ v("div", je, [(x(), _("svg", {
1289
1301
  ref_key: "svgRef",
1290
1302
  ref: R,
1291
- xmlns: w(o),
1292
- viewBox: an.value,
1303
+ xmlns: w(s),
1304
+ viewBox: sn.value,
1293
1305
  preserveAspectRatio: "xMidYMid meet",
1294
1306
  "aria-describedby": `map-keyboard-instructions-${D.value}`,
1295
1307
  tabindex: "0",
1296
- style: be({
1308
+ style: xe({
1297
1309
  display: "block",
1298
1310
  width: "100%",
1299
- height: z.value ? `${H.value}px` : "auto",
1311
+ height: z.value ? `${U.value}px` : "auto",
1300
1312
  background: L.value.backgroundColor,
1301
- touchAction: B.value ? "none" : "auto",
1302
- cursor: B.value ? Q.value ? "grabbing" : "grab" : "default"
1313
+ touchAction: V.value ? "none" : "auto",
1314
+ cursor: V.value ? $.value ? "grabbing" : "grab" : "default"
1303
1315
  }),
1304
1316
  id: `vue-ui-geo_${D.value}`,
1305
- onPointerdown: Ln,
1306
- onPointerup: Rn,
1307
- onPointercancel: Rn,
1308
- onPointerleave: Rn,
1309
- onWheel: zn,
1310
- onFocus: Wn,
1311
- onBlur: Gn,
1312
- onKeydown: Kn
1313
- }, [he(w(We)), v("g", {
1314
- transform: qt.value.transform,
1315
- style: be({ pointerEvents: Q.value ? "none" : "auto" })
1317
+ onPointerdown: Bn,
1318
+ onPointerup: Vn,
1319
+ onPointercancel: Vn,
1320
+ onPointerleave: Vn,
1321
+ onWheel: Hn,
1322
+ onFocus: qn,
1323
+ onBlur: Jn,
1324
+ onKeydown: Yn
1325
+ }, [ge(w(Ge)), v("g", {
1326
+ transform: Yt.value.transform,
1327
+ style: xe({ pointerEvents: $.value ? "none" : "auto" })
1316
1328
  }, [
1317
- v("g", null, [(x(!0), _(pe, null, Ce(Bt.value, (e) => (x(), _("path", {
1329
+ v("g", null, [(x(!0), _(me, null, we(Ht.value, (e) => (x(), _("path", {
1318
1330
  class: "vue-ui-geo-territory",
1319
1331
  key: e.uid,
1320
1332
  d: e.path,
1321
- fill: J.value === e.uid ? X.value.hover.fill : X.value.fill,
1322
- stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1323
- "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1333
+ fill: Y.value === e.uid ? Z.value.hover.fill : Z.value.fill,
1334
+ stroke: Y.value === e.uid ? Z.value.hover.stroke : Z.value.stroke,
1335
+ "stroke-width": Y.value === e.uid ? Z.value.hover.strokeWidth : Z.value.strokeWidth,
1324
1336
  "vector-effect": "non-scaling-stroke",
1325
- onMouseenter: (t) => yn(e),
1326
- onMouseleave: (t) => bn(e),
1327
- onClick: (t) => xn(e)
1328
- }, null, 40, Ne))), 128))]),
1329
- v("g", null, [(x(!0), _(pe, null, Ce(Vt.value, (e) => (x(), _("path", {
1337
+ onMouseenter: (t) => xn(e),
1338
+ onMouseleave: (t) => Sn(e),
1339
+ onClick: (t) => Cn(e)
1340
+ }, null, 40, Pe))), 128))]),
1341
+ v("g", null, [(x(!0), _(me, null, we(Ut.value, (e) => (x(), _("path", {
1330
1342
  class: "vue-ui-geo-territory",
1331
1343
  key: e.uid,
1332
1344
  d: e.path,
1333
1345
  fill: "none",
1334
- stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1335
- "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1346
+ stroke: Y.value === e.uid ? Z.value.hover.stroke : Z.value.stroke,
1347
+ "stroke-width": Y.value === e.uid ? Z.value.hover.strokeWidth : Z.value.strokeWidth,
1336
1348
  "vector-effect": "non-scaling-stroke",
1337
- onMouseenter: (t) => yn(e),
1338
- onMouseleave: (t) => bn(e),
1339
- onClick: (t) => xn(e)
1340
- }, null, 40, Pe))), 128))]),
1341
- v("g", null, [(x(!0), _(pe, null, Ce(Ht.value, (e) => (x(), _("circle", {
1349
+ onMouseenter: (t) => xn(e),
1350
+ onMouseleave: (t) => Sn(e),
1351
+ onClick: (t) => Cn(e)
1352
+ }, null, 40, Fe))), 128))]),
1353
+ v("g", null, [(x(!0), _(me, null, we(Wt.value, (e) => (x(), _("circle", {
1342
1354
  key: e.uid,
1343
1355
  cx: e.x,
1344
1356
  cy: e.y,
@@ -1347,79 +1359,79 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1347
1359
  stroke: e.stroke,
1348
1360
  "stroke-width": e.strokeWidth,
1349
1361
  "vector-effect": "non-scaling-stroke",
1350
- onMouseenter: (t) => En(e),
1351
- onMouseleave: Dn
1352
- }, null, 40, Fe))), 128))]),
1353
- (x(!0), _(pe, null, Ce(dn.value, (t, n) => (x(), _("g", { key: t.uid }, [C(e.$slots, "datapoint", _e({ ref_for: !0 }, {
1362
+ onMouseenter: (t) => On(e),
1363
+ onMouseleave: kn
1364
+ }, null, 40, Ie))), 128))]),
1365
+ (x(!0), _(me, null, we(pn.value, (t, n) => (x(), _("g", { key: t.uid }, [C(e.$slots, "datapoint", ve({ ref_for: !0 }, {
1354
1366
  point: t,
1355
- onPointEnter: Sn,
1356
- onPointLeave: Cn,
1357
- onPointClick: Tn,
1358
- highlighted: q.value === t.uid
1367
+ onPointEnter: wn,
1368
+ onPointLeave: Tn,
1369
+ onPointClick: Dn,
1370
+ highlighted: J.value === t.uid
1359
1371
  }), () => [v("circle", {
1360
- class: ye({
1372
+ class: be({
1361
1373
  "vue-ui-geo-point": !0,
1362
- "vue-ui-geo-point-with-event": wn.value && ct.value
1374
+ "vue-ui-geo-point-with-event": En.value && lt.value
1363
1375
  }),
1364
1376
  cx: t.x,
1365
1377
  cy: t.y,
1366
- r: q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
1378
+ r: J.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
1367
1379
  fill: t.fill,
1368
1380
  stroke: I.value.stroke,
1369
1381
  "stroke-width": I.value.strokeWidth,
1370
1382
  "vector-effect": "non-scaling-stroke",
1371
- onMouseenter: (e) => Sn(t, n),
1372
- onMouseleave: (e) => Cn(t),
1373
- onClick: (e) => Tn(t)
1374
- }, null, 42, Ie)], !0), st.value.show ? (x(), _("text", {
1383
+ onMouseenter: (e) => wn(t, n),
1384
+ onMouseleave: (e) => Tn(t),
1385
+ onClick: (e) => Dn(t)
1386
+ }, null, 42, Le)], !0), ct.value.show ? (x(), _("text", {
1375
1387
  key: 0,
1376
1388
  class: "vue-ui-geo-point-label",
1377
1389
  x: t.x,
1378
- y: t.y + (q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + st.value.offsetY + 1 * st.value.fontSizeRatio,
1390
+ y: t.y + (J.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + ct.value.offsetY + 1 * ct.value.fontSizeRatio,
1379
1391
  "text-anchor": "middle",
1380
- fill: st.value.color,
1381
- "font-size": 1 * st.value.fontSizeRatio
1382
- }, we(t.name), 9, Le)) : g("", !0)]))), 128)),
1392
+ fill: ct.value.color,
1393
+ "font-size": 1 * ct.value.fontSizeRatio
1394
+ }, Te(t.name), 9, Re)) : g("", !0)]))), 128)),
1383
1395
  C(e.$slots, "svg", { svg: {
1384
- drawingArea: an.value,
1385
- x: Gt.value?.minX ?? 0,
1386
- y: Gt.value?.minY ?? 0,
1387
- width: Gt.value?.width ?? 0,
1388
- height: Gt.value?.height ?? 0,
1389
- isPrintingImg: w(mt) || w(ht) || w(Mn),
1390
- isPrintingSvg: w(Nn),
1396
+ drawingArea: sn.value,
1397
+ x: qt.value?.minX ?? 0,
1398
+ y: qt.value?.minY ?? 0,
1399
+ width: qt.value?.width ?? 0,
1400
+ height: qt.value?.height ?? 0,
1401
+ isPrintingImg: w(ht) || w(gt) || w(Pn),
1402
+ isPrintingSvg: w(Fn),
1391
1403
  data: {
1392
- areaPaths: Bt.value,
1393
- linePaths: Vt.value,
1394
- geoJsonPoints: Ht.value,
1395
- projectedPoints: dn.value
1404
+ areaPaths: Ht.value,
1405
+ linePaths: Ut.value,
1406
+ geoJsonPoints: Wt.value,
1407
+ projectedPoints: pn.value
1396
1408
  }
1397
1409
  } }, void 0, !0)
1398
- ], 12, Me)], 44, je)), e.$slots.hint ? (x(), _("div", Re, [C(e.$slots, "hint", b(y({
1410
+ ], 12, Ne)], 44, Me)), e.$slots.hint ? (x(), _("div", ze, [C(e.$slots, "hint", b(y({
1399
1411
  hint: F.value.a11y.translations.keyboardNavigation,
1400
- isVisible: it.value
1412
+ isVisible: at.value
1401
1413
  })), void 0, !0)])) : g("", !0)]),
1402
- e.$slots.watermark ? (x(), _("div", ze, [C(e.$slots, "watermark", b(y({ isPrinting: w(mt) || w(ht) || w(Mn) || w(Nn) })), void 0, !0)])) : g("", !0),
1403
- L.value.controls.position === "bottom" && L.value.controls.show && !w(ft) ? (x(), h(ue, {
1414
+ e.$slots.watermark ? (x(), _("div", Be, [C(e.$slots, "watermark", b(y({ isPrinting: w(ht) || w(gt) || w(Pn) || w(Fn) })), void 0, !0)])) : g("", !0),
1415
+ L.value.controls.position === "bottom" && L.value.controls.show && !w(pt) ? (x(), h(de, {
1404
1416
  key: 7,
1405
1417
  ref_key: "zoomControlsBottom",
1406
- ref: nt,
1418
+ ref: rt,
1407
1419
  config: F.value,
1408
- scale: w(Qt),
1420
+ scale: w(en),
1409
1421
  isFullscreen: P.value,
1410
- isCursorPointer: ct.value,
1411
- onZoomIn: on,
1412
- onZoomOut: sn,
1413
- onResetZoom: cn
1422
+ isCursorPointer: lt.value,
1423
+ onZoomIn: cn,
1424
+ onZoomOut: ln,
1425
+ onResetZoom: un
1414
1426
  }, null, 8, [
1415
1427
  "config",
1416
1428
  "scale",
1417
1429
  "isFullscreen",
1418
1430
  "isCursorPointer"
1419
1431
  ])) : g("", !0),
1420
- he(w(Ve), {
1432
+ ge(w(He), {
1421
1433
  teleportTo: L.value.tooltip.teleportTo,
1422
- show: St.value.showTooltip && pn.value,
1434
+ show: B.value.showTooltip && hn.value,
1423
1435
  backgroundColor: L.value.tooltip.backgroundColor,
1424
1436
  color: L.value.tooltip.color,
1425
1437
  fontSize: L.value.tooltip.fontSize,
@@ -1431,19 +1443,19 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1431
1443
  offsetX: L.value.tooltip.offsetX,
1432
1444
  offsetY: L.value.tooltip.offsetY,
1433
1445
  parent: O.value,
1434
- content: mn.value,
1435
- isCustom: K.value,
1446
+ content: gn.value,
1447
+ isCustom: q.value,
1436
1448
  isFullscreen: P.value,
1437
1449
  smooth: L.value.tooltip.smooth,
1438
1450
  backdropFilter: L.value.tooltip.backdropFilter,
1439
1451
  smoothForce: L.value.tooltip.smoothForce,
1440
1452
  smoothSnapThreshold: L.value.tooltip.smoothSnapThreshold,
1441
1453
  isA11yMode: N.value === "keyboard",
1442
- a11yPosition: rt.value
1454
+ a11yPosition: it.value
1443
1455
  }, {
1444
- "tooltip-before": T(() => [C(e.$slots, "tooltip-before", b(y({ ...Ze.value })), void 0, !0)]),
1445
- tooltip: T(() => [C(e.$slots, "tooltip", b(y({ ...Ze.value })), void 0, !0)]),
1446
- "tooltip-after": T(() => [C(e.$slots, "tooltip-after", b(y({ ...Ze.value })), void 0, !0)]),
1456
+ "tooltip-before": T(() => [C(e.$slots, "tooltip-before", b(y({ ...Qe.value })), void 0, !0)]),
1457
+ tooltip: T(() => [C(e.$slots, "tooltip", b(y({ ...Qe.value })), void 0, !0)]),
1458
+ "tooltip-after": T(() => [C(e.$slots, "tooltip-after", b(y({ ...Qe.value })), void 0, !0)]),
1447
1459
  _: 3
1448
1460
  }, 8, [
1449
1461
  "teleportTo",
@@ -1472,12 +1484,12 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
1472
1484
  e.$slots.source ? (x(), _("div", {
1473
1485
  key: 8,
1474
1486
  ref_key: "source",
1475
- ref: et,
1487
+ ref: tt,
1476
1488
  dir: "auto"
1477
1489
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1478
- C(e.$slots, "skeleton", {}, () => [w(ft) ? (x(), h(d, { key: 0 })) : g("", !0)], !0)
1479
- ], 14, Oe));
1490
+ C(e.$slots, "skeleton", {}, () => [w(pt) ? (x(), h(f, { key: 0 })) : g("", !0)], !0)
1491
+ ], 14, ke));
1480
1492
  }
1481
- }, [["__scopeId", "data-v-e3b2115d"]]);
1493
+ }, [["__scopeId", "data-v-52492c2b"]]);
1482
1494
  //#endregion
1483
- export { De as n, Ve as t };
1495
+ export { Oe as n, He as t };