vue-data-ui 3.22.8 → 3.22.10

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 (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -1,18 +1,19 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, G as n, J as r, Kt as i, Mt as a, S as ee, T as te, Z as ne, _t as re, b as o, gt as ie, i as ae, q as oe, t as se, yt as ce } from "./lib-JqW18y5I.js";
3
- import { t as le } from "./useConfig-DYM3f6EI.js";
4
- import { t as ue } from "./usePrinter-CqqHmnBI.js";
5
- import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as pe } from "./useSvgExport-SVIsDot8.js";
7
- import { t as me } from "./useNestedProp-DIuuzG1r.js";
8
- import { t as he } from "./img-DnP3eXuv.js";
9
- import { t as ge } from "./Shape-UpH0a4Ur.js";
10
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as ve } from "./BaseLegendToggle-DtQ8vyfr.js";
12
- import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
13
- import { t as be } from "./useChartAccessibility-DYqac8yF.js";
14
- import { t as xe } from "./geoProjections-BbN7z57k.js";
15
- import { Fragment as s, Teleport as Se, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ce, createTextVNode as p, createVNode as m, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as we, nextTick as Te, normalizeClass as Ee, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as De, onMounted as Oe, openBlock as y, ref as b, renderList as ke, renderSlot as x, resolveDynamicComponent as Ae, toDisplayString as S, toRefs as je, unref as C, watch as w, withCtx as T, withModifiers as Me } from "vue";
2
+ import { C as t, Dt as n, E as r, J as ee, K as i, Nt as a, Q as te, Y as o, _t as s, bt as ne, i as c, qt as re, t as ie, vt as ae, x as l } from "./lib-CnHx5WfV.js";
3
+ import { t as oe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as se } from "./usePrinter-B-X_Pub0.js";
5
+ import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as de } from "./useNestedProp-D8NuRneO.js";
8
+ import { t as fe } from "./img-CNdXiUfZ.js";
9
+ import { t as pe } from "./Shape-B5ksaGa1.js";
10
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { t as he } from "./DefGrad-DVBqDjhO.js";
12
+ import { t as ge } from "./BaseLegendToggle-BrQ2OlzI.js";
13
+ import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
14
+ import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
15
+ import { t as ye } from "./geoProjections-BbN7z57k.js";
16
+ import { Fragment as u, Teleport as be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as xe, createTextVNode as Se, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ce, nextTick as we, normalizeClass as Te, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ee, onMounted as De, openBlock as x, ref as S, renderList as Oe, renderSlot as C, resolveDynamicComponent as ke, toDisplayString as w, toRefs as Ae, unref as T, watch as je, withCtx as E, withModifiers as Me } from "vue";
16
17
  //#region src/resources/worldGeo.js
17
18
  var Ne = 1e3, Pe = [
18
19
  "name",
@@ -1940,23 +1941,23 @@ var Be = {
1940
1941
  coordinates: ze(t, n)
1941
1942
  }
1942
1943
  }))
1943
- }, Ve = /* @__PURE__ */ e({ default: () => pt }), He = ["id"], Ue = ["id"], We = ["viewBox", "xmlns"], Ge = [
1944
+ }, Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We = ["viewBox", "xmlns"], Ge = [
1944
1945
  "x",
1945
1946
  "y",
1946
1947
  "width",
1947
1948
  "height"
1948
- ], Ke = { key: 1 }, qe = ["id"], Je = ["stop-color"], Ye = ["stop-color"], Xe = ["stop-color"], Ze = ["stop-color"], Qe = ["id"], $e = ["stop-color"], et = ["id"], tt = { key: 0 }, nt = [
1949
+ ], Ke = { key: 1 }, qe = ["id"], Je = { key: 0 }, Ye = [
1949
1950
  "cx",
1950
1951
  "cy",
1951
1952
  "r",
1952
1953
  "fill"
1953
- ], rt = [
1954
+ ], Xe = [
1954
1955
  "cx",
1955
1956
  "cy",
1956
1957
  "r",
1957
1958
  "fill",
1958
1959
  "filter"
1959
- ], it = [
1960
+ ], Ze = [
1960
1961
  "d",
1961
1962
  "fill",
1962
1963
  "stroke",
@@ -1964,19 +1965,19 @@ var Be = {
1964
1965
  "onMouseenter",
1965
1966
  "onMouseleave",
1966
1967
  "onClick"
1967
- ], at = { key: 0 }, ot = [
1968
+ ], Qe = { key: 0 }, $e = [
1968
1969
  "d",
1969
1970
  "fill",
1970
1971
  "stroke",
1971
1972
  "stroke-width"
1972
- ], st = [
1973
+ ], et = [
1973
1974
  "d",
1974
1975
  "stroke",
1975
1976
  "stroke-width"
1976
- ], ct = {
1977
+ ], tt = {
1977
1978
  key: 4,
1978
1979
  class: "vue-data-ui-watermark"
1979
- }, lt = ["id"], ut = ["onClick"], dt = ["innerHTML"], ft = .5, pt = /*#__PURE__*/ _e({
1980
+ }, nt = ["id"], rt = ["onClick"], it = ["innerHTML"], at = .5, ot = /*#__PURE__*/ me({
1980
1981
  __name: "vue-ui-world",
1981
1982
  props: {
1982
1983
  config: {
@@ -1997,27 +1998,27 @@ var Be = {
1997
1998
  "selectLegend",
1998
1999
  "copyAlt"
1999
2000
  ],
2000
- setup(e, { expose: _e, emit: Ne }) {
2001
- let Pe = h(() => import("./Title-CcNiYzEo.js").then((e) => e.t)), Fe = h(() => import("./Legend-ROt6ugzW.js").then((e) => e.n)), Ie = h(() => import("./Tooltip-CxOrWlFy.js")), Le = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Re = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), ze = h(() => import("./DataTable-D9NvewTT.js")), Ve = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), pt = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), mt = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), ht = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_world: gt } = le(), E = e, _t = Ne, D = c({
2001
+ setup(e, { expose: me, emit: Ne }) {
2002
+ let Pe = _(() => import("./Title-Cr3jP7Qd.js").then((e) => e.t)), Fe = _(() => import("./Legend-5VQGLnmx.js").then((e) => e.n)), Ie = _(() => import("./Tooltip-CDbLl3TD.js")), Le = _(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Re = _(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), ze = _(() => import("./DataTable-ByZy5gt1.js")), Ve = _(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), ot = _(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), st = _(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), ct = _(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_world: lt } = oe(), D = e, ut = Ne, dt = d({
2002
2003
  get() {
2003
2004
  return !!L.value;
2004
2005
  },
2005
2006
  set(e) {
2006
2007
  return e;
2007
2008
  }
2008
- }), vt = c(() => D ? Object.values(L.value).some((e) => Object.hasOwn(e, "category")) : !1), O = b(null), yt = b(null), bt = b(null), xt = b(null), St = b(null), Ct = b(0), wt = b(0), Tt = b(0), k = b(n()), A = b(!1), Et = b(""), Dt = b(0), Ot = b(!1), j = b(null), kt = b(null), M = b(!1), N = b(!1);
2009
- Oe(() => {
2010
- Ot.value = !0;
2009
+ }), ft = d(() => dt ? Object.values(L.value).some((e) => Object.hasOwn(e, "category")) : !1), O = S(null), pt = S(null), mt = S(null), ht = S(null), gt = S(null), _t = S(0), vt = S(0), yt = S(0), k = S(i()), A = S(!1), bt = S(""), xt = S(0), St = S(!1), j = S(null), Ct = S(null), M = S(!1), N = S(!1);
2010
+ De(() => {
2011
+ St.value = !0;
2011
2012
  });
2012
- let P = Be, { projections: At, getProjectedBounds: jt, setupTerritories: Mt, geoToPath: Nt } = xe;
2013
- function Pt() {
2014
- let e = me({
2015
- userConfig: E.config,
2016
- defaultConfig: gt
2013
+ let P = Be, { projections: wt, getProjectedBounds: Tt, setupTerritories: Et, geoToPath: Dt } = ye;
2014
+ function Ot() {
2015
+ let e = de({
2016
+ userConfig: D.config,
2017
+ defaultConfig: lt
2017
2018
  });
2018
- return E.config && ie(E.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = o(E.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, E.config && ie(E.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = o(E.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], P = Mt(e, P), e;
2019
+ return D.config && s(D.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = l(D.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, D.config && s(D.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = l(D.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], P = Et(e, P), e;
2019
2020
  }
2020
- let F = b(Pt()), I = c(() => F.value.userOptions.useCursorPointer), Ft = c(() => i({
2021
+ let F = S(Ot()), I = d(() => F.value.userOptions.useCursorPointer), kt = d(() => re({
2021
2022
  defaultConfig: {
2022
2023
  userOptions: { show: !1 },
2023
2024
  table: { show: !1 },
@@ -2034,28 +2035,28 @@ var Be = {
2034
2035
  } }
2035
2036
  },
2036
2037
  userConfig: F.value.skeletonConfig ?? {}
2037
- })), { loading: It, FINAL_DATASET: L } = de({
2038
- ...je(E),
2038
+ })), { loading: At, FINAL_DATASET: L } = ce({
2039
+ ...Ae(D),
2039
2040
  FINAL_CONFIG: F,
2040
- prepareConfig: Pt,
2041
- skeletonDataset: E.config?.skeletonDataset ?? [],
2042
- skeletonConfig: i({
2041
+ prepareConfig: Ot,
2042
+ skeletonDataset: D.config?.skeletonDataset ?? [],
2043
+ skeletonConfig: re({
2043
2044
  defaultConfig: F.value,
2044
- userConfig: Ft.value
2045
+ userConfig: kt.value
2045
2046
  })
2046
- }), { userOptionsVisible: Lt, setUserOptionsVisibility: Rt, keepUserOptionState: zt } = ye({ config: F.value }), { svgRef: R } = be({ config: F.value.style.chart.title }), z = b({
2047
+ }), { userOptionsVisible: jt, setUserOptionsVisibility: Mt, keepUserOptionState: Nt } = _e({ config: F.value }), { svgRef: R } = ve({ config: F.value.style.chart.title }), z = S({
2047
2048
  showTable: F.value.table.show,
2048
2049
  showTooltip: F.value.style.chart.tooltip.show
2049
2050
  });
2050
- w(() => E.config, (e) => {
2051
- F.value = Pt(), Lt.value = !F.value.userOptions.showOnChartHover, Ct.value += 1, Tt.value += 1, wt.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show;
2052
- }), w(F, () => {
2051
+ je(() => D.config, (e) => {
2052
+ F.value = Ot(), jt.value = !F.value.userOptions.showOnChartHover, _t.value += 1, yt.value += 1, vt.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show;
2053
+ }), je(F, () => {
2053
2054
  z.value = {
2054
2055
  showTable: F.value.table.show,
2055
2056
  showTooltip: F.value.style.chart.tooltip.show
2056
2057
  };
2057
2058
  }, { immediate: !0 });
2058
- let Bt = c(() => ee(F.value.customPalette)), B = c(() => F.value.projection || "globe"), V = c(() => {
2059
+ let Pt = d(() => t(F.value.customPalette)), B = d(() => F.value.projection || "globe"), V = d(() => {
2059
2060
  let { height: e, width: t } = F.value.style.chart.dimensions;
2060
2061
  return {
2061
2062
  aitoff: {
@@ -2111,8 +2112,8 @@ var Be = {
2111
2112
  height: e || 1e3
2112
2113
  }
2113
2114
  }[B.value];
2114
- }), H = c(() => {
2115
- let { minX: e, minY: t, width: n, height: r } = jt(At[B.value], P.features, V.value.width, V.value.height, J.value);
2115
+ }), H = d(() => {
2116
+ let { minX: e, minY: t, width: n, height: r } = Tt(wt[B.value], P.features, V.value.width, V.value.height, J.value);
2116
2117
  return {
2117
2118
  str: `${e} ${t} ${n} ${r}`,
2118
2119
  minX: e,
@@ -2120,131 +2121,131 @@ var Be = {
2120
2121
  width: n,
2121
2122
  height: r
2122
2123
  };
2123
- }), Vt = c(() => Object.values(L.value).map((e) => e.value)), Ht = c(() => Math.min(...Vt.value)), Ut = c(() => Math.max(...Vt.value));
2124
- function Wt(e) {
2125
- return typeof e == "number" ? re(F.value.style.chart.territory.colors.min || "#FFFFFF00", F.value.style.chart.territory.colors.max || Bt.value[0] || a[0], Ht.value, Ut.value, e) : F.value.style.chart.territory.emptyColor;
2124
+ }), Ft = d(() => Object.values(L.value).map((e) => e.value)), It = d(() => Math.min(...Ft.value)), Lt = d(() => Math.max(...Ft.value));
2125
+ function Rt(e) {
2126
+ return typeof e == "number" ? ae(F.value.style.chart.territory.colors.min || "#FFFFFF00", F.value.style.chart.territory.colors.max || Pt.value[0] || a[0], It.value, Lt.value, e) : F.value.style.chart.territory.emptyColor;
2126
2127
  }
2127
- function Gt(e) {
2128
- return Nt(e, {
2128
+ function zt(e) {
2129
+ return Dt(e, {
2129
2130
  projection: B.value,
2130
2131
  width: V.value.width,
2131
2132
  height: V.value.height,
2132
2133
  center: J.value
2133
2134
  });
2134
2135
  }
2135
- let Kt = c(() => {
2136
+ let Bt = d(() => {
2136
2137
  let e = Object.values(L.value).filter((e) => !!e.category), t = {};
2137
2138
  return e.forEach((e) => {
2138
2139
  t[e.category] || (t[e.category] = e);
2139
2140
  }), Object.values(t).map((e, t) => ({
2140
2141
  name: e.category,
2141
- color: e.color ? o(e.color) : Bt.value[t] || a[t] || a[t % a.length]
2142
+ color: e.color ? l(e.color) : Pt.value[t] || a[t] || a[t % a.length]
2142
2143
  }));
2143
2144
  });
2144
- function qt(e) {
2145
- let t = Kt.value.find((t) => t.name === e);
2145
+ function Vt(e) {
2146
+ let t = Bt.value.find((t) => t.name === e);
2146
2147
  return t ? t.color : "#000000";
2147
2148
  }
2148
- let Jt = /* @__PURE__ */ new Map();
2149
- function Yt(e) {
2150
- return Jt.has(e) || Jt.set(e, `territory-${n()}`), Jt.get(e);
2149
+ let Ht = /* @__PURE__ */ new Map();
2150
+ function Ut(e) {
2151
+ return Ht.has(e) || Ht.set(e, `territory-${i()}`), Ht.get(e);
2151
2152
  }
2152
- let U = c(() => (J.value, P.features.map((e) => {
2153
+ let U = d(() => (J.value, P.features.map((e) => {
2153
2154
  let t = e.properties.iso_a3;
2154
2155
  (!t || t === "-99") && (t = e.properties.iso_a3_eh);
2155
2156
  let n = L.value[t];
2156
2157
  return {
2157
- path: Gt(e.geometry),
2158
+ path: zt(e.geometry),
2158
2159
  name: e.properties.name,
2159
2160
  geo: e,
2160
2161
  code: t,
2161
2162
  geometry: e.geometry,
2162
- color: n && n.color ? o(n.color) : n && n.category ? qt(n.category) : Wt(n ? n.value : null),
2163
+ color: n && n.color ? l(n.color) : n && n.category ? Vt(n.category) : Rt(n ? n.value : null),
2163
2164
  value: n ? n.value : null,
2164
2165
  category: n && n.category || null,
2165
2166
  isActive: !!n,
2166
- uid: Yt(t)
2167
+ uid: Ut(t)
2167
2168
  };
2168
- }))), W = b(!1);
2169
- function Xt(e) {
2170
- W.value = e, Dt.value += 1;
2169
+ }))), W = S(!1);
2170
+ function Wt(e) {
2171
+ W.value = e, xt.value += 1;
2171
2172
  }
2172
- let G = b(!1);
2173
- function Zt() {
2173
+ let G = S(!1);
2174
+ function Gt() {
2174
2175
  G.value = !G.value;
2175
2176
  }
2176
- function Qt() {
2177
+ function Kt() {
2177
2178
  z.value.showTable = !z.value.showTable;
2178
2179
  }
2179
- function $t() {
2180
+ function qt() {
2180
2181
  z.value.showTooltip = !z.value.showTooltip;
2181
2182
  }
2182
- let en = c(() => F.value.userOptions.show && !F.value.style.chart.title.text), { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = ue({
2183
+ let Jt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = se({
2183
2184
  elementId: `world_${k.value}`,
2184
2185
  fileName: F.value.style.chart.title.text || "vue-ui-world",
2185
2186
  options: F.value.userOptions.print
2186
- }), K = b(!1), on = b(null), q = b(null), sn = c(() => q.value ? Gt(q.value.geometry) : "");
2187
- function cn(e) {
2187
+ }), K = S(!1), $t = S(null), q = S(null), en = d(() => q.value ? zt(q.value.geometry) : "");
2188
+ function tn(e) {
2188
2189
  return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
2189
2190
  }
2190
- let ln = c(() => {
2191
+ let nn = d(() => {
2191
2192
  let e = q.value?.geometry;
2192
2193
  if (!e) return "";
2193
- let t = cn(e);
2194
+ let t = tn(e);
2194
2195
  if (!t.length) return "";
2195
- let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = At[B.value] || At.globe, a = V.value.width, ee = V.value.height, te = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), ne = te.flat(), re = ne.map(([e, t]) => e), o = ne.map(([e, t]) => t), ie = Math.min(...re), ae = Math.max(...re), oe = Math.min(...o), se = Math.max(...o), ce = ae - ie || 1, le = se - oe || 1, ue = Math.min(64 / ce, 64 / le);
2196
- function de([e, t]) {
2197
- return [(e - ie) * ue + 8, (t - oe) * ue + 8];
2196
+ let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], ee = wt[B.value] || wt.globe, i = V.value.width, a = V.value.height, te = t.map((e) => e.map(([e, t]) => ee([e, t], i, a, r))), o = te.flat(), s = o.map(([e, t]) => e), ne = o.map(([e, t]) => t), c = Math.min(...s), re = Math.max(...s), ie = Math.min(...ne), ae = Math.max(...ne), l = re - c || 1, oe = ae - ie || 1, se = Math.min(64 / l, 64 / oe);
2197
+ function ce([e, t]) {
2198
+ return [(e - c) * se + 8, (t - ie) * se + 8];
2198
2199
  }
2199
2200
  return `
2200
2201
  <svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
2201
2202
  <rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
2202
- <path d="${te.map((e) => "M" + e.map(de).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || F.value.style.chart.territory.emptyColor}" stroke="${F.value.style.chart.territory.stroke}" stroke-width="1"/>
2203
+ <path d="${te.map((e) => "M" + e.map(ce).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || F.value.style.chart.territory.emptyColor}" stroke="${F.value.style.chart.territory.stroke}" stroke-width="1"/>
2203
2204
  </svg>
2204
2205
  `;
2205
2206
  });
2206
- function un({ datapoint: e, seriesIndex: t }) {
2207
+ function rn({ datapoint: e, seriesIndex: t }) {
2207
2208
  A.value = !1, q.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
2208
2209
  datapoint: e,
2209
2210
  seriesIndex: t
2210
2211
  });
2211
2212
  }
2212
- function dn({ datapoint: e, seriesIndex: t }) {
2213
- _t("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
2213
+ function an({ datapoint: e, seriesIndex: t }) {
2214
+ ut("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
2214
2215
  datapoint: e,
2215
2216
  seriesIndex: t
2216
2217
  });
2217
2218
  }
2218
- function fn({ datapoint: e, seriesIndex: t }) {
2219
+ function on({ datapoint: e, seriesIndex: t }) {
2219
2220
  F.value.events.datapointEnter && F.value.events.datapointEnter({
2220
2221
  datapoint: e,
2221
2222
  seriesIndex: t
2222
- }), q.value = e, on.value = {
2223
+ }), q.value = e, $t.value = {
2223
2224
  datapoint: e,
2224
2225
  config: F.value,
2225
2226
  series: U.value
2226
2227
  }, A.value = !0;
2227
- let n = "", i = F.value.style.chart.tooltip.customFormat;
2228
- if (K.value = !1, ce(i)) try {
2229
- let t = i({
2228
+ let n = "", r = F.value.style.chart.tooltip.customFormat;
2229
+ if (K.value = !1, ne(r)) try {
2230
+ let t = r({
2230
2231
  datapoint: e,
2231
2232
  config: F.value,
2232
2233
  series: U.value
2233
2234
  });
2234
- typeof t == "string" && (Et.value = t, K.value = !0);
2235
+ typeof t == "string" && (bt.value = t, K.value = !0);
2235
2236
  } catch {
2236
2237
  console.warn("Custom format cannot be applied."), K.value = !1;
2237
2238
  }
2238
2239
  K.value || (n += `
2239
2240
  <div style="width:100%;">
2240
- ${F.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${ln.value}</div>` : ""}
2241
+ ${F.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${nn.value}</div>` : ""}
2241
2242
  <div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
2242
2243
  <svg viewBox="0 0 20 20" height="14" width="14">
2243
2244
  <circle cx="10" cy="10" r="10" fill="${e.color}"/>
2244
2245
  </svg>
2245
2246
  <span>${e.name}:</span>
2246
2247
  <b>
2247
- ${ae(F.value.style.chart.dataLabels.formatter, e.value, r({
2248
+ ${c(F.value.style.chart.dataLabels.formatter, e.value, o({
2248
2249
  p: F.value.style.chart.dataLabels.prefix,
2249
2250
  v: e.value,
2250
2251
  s: F.value.style.chart.dataLabels.suffix,
@@ -2253,71 +2254,71 @@ var Be = {
2253
2254
  </b>
2254
2255
  </div>
2255
2256
  </div>
2256
- `, Et.value = `<div>${n}</div>`);
2257
+ `, bt.value = `<div>${n}</div>`);
2257
2258
  }
2258
- let pn = b(!1), mn = b({
2259
+ let sn = S(!1), cn = S({
2259
2260
  x: 0,
2260
2261
  y: 0
2261
- }), J = b([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]), hn = [0, 0], Y = null, X = null;
2262
- function gn(e) {
2262
+ }), J = S([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]), ln = [0, 0], Y = null, X = null;
2263
+ function un(e) {
2263
2264
  return Math.max(-90, Math.min(90, e));
2264
2265
  }
2265
- function _n(e) {
2266
+ function dn(e) {
2266
2267
  return ((e + 180) % 360 + 360) % 360 - 180;
2267
2268
  }
2268
- function vn() {
2269
+ function fn() {
2269
2270
  Y &&= (J.value = Y, null);
2270
2271
  }
2271
- function yn(e) {
2272
+ function pn(e) {
2272
2273
  if (Y = e, typeof requestAnimationFrame > "u") {
2273
- vn();
2274
+ fn();
2274
2275
  return;
2275
2276
  }
2276
2277
  X === null && (X = requestAnimationFrame(() => {
2277
- X = null, vn();
2278
+ X = null, fn();
2278
2279
  }));
2279
2280
  }
2280
- w(() => [F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y], ([e, t]) => {
2281
+ je(() => [F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y], ([e, t]) => {
2281
2282
  J.value = [e, t], Y = null;
2282
2283
  });
2283
- function bn(e, t) {
2284
- pn.value = !0, mn.value = {
2284
+ function mn(e, t) {
2285
+ sn.value = !0, cn.value = {
2285
2286
  x: e,
2286
2287
  y: t
2287
- }, hn = Y || [J.value[0], J.value[1]];
2288
+ }, ln = Y || [J.value[0], J.value[1]];
2288
2289
  }
2289
- function xn(e, t) {
2290
- if (!pn.value || B.value !== "globe" || G.value) return;
2291
- let n = e - mn.value.x, r = t - mn.value.y;
2292
- yn([_n(hn[0] - n * ft), gn(hn[1] + r * ft)]);
2290
+ function hn(e, t) {
2291
+ if (!sn.value || B.value !== "globe" || G.value) return;
2292
+ let n = e - cn.value.x, r = t - cn.value.y;
2293
+ pn([dn(ln[0] - n * at), un(ln[1] + r * at)]);
2293
2294
  }
2294
- function Sn() {
2295
- pn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), vn();
2295
+ function gn() {
2296
+ sn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), fn();
2296
2297
  }
2297
- function Cn(e) {
2298
- bn(e.clientX, e.clientY);
2298
+ function _n(e) {
2299
+ mn(e.clientX, e.clientY);
2299
2300
  }
2300
- function wn(e) {
2301
- xn(e.clientX, e.clientY);
2301
+ function vn(e) {
2302
+ hn(e.clientX, e.clientY);
2302
2303
  }
2303
- function Tn() {
2304
- Sn();
2304
+ function yn() {
2305
+ gn();
2305
2306
  }
2306
- function En(e) {
2307
+ function bn(e) {
2307
2308
  let t = e.touches[0];
2308
- bn(t.clientX, t.clientY);
2309
+ mn(t.clientX, t.clientY);
2309
2310
  }
2310
- function Dn(e) {
2311
+ function xn(e) {
2311
2312
  let t = e.touches[0];
2312
- xn(t.clientX, t.clientY);
2313
+ hn(t.clientX, t.clientY);
2313
2314
  }
2314
- function On() {
2315
- Sn();
2315
+ function Sn() {
2316
+ gn();
2316
2317
  }
2317
- De(() => {
2318
+ Ee(() => {
2318
2319
  X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
2319
2320
  });
2320
- let kn = c(() => {
2321
+ let Cn = d(() => {
2321
2322
  let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2322
2323
  return {
2323
2324
  head: e.map((e) => ({
@@ -2327,17 +2328,17 @@ var Be = {
2327
2328
  })),
2328
2329
  body: e.map((e) => e.value || 0)
2329
2330
  };
2330
- }), An = c(() => {
2331
+ }), wn = d(() => {
2331
2332
  let e = [
2332
2333
  F.value.table.columnNames.series,
2333
2334
  F.value.table.columnNames.value,
2334
2335
  F.value.table.columnNames.category
2335
- ], t = kn.value.head.map((e, t) => [
2336
+ ], t = Cn.value.head.map((e, t) => [
2336
2337
  {
2337
2338
  color: e.color,
2338
2339
  name: e.name
2339
2340
  },
2340
- kn.value.body[t] || 0,
2341
+ Cn.value.body[t] || 0,
2341
2342
  { category: e.category }
2342
2343
  ]), n = {
2343
2344
  th: {
@@ -2359,9 +2360,9 @@ var Be = {
2359
2360
  config: n
2360
2361
  };
2361
2362
  });
2362
- function jn(e = null) {
2363
- Te(() => {
2364
- let t = kn.value.head.map((e, t) => [[e.name], [kn.value.body[t]]]), n = te([
2363
+ function Tn(e = null) {
2364
+ we(() => {
2365
+ let t = Cn.value.head.map((e, t) => [[e.name], [Cn.value.body[t]]]), n = r([
2365
2366
  [F.value.style.chart.title.text],
2366
2367
  [F.value.style.chart.title.subtitle.text],
2367
2368
  [[
@@ -2370,22 +2371,22 @@ var Be = {
2370
2371
  F.value.table.columnNames.category
2371
2372
  ]]
2372
2373
  ].concat(t));
2373
- e ? e(n) : ne({
2374
+ e ? e(n) : te({
2374
2375
  csvContent: n,
2375
2376
  title: F.value.style.chart.title.text || "vue-ui-world"
2376
2377
  });
2377
2378
  });
2378
2379
  }
2379
- let Z = b([]);
2380
- function Mn() {
2380
+ let Z = S([]);
2381
+ function En() {
2381
2382
  Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
2382
2383
  Z.value.push(e.name);
2383
2384
  });
2384
2385
  }
2385
- function Nn(e) {
2386
- Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), _t("selectLegend", { name: e });
2386
+ function Dn(e) {
2387
+ Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), ut("selectLegend", { name: e });
2387
2388
  }
2388
- let Q = c(() => vt ? Kt.value.map(({ name: e, color: t }, n) => ({
2389
+ let Q = d(() => ft ? Bt.value.map(({ name: e, color: t }, n) => ({
2389
2390
  name: e,
2390
2391
  color: t,
2391
2392
  shape: "circle",
@@ -2393,9 +2394,9 @@ var Be = {
2393
2394
  })).map((e) => ({
2394
2395
  ...e,
2395
2396
  opacity: Z.value.includes(e.name) ? .5 : 1,
2396
- segregate: () => Nn(e.name),
2397
+ segregate: () => Dn(e.name),
2397
2398
  isSegregated: Z.value.includes(e.name)
2398
- })) : []), Pn = c(() => ({
2399
+ })) : []), On = d(() => ({
2399
2400
  cy: "donut-div-legend",
2400
2401
  backgroundColor: F.value.style.chart.legend.backgroundColor,
2401
2402
  color: F.value.style.chart.legend.color,
@@ -2403,30 +2404,30 @@ var Be = {
2403
2404
  paddingBottom: 12,
2404
2405
  fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
2405
2406
  }));
2406
- function Fn() {
2407
+ function kn() {
2407
2408
  return U.value;
2408
2409
  }
2409
- async function In({ scale: e = 2 } = {}) {
2410
+ async function An({ scale: e = 2 } = {}) {
2410
2411
  if (!O.value) return;
2411
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
2412
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await fe({
2412
2413
  domElement: O.value,
2413
2414
  base64: !0,
2414
2415
  img: !0,
2415
2416
  scale: e
2416
2417
  });
2417
2418
  return {
2418
- imageUri: i,
2419
- base64: a,
2419
+ imageUri: ee,
2420
+ base64: i,
2420
2421
  title: F.value.style.chart.title.text,
2421
2422
  width: t,
2422
2423
  height: n,
2423
2424
  aspectRatio: r
2424
2425
  };
2425
2426
  }
2426
- let $ = c(() => {
2427
+ let $ = d(() => {
2427
2428
  let e = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
2428
2429
  return {
2429
- component: e ? ht : Re,
2430
+ component: e ? ct : Re,
2430
2431
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
2431
2432
  props: e ? {
2432
2433
  backgroundColor: F.value.table.th.backgroundColor,
@@ -2454,36 +2455,36 @@ var Be = {
2454
2455
  }
2455
2456
  };
2456
2457
  });
2457
- w(() => z.value.showTable, (e) => {
2458
+ je(() => z.value.showTable, (e) => {
2458
2459
  F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
2459
2460
  });
2460
- function Ln() {
2461
- z.value.showTable = !1, kt.value && kt.value.setTableIconState(!1);
2461
+ function jn() {
2462
+ z.value.showTable = !1, Ct.value && Ct.value.setTableIconState(!1);
2462
2463
  }
2463
- let Rn = c(() => F.value.style.chart.backgroundColor), zn = c(() => F.value.style.chart.legend), { exportSvg: Bn, getSvg: Vn } = pe({
2464
+ let Mn = d(() => F.value.style.chart.backgroundColor), Nn = d(() => F.value.style.chart.legend), { exportSvg: Pn, getSvg: Fn } = ue({
2464
2465
  svg: R,
2465
- title: c(() => F.value.style.chart.title),
2466
- legend: zn,
2466
+ title: d(() => F.value.style.chart.title),
2467
+ legend: Nn,
2467
2468
  legendItems: Q,
2468
- backgroundColor: Rn
2469
+ backgroundColor: Mn
2469
2470
  });
2470
- async function Hn({ isCb: e }) {
2471
- N.value = !0, await Te();
2471
+ async function In({ isCb: e }) {
2472
+ N.value = !0, await we();
2472
2473
  try {
2473
2474
  if (e) {
2474
- let { blob: e, url: t, text: n, dataUrl: r } = await Vn();
2475
+ let { blob: e, url: t, text: n, dataUrl: r } = await Fn();
2475
2476
  await Promise.resolve(F.value.userOptions.callbacks.svg({
2476
2477
  blob: e,
2477
2478
  url: t,
2478
2479
  text: n,
2479
2480
  dataUrl: r
2480
2481
  }));
2481
- } else await Promise.resolve(Bn());
2482
+ } else await Promise.resolve(Pn());
2482
2483
  } finally {
2483
2484
  N.value = !1;
2484
2485
  }
2485
2486
  }
2486
- function Un(e) {
2487
+ function Ln(e) {
2487
2488
  if (e?.stage === "start") {
2488
2489
  M.value = !0;
2489
2490
  return;
@@ -2492,10 +2493,10 @@ var Be = {
2492
2493
  M.value = !1;
2493
2494
  return;
2494
2495
  }
2495
- an();
2496
+ Qt();
2496
2497
  }
2497
- async function Wn() {
2498
- if (_t("copyAlt", {
2498
+ async function Rn() {
2499
+ if (ut("copyAlt", {
2499
2500
  config: F.value,
2500
2501
  dataset: U.value
2501
2502
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -2507,42 +2508,42 @@ var Be = {
2507
2508
  dataset: U.value
2508
2509
  }));
2509
2510
  }
2510
- return _e({
2511
- getData: Fn,
2512
- getImage: In,
2513
- generatePdf: rn,
2514
- generateCsv: jn,
2515
- generateImage: an,
2516
- generateSvg: Hn,
2517
- toggleTable: Qt,
2518
- toggleTooltip: $t,
2519
- toggleAnnotator: Zt,
2520
- toggleFullscreen: Xt,
2521
- copyAlt: Wn
2522
- }), (e, n) => (y(), d("div", {
2511
+ return me({
2512
+ getData: kn,
2513
+ getImage: An,
2514
+ generatePdf: Zt,
2515
+ generateCsv: Tn,
2516
+ generateImage: Qt,
2517
+ generateSvg: In,
2518
+ toggleTable: Kt,
2519
+ toggleTooltip: qt,
2520
+ toggleAnnotator: Gt,
2521
+ toggleFullscreen: Wt,
2522
+ copyAlt: Rn
2523
+ }), (e, t) => (x(), m("div", {
2523
2524
  ref_key: "worldChart",
2524
2525
  ref: O,
2525
2526
  id: `world_${k.value}`,
2526
- class: Ee(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2527
- style: v(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
2528
- onMouseenter: n[2] ||= () => C(Rt)(!0),
2529
- onMouseleave: n[3] ||= () => C(Rt)(!1)
2527
+ class: Te(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2528
+ style: b(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
2529
+ onMouseenter: t[2] ||= () => T(Mt)(!0),
2530
+ onMouseleave: t[3] ||= () => T(Mt)(!1)
2530
2531
  }, [
2531
- F.value.userOptions.buttons.annotator && C(R) ? (y(), l(C(Ve), {
2532
+ F.value.userOptions.buttons.annotator && T(R) ? (x(), f(T(Ve), {
2532
2533
  key: 0,
2533
2534
  color: F.value.style.chart.color,
2534
2535
  backgroundColor: F.value.style.chart.backgroundColor,
2535
2536
  active: G.value,
2536
- svgRef: C(R),
2537
+ svgRef: T(R),
2537
2538
  isCursorPointer: I.value,
2538
- onClose: Zt
2539
+ onClose: Gt
2539
2540
  }, {
2540
- "annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2541
- "annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
2542
- "annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(g({ mode: t })), void 0, !0)]),
2543
- "annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(g({ disabled: t })), void 0, !0)]),
2544
- "annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(g({ disabled: t })), void 0, !0)]),
2545
- "annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(g({ disabled: t })), void 0, !0)]),
2541
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2542
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
2543
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
2544
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
2545
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
2546
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
2546
2547
  _: 3
2547
2548
  }, 8, [
2548
2549
  "color",
@@ -2550,22 +2551,22 @@ var Be = {
2550
2551
  "active",
2551
2552
  "svgRef",
2552
2553
  "isCursorPointer"
2553
- ])) : u("", !0),
2554
- x(e.$slots, "userConfig", {}, void 0, !0),
2555
- en.value ? (y(), d("div", {
2554
+ ])) : p("", !0),
2555
+ C(e.$slots, "userConfig", {}, void 0, !0),
2556
+ Jt.value ? (x(), m("div", {
2556
2557
  key: 1,
2557
2558
  ref_key: "noTitle",
2558
- ref: St,
2559
+ ref: gt,
2559
2560
  class: "vue-data-ui-no-title-space",
2560
2561
  style: "height:36px; width: 100%;background:transparent"
2561
- }, null, 512)) : u("", !0),
2562
- F.value.style.chart.title.text ? (y(), d("div", {
2562
+ }, null, 512)) : p("", !0),
2563
+ F.value.style.chart.title.text ? (x(), m("div", {
2563
2564
  key: 2,
2564
2565
  ref_key: "chartTitle",
2565
- ref: yt,
2566
+ ref: pt,
2566
2567
  style: "width:100%;background:transparent"
2567
- }, [(y(), l(C(Pe), {
2568
- key: `title_${Ct.value}`,
2568
+ }, [(x(), f(T(Pe), {
2569
+ key: `title_${_t.value}`,
2569
2570
  config: {
2570
2571
  title: {
2571
2572
  cy: "donut-div-title",
@@ -2576,16 +2577,16 @@ var Be = {
2576
2577
  ...F.value.style.chart.title.subtitle
2577
2578
  }
2578
2579
  }
2579
- }, null, 8, ["config"]))], 512)) : u("", !0),
2580
- f("div", { id: `legend-top-${k.value}` }, null, 8, Ue),
2581
- F.value.userOptions.show && D.value && (C(zt) || C(Lt)) ? (y(), l(C(pt), {
2580
+ }, null, 8, ["config"]))], 512)) : p("", !0),
2581
+ h("div", { id: `legend-top-${k.value}` }, null, 8, Ue),
2582
+ F.value.userOptions.show && dt.value && (T(Nt) || T(jt)) ? (x(), f(T(ot), {
2582
2583
  ref_key: "userOptionsRef",
2583
- ref: kt,
2584
- key: `user_option_${Dt.value}`,
2584
+ ref: Ct,
2585
+ key: `user_option_${xt.value}`,
2585
2586
  backgroundColor: F.value.style.chart.backgroundColor,
2586
2587
  color: F.value.style.chart.color,
2587
- isPrinting: C(tn),
2588
- isImaging: C(nn),
2588
+ isPrinting: T(Yt),
2589
+ isImaging: T(Xt),
2589
2590
  uid: k.value,
2590
2591
  callbacks: F.value.userOptions.callbacks,
2591
2592
  hasTooltip: F.value.style.chart.tooltip.show && F.value.userOptions.buttons.tooltip,
@@ -2607,20 +2608,20 @@ var Be = {
2607
2608
  isAnnotation: G.value,
2608
2609
  tableDialog: F.value.table.useDialog,
2609
2610
  isCursorPointer: I.value,
2610
- onToggleFullscreen: Xt,
2611
- onGeneratePdf: C(rn),
2612
- onGenerateCsv: jn,
2613
- onGenerateImage: Un,
2614
- onGenerateSvg: Hn,
2615
- onToggleTable: Qt,
2616
- onToggleTooltip: $t,
2617
- onToggleAnnotator: Zt,
2618
- onCopyAlt: Wn,
2619
- style: v({ visibility: C(zt) ? C(Lt) ? "visible" : "hidden" : "visible" })
2620
- }, Ce({ _: 2 }, [
2611
+ onToggleFullscreen: Wt,
2612
+ onGeneratePdf: T(Zt),
2613
+ onGenerateCsv: Tn,
2614
+ onGenerateImage: Ln,
2615
+ onGenerateSvg: In,
2616
+ onToggleTable: Kt,
2617
+ onToggleTooltip: qt,
2618
+ onToggleAnnotator: Gt,
2619
+ onCopyAlt: Rn,
2620
+ style: b({ visibility: T(Nt) ? T(jt) ? "visible" : "hidden" : "visible" })
2621
+ }, xe({ _: 2 }, [
2621
2622
  e.$slots.menuIcon ? {
2622
2623
  name: "menuIcon",
2623
- fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(g({
2624
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
2624
2625
  isOpen: t,
2625
2626
  color: n
2626
2627
  })), void 0, !0)]),
@@ -2628,37 +2629,37 @@ var Be = {
2628
2629
  } : void 0,
2629
2630
  e.$slots.optionTooltip ? {
2630
2631
  name: "optionTooltip",
2631
- fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
2632
+ fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
2632
2633
  key: "1"
2633
2634
  } : void 0,
2634
2635
  e.$slots.optionPdf ? {
2635
2636
  name: "optionPdf",
2636
- fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
2637
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
2637
2638
  key: "2"
2638
2639
  } : void 0,
2639
2640
  e.$slots.optionCsv ? {
2640
2641
  name: "optionCsv",
2641
- fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
2642
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
2642
2643
  key: "3"
2643
2644
  } : void 0,
2644
2645
  e.$slots.optionImg ? {
2645
2646
  name: "optionImg",
2646
- fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
2647
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
2647
2648
  key: "4"
2648
2649
  } : void 0,
2649
2650
  e.$slots.optionSvg ? {
2650
2651
  name: "optionSvg",
2651
- fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
2652
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
2652
2653
  key: "5"
2653
2654
  } : void 0,
2654
2655
  e.$slots.optionTable ? {
2655
2656
  name: "optionTable",
2656
- fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
2657
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
2657
2658
  key: "6"
2658
2659
  } : void 0,
2659
2660
  e.$slots.optionFullscreen ? {
2660
2661
  name: "optionFullscreen",
2661
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(g({
2662
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(v({
2662
2663
  toggleFullscreen: t,
2663
2664
  isFullscreen: n
2664
2665
  })), void 0, !0)]),
@@ -2666,7 +2667,7 @@ var Be = {
2666
2667
  } : void 0,
2667
2668
  e.$slots.optionAnnotator ? {
2668
2669
  name: "optionAnnotator",
2669
- fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(g({
2670
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(v({
2670
2671
  toggleAnnotator: t,
2671
2672
  isAnnotator: n
2672
2673
  })), void 0, !0)]),
@@ -2674,30 +2675,30 @@ var Be = {
2674
2675
  } : void 0,
2675
2676
  e.$slots.optionAltCopy ? {
2676
2677
  name: "optionAltCopy",
2677
- fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(g({ altCopy: t })), void 0, !0)]),
2678
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
2678
2679
  key: "9"
2679
2680
  } : void 0,
2680
2681
  e.$slots["custom-menu-before"] ? {
2681
2682
  name: "custom-menu-before",
2682
- fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2683
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2683
2684
  key: "10"
2684
2685
  } : void 0,
2685
2686
  e.$slots["custom-menu-after"] ? {
2686
2687
  name: "custom-menu-after",
2687
- fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2688
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2688
2689
  key: "11"
2689
2690
  } : void 0
2690
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : u("", !0),
2691
- (y(), d("svg", {
2691
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
2692
+ (x(), m("svg", {
2692
2693
  ref_key: "svgRef",
2693
2694
  ref: R,
2694
2695
  viewBox: H.value.str,
2695
- xmlns: C(se),
2696
- class: Ee({
2696
+ xmlns: T(ie),
2697
+ class: Te({
2697
2698
  "vue-data-ui-fullscreen--on": W.value,
2698
2699
  "vue-data-ui-fullscreen--off": !W.value
2699
2700
  }),
2700
- style: v({
2701
+ style: b({
2701
2702
  maxWidth: "100%",
2702
2703
  overflow: B.value === "globe" ? "visible" : "hidden",
2703
2704
  background: "transparent",
@@ -2707,117 +2708,127 @@ var Be = {
2707
2708
  paddingBottom: F.value.style.chart.padding.bottom + "px",
2708
2709
  paddingLeft: F.value.style.chart.padding.left + "px"
2709
2710
  }),
2710
- onMousedown: Cn,
2711
- onMousemove: wn,
2712
- onMouseup: Tn,
2713
- onMouseleave: Tn,
2714
- onTouchstart: En,
2715
- onTouchmove: Me(Dn, ["prevent"]),
2716
- onTouchend: On
2711
+ onMousedown: _n,
2712
+ onMousemove: vn,
2713
+ onMouseup: yn,
2714
+ onMouseleave: yn,
2715
+ onTouchstart: bn,
2716
+ onTouchmove: Me(xn, ["prevent"]),
2717
+ onTouchend: Sn
2717
2718
  }, [
2718
- m(C(mt)),
2719
- e.$slots["chart-background"] ? (y(), d("foreignObject", {
2719
+ g(T(st)),
2720
+ e.$slots["chart-background"] ? (x(), m("foreignObject", {
2720
2721
  key: 0,
2721
2722
  x: H.value.minX,
2722
2723
  y: H.value.minY,
2723
2724
  width: H.value.width,
2724
2725
  height: H.value.height,
2725
2726
  style: { pointerEvents: "none" }
2726
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : u("", !0),
2727
- D.value ? (y(), d("g", Ke, [
2728
- B.value === "globe" ? (y(), d(s, { key: 0 }, [
2729
- f("defs", null, [
2730
- f("radialGradient", {
2727
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
2728
+ dt.value ? (x(), m("g", Ke, [
2729
+ B.value === "globe" ? (x(), m(u, { key: 0 }, [
2730
+ h("defs", null, [
2731
+ g(he, {
2732
+ t: "radial",
2731
2733
  id: `water-${k.value}`,
2732
2734
  cx: .48,
2733
2735
  cy: .52,
2734
2736
  r: "0.55",
2735
2737
  fx: "0.40",
2736
- fy: "0.48"
2737
- }, [
2738
- f("stop", {
2739
- offset: "0%",
2740
- "stop-color": C(t)(F.value.style.chart.globe.waterColor, .4)
2741
- }, null, 8, Je),
2742
- f("stop", {
2743
- offset: "45%",
2744
- "stop-color": F.value.style.chart.globe.waterColor
2745
- }, null, 8, Ye),
2746
- f("stop", {
2747
- offset: "80%",
2748
- "stop-color": C(oe)(F.value.style.chart.globe.waterColor, .2)
2749
- }, null, 8, Xe),
2750
- f("stop", {
2751
- offset: "100%",
2752
- "stop-color": C(oe)(F.value.style.chart.globe.waterColor, .5),
2753
- "stop-opacity": "0.95"
2754
- }, null, 8, Ze)
2755
- ], 8, qe),
2756
- f("radialGradient", {
2738
+ fy: "0.48",
2739
+ stops: [
2740
+ [
2741
+ "0%",
2742
+ T(n)(F.value.style.chart.globe.waterColor, .4),
2743
+ 1
2744
+ ],
2745
+ [
2746
+ "45%",
2747
+ F.value.style.chart.globe.waterColor,
2748
+ 1
2749
+ ],
2750
+ [
2751
+ "80%",
2752
+ T(ee)(F.value.style.chart.globe.waterColor, .2),
2753
+ 1
2754
+ ],
2755
+ [
2756
+ "100%",
2757
+ T(ee)(F.value.style.chart.globe.waterColor, .5),
2758
+ .95
2759
+ ]
2760
+ ]
2761
+ }, null, 8, ["id", "stops"]),
2762
+ g(he, {
2763
+ t: "radial",
2757
2764
  id: `atmo-realistic-${k.value}`,
2758
2765
  cx: .5,
2759
2766
  cy: .5,
2760
- r: "0.54"
2761
- }, [
2762
- n[4] ||= f("stop", {
2763
- offset: "87%",
2764
- "stop-color": "rgba(120,200,255,0)"
2765
- }, null, -1),
2766
- f("stop", {
2767
- offset: "98%",
2768
- "stop-color": F.value.style.chart.globe.waterColor
2769
- }, null, 8, $e),
2770
- n[5] ||= f("stop", {
2771
- offset: "100%",
2772
- "stop-color": "rgba(120,200,255,0)"
2773
- }, null, -1)
2774
- ], 8, Qe),
2775
- f("filter", {
2767
+ r: "0.54",
2768
+ stops: [
2769
+ [
2770
+ "87%",
2771
+ "rgba(120,200,255,0)",
2772
+ 1
2773
+ ],
2774
+ [
2775
+ "98%",
2776
+ F.value.style.chart.globe.waterColor,
2777
+ 1
2778
+ ],
2779
+ [
2780
+ "100%",
2781
+ "rgba(120,200,255,0)",
2782
+ 1
2783
+ ]
2784
+ ]
2785
+ }, null, 8, ["id", "stops"]),
2786
+ h("filter", {
2776
2787
  id: `blur-${k.value}`,
2777
2788
  x: "-30%",
2778
2789
  y: "-30%",
2779
2790
  width: "160%",
2780
2791
  height: "160%"
2781
- }, [...n[6] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, et)
2792
+ }, [...t[4] ||= [h("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, qe)
2782
2793
  ]),
2783
- e.$slots.pattern ? (y(), d("g", tt, [(y(!0), d(s, null, ke(U.value, (t, n) => (y(), d("defs", null, [x(e.$slots, "pattern", we({ ref_for: !0 }, {
2794
+ e.$slots.pattern ? (x(), m("g", Je, [(x(!0), m(u, null, Oe(U.value, (t, n) => (x(), m("defs", null, [C(e.$slots, "pattern", Ce({ ref_for: !0 }, {
2784
2795
  ...t,
2785
2796
  patternId: `pattern_${k.value}_${t.code}`
2786
- }), void 0, !0)]))), 256))])) : u("", !0),
2787
- f("circle", {
2797
+ }), void 0, !0)]))), 256))])) : p("", !0),
2798
+ h("circle", {
2788
2799
  cx: H.value.width / 2 + 20,
2789
2800
  cy: H.value.height / 2 + 20,
2790
2801
  r: H.value.height / 2,
2791
2802
  fill: `url(#water-${k.value})`
2792
- }, null, 8, nt),
2793
- f("circle", {
2803
+ }, null, 8, Ye),
2804
+ h("circle", {
2794
2805
  cx: H.value.width / 2 + 20,
2795
2806
  cy: H.value.height / 2 + 20,
2796
2807
  r: H.value.height / 2 + 10,
2797
2808
  fill: `url(#atmo-realistic-${k.value})`,
2798
2809
  "pointer-events": "none",
2799
2810
  filter: `url(#blur-${k.value})`
2800
- }, null, 8, rt)
2801
- ], 64)) : u("", !0),
2802
- (y(!0), d(s, null, ke(U.value, (t, n) => (y(), d(s, { key: t.code }, [f("path", {
2811
+ }, null, 8, Xe)
2812
+ ], 64)) : p("", !0),
2813
+ (x(!0), m(u, null, Oe(U.value, (t, n) => (x(), m(u, { key: t.code }, [h("path", {
2803
2814
  d: t.path,
2804
2815
  fill: t.category && Z.value.includes(t.category) ? F.value.style.chart.territory.emptyColor : t.color,
2805
2816
  stroke: F.value.style.chart.territory.stroke,
2806
2817
  "stroke-width": q.value && q.value.uid === t.uid ? F.value.style.chart.territory.strokeWidthSelected : F.value.style.chart.territory.strokeWidth,
2807
- onMouseenter: (e) => fn({
2818
+ onMouseenter: (e) => on({
2808
2819
  datapoint: t,
2809
2820
  seriesIndex: n
2810
2821
  }),
2811
- onMouseleave: (e) => un({
2822
+ onMouseleave: (e) => rn({
2812
2823
  datapoint: t,
2813
2824
  seriesIndex: n
2814
2825
  }),
2815
- onClick: (e) => dn({
2826
+ onClick: (e) => an({
2816
2827
  datapoint: t,
2817
2828
  seriesIndex: n
2818
2829
  }),
2819
2830
  class: "vue-ui-world-territory"
2820
- }, [!A.value || !z.value.showTooltip ? (y(), d("title", at, [p(S(t.name) + " ", 1), typeof t.value == "number" ? (y(), d(s, { key: 0 }, [p(" : " + S(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, it), e.$slots.pattern ? (y(), d("path", {
2831
+ }, [!A.value || !z.value.showTooltip ? (x(), m("title", Qe, [Se(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), m(u, { key: 0 }, [Se(" : " + w(t.value), 1)], 64)) : p("", !0)])) : p("", !0)], 40, Ze), e.$slots.pattern ? (x(), m("path", {
2821
2832
  key: 0,
2822
2833
  d: t.path,
2823
2834
  fill: `url(#pattern_${k.value}_${t.code})`,
@@ -2825,63 +2836,63 @@ var Be = {
2825
2836
  "stroke-width": F.value.style.chart.territory.strokeWidthSelected,
2826
2837
  style: { "pointer-events": "none" },
2827
2838
  class: "vue-ui-world-territory"
2828
- }, null, 8, ot)) : u("", !0)], 64))), 128)),
2829
- q.value ? (y(), d("path", {
2839
+ }, null, 8, $e)) : p("", !0)], 64))), 128)),
2840
+ q.value ? (x(), m("path", {
2830
2841
  key: 1,
2831
- d: sn.value,
2842
+ d: en.value,
2832
2843
  fill: "transparent",
2833
2844
  stroke: F.value.style.chart.territory.stroke,
2834
2845
  "stroke-width": F.value.style.chart.territory.strokeWidthSelected,
2835
2846
  style: { "pointer-events": "none" },
2836
2847
  class: "vue-ui-world-territory"
2837
- }, null, 8, st)) : u("", !0)
2838
- ])) : u("", !0),
2839
- x(e.$slots, "svg", { svg: {
2848
+ }, null, 8, et)) : p("", !0)
2849
+ ])) : p("", !0),
2850
+ C(e.$slots, "svg", { svg: {
2840
2851
  height: V.value.height,
2841
2852
  width: V.value.width,
2842
- isPrintingImg: C(tn) || C(nn) || M.value,
2853
+ isPrintingImg: T(Yt) || T(Xt) || M.value,
2843
2854
  isPrintingSvg: N.value
2844
2855
  } }, void 0, !0)
2845
2856
  ], 46, We)),
2846
- e.$slots.watermark ? (y(), d("div", ct, [x(e.$slots, "watermark", _(g({ isPrinting: C(tn) || C(nn) || M.value || N.value })), void 0, !0)])) : u("", !0),
2847
- f("div", { id: `legend-bottom-${k.value}` }, null, 8, lt),
2848
- Ot.value && vt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (y(), l(Se, {
2857
+ e.$slots.watermark ? (x(), m("div", tt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Yt) || T(Xt) || M.value || N.value })), void 0, !0)])) : p("", !0),
2858
+ h("div", { id: `legend-bottom-${k.value}` }, null, 8, nt),
2859
+ St.value && ft.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(be, {
2849
2860
  key: 5,
2850
2861
  to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
2851
- }, [vt.value ? (y(), d("div", {
2862
+ }, [ft.value ? (x(), m("div", {
2852
2863
  key: 0,
2853
2864
  ref_key: "chartLegend",
2854
- ref: bt
2855
- }, [x(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (y(), l(C(Fe), {
2856
- key: `legend_${wt.value}`,
2865
+ ref: mt
2866
+ }, [C(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (x(), f(T(Fe), {
2867
+ key: `legend_${vt.value}`,
2857
2868
  legendSet: Q.value,
2858
- config: Pn.value,
2869
+ config: On.value,
2859
2870
  isCursorPointer: I.value,
2860
- onClickMarker: n[0] ||= (e) => Nn(e)
2861
- }, Ce({
2862
- item: T(({ legend: e, index: t }) => [f("div", {
2863
- style: v(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2871
+ onClickMarker: t[0] ||= (e) => Dn(e)
2872
+ }, xe({
2873
+ item: E(({ legend: e, index: t }) => [h("div", {
2874
+ style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2864
2875
  onClick: (t) => e.segregate()
2865
- }, S(e.name), 13, ut)]),
2866
- legendToggle: T(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !C(It) ? (y(), l(ve, {
2876
+ }, w(e.name), 13, rt)]),
2877
+ legendToggle: E(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(At) ? (x(), f(ge, {
2867
2878
  key: 0,
2868
2879
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
2869
2880
  color: F.value.style.chart.legend.selectAllToggle.color,
2870
2881
  fontSize: F.value.style.chart.legend.fontSize,
2871
2882
  checked: Z.value.length > 0,
2872
2883
  isCursorPointer: I.value,
2873
- onToggle: Mn
2884
+ onToggle: En
2874
2885
  }, null, 8, [
2875
2886
  "backgroundColor",
2876
2887
  "color",
2877
2888
  "fontSize",
2878
2889
  "checked",
2879
2890
  "isCursorPointer"
2880
- ])) : u("", !0)]),
2891
+ ])) : p("", !0)]),
2881
2892
  _: 2
2882
2893
  }, [e.$slots.pattern ? {
2883
2894
  name: "legend-pattern",
2884
- fn: T(({ legend: e, index: t }) => [m(ge, {
2895
+ fn: E(({ legend: e, index: t }) => [g(pe, {
2885
2896
  shape: e.shape,
2886
2897
  radius: 30,
2887
2898
  stroke: "none",
@@ -2896,14 +2907,14 @@ var Be = {
2896
2907
  "legendSet",
2897
2908
  "config",
2898
2909
  "isCursorPointer"
2899
- ])) : u("", !0)], !0)], 512)) : u("", !0)], 8, ["to"])) : u("", !0),
2900
- e.$slots.source ? (y(), d("div", {
2910
+ ])) : p("", !0)], !0)], 512)) : p("", !0)], 8, ["to"])) : p("", !0),
2911
+ e.$slots.source ? (x(), m("div", {
2901
2912
  key: 6,
2902
2913
  ref_key: "source",
2903
- ref: xt,
2914
+ ref: ht,
2904
2915
  dir: "auto"
2905
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
2906
- m(C(Ie), {
2916
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
2917
+ g(T(Ie), {
2907
2918
  teleportTo: F.value.style.chart.tooltip.teleportTo,
2908
2919
  show: z.value.showTooltip && A.value,
2909
2920
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
@@ -2917,7 +2928,7 @@ var Be = {
2917
2928
  offsetX: F.value.style.chart.tooltip.offsetX,
2918
2929
  offsetY: F.value.style.chart.tooltip.offsetY,
2919
2930
  parent: O.value,
2920
- content: Et.value,
2931
+ content: bt.value,
2921
2932
  isCustom: K.value,
2922
2933
  isFullscreen: W.value,
2923
2934
  smooth: F.value.style.chart.tooltip.smooth,
@@ -2925,9 +2936,9 @@ var Be = {
2925
2936
  smoothForce: F.value.style.chart.tooltip.smoothForce,
2926
2937
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold
2927
2938
  }, {
2928
- "tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(g({ ...on.value })), void 0, !0)]),
2929
- tooltip: T(() => [x(e.$slots, "tooltip", _(g({ ...on.value })), void 0, !0)]),
2930
- "tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(g({ ...on.value })), void 0, !0)]),
2939
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(v({ ...$t.value })), void 0, !0)]),
2940
+ tooltip: E(() => [C(e.$slots, "tooltip", y(v({ ...$t.value })), void 0, !0)]),
2941
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(v({ ...$t.value })), void 0, !0)]),
2931
2942
  _: 3
2932
2943
  }, 8, [
2933
2944
  "teleportTo",
@@ -2951,30 +2962,30 @@ var Be = {
2951
2962
  "smoothForce",
2952
2963
  "smoothSnapThreshold"
2953
2964
  ]),
2954
- D.value && F.value.userOptions.buttons.table ? (y(), l(Ae($.value.component), we({ key: 7 }, $.value.props, {
2965
+ dt.value && F.value.userOptions.buttons.table ? (x(), f(ke($.value.component), Ce({ key: 7 }, $.value.props, {
2955
2966
  ref_key: "tableUnit",
2956
2967
  ref: j,
2957
- onClose: Ln
2958
- }), Ce({
2959
- content: T(() => [(y(), l(C(ze), {
2960
- key: `table_${Tt.value}`,
2961
- colNames: An.value.colNames,
2962
- head: An.value.head,
2963
- body: An.value.body,
2964
- config: An.value.config,
2968
+ onClose: jn
2969
+ }), xe({
2970
+ content: E(() => [(x(), f(T(ze), {
2971
+ key: `table_${yt.value}`,
2972
+ colNames: wn.value.colNames,
2973
+ head: wn.value.head,
2974
+ body: wn.value.body,
2975
+ config: wn.value.config,
2965
2976
  title: F.value.table.useDialog ? "" : $.value.title,
2966
2977
  withCloseButton: !F.value.table.useDialog,
2967
2978
  isCursorPointer: I.value,
2968
- onClose: Ln
2979
+ onClose: jn
2969
2980
  }, {
2970
- th: T(({ th: e }) => [f("div", {
2981
+ th: E(({ th: e }) => [h("div", {
2971
2982
  innerHTML: e,
2972
2983
  style: {
2973
2984
  display: "flex",
2974
2985
  "align-items": "center"
2975
2986
  }
2976
- }, null, 8, dt)]),
2977
- td: T(({ td: e }) => [p(S(e.name ? e.name : e.category ? e.category : C(ae)(F.value.style.chart.dataLabels.formatter, e, C(r)({
2987
+ }, null, 8, it)]),
2988
+ td: E(({ td: e }) => [Se(w(e.name ? e.name : e.category ? e.category : T(c)(F.value.style.chart.dataLabels.formatter, e, T(o)({
2978
2989
  p: F.value.style.chart.dataLabels.prefix,
2979
2990
  v: e,
2980
2991
  s: F.value.style.chart.dataLabels.suffix,
@@ -2993,24 +3004,24 @@ var Be = {
2993
3004
  _: 2
2994
3005
  }, [F.value.table.useDialog ? {
2995
3006
  name: "title",
2996
- fn: T(() => [p(S($.value.title), 1)]),
3007
+ fn: E(() => [Se(w($.value.title), 1)]),
2997
3008
  key: "0"
2998
3009
  } : void 0, F.value.table.useDialog ? {
2999
3010
  name: "actions",
3000
- fn: T(() => [f("button", {
3011
+ fn: E(() => [h("button", {
3001
3012
  tabindex: "0",
3002
3013
  class: "vue-ui-user-options-button",
3003
- onClick: n[1] ||= (e) => jn(F.value.userOptions.callbacks.csv),
3004
- style: v({ cursor: I.value ? "pointer" : "default" })
3005
- }, [m(C(Le), {
3014
+ onClick: t[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
3015
+ style: b({ cursor: I.value ? "pointer" : "default" })
3016
+ }, [g(T(Le), {
3006
3017
  name: "fileCsv",
3007
3018
  stroke: $.value.props.color
3008
3019
  }, null, 8, ["stroke"])], 4)]),
3009
3020
  key: "1"
3010
- } : void 0]), 1040)) : u("", !0),
3011
- x(e.$slots, "skeleton", {}, () => [C(It) ? (y(), l(fe, { key: 0 })) : u("", !0)], !0)
3021
+ } : void 0]), 1040)) : p("", !0),
3022
+ C(e.$slots, "skeleton", {}, () => [T(At) ? (x(), f(le, { key: 0 })) : p("", !0)], !0)
3012
3023
  ], 46, He));
3013
3024
  }
3014
- }, [["__scopeId", "data-v-b9730cc4"]]);
3025
+ }, [["__scopeId", "data-v-bd5b965c"]]);
3015
3026
  //#endregion
3016
- export { Ve as n, pt as t };
3027
+ export { Ve as n, ot as t };