vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
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
3
  import { n as s } from "./useHints-Dq_w2E8B.js";
4
- import { t as c } from "./useConfig-CyCVHo81.js";
4
+ import { t as c } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as l } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as u, t as d } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as f } from "./useNestedProp-Chvyfpl-.js";
@@ -15,17 +15,17 @@ import { t as oe } from "./A11yDataTable-DdRsVULz.js";
15
15
  import { t as se } from "./useUserOptionState-DK-_1ddE.js";
16
16
  import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
17
17
  import { t as le } from "./usePanZoom-CYU3B4T3.js";
18
- import { t as ue } from "./BaseZoomControls-Xo16vFa4.js";
18
+ import { t as ue } from "./BaseZoomControls-BTzjVDPM.js";
19
19
  import { t as de } from "./geoProjections-CEo3dVaL.js";
20
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";
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";
22
22
  //#region src/components/vue-ui-geo.vue
23
- var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke = { style: { position: "relative" } }, Ae = [
23
+ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae = { style: { position: "relative" } }, je = [
24
24
  "xmlns",
25
25
  "viewBox",
26
26
  "aria-describedby",
27
27
  "id"
28
- ], je = ["transform"], Me = [
28
+ ], Me = ["transform"], Ne = [
29
29
  "d",
30
30
  "fill",
31
31
  "stroke",
@@ -33,14 +33,14 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
33
33
  "onMouseenter",
34
34
  "onMouseleave",
35
35
  "onClick"
36
- ], Ne = [
36
+ ], Pe = [
37
37
  "d",
38
38
  "stroke",
39
39
  "stroke-width",
40
40
  "onMouseenter",
41
41
  "onMouseleave",
42
42
  "onClick"
43
- ], Pe = [
43
+ ], Fe = [
44
44
  "cx",
45
45
  "cy",
46
46
  "r",
@@ -48,7 +48,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
48
48
  "stroke",
49
49
  "stroke-width",
50
50
  "onMouseenter"
51
- ], Fe = [
51
+ ], Ie = [
52
52
  "cx",
53
53
  "cy",
54
54
  "r",
@@ -58,12 +58,12 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
58
58
  "onMouseenter",
59
59
  "onMouseleave",
60
60
  "onClick"
61
- ], Ie = [
61
+ ], Le = [
62
62
  "x",
63
63
  "y",
64
64
  "fill",
65
65
  "font-size"
66
- ], Le = {
66
+ ], Re = {
67
67
  key: 0,
68
68
  style: {
69
69
  position: "absolute",
@@ -73,10 +73,10 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
73
73
  },
74
74
  "data-dom-to-png-ignore": "",
75
75
  "aria-hidden": "true"
76
- }, Re = {
76
+ }, ze = {
77
77
  key: 6,
78
78
  class: "vue-data-ui-watermark"
79
- }, ze = 1.5, Be = /*#__PURE__*/ re({
79
+ }, Be = 1.5, Ve = /*#__PURE__*/ re({
80
80
  __name: "vue-ui-geo",
81
81
  props: {
82
82
  config: {
@@ -93,34 +93,34 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
93
93
  }
94
94
  },
95
95
  emits: ["copyAlt"],
96
- setup(e, { expose: re, emit: Ee }) {
97
- let Be = ge(() => import("./Tooltip-hhrkQ3Lk.js")), Ve = ge(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), He = ge(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Ue = ge(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), D = e, We = Ee, { vue_ui_geo: Ge } = c(), { isThemeValid: Ke, warnInvalidTheme: qe } = p(), O = S(a()), 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({
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-ur6jKRL5.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({
98
98
  x: 0,
99
99
  y: 0
100
- }), F = S("pointer"), nt = S(!1), I = S(!1);
101
- function rt(e) {
102
- I.value = e, Je.value += 1;
100
+ }), N = S("pointer"), it = S(!1), P = S(!1);
101
+ function at(e) {
102
+ P.value = e, Ye.value += 1;
103
103
  }
104
- function it() {
104
+ function ot() {
105
105
  let e = f({
106
- userConfig: D.config,
107
- defaultConfig: Ge
106
+ userConfig: E.config,
107
+ defaultConfig: Ke
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
- if (!Ke.value(e)) return qe(e), e;
110
+ if (!qe.value(e)) return Je(e), e;
111
111
  let n = f({
112
- userConfig: fe[t] || D.config,
112
+ userConfig: fe[t] || E.config,
113
113
  defaultConfig: e
114
114
  });
115
115
  return f({
116
- userConfig: D.config,
116
+ userConfig: E.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let L = S(it());
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
121
  s({
122
- config: () => L.value,
123
- dataset: () => D.dataset,
122
+ config: () => F.value,
123
+ dataset: () => E.dataset,
124
124
  component: "VueUiGeo",
125
125
  rules: [{
126
126
  test: (e) => e.length > 100,
@@ -131,7 +131,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
131
131
  ]
132
132
  }]
133
133
  });
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(() => i({
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({
135
135
  defaultConfig: {
136
136
  map: { geoJson: {
137
137
  type: "FeatureCollection",
@@ -204,60 +204,60 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
204
204
  }
205
205
  } }
206
206
  },
207
- userConfig: L.value.skeletonConfig ?? {}
208
- })), { loading: lt, FINAL_DATASET: ut } = u({
209
- ...Te(D),
210
- FINAL_CONFIG: L,
211
- prepareConfig: it,
207
+ userConfig: F.value.skeletonConfig ?? {}
208
+ })), { loading: ft, FINAL_DATASET: pt } = u({
209
+ ...Te(E),
210
+ FINAL_CONFIG: F,
211
+ prepareConfig: ot,
212
212
  allowEmptyDataset: !0,
213
- skeletonDataset: D.config?.skeletonDataset ?? [],
213
+ skeletonDataset: E.config?.skeletonDataset ?? [],
214
214
  skeletonConfig: i({
215
- defaultConfig: L.value,
216
- userConfig: ct.value
215
+ defaultConfig: F.value,
216
+ userConfig: dt.value
217
217
  })
218
- }), { isPrinting: dt, isImaging: ft, generatePdf: pt, generateImage: mt } = l({
219
- elementId: `vue-ui-geo_${O.value}`,
220
- fileName: L.value.style.chart.title.text || "vue-ui-geo",
221
- options: L.value.userOptions.print
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
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect(), M.value = null, N.value = null);
218
+ }), { isPrinting: mt, isImaging: ht, generatePdf: gt, generateImage: _t } = l({
219
+ elementId: `vue-ui-geo_${D.value}`,
220
+ fileName: L.value.title.text || "vue-ui-geo",
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() {
224
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect(), A.value = null, j.value = null);
225
225
  }
226
- let z = m(() => !!L.value.responsive && !I.value);
227
- T(() => I.value, async (e) => {
226
+ let z = m(() => !!F.value.responsive && !P.value);
227
+ Ee(() => P.value, async (e) => {
228
228
  if (e) {
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();
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();
231
231
  });
232
232
  return;
233
233
  }
234
- L.value.responsive && (await ve(), _t());
234
+ F.value.responsive && (await ve(), bt());
235
235
  });
236
- function _t() {
237
- if (gt(), !z.value) return;
236
+ function bt() {
237
+ if (yt(), !z.value) return;
238
238
  let e = ie(() => {
239
- if (!k.value) return;
239
+ if (!O.value) return;
240
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
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
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 = k.value ? k.value.parentNode : null, N.value && M.value.observe(N.value), e();
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 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;
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;
256
256
  }, { deep: !0 });
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 = {
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 = {
261
261
  aitoff: {
262
262
  width: 1e3,
263
263
  height: 500
@@ -310,14 +310,14 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
310
310
  width: 1e3,
311
311
  height: 1e3
312
312
  }
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;
313
+ }, V = S(L.value.dimensions.width), H = S(L.value.dimensions.height), Ot = m(() => {
314
+ let e = Dt[wt.value] || Dt.equirectangular;
315
315
  return {
316
316
  width: e.width,
317
317
  height: e.height
318
318
  };
319
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;
320
+ let e = Ot.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 Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
331
331
  width: e.width,
332
332
  height: e.height
333
333
  };
334
- }), Et = m(() => {
335
- let e = L.value?.map?.center, t = [0, 0];
334
+ }), kt = m(() => {
335
+ let e = F.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 St.value([e, t], Tt.value.width, Tt.value.height, Et.value);
341
+ return Tt.value([e, t], Ot.value.width, Ot.value.height, kt.value);
342
342
  }
343
- function Dt(e, t = {}) {
343
+ function At(e, t = {}) {
344
344
  let { defaultName: n = "", namePropertyCandidates: r = [
345
345
  "name",
346
346
  "nom",
@@ -454,7 +454,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
454
454
  features: f
455
455
  };
456
456
  }
457
- function Ot(e) {
457
+ function jt(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 Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
487
487
  geometry: e.geometry,
488
488
  properties: r,
489
489
  name: i,
490
- uid: `map-feature-${O.value}-${t}`,
490
+ uid: `map-feature-${D.value}-${t}`,
491
491
  index: t
492
492
  };
493
493
  });
494
494
  }
495
- let kt = m(() => Dt(Ct.value, {
495
+ let Mt = m(() => At(Et.value, {
496
496
  defaultName: "",
497
497
  includeNullGeometries: !1
498
- })), At = m(() => Ot(kt.value));
499
- function jt(e) {
498
+ })), Nt = m(() => jt(Mt.value));
499
+ function Pt(e) {
500
500
  if (!e || typeof e.type != "string") return "";
501
- if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => jt(e)).filter(Boolean).join(" ");
501
+ if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => Pt(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,46 +516,46 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
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 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 : [] : [];
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 : [] : [];
521
521
  }
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";
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";
524
524
  }
525
- let Pt = m(() => At.value.filter((e) => {
525
+ let Lt = m(() => Nt.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
- })), Ft = m(() => At.value.filter((e) => {
528
+ })), Rt = m(() => Nt.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
- })), It = m(() => At.value.filter((e) => {
531
+ })), zt = m(() => Nt.value.filter((e) => {
532
532
  let t = e.geometry;
533
- return t ? Nt(t) : !1;
534
- })), Lt = m(() => Pt.value.map((e) => {
535
- let t = jt(e.geometry);
533
+ return t ? It(t) : !1;
534
+ })), Bt = m(() => Lt.value.map((e) => {
535
+ let t = Pt(e.geometry);
536
536
  return t ? {
537
537
  ...e,
538
538
  path: t
539
539
  } : null;
540
- }).filter(Boolean)), Rt = m(() => Ft.value.map((e) => {
541
- let t = jt(e.geometry);
540
+ }).filter(Boolean)), Vt = m(() => Rt.value.map((e) => {
541
+ let t = Pt(e.geometry);
542
542
  return t ? {
543
543
  ...e,
544
544
  path: t
545
545
  } : null;
546
- }).filter(Boolean)), zt = m(() => {
546
+ }).filter(Boolean)), Ht = 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;
550
550
  return {
551
- radius: Number.isFinite(Number(n)) ? Number(n) : Number(L.value.style.chart.points.radius),
552
- fill: i != null && String(i).trim() ? r(String(i).trim()) : L.value.style.chart.points.fill,
553
- stroke: a != null && String(a).trim() ? r(String(a).trim()) : L.value.style.chart.points.stroke,
554
- strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(L.value.style.chart.points.strokeWidth)
551
+ radius: Number.isFinite(Number(n)) ? Number(n) : Number(I.value.radius),
552
+ fill: i != null && String(i).trim() ? r(String(i).trim()) : I.value.fill,
553
+ stroke: a != null && String(a).trim() ? r(String(a).trim()) : I.value.stroke,
554
+ strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(I.value.strokeWidth)
555
555
  };
556
556
  }
557
- for (let n of It.value) {
558
- let r = Mt(n.geometry);
557
+ for (let n of zt.value) {
558
+ let r = Ft(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 Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
578
578
  }
579
579
  return e;
580
580
  });
581
- function Bt(e) {
581
+ function Ut(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 Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
596
596
  }
597
597
  };
598
598
  if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
599
- for (let n of e.geometries) t.push(...Bt(n));
599
+ for (let n of e.geometries) t.push(...Ut(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 Vt(e) {
604
+ function Wt(e) {
605
605
  let t = [];
606
- for (let n of e) t.push(...Bt(n.geometry));
606
+ for (let n of e) t.push(...Ut(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,8 +617,8 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
617
617
  height: s
618
618
  };
619
619
  }
620
- let Ht = m(() => Vt(At.value));
621
- function Ut({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
620
+ let Gt = m(() => Wt(Nt.value));
621
+ function Kt({ 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,
@@ -633,39 +633,39 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
633
633
  transform: `translate(${ee} ${te}) scale(${l})`
634
634
  };
635
635
  }
636
- let Wt = m(() => {
637
- let e = Ht.value;
636
+ let qt = m(() => {
637
+ let e = Gt.value;
638
638
  if (!e) return {
639
639
  scale: 1,
640
640
  translateX: 0,
641
641
  translateY: 0,
642
642
  transform: ""
643
643
  };
644
- let t = L.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
645
- return Ut({
644
+ let t = F.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
645
+ return Kt({
646
646
  bounds: e,
647
647
  targetWidth: U.value.width,
648
648
  targetHeight: U.value.height,
649
649
  padding: n
650
650
  });
651
- }), Gt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Kt, resetZoom: qt, setInitialViewBox: Jt, scale: Yt, zoomByFactor: Xt } = le(R, {
651
+ }), Jt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Yt, resetZoom: Xt, setInitialViewBox: Zt, scale: Qt, zoomByFactor: $t } = 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 Zt() {
657
+ function en() {
658
658
  B.value = !B.value;
659
659
  }
660
- function Qt(e) {
661
- let t = Wt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
660
+ function tn(e) {
661
+ let t = qt.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 $t() {
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;
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;
669
669
  if (!r) return {
670
670
  x: 0,
671
671
  y: 0,
@@ -679,7 +679,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
679
679
  width: i,
680
680
  height: a
681
681
  };
682
- let l = Qt({
682
+ let l = tn({
683
683
  x: s,
684
684
  y: c
685
685
  });
@@ -690,58 +690,58 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
690
690
  height: a
691
691
  };
692
692
  }
693
- function en() {
694
- let e = $t();
695
- Jt(e, { overwriteCurrentIfNotZoomed: !0 }), A.value = !0;
693
+ function rn() {
694
+ let e = nn();
695
+ Zt(e, { overwriteCurrentIfNotZoomed: !0 }), k.value = !0;
696
696
  }
697
- let tn = m(() => {
698
- let e = Kt.value;
699
- return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Gt.value;
697
+ let an = m(() => {
698
+ let e = Yt.value;
699
+ return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Jt.value;
700
700
  });
701
- function nn() {
702
- Xt(ze, !0);
701
+ function on() {
702
+ $t(Be, !0);
703
703
  }
704
- function rn() {
705
- Xt(1 / ze, !0);
704
+ function sn() {
705
+ $t(1 / Be, !0);
706
706
  }
707
- async function an() {
708
- let e = $t();
709
- Jt(e, { overwriteCurrentIfNotZoomed: !0 }), qt(!0);
707
+ async function cn() {
708
+ let e = nn();
709
+ Zt(e, { overwriteCurrentIfNotZoomed: !0 }), Xt(!0);
710
710
  }
711
- T(() => [
712
- L.value.projection,
713
- L.value.map.center?.[0],
714
- L.value.map.center?.[1],
715
- L.value.map.fitPadding,
716
- Ct.value
711
+ Ee(() => [
712
+ F.value.projection,
713
+ F.value.map.center?.[0],
714
+ F.value.map.center?.[1],
715
+ F.value.map.fitPadding,
716
+ Et.value
717
717
  ], async () => {
718
- A.value = !1, await ve(), requestAnimationFrame(() => {
719
- A.value || en();
718
+ k.value = !1, await ve(), requestAnimationFrame(() => {
719
+ k.value || rn();
720
720
  });
721
- }, { deep: !1 }), T(() => [
721
+ }, { deep: !1 }), Ee(() => [
722
722
  V.value,
723
723
  H.value,
724
724
  z.value
725
725
  ], async () => {
726
- z.value && (await ve(), Jt({
726
+ z.value && (await ve(), Zt({
727
727
  x: 0,
728
728
  y: 0,
729
729
  width: U.value.width,
730
730
  height: U.value.height
731
- }, { overwriteCurrentIfNotZoomed: !0 }), A.value = !1, requestAnimationFrame(() => {
732
- A.value || en();
731
+ }, { overwriteCurrentIfNotZoomed: !0 }), k.value = !1, requestAnimationFrame(() => {
732
+ k.value || rn();
733
733
  }));
734
734
  }, { flush: "post" });
735
- function on(e) {
735
+ function ln(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-${O.value}-${t}`,
739
+ uid: `map-point-${D.value}-${t}`,
740
740
  name: r,
741
741
  coordinates: i,
742
742
  color: n.color ?? null,
743
743
  radius: n.radius ?? null,
744
- hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
744
+ hoverRadiusRatio: I.value.hoverRadiusRatio,
745
745
  description: n.description ?? null,
746
746
  original: e,
747
747
  index: t
@@ -751,12 +751,12 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
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-${O.value}-${t}`,
754
+ uid: `map-point-${D.value}-${t}`,
755
755
  name: r,
756
756
  coordinates: [s, c],
757
757
  color: a,
758
758
  radius: o,
759
- hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
759
+ hoverRadiusRatio: I.value.hoverRadiusRatio,
760
760
  description: i,
761
761
  original: e,
762
762
  index: t
@@ -767,122 +767,122 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
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-${O.value}-${n}-${e}`,
770
+ uid: `map-point-${D.value}-${n}-${e}`,
771
771
  name: t.name || e,
772
772
  coordinates: [i, a],
773
773
  color: t.color ?? null,
774
774
  radius: t.radius ?? null,
775
- hoverRadiusRatio: L.value.style.chart.points.hoverRadiusRatio,
775
+ hoverRadiusRatio: I.value.hoverRadiusRatio,
776
776
  description: t.description ?? null,
777
777
  original: t,
778
778
  index: n
779
779
  };
780
780
  }).filter(Boolean) : [] : [];
781
781
  }
782
- let sn = m(() => on(ut.value)), cn = m(() => sn.value.map((e) => {
782
+ let un = m(() => ln(pt.value)), dn = m(() => un.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,
786
786
  x: n,
787
787
  y: i,
788
- fill: e.color ? r(e.color) : L.value.style.chart.points.fill,
789
- radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : L.value.style.chart.points.radius
788
+ fill: e.color ? r(e.color) : I.value.fill,
789
+ radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : I.value.radius
790
790
  };
791
- }).filter(Boolean)), G = m(() => cn.value.map((e, t) => ({
791
+ }).filter(Boolean)), G = m(() => dn.value.map((e, t) => ({
792
792
  ...e,
793
793
  keyboardIndex: t
794
794
  })));
795
- function ln(e) {
796
- let t = Qt(e), r = n(t.x, t.y, R.value);
797
- r && (tt.value = {
795
+ function fn(e) {
796
+ let t = tn(e), r = n(t.x, t.y, R.value);
797
+ r && (rt.value = {
798
798
  x: r.x,
799
799
  y: r.y
800
800
  });
801
801
  }
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;
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;
805
805
  }
806
806
  function Y() {
807
- un.value = !1, dn.value = "";
807
+ pn.value = !1, mn.value = "";
808
808
  }
809
- function pn(e) {
809
+ function gn(e) {
810
810
  return String(e ?? "").replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&#039;");
811
811
  }
812
- function mn(e) {
813
- j.value = {
812
+ function _n(e) {
813
+ Ze.value = {
814
814
  datapoint: e,
815
815
  seriesIndex: e.index,
816
- series: sn.value,
817
- config: L.value
816
+ series: un.value,
817
+ config: F.value
818
818
  }, K.value = !1;
819
- let n = L.value.style.chart.tooltip.customFormat;
819
+ let n = L.value.tooltip.customFormat;
820
820
  if (t(n)) try {
821
- let e = n(j.value);
821
+ let e = n(Ze.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">${pn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${pn(e.description)}</div>`}</div>`;
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>`;
827
827
  }
828
- function hn(e) {
828
+ function vn(e) {
829
829
  K.value = !1;
830
- let n = L.value.style.chart.tooltip.customFormat;
830
+ let n = L.value.tooltip.customFormat;
831
831
  if (t(n)) try {
832
832
  let t = n({
833
833
  datapoint: e,
834
- config: L.value
834
+ config: F.value
835
835
  });
836
836
  if (typeof t == "string") return K.value = !0, t;
837
837
  } catch {
838
838
  console.warn("Custom format cannot be applied."), K.value = !1;
839
839
  }
840
840
  let r = typeof e?.name == "string" ? e.name.trim() : "";
841
- return r ? `<div><div style="font-weight:600">${pn(r)}</div></div>` : (K.value = !1, "");
841
+ return r ? `<div><div style="font-weight:600">${gn(r)}</div></div>` : (K.value = !1, "");
842
842
  }
843
- function gn(e) {
844
- if (L.value.events.territoryEnter && L.value.events.territoryEnter({
843
+ function yn(e) {
844
+ if (F.value.events.territoryEnter && F.value.events.territoryEnter({
845
845
  datapoint: e,
846
846
  seriesIndex: e.index
847
- }), !(typeof e?.name == "string" && e.name.trim()) && !L.value.style.chart.territory.hover.enabledWhenEmpty) {
847
+ }), !(typeof e?.name == "string" && e.name.trim()) && !L.value.territory.hover.enabledWhenEmpty) {
848
848
  J.value = null, Y();
849
849
  return;
850
850
  }
851
- J.value = e.uid, fn(hn(e));
851
+ J.value = e.uid, hn(vn(e));
852
852
  }
853
- function _n(e) {
854
- J.value = null, Y(), L.value.events.territoryLeave && L.value.events.territoryLeave({
853
+ function bn(e) {
854
+ J.value = null, Y(), F.value.events.territoryLeave && F.value.events.territoryLeave({
855
855
  datapoint: e,
856
856
  seriesIndex: e.index
857
857
  });
858
858
  }
859
- function vn(e) {
860
- L.value.events.territoryClick && L.value.events.territoryClick({
859
+ function xn(e) {
860
+ F.value.events.territoryClick && F.value.events.territoryClick({
861
861
  datapoint: e,
862
862
  seriesIndex: e.index
863
863
  });
864
864
  }
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({
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({
867
867
  datapoint: e,
868
868
  seriesIndex: e.index
869
869
  });
870
870
  }
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({
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({
873
873
  datapoint: e,
874
874
  seriesIndex: e.index
875
875
  }));
876
876
  }
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({
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({
880
880
  datapoint: e,
881
881
  seriesIndex: e.index
882
882
  });
883
883
  }
884
- let X = m(() => L.value.style.chart.territory), Cn = m(() => L.value.style.chart.points);
885
- function wn(e) {
884
+ let X = m(() => L.value.territory);
885
+ function En(e) {
886
886
  let t = typeof e?.name == "string" ? e.name.trim() : "";
887
887
  if (!t) {
888
888
  J.value = null, Y();
@@ -894,34 +894,34 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
894
894
  index: e.featureIndex,
895
895
  properties: {}
896
896
  };
897
- J.value = e.uid, fn(hn(n));
897
+ J.value = e.uid, hn(vn(n));
898
898
  }
899
- function Tn() {
899
+ function Dn() {
900
900
  J.value = null, Y();
901
901
  }
902
902
  let Z = S(!1);
903
- function En() {
903
+ function On() {
904
904
  Z.value = !Z.value;
905
905
  }
906
- T(() => Z.value, (e) => {
906
+ Ee(() => Z.value, (e) => {
907
907
  B.value = !e;
908
908
  });
909
- function Dn() {
910
- yt.value.showTooltip = !yt.value.showTooltip;
909
+ function kn() {
910
+ St.value.showTooltip = !St.value.showTooltip;
911
911
  }
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({
912
+ let An = m(() => L.value.backgroundColor), jn = m(() => L.value.title), { isCallbackImaging: Mn, isCallbackSvg: Nn, generateSvg: Pn, onGenerateImage: Fn } = ee({
913
913
  svg: R,
914
- title: kn,
914
+ title: jn,
915
915
  legend: null,
916
916
  legendItems: null,
917
- backgroundColor: On,
918
- getSvgCallback: () => L.value.userOptions.callbacks.svg,
919
- generateImage: mt
917
+ backgroundColor: An,
918
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
919
+ generateImage: _t
920
920
  });
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,
921
+ async function In({ scale: e = 2 } = {}) {
922
+ if (!O.value) return;
923
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await te({
924
+ domElement: O.value,
925
925
  base64: !0,
926
926
  img: !0,
927
927
  scale: e
@@ -929,20 +929,20 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
929
929
  return {
930
930
  imageUri: i,
931
931
  base64: a,
932
- title: L.value.style.chart.title.text,
932
+ title: L.value.title.text,
933
933
  width: t,
934
934
  height: n,
935
935
  aspectRatio: r
936
936
  };
937
937
  }
938
938
  let Q = S(!1), $ = null;
939
- function Fn() {
939
+ function Ln() {
940
940
  B.value && (Q.value = !0);
941
941
  }
942
- function In() {
942
+ function Rn() {
943
943
  Q.value = !1;
944
944
  }
945
- function Ln() {
945
+ function zn() {
946
946
  B.value && (Q.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
947
947
  Q.value = !1, $ = null;
948
948
  }, 140));
@@ -950,15 +950,15 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
950
950
  xe(() => {
951
951
  $ && clearTimeout($);
952
952
  });
953
- async function Rn([e, t], { animated: n = !0 } = {}) {
953
+ async function Bn([e, t], { animated: n = !0 } = {}) {
954
954
  let r = Number(e), i = Number(t);
955
955
  if (!Number.isFinite(r) || !Number.isFinite(i)) return;
956
956
  let a = W([r, i]), o = a?.[0], s = a?.[1];
957
957
  if (!Number.isFinite(o) || !Number.isFinite(s)) return;
958
- let c = Qt({
958
+ let c = tn({
959
959
  x: o,
960
960
  y: s
961
- }), l = Kt.value ? { ...Kt.value } : {
961
+ }), l = Yt.value ? { ...Yt.value } : {
962
962
  x: 0,
963
963
  y: 0,
964
964
  width: U.value.width,
@@ -970,13 +970,13 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
970
970
  height: l.height
971
971
  };
972
972
  if (!n) {
973
- Kt.value = u;
973
+ Yt.value = u;
974
974
  return;
975
975
  }
976
976
  let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
977
977
  p ??= e;
978
978
  let t = Math.min((e - p) / 250, 1);
979
- Kt.value = {
979
+ Yt.value = {
980
980
  x: d.x + (f.x - d.x) * t,
981
981
  y: d.y + (f.y - d.y) * t,
982
982
  width: d.width + (f.width - d.width) * t,
@@ -986,26 +986,26 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
986
986
  requestAnimationFrame(ee);
987
987
  }
988
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 }));
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 }));
991
991
  });
992
992
  }), xe(() => {
993
- gt();
993
+ yt();
994
994
  });
995
- async function zn() {
996
- if (We("copyAlt", {
997
- config: L.value,
998
- dataset: ut.value
999
- }), !L.value.userOptions.callbacks.altCopy) {
995
+ async function Vn() {
996
+ if (Ge("copyAlt", {
997
+ config: F.value,
998
+ dataset: pt.value
999
+ }), !F.value.userOptions.callbacks.altCopy) {
1000
1000
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1001
1001
  return;
1002
1002
  }
1003
- await Promise.resolve(L.value.userOptions.callbacks.altCopy({
1004
- config: L.value,
1005
- dataset: ut.value
1003
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
1004
+ config: F.value,
1005
+ dataset: pt.value
1006
1006
  }));
1007
1007
  }
1008
- function Bn(e, t) {
1008
+ function Hn(e, t) {
1009
1009
  let n = G.value;
1010
1010
  if (!n.length) return null;
1011
1011
  let r = n[e];
@@ -1020,45 +1020,45 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1020
1020
  }
1021
1021
  return i;
1022
1022
  }
1023
- function Vn(e) {
1023
+ function Un(e) {
1024
1024
  let t = G.value;
1025
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;
1026
1026
  }
1027
- function Hn() {
1028
- nt.value = !0;
1027
+ function Wn() {
1028
+ it.value = !0;
1029
1029
  }
1030
- function Un() {
1031
- let e = P.value == null ? null : G.value[P.value];
1032
- e ? bn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null), nt.value = !1;
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;
1033
1033
  }
1034
- function Wn(e) {
1034
+ function Kn(e) {
1035
1035
  if (!R.value || Z.value || document.activeElement !== R.value || !G.value.length) return;
1036
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";
1037
1037
  if (!t && !n && !r && !i && !a && !o) return;
1038
1038
  if (e.preventDefault(), e.stopPropagation(), o) {
1039
- let e = P.value == null ? null : G.value[P.value];
1040
- e ? bn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null);
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);
1041
1041
  return;
1042
1042
  }
1043
1043
  if (a) {
1044
- let e = P.value == null ? null : G.value[P.value];
1044
+ let e = M.value == null ? null : G.value[M.value];
1045
1045
  if (!e) return;
1046
- Sn(e);
1046
+ Tn(e);
1047
1047
  return;
1048
1048
  }
1049
1049
  let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
1050
- if (P.value == null ? c = Vn(s) : (c = Bn(P.value, s), c ??= Vn(s)), c == null) return;
1050
+ if (M.value == null ? c = Un(s) : (c = Hn(M.value, s), c ??= Un(s)), c == null) return;
1051
1051
  let l = G.value[c];
1052
- l && yn(l, c, "keyboard");
1052
+ l && Sn(l, c, "keyboard");
1053
1053
  }
1054
- let Gn = m(() => ({
1054
+ let qn = m(() => ({
1055
1055
  headers: [
1056
1056
  "Name",
1057
1057
  "Latitude",
1058
1058
  "Longitude",
1059
1059
  "Description"
1060
1060
  ],
1061
- rows: sn.value.map((e) => {
1061
+ rows: un.value.map((e) => {
1062
1062
  let t = Array.isArray(e.coordinates) ? e.coordinates[1] : null, n = Array.isArray(e.coordinates) ? e.coordinates[0] : null;
1063
1063
  return [
1064
1064
  e.name ?? "",
@@ -1069,42 +1069,42 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1069
1069
  })
1070
1070
  }));
1071
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
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
1084
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" : ""}`),
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" : ""}`),
1086
1086
  ref_key: "geoChart",
1087
- ref: k,
1088
- id: `map_${O.value}`,
1087
+ ref: O,
1088
+ id: `map_${D.value}`,
1089
1089
  dir: "auto",
1090
1090
  style: be({
1091
- fontFamily: L.value.style.fontFamily,
1091
+ fontFamily: F.value.style.fontFamily,
1092
1092
  width: "100%",
1093
- backgroundColor: L.value.style.chart.backgroundColor,
1093
+ backgroundColor: L.value.backgroundColor,
1094
1094
  height: z.value ? `${H.value}px` : void 0
1095
1095
  })
1096
1096
  }, [
1097
1097
  v("div", {
1098
- id: `chart-instructions-${O.value}`,
1098
+ id: `chart-instructions-${D.value}`,
1099
1099
  class: "sr-only"
1100
- }, [v("p", null, we(L.value.a11y.translations.keyboardNavigation), 1)], 8, Oe),
1101
- Gn.value?.rows?.length ? (x(), h(oe, {
1100
+ }, [v("p", null, we(F.value.a11y.translations.keyboardNavigation), 1)], 8, ke),
1101
+ qn.value?.rows?.length ? (x(), h(oe, {
1102
1102
  key: 0,
1103
- uid: O.value,
1104
- head: Gn.value.headers,
1105
- body: Gn.value.rows,
1106
- notice: L.value.a11y.translations.tableAvailable,
1107
- caption: L.value.a11y.translations.tableCaption
1103
+ uid: D.value,
1104
+ head: qn.value.headers,
1105
+ body: qn.value.rows,
1106
+ notice: F.value.a11y.translations.tableAvailable,
1107
+ caption: F.value.a11y.translations.tableCaption
1108
1108
  }, null, 8, [
1109
1109
  "uid",
1110
1110
  "head",
@@ -1112,95 +1112,97 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1112
1112
  "notice",
1113
1113
  "caption"
1114
1114
  ])) : g("", !0),
1115
- vt.value ? (x(), _("div", {
1115
+ xt.value ? (x(), _("div", {
1116
1116
  key: 1,
1117
1117
  ref_key: "noTitle",
1118
- ref: Ze,
1118
+ ref: $e,
1119
1119
  class: "vue-data-ui-no-title-space",
1120
1120
  style: "height:36px; width: 100%;background:transparent"
1121
1121
  }, null, 512)) : g("", !0),
1122
- L.value.style.chart.title.text ? (x(), _("div", {
1122
+ L.value.title.text ? (x(), _("div", {
1123
1123
  key: 2,
1124
1124
  ref_key: "chartTitle",
1125
- ref: Xe,
1125
+ ref: Qe,
1126
1126
  style: "width:100%;background:transparent;padding-bottom:12px"
1127
1127
  }, [(x(), h(ne, {
1128
- key: `title_${Ye.value}`,
1128
+ key: `title_${Xe.value}`,
1129
1129
  config: {
1130
1130
  title: {
1131
1131
  cy: "geo-title",
1132
- ...L.value.style.chart.title
1132
+ ...L.value.title
1133
1133
  },
1134
1134
  subtitle: {
1135
1135
  cy: "geo-subtitle",
1136
- ...L.value.style.chart.title.subtitle
1136
+ ...L.value.title.subtitle
1137
1137
  }
1138
1138
  }
1139
1139
  }, null, 8, ["config"]))], 512)) : g("", !0),
1140
- L.value.userOptions.buttons.annotator ? (x(), h(w(He), {
1140
+ F.value.userOptions.buttons.annotator ? (x(), h(w(Ue), {
1141
1141
  key: 3,
1142
1142
  svgRef: w(R),
1143
- backgroundColor: L.value.style.chart.backgroundColor,
1144
- color: L.value.style.chart.color,
1143
+ backgroundColor: L.value.backgroundColor,
1144
+ color: L.value.color,
1145
1145
  active: Z.value,
1146
- isCursorPointer: at.value,
1147
- onClose: En
1146
+ isCursorPointer: ct.value,
1147
+ palette: F.value.userOptions.annotatorPalette,
1148
+ onClose: On
1148
1149
  }, {
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)]),
1150
+ "annotator-action-close": T(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1151
+ "annotator-action-color": T(({ color: t }) => [C(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
1152
+ "annotator-action-draw": T(({ mode: t }) => [C(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
1153
+ "annotator-action-undo": T(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
1154
+ "annotator-action-redo": T(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
1155
+ "annotator-action-delete": T(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
1155
1156
  _: 3
1156
1157
  }, 8, [
1157
1158
  "svgRef",
1158
1159
  "backgroundColor",
1159
1160
  "color",
1160
1161
  "active",
1161
- "isCursorPointer"
1162
+ "isCursorPointer",
1163
+ "palette"
1162
1164
  ])) : g("", !0),
1163
- L.value.userOptions.show && (w(st) || w(ot)) ? (x(), h(w(Ve), {
1165
+ F.value.userOptions.show && (w(ut) || w(lt)) ? (x(), h(w(He), {
1164
1166
  ref: "userOptionsRef",
1165
- key: `user_options_${Je.value}`,
1166
- backgroundColor: L.value.style.chart.backgroundColor,
1167
- color: L.value.style.chart.color,
1168
- isPrinting: w(dt),
1169
- isImaging: w(ft),
1170
- uid: O.value,
1167
+ key: `user_options_${Ye.value}`,
1168
+ backgroundColor: L.value.backgroundColor,
1169
+ color: L.value.color,
1170
+ isPrinting: w(mt),
1171
+ isImaging: w(ht),
1172
+ uid: D.value,
1171
1173
  hasXls: !1,
1172
1174
  hasTable: !1,
1173
- hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
1174
- hasPdf: L.value.userOptions.buttons.pdf,
1175
- hasImg: L.value.userOptions.buttons.img,
1176
- hasSvg: L.value.userOptions.buttons.svg,
1177
- hasFullscreen: L.value.userOptions.buttons.fullscreen,
1178
- hasAltCopy: L.value.userOptions.buttons.altCopy,
1179
- hasAnnotator: L.value.userOptions.buttons.annotator,
1180
- hasZoom: L.value.userOptions.buttons.zoom,
1175
+ hasTooltip: F.value.userOptions.buttons.tooltip && L.value.tooltip.show,
1176
+ hasPdf: F.value.userOptions.buttons.pdf,
1177
+ hasImg: F.value.userOptions.buttons.img,
1178
+ hasSvg: F.value.userOptions.buttons.svg,
1179
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
1180
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
1181
+ hasAnnotator: F.value.userOptions.buttons.annotator,
1182
+ hasZoom: F.value.userOptions.buttons.zoom,
1181
1183
  isZoom: B.value,
1182
- isFullscreen: I.value,
1183
- isTooltip: yt.value.showTooltip,
1184
- titles: { ...L.value.userOptions.buttonTitles },
1185
- chartElement: k.value,
1186
- position: L.value.userOptions.position,
1184
+ isFullscreen: P.value,
1185
+ isTooltip: St.value.showTooltip,
1186
+ titles: { ...F.value.userOptions.buttonTitles },
1187
+ chartElement: O.value,
1188
+ position: F.value.userOptions.position,
1187
1189
  isAnnotation: Z.value,
1188
- callbacks: L.value.userOptions.callbacks,
1189
- printScale: L.value.userOptions.print.scale,
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" })
1190
+ callbacks: F.value.userOptions.callbacks,
1191
+ 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" })
1200
1202
  }, me({ _: 2 }, [
1201
1203
  e.$slots.menuIcon ? {
1202
1204
  name: "menuIcon",
1203
- fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", b(y({
1205
+ fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", b(y({
1204
1206
  isOpen: t,
1205
1207
  color: n
1206
1208
  })), void 0, !0)]),
@@ -1208,27 +1210,27 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1208
1210
  } : void 0,
1209
1211
  e.$slots.optionTooltip ? {
1210
1212
  name: "optionTooltip",
1211
- fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1213
+ fn: T(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1212
1214
  key: "1"
1213
1215
  } : void 0,
1214
1216
  e.$slots.optionPdf ? {
1215
1217
  name: "optionPdf",
1216
- fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1218
+ fn: T(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1217
1219
  key: "2"
1218
1220
  } : void 0,
1219
1221
  e.$slots.optionImg ? {
1220
1222
  name: "optionImg",
1221
- fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1223
+ fn: T(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1222
1224
  key: "3"
1223
1225
  } : void 0,
1224
1226
  e.$slots.optionSvg ? {
1225
1227
  name: "optionSvg",
1226
- fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1228
+ fn: T(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1227
1229
  key: "4"
1228
1230
  } : void 0,
1229
1231
  e.$slots.optionFullscreen ? {
1230
1232
  name: "optionFullscreen",
1231
- fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", b(y({
1233
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", b(y({
1232
1234
  toggleFullscreen: t,
1233
1235
  isFullscreen: n
1234
1236
  })), void 0, !0)]),
@@ -1236,7 +1238,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1236
1238
  } : void 0,
1237
1239
  e.$slots.optionAnnotator ? {
1238
1240
  name: "optionAnnotator",
1239
- fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", b(y({
1241
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", b(y({
1240
1242
  toggleAnnotator: t,
1241
1243
  isAnnotator: n
1242
1244
  })), void 0, !0)]),
@@ -1244,7 +1246,7 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1244
1246
  } : void 0,
1245
1247
  e.$slots.optionZoom ? {
1246
1248
  name: "optionZoom",
1247
- fn: E(({ toggleZoom: t, isZoomLocked: n }) => [C(e.$slots, "optionZoom", b(y({
1249
+ fn: T(({ toggleZoom: t, isZoomLocked: n }) => [C(e.$slots, "optionZoom", b(y({
1248
1250
  toggleZoom: t,
1249
1251
  isZoomLocked: n
1250
1252
  })), void 0, !0)]),
@@ -1252,67 +1254,67 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1252
1254
  } : void 0,
1253
1255
  e.$slots.optionAltCopy ? {
1254
1256
  name: "optionAltCopy",
1255
- fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
1257
+ fn: T(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
1256
1258
  key: "8"
1257
1259
  } : void 0,
1258
1260
  e.$slots["custom-menu-before"] ? {
1259
1261
  name: "custom-menu-before",
1260
- fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1262
+ fn: T(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1261
1263
  key: "9"
1262
1264
  } : void 0,
1263
1265
  e.$slots["custom-menu-after"] ? {
1264
1266
  name: "custom-menu-after",
1265
- fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1267
+ fn: T(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1266
1268
  key: "10"
1267
1269
  } : void 0
1268
1270
  ]), 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, {
1271
+ L.value.controls.position === "top" && L.value.controls.show && !w(ft) ? (x(), h(ue, {
1270
1272
  key: 5,
1271
1273
  ref_key: "zoomControlsTop",
1272
- ref: $e,
1273
- config: L.value,
1274
- scale: w(Yt),
1275
- isFullscreen: I.value,
1276
- isCursorPointer: at.value,
1277
- onZoomIn: nn,
1278
- onZoomOut: rn,
1279
- onResetZoom: an
1274
+ ref: tt,
1275
+ config: F.value,
1276
+ scale: w(Qt),
1277
+ isFullscreen: P.value,
1278
+ isCursorPointer: ct.value,
1279
+ onZoomIn: on,
1280
+ onZoomOut: sn,
1281
+ onResetZoom: cn
1280
1282
  }, null, 8, [
1281
1283
  "config",
1282
1284
  "scale",
1283
1285
  "isFullscreen",
1284
1286
  "isCursorPointer"
1285
1287
  ])) : g("", !0),
1286
- v("div", ke, [(x(), _("svg", {
1288
+ v("div", Ae, [(x(), _("svg", {
1287
1289
  ref_key: "svgRef",
1288
1290
  ref: R,
1289
1291
  xmlns: w(o),
1290
- viewBox: tn.value,
1292
+ viewBox: an.value,
1291
1293
  preserveAspectRatio: "xMidYMid meet",
1292
- "aria-describedby": `map-keyboard-instructions-${O.value}`,
1294
+ "aria-describedby": `map-keyboard-instructions-${D.value}`,
1293
1295
  tabindex: "0",
1294
1296
  style: be({
1295
1297
  display: "block",
1296
1298
  width: "100%",
1297
1299
  height: z.value ? `${H.value}px` : "auto",
1298
- background: L.value.style.chart.backgroundColor,
1300
+ background: L.value.backgroundColor,
1299
1301
  touchAction: B.value ? "none" : "auto",
1300
1302
  cursor: B.value ? Q.value ? "grabbing" : "grab" : "default"
1301
1303
  }),
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,
1304
+ 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,
1313
1315
  style: be({ pointerEvents: Q.value ? "none" : "auto" })
1314
1316
  }, [
1315
- v("g", null, [(x(!0), _(pe, null, Ce(Lt.value, (e) => (x(), _("path", {
1317
+ v("g", null, [(x(!0), _(pe, null, Ce(Bt.value, (e) => (x(), _("path", {
1316
1318
  class: "vue-ui-geo-territory",
1317
1319
  key: e.uid,
1318
1320
  d: e.path,
@@ -1320,11 +1322,11 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1320
1322
  stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1321
1323
  "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1322
1324
  "vector-effect": "non-scaling-stroke",
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", {
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", {
1328
1330
  class: "vue-ui-geo-territory",
1329
1331
  key: e.uid,
1330
1332
  d: e.path,
@@ -1332,11 +1334,11 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1332
1334
  stroke: J.value === e.uid ? X.value.hover.stroke : X.value.stroke,
1333
1335
  "stroke-width": J.value === e.uid ? X.value.hover.strokeWidth : X.value.strokeWidth,
1334
1336
  "vector-effect": "non-scaling-stroke",
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", {
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", {
1340
1342
  key: e.uid,
1341
1343
  cx: e.x,
1342
1344
  cy: e.y,
@@ -1345,103 +1347,103 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1345
1347
  stroke: e.stroke,
1346
1348
  "stroke-width": e.strokeWidth,
1347
1349
  "vector-effect": "non-scaling-stroke",
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 }, {
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 }, {
1352
1354
  point: t,
1353
- onPointEnter: yn,
1354
- onPointLeave: bn,
1355
- onPointClick: Sn,
1355
+ onPointEnter: Sn,
1356
+ onPointLeave: Cn,
1357
+ onPointClick: Tn,
1356
1358
  highlighted: q.value === t.uid
1357
1359
  }), () => [v("circle", {
1358
1360
  class: ye({
1359
1361
  "vue-ui-geo-point": !0,
1360
- "vue-ui-geo-point-with-event": xn.value && at.value
1362
+ "vue-ui-geo-point-with-event": wn.value && ct.value
1361
1363
  }),
1362
1364
  cx: t.x,
1363
1365
  cy: t.y,
1364
1366
  r: q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
1365
1367
  fill: t.fill,
1366
- stroke: Cn.value.stroke,
1367
- "stroke-width": Cn.value.strokeWidth,
1368
+ stroke: I.value.stroke,
1369
+ "stroke-width": I.value.strokeWidth,
1368
1370
  "vector-effect": "non-scaling-stroke",
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", {
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", {
1373
1375
  key: 0,
1374
1376
  class: "vue-ui-geo-point-label",
1375
1377
  x: t.x,
1376
- y: t.y + (q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + L.value.style.chart.points.labels.offsetY + 1 * L.value.style.chart.points.labels.fontSizeRatio,
1378
+ y: t.y + (q.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + st.value.offsetY + 1 * st.value.fontSizeRatio,
1377
1379
  "text-anchor": "middle",
1378
- fill: L.value.style.chart.points.labels.color,
1379
- "font-size": 1 * L.value.style.chart.points.labels.fontSizeRatio
1380
- }, we(t.name), 9, Ie)) : g("", !0)]))), 128)),
1380
+ fill: st.value.color,
1381
+ "font-size": 1 * st.value.fontSizeRatio
1382
+ }, we(t.name), 9, Le)) : g("", !0)]))), 128)),
1381
1383
  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),
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),
1389
1391
  data: {
1390
- areaPaths: Lt.value,
1391
- linePaths: Rt.value,
1392
- geoJsonPoints: zt.value,
1393
- projectedPoints: cn.value
1392
+ areaPaths: Bt.value,
1393
+ linePaths: Vt.value,
1394
+ geoJsonPoints: Ht.value,
1395
+ projectedPoints: dn.value
1394
1396
  }
1395
1397
  } }, void 0, !0)
1396
- ], 12, je)], 44, Ae)), e.$slots.hint ? (x(), _("div", Le, [C(e.$slots, "hint", b(y({
1397
- hint: L.value.a11y.translations.keyboardNavigation,
1398
- isVisible: nt.value
1398
+ ], 12, Me)], 44, je)), e.$slots.hint ? (x(), _("div", Re, [C(e.$slots, "hint", b(y({
1399
+ hint: F.value.a11y.translations.keyboardNavigation,
1400
+ isVisible: it.value
1399
1401
  })), 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, {
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, {
1402
1404
  key: 7,
1403
1405
  ref_key: "zoomControlsBottom",
1404
- ref: et,
1405
- config: L.value,
1406
- scale: w(Yt),
1407
- isFullscreen: I.value,
1408
- isCursorPointer: at.value,
1409
- onZoomIn: nn,
1410
- onZoomOut: rn,
1411
- onResetZoom: an
1406
+ ref: nt,
1407
+ config: F.value,
1408
+ scale: w(Qt),
1409
+ isFullscreen: P.value,
1410
+ isCursorPointer: ct.value,
1411
+ onZoomIn: on,
1412
+ onZoomOut: sn,
1413
+ onResetZoom: cn
1412
1414
  }, null, 8, [
1413
1415
  "config",
1414
1416
  "scale",
1415
1417
  "isFullscreen",
1416
1418
  "isCursorPointer"
1417
1419
  ])) : g("", !0),
1418
- he(w(Be), {
1419
- teleportTo: L.value.style.chart.tooltip.teleportTo,
1420
- show: yt.value.showTooltip && un.value,
1421
- backgroundColor: L.value.style.chart.tooltip.backgroundColor,
1422
- color: L.value.style.chart.tooltip.color,
1423
- fontSize: L.value.style.chart.tooltip.fontSize,
1424
- borderRadius: L.value.style.chart.tooltip.borderRadius,
1425
- borderColor: L.value.style.chart.tooltip.borderColor,
1426
- borderWidth: L.value.style.chart.tooltip.borderWidth,
1427
- backgroundOpacity: L.value.style.chart.tooltip.backgroundOpacity,
1428
- position: L.value.style.chart.tooltip.position,
1429
- offsetX: L.value.style.chart.tooltip.offsetX,
1430
- offsetY: L.value.style.chart.tooltip.offsetY,
1431
- parent: k.value,
1432
- content: dn.value,
1420
+ he(w(Ve), {
1421
+ teleportTo: L.value.tooltip.teleportTo,
1422
+ show: St.value.showTooltip && pn.value,
1423
+ backgroundColor: L.value.tooltip.backgroundColor,
1424
+ color: L.value.tooltip.color,
1425
+ fontSize: L.value.tooltip.fontSize,
1426
+ borderRadius: L.value.tooltip.borderRadius,
1427
+ borderColor: L.value.tooltip.borderColor,
1428
+ borderWidth: L.value.tooltip.borderWidth,
1429
+ backgroundOpacity: L.value.tooltip.backgroundOpacity,
1430
+ position: L.value.tooltip.position,
1431
+ offsetX: L.value.tooltip.offsetX,
1432
+ offsetY: L.value.tooltip.offsetY,
1433
+ parent: O.value,
1434
+ content: mn.value,
1433
1435
  isCustom: K.value,
1434
- isFullscreen: I.value,
1435
- smooth: L.value.style.chart.tooltip.smooth,
1436
- backdropFilter: L.value.style.chart.tooltip.backdropFilter,
1437
- smoothForce: L.value.style.chart.tooltip.smoothForce,
1438
- smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold,
1439
- isA11yMode: F.value === "keyboard",
1440
- a11yPosition: tt.value
1436
+ isFullscreen: P.value,
1437
+ smooth: L.value.tooltip.smooth,
1438
+ backdropFilter: L.value.tooltip.backdropFilter,
1439
+ smoothForce: L.value.tooltip.smoothForce,
1440
+ smoothSnapThreshold: L.value.tooltip.smoothSnapThreshold,
1441
+ isA11yMode: N.value === "keyboard",
1442
+ a11yPosition: rt.value
1441
1443
  }, {
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)]),
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)]),
1445
1447
  _: 3
1446
1448
  }, 8, [
1447
1449
  "teleportTo",
@@ -1470,12 +1472,12 @@ var Ee = /* @__PURE__ */ e({ default: () => Be }), De = ["id"], Oe = ["id"], ke
1470
1472
  e.$slots.source ? (x(), _("div", {
1471
1473
  key: 8,
1472
1474
  ref_key: "source",
1473
- ref: Qe,
1475
+ ref: et,
1474
1476
  dir: "auto"
1475
1477
  }, [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));
1478
+ C(e.$slots, "skeleton", {}, () => [w(ft) ? (x(), h(d, { key: 0 })) : g("", !0)], !0)
1479
+ ], 14, Oe));
1478
1480
  }
1479
- }, [["__scopeId", "data-v-0dc55d82"]]);
1481
+ }, [["__scopeId", "data-v-e3b2115d"]]);
1480
1482
  //#endregion
1481
- export { Ee as n, Be as t };
1483
+ export { De as n, Ve as t };