vue-data-ui 3.25.5 → 3.25.7

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-UfoQuPMf.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-B-3S5q00.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-CAXK7ycr.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-DlWT702n.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-DbOk2kpM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-C7_mGIRk.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CDy_dkYz.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DP24leiD.js} +380 -380
  101. package/dist/vue-ui-candlestick-kJLmYaR7.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-BQzAQDw6.js} +2 -2
  103. package/dist/vue-ui-chestnut-DnnRp3Kl.js +2016 -0
  104. package/dist/vue-ui-chord-DO15ZDCS.js +1347 -0
  105. package/dist/vue-ui-circle-pack-DYTllMPV.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CtViSjNp.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-NXtGYzqg.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-D3_4QohV.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-CB09pLQx.js} +2 -2
  110. package/dist/vue-ui-donut-evolution-DhrtxvAd.js +1552 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-eysaEyTy.js} +2 -2
  112. package/dist/vue-ui-donut-yTE6D8yV.js +2415 -0
  113. package/dist/vue-ui-dumbbell-CmGIeULQ.js +1533 -0
  114. package/dist/vue-ui-flow-qYAq3Rmn.js +1217 -0
  115. package/dist/vue-ui-funnel-CLAii4wi.js +749 -0
  116. package/dist/vue-ui-galaxy-BVX-o2f-.js +1085 -0
  117. package/dist/vue-ui-gauge-D76-4Z_0.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-BQ7-UnuG.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-C47zjcs-.js} +2 -2
  120. package/dist/vue-ui-heatmap-XJef60IZ.js +1558 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-D5BYGPXB.js} +470 -470
  122. package/dist/vue-ui-history-plot-D-d-1ZiM.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-BgFHi6_7.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-Cb8QJeaj.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-BzwMl-in.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-BUR_YCcr.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-BEB4nfsD.js +1503 -0
  130. package/dist/vue-ui-onion-CG6myK7a.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-CSO4johj.js} +407 -407
  132. package/dist/vue-ui-quadrant-CKav0I6g.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BAQNS9_2.js} +4 -4
  134. package/dist/vue-ui-radar-ClPAgf5I.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-Da2MhrVe.js +905 -0
  137. package/dist/vue-ui-ridgeline-D7gFs8yR.js +1630 -0
  138. package/dist/vue-ui-rings-DkDJ0k5b.js +1252 -0
  139. package/dist/vue-ui-scatter-yv4JzJID.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-oFnh5zWs.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-IqZWPvSB.js +457 -0
  143. package/dist/vue-ui-sparkbar-_FW47iYj.js +401 -0
  144. package/dist/vue-ui-sparkgauge--2vk2Y23.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CFEIPa5n.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-Cs9CJR6W.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +738 -0
  148. package/dist/vue-ui-stackbar-C5ANS2hd.js +2355 -0
  149. package/dist/vue-ui-stackline-7yajJFW4.js +2469 -0
  150. package/dist/vue-ui-strip-plot-BT6Eqhup.js +1740 -0
  151. package/dist/vue-ui-table-CiccGbRB.js +1352 -0
  152. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  153. package/dist/vue-ui-table-sparkline-Bp7RiZh4.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-CawumQKP.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-CXinMW7q.js} +153 -153
  156. package/dist/vue-ui-tiremarks-BnI2uhki.js +540 -0
  157. package/dist/vue-ui-treemap-DTlFbfD6.js +1733 -0
  158. package/dist/vue-ui-waffle-CjgRkQAp.js +1621 -0
  159. package/dist/vue-ui-wheel-B02tiG0p.js +873 -0
  160. package/dist/vue-ui-word-cloud-BZnCOMHx.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-DO2VZ-T-.js} +524 -524
  162. package/dist/vue-ui-xy-BC9GVdWE.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-CD6BiP_g.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -1,27 +1,27 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, S as a, X as ee, Y as o, Zt as s, bt as c, i as l, jt as te, q as ne, t as re, w as ie, xt as ae } from "./lib-Dql7cqyA.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-C_mX5pOZ.js";
5
- import { t as le } from "./usePrinter-DISD7q5m.js";
6
- import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as pe } from "./useChartExport-iwOqiIWX.js";
9
- import { t as me } from "./img-DhGApYG0.js";
10
- import { t as he } from "./Shape-CIqU-p2F.js";
11
- import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { t as _e } from "./DefGrad-DVBqDjhO.js";
13
- import { t as ve } from "./BaseLegendToggle-__JnV08B.js";
14
- import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as be } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as xe } from "./geoProjections-CEo3dVaL.js";
17
- import { Fragment as u, Teleport as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Oe, onMounted as ke, openBlock as x, ref as S, renderList as Ae, renderSlot as C, resolveDynamicComponent as je, toDisplayString as w, toRefs as Me, unref as T, watch as E, withCtx as D, withModifiers as Ne } from "vue";
2
+ import { $ as t, Ct as n, D as r, Lt as i, S as a, X as ee, Y as o, Zt as te, bt as ne, i as re, jt as ie, q as ae, t as oe, w as se, xt as ce } from "./lib-Dql7cqyA.js";
3
+ import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
4
+ import { t as de } from "./useConfig-CIQZ6_r7.js";
5
+ import { t as fe } from "./usePrinter-DISD7q5m.js";
6
+ import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as he } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as ge } from "./useChartExport-iwOqiIWX.js";
9
+ import { t as _e } from "./img-DhGApYG0.js";
10
+ import { t as ve } from "./Shape-CIqU-p2F.js";
11
+ import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { t as be } from "./DefGrad-DVBqDjhO.js";
13
+ import { t as xe } from "./BaseLegendToggle-CXQrLjd-.js";
14
+ import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as we } from "./geoProjections-CEo3dVaL.js";
17
+ import { Fragment as s, Teleport as Te, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ee, createTextVNode as De, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as je, onMounted as Me, openBlock as v, ref as y, renderList as Ne, renderSlot as b, resolveDynamicComponent as Pe, toDisplayString as x, toRefs as Fe, unref as S, watch as Ie, withCtx as C, withModifiers as Le } from "vue";
18
18
  //#region src/resources/worldGeo.js
19
- var Pe = 1e3, Fe = [
19
+ var Re = 1e3, ze = [
20
20
  "name",
21
21
  "admin",
22
22
  "iso_a3",
23
23
  "iso_a3_eh"
24
- ], Ie = ["Polygon", "MultiPolygon"], Le = [
24
+ ], Be = ["Polygon", "MultiPolygon"], Ve = [
25
25
  [
26
26
  [
27
27
  "Costa Rica",
@@ -1917,48 +1917,48 @@ var Pe = 1e3, Fe = [
1917
1917
  ["1h6v,-11ip;hx,-8r;q9,-3h;z,-5a;-7s,-cn;-16n,-1t;-p,et;44,bg;1v,5p"]
1918
1918
  ]
1919
1919
  ];
1920
- function Re(e) {
1920
+ function He(e) {
1921
1921
  let t = {};
1922
- for (let n = 0; n < Fe.length; n += 1) e[n] != null && (t[Fe[n]] = e[n]);
1922
+ for (let n = 0; n < ze.length; n += 1) e[n] != null && (t[ze[n]] = e[n]);
1923
1923
  return t;
1924
1924
  }
1925
- function ze(e) {
1925
+ function Ue(e) {
1926
1926
  let t = 0, n = 0;
1927
1927
  return e ? e.split(";").map((e) => {
1928
1928
  let r = e.indexOf(",");
1929
- return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t / Pe, n / Pe];
1929
+ return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t / Re, n / Re];
1930
1930
  }) : [];
1931
1931
  }
1932
- function Be(e, t) {
1933
- return e ? t.map((e) => e.map(ze)) : t.map(ze);
1932
+ function We(e, t) {
1933
+ return e ? t.map((e) => e.map(Ue)) : t.map(Ue);
1934
1934
  }
1935
- var Ve = {
1935
+ var Ge = {
1936
1936
  type: "FeatureCollection",
1937
- features: Le.map(([e, t, n]) => ({
1937
+ features: Ve.map(([e, t, n]) => ({
1938
1938
  type: "Feature",
1939
- properties: Re(e),
1939
+ properties: He(e),
1940
1940
  geometry: {
1941
- type: Ie[t],
1942
- coordinates: Be(t, n)
1941
+ type: Be[t],
1942
+ coordinates: We(t, n)
1943
1943
  }
1944
1944
  }))
1945
- }, He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge = ["viewBox", "xmlns"], Ke = [
1945
+ }, Ke = /* @__PURE__ */ e({ default: () => dt }), qe = ["id"], Je = ["id"], Ye = ["viewBox", "xmlns"], Xe = [
1946
1946
  "x",
1947
1947
  "y",
1948
1948
  "width",
1949
1949
  "height"
1950
- ], qe = { key: 1 }, Je = ["id"], Ye = { key: 0 }, Xe = [
1950
+ ], Ze = { key: 1 }, Qe = ["id"], $e = { key: 0 }, et = [
1951
1951
  "cx",
1952
1952
  "cy",
1953
1953
  "r",
1954
1954
  "fill"
1955
- ], Ze = [
1955
+ ], tt = [
1956
1956
  "cx",
1957
1957
  "cy",
1958
1958
  "r",
1959
1959
  "fill",
1960
1960
  "filter"
1961
- ], Qe = [
1961
+ ], nt = [
1962
1962
  "d",
1963
1963
  "fill",
1964
1964
  "stroke",
@@ -1966,22 +1966,22 @@ var Ve = {
1966
1966
  "onMouseenter",
1967
1967
  "onMouseleave",
1968
1968
  "onClick"
1969
- ], $e = { key: 0 }, et = [
1969
+ ], rt = { key: 0 }, it = [
1970
1970
  "d",
1971
1971
  "fill",
1972
1972
  "stroke",
1973
1973
  "stroke-width"
1974
- ], tt = [
1974
+ ], at = [
1975
1975
  "d",
1976
1976
  "stroke",
1977
1977
  "stroke-width"
1978
- ], nt = {
1978
+ ], ot = {
1979
1979
  key: 4,
1980
1980
  class: "vue-data-ui-watermark"
1981
- }, rt = ["id"], it = ["onClick"], at = { style: {
1981
+ }, st = ["id"], ct = ["onClick"], lt = { style: {
1982
1982
  display: "flex",
1983
1983
  "align-items": "center"
1984
- } }, ot = .5, st = /*#__PURE__*/ ge({
1984
+ } }, ut = .5, dt = /*#__PURE__*/ ye({
1985
1985
  __name: "vue-ui-world",
1986
1986
  props: {
1987
1987
  config: {
@@ -2002,34 +2002,34 @@ var Ve = {
2002
2002
  "selectLegend",
2003
2003
  "copyAlt"
2004
2004
  ],
2005
- setup(e, { expose: ge, emit: Pe }) {
2006
- let Fe = _(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Ie = _(() => import("./Legend-X4kF4PvW.js").then((e) => e.n)), Le = _(() => import("./Tooltip-hhrkQ3Lk.js")), Re = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), ze = _(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), Be = _(() => import("./DataTable-COIO9gi4.js")), He = _(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), st = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), ct = _(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), lt = _(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_world: ut } = ce(), O = e, dt = Pe, ft = d({
2005
+ setup(e, { expose: ye, emit: Re }) {
2006
+ let ze = m(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Be = m(() => import("./Legend-X4kF4PvW.js").then((e) => e.n)), Ve = m(() => import("./Tooltip-hhrkQ3Lk.js")), He = m(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Ue = m(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), We = m(() => import("./DataTable-oiM9uWrQ.js")), Ke = m(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), dt = m(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), ft = m(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), pt = m(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_world: mt } = de(), w = e, ht = Re, gt = c({
2007
2007
  get() {
2008
- return !!I.value;
2008
+ return !!R.value;
2009
2009
  },
2010
2010
  set(e) {
2011
2011
  return e;
2012
2012
  }
2013
- }), pt = d(() => ft ? Object.values(I.value).some((e) => Object.hasOwn(e, "category")) : !1), k = S(null), mt = S(null), ht = S(null), gt = S(null), _t = S(null), vt = S(0), yt = S(0), bt = S(0), A = S(ne()), j = S(!1), xt = S(""), St = S(0), Ct = S(!1), M = S(null), wt = S(null);
2014
- ke(() => {
2015
- Ct.value = !0;
2013
+ }), _t = c(() => gt ? Object.values(R.value).some((e) => Object.hasOwn(e, "category")) : !1), T = y(null), vt = y(null), yt = y(null), bt = y(null), xt = y(null), St = y(0), Ct = y(0), wt = y(0), E = y(ae()), D = y(!1), Tt = y(""), Et = y(0), Dt = y(!1), O = y(null), Ot = y(null);
2014
+ Me(() => {
2015
+ Dt.value = !0;
2016
2016
  });
2017
- let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } = xe;
2018
- function kt() {
2019
- let e = fe({
2020
- userConfig: O.config,
2021
- defaultConfig: ut
2017
+ let k = Ge, { projections: kt, getProjectedBounds: At, setupTerritories: jt, geoToPath: Mt } = we;
2018
+ function Nt() {
2019
+ let e = he({
2020
+ userConfig: w.config,
2021
+ defaultConfig: mt
2022
2022
  });
2023
- return O.config && c(O.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = a(O.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, O.config && c(O.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = a(O.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = i[0], N = Dt(e, N), e;
2023
+ return w.config && ne(w.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = a(w.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, w.config && ne(w.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = a(w.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = i[0], k = jt(e, k), e;
2024
2024
  }
2025
- let P = S(kt());
2026
- oe({
2027
- config: () => P.value,
2028
- dataset: () => O.dataset,
2025
+ let A = y(Nt()), j = c(() => A.value.userOptions), M = c(() => A.value.style.chart.tooltip), N = c(() => A.value.style.chart.globe), P = c(() => A.value.style.chart.territory), F = c(() => A.value.style.chart.legend), I = c(() => A.value.style.chart);
2026
+ le({
2027
+ config: () => A.value,
2028
+ dataset: () => w.dataset,
2029
2029
  component: "VueUiWorld",
2030
- rules: [se.noHint]
2030
+ rules: [ue.noHint]
2031
2031
  });
2032
- let F = d(() => P.value.userOptions.useCursorPointer), At = d(() => s({
2032
+ let L = c(() => A.value.userOptions.useCursorPointer), Pt = c(() => te({
2033
2033
  defaultConfig: {
2034
2034
  userOptions: { show: !1 },
2035
2035
  table: { show: !1 },
@@ -2045,30 +2045,30 @@ var Ve = {
2045
2045
  }
2046
2046
  } }
2047
2047
  },
2048
- userConfig: P.value.skeletonConfig ?? {}
2049
- })), { loading: jt, FINAL_DATASET: I } = ue({
2050
- ...Me(O),
2051
- FINAL_CONFIG: P,
2052
- prepareConfig: kt,
2053
- skeletonDataset: O.config?.skeletonDataset ?? [],
2054
- skeletonConfig: s({
2055
- defaultConfig: P.value,
2056
- userConfig: At.value
2048
+ userConfig: A.value.skeletonConfig ?? {}
2049
+ })), { loading: Ft, FINAL_DATASET: R } = pe({
2050
+ ...Fe(w),
2051
+ FINAL_CONFIG: A,
2052
+ prepareConfig: Nt,
2053
+ skeletonDataset: w.config?.skeletonDataset ?? [],
2054
+ skeletonConfig: te({
2055
+ defaultConfig: A.value,
2056
+ userConfig: Pt.value
2057
2057
  })
2058
- }), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } = ye({ config: P.value }), { svgRef: L } = be({ config: P.value.style.chart.title }), R = S({
2059
- showTable: P.value.table.show,
2060
- showTooltip: P.value.style.chart.tooltip.show
2058
+ }), { userOptionsVisible: It, setUserOptionsVisibility: Lt, keepUserOptionState: Rt } = Se({ config: A.value }), { svgRef: zt } = Ce({ config: I.value.title }), z = y({
2059
+ showTable: A.value.table.show,
2060
+ showTooltip: M.value.show
2061
2061
  });
2062
- E(() => O.config, (e) => {
2063
- P.value = kt(), Mt.value = !P.value.userOptions.showOnChartHover, vt.value += 1, bt.value += 1, yt.value += 1, R.value.showTable = P.value.table.show, R.value.showTooltip = P.value.style.chart.tooltip.show;
2064
- }), E(P, () => {
2065
- R.value = {
2066
- showTable: P.value.table.show,
2067
- showTooltip: P.value.style.chart.tooltip.show
2062
+ Ie(() => w.config, (e) => {
2063
+ A.value = Nt(), It.value = !A.value.userOptions.showOnChartHover, St.value += 1, wt.value += 1, Ct.value += 1, z.value.showTable = A.value.table.show, z.value.showTooltip = M.value.show;
2064
+ }), Ie(A, () => {
2065
+ z.value = {
2066
+ showTable: A.value.table.show,
2067
+ showTooltip: M.value.show
2068
2068
  };
2069
2069
  }, { immediate: !0 });
2070
- let Ft = d(() => ie(P.value.customPalette)), z = d(() => P.value.projection || "globe"), B = d(() => {
2071
- let { height: e, width: t } = P.value.style.chart.dimensions;
2070
+ let Bt = c(() => se(A.value.customPalette)), B = c(() => A.value.projection || "globe"), V = c(() => {
2071
+ let { height: e, width: t } = I.value.dimensions;
2072
2072
  return {
2073
2073
  aitoff: {
2074
2074
  width: t || 1e3,
@@ -2122,9 +2122,9 @@ var Ve = {
2122
2122
  width: t || 1e3,
2123
2123
  height: e || 1e3
2124
2124
  }
2125
- }[z.value];
2126
- }), V = d(() => {
2127
- let { minX: e, minY: t, width: n, height: r } = Et(Tt[z.value], N.features, B.value.width, B.value.height, q.value);
2125
+ }[B.value];
2126
+ }), H = c(() => {
2127
+ let { minX: e, minY: t, width: n, height: r } = At(kt[B.value], k.features, V.value.width, V.value.height, J.value);
2128
2128
  return {
2129
2129
  str: `${e} ${t} ${n} ${r}`,
2130
2130
  minX: e,
@@ -2132,205 +2132,205 @@ var Ve = {
2132
2132
  width: n,
2133
2133
  height: r
2134
2134
  };
2135
- }), It = d(() => Object.values(I.value).map((e) => e.value)), Lt = d(() => Math.min(...It.value)), Rt = d(() => Math.max(...It.value));
2136
- function zt(e) {
2137
- return typeof e == "number" ? ae(P.value.style.chart.territory.colors.min || "#FFFFFF00", P.value.style.chart.territory.colors.max || Ft.value[0] || i[0], Lt.value, Rt.value, e) : P.value.style.chart.territory.emptyColor;
2135
+ }), Vt = c(() => Object.values(R.value).map((e) => e.value)), Ht = c(() => Math.min(...Vt.value)), Ut = c(() => Math.max(...Vt.value));
2136
+ function Wt(e) {
2137
+ return typeof e == "number" ? ce(P.value.colors.min || "#FFFFFF00", P.value.colors.max || Bt.value[0] || i[0], Ht.value, Ut.value, e) : P.value.emptyColor;
2138
2138
  }
2139
- function Bt(e) {
2140
- return Ot(e, {
2141
- projection: z.value,
2142
- width: B.value.width,
2143
- height: B.value.height,
2144
- center: q.value
2139
+ function Gt(e) {
2140
+ return Mt(e, {
2141
+ projection: B.value,
2142
+ width: V.value.width,
2143
+ height: V.value.height,
2144
+ center: J.value
2145
2145
  });
2146
2146
  }
2147
- let Vt = d(() => {
2148
- let e = Object.values(I.value).filter((e) => !!e.category), t = {};
2147
+ let Kt = c(() => {
2148
+ let e = Object.values(R.value).filter((e) => !!e.category), t = {};
2149
2149
  return e.forEach((e) => {
2150
2150
  t[e.category] || (t[e.category] = e);
2151
2151
  }), Object.values(t).map((e, t) => ({
2152
2152
  name: e.category,
2153
- color: e.color ? a(e.color) : Ft.value[t] || i[t] || i[t % i.length]
2153
+ color: e.color ? a(e.color) : Bt.value[t] || i[t] || i[t % i.length]
2154
2154
  }));
2155
2155
  });
2156
- function Ht(e) {
2157
- let t = Vt.value.find((t) => t.name === e);
2156
+ function qt(e) {
2157
+ let t = Kt.value.find((t) => t.name === e);
2158
2158
  return t ? t.color : "#000000";
2159
2159
  }
2160
- let Ut = /* @__PURE__ */ new Map();
2161
- function Wt(e) {
2162
- return Ut.has(e) || Ut.set(e, `territory-${ne()}`), Ut.get(e);
2160
+ let Jt = /* @__PURE__ */ new Map();
2161
+ function Yt(e) {
2162
+ return Jt.has(e) || Jt.set(e, `territory-${ae()}`), Jt.get(e);
2163
2163
  }
2164
- let H = d(() => (q.value, N.features.map((e) => {
2164
+ let U = c(() => (J.value, k.features.map((e) => {
2165
2165
  let t = e.properties.iso_a3;
2166
2166
  (!t || t === "-99") && (t = e.properties.iso_a3_eh);
2167
- let n = I.value[t];
2167
+ let n = R.value[t];
2168
2168
  return {
2169
- path: Bt(e.geometry),
2169
+ path: Gt(e.geometry),
2170
2170
  name: e.properties.name,
2171
2171
  geo: e,
2172
2172
  code: t,
2173
2173
  geometry: e.geometry,
2174
- color: n && n.color ? a(n.color) : n && n.category ? Ht(n.category) : zt(n ? n.value : null),
2174
+ color: n && n.color ? a(n.color) : n && n.category ? qt(n.category) : Wt(n ? n.value : null),
2175
2175
  value: n ? n.value : null,
2176
2176
  category: n && n.category || null,
2177
2177
  isActive: !!n,
2178
- uid: Wt(t)
2178
+ uid: Yt(t)
2179
2179
  };
2180
- }))), U = S(!1);
2181
- function Gt(e) {
2182
- U.value = e, St.value += 1;
2180
+ }))), W = y(!1);
2181
+ function Xt(e) {
2182
+ W.value = e, Et.value += 1;
2183
2183
  }
2184
- let W = S(!1);
2185
- function Kt() {
2186
- W.value = !W.value;
2184
+ let G = y(!1);
2185
+ function Zt() {
2186
+ G.value = !G.value;
2187
2187
  }
2188
- function qt() {
2189
- R.value.showTable = !R.value.showTable;
2188
+ function Qt() {
2189
+ z.value.showTable = !z.value.showTable;
2190
2190
  }
2191
- function Jt() {
2192
- R.value.showTooltip = !R.value.showTooltip;
2191
+ function $t() {
2192
+ z.value.showTooltip = !z.value.showTooltip;
2193
2193
  }
2194
- let Yt = d(() => P.value.userOptions.show && !P.value.style.chart.title.text), { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = le({
2195
- elementId: `world_${A.value}`,
2196
- fileName: P.value.style.chart.title.text || "vue-ui-world",
2197
- options: P.value.userOptions.print
2198
- }), G = S(!1), en = S(null), K = S(null), tn = d(() => K.value ? Bt(K.value.geometry) : "");
2199
- function nn(e) {
2194
+ let en = c(() => A.value.userOptions.show && !I.value.title.text), { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = fe({
2195
+ elementId: `world_${E.value}`,
2196
+ fileName: I.value.title.text || "vue-ui-world",
2197
+ options: A.value.userOptions.print
2198
+ }), K = y(!1), on = y(null), q = y(null), sn = c(() => q.value ? Gt(q.value.geometry) : "");
2199
+ function cn(e) {
2200
2200
  return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
2201
2201
  }
2202
- let rn = d(() => {
2203
- let e = K.value?.geometry;
2202
+ let ln = c(() => {
2203
+ let e = q.value?.geometry;
2204
2204
  if (!e) return "";
2205
- let t = nn(e);
2205
+ let t = cn(e);
2206
2206
  if (!t.length) return "";
2207
- let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = Tt[z.value] || Tt.globe, a = B.value.width, ee = B.value.height, o = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), s = o.flat(), c = s.map(([e, t]) => e), l = s.map(([e, t]) => t), te = Math.min(...c), ne = Math.max(...c), re = Math.min(...l), ie = Math.max(...l), ae = ne - te || 1, oe = ie - re || 1, se = Math.min(64 / ae, 64 / oe);
2208
- function ce([e, t]) {
2209
- return [(e - te) * se + 8, (t - re) * se + 8];
2207
+ let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = kt[B.value] || kt.globe, a = V.value.width, ee = V.value.height, o = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), te = o.flat(), ne = te.map(([e, t]) => e), re = te.map(([e, t]) => t), ie = Math.min(...ne), ae = Math.max(...ne), oe = Math.min(...re), se = Math.max(...re), ce = ae - ie || 1, le = se - oe || 1, ue = Math.min(64 / ce, 64 / le);
2208
+ function de([e, t]) {
2209
+ return [(e - ie) * ue + 8, (t - oe) * ue + 8];
2210
2210
  }
2211
2211
  return `
2212
2212
  <svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
2213
2213
  <rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
2214
- <path d="${o.map((e) => "M" + e.map(ce).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${K.value?.color || P.value.style.chart.territory.emptyColor}" stroke="${P.value.style.chart.territory.stroke}" stroke-width="1"/>
2214
+ <path d="${o.map((e) => "M" + e.map(de).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || P.value.emptyColor}" stroke="${P.value.stroke}" stroke-width="1"/>
2215
2215
  </svg>
2216
2216
  `;
2217
2217
  });
2218
- function an({ datapoint: e, seriesIndex: t }) {
2219
- j.value = !1, K.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
2218
+ function un({ datapoint: e, seriesIndex: t }) {
2219
+ D.value = !1, q.value = null, A.value.events.datapointLeave && A.value.events.datapointLeave({
2220
2220
  datapoint: e,
2221
2221
  seriesIndex: t
2222
2222
  });
2223
2223
  }
2224
- function on({ datapoint: e, seriesIndex: t }) {
2225
- dt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
2224
+ function dn({ datapoint: e, seriesIndex: t }) {
2225
+ ht("selectDatapoint", e), A.value.events.datapointClick && A.value.events.datapointClick({
2226
2226
  datapoint: e,
2227
2227
  seriesIndex: t
2228
2228
  });
2229
2229
  }
2230
- function sn({ datapoint: e, seriesIndex: t }) {
2231
- P.value.events.datapointEnter && P.value.events.datapointEnter({
2230
+ function fn({ datapoint: e, seriesIndex: t }) {
2231
+ A.value.events.datapointEnter && A.value.events.datapointEnter({
2232
2232
  datapoint: e,
2233
2233
  seriesIndex: t
2234
- }), K.value = e, en.value = {
2234
+ }), q.value = e, on.value = {
2235
2235
  datapoint: e,
2236
- config: P.value,
2237
- series: H.value
2238
- }, j.value = !0;
2239
- let r = "", i = P.value.style.chart.tooltip.customFormat;
2240
- if (G.value = !1, n(i)) try {
2236
+ config: A.value,
2237
+ series: U.value
2238
+ }, D.value = !0;
2239
+ let r = "", i = M.value.customFormat;
2240
+ if (K.value = !1, n(i)) try {
2241
2241
  let t = i({
2242
2242
  datapoint: e,
2243
- config: P.value,
2244
- series: H.value
2243
+ config: A.value,
2244
+ series: U.value
2245
2245
  });
2246
- typeof t == "string" && (xt.value = t, G.value = !0);
2246
+ typeof t == "string" && (Tt.value = t, K.value = !0);
2247
2247
  } catch {
2248
- console.warn("Custom format cannot be applied."), G.value = !1;
2248
+ console.warn("Custom format cannot be applied."), K.value = !1;
2249
2249
  }
2250
- G.value || (r += `
2250
+ K.value || (r += `
2251
2251
  <div style="width:100%;">
2252
- ${P.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${rn.value}</div>` : ""}
2252
+ ${M.value.showMinimap ? `<div class="vue-ui-world-minimap">${ln.value}</div>` : ""}
2253
2253
  <div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
2254
2254
  <svg viewBox="0 0 20 20" height="14" width="14">
2255
2255
  <circle cx="10" cy="10" r="10" fill="${e.color}"/>
2256
2256
  </svg>
2257
2257
  <span>${e.name}:</span>
2258
2258
  <b>
2259
- ${l(P.value.style.chart.dataLabels.formatter, e.value, ee({
2260
- p: P.value.style.chart.dataLabels.prefix,
2259
+ ${re(I.value.dataLabels.formatter, e.value, ee({
2260
+ p: I.value.dataLabels.prefix,
2261
2261
  v: e.value,
2262
- s: P.value.style.chart.dataLabels.suffix,
2263
- r: P.value.style.chart.dataLabels.rounding
2262
+ s: I.value.dataLabels.suffix,
2263
+ r: I.value.dataLabels.rounding
2264
2264
  }))}
2265
2265
  </b>
2266
2266
  </div>
2267
2267
  </div>
2268
- `, xt.value = `<div>${r}</div>`);
2268
+ `, Tt.value = `<div>${r}</div>`);
2269
2269
  }
2270
- let cn = S(!1), ln = S({
2270
+ let pn = y(!1), mn = y({
2271
2271
  x: 0,
2272
2272
  y: 0
2273
- }), q = S([P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y]), un = [0, 0], J = null, Y = null;
2274
- function dn(e) {
2273
+ }), J = y([N.value.center.x, N.value.center.y]), hn = [0, 0], Y = null, X = null;
2274
+ function gn(e) {
2275
2275
  return Math.max(-90, Math.min(90, e));
2276
2276
  }
2277
- function fn(e) {
2277
+ function _n(e) {
2278
2278
  return ((e + 180) % 360 + 360) % 360 - 180;
2279
2279
  }
2280
- function pn() {
2281
- J &&= (q.value = J, null);
2280
+ function vn() {
2281
+ Y &&= (J.value = Y, null);
2282
2282
  }
2283
- function mn(e) {
2284
- if (J = e, typeof requestAnimationFrame > "u") {
2285
- pn();
2283
+ function yn(e) {
2284
+ if (Y = e, typeof requestAnimationFrame > "u") {
2285
+ vn();
2286
2286
  return;
2287
2287
  }
2288
- Y === null && (Y = requestAnimationFrame(() => {
2289
- Y = null, pn();
2288
+ X === null && (X = requestAnimationFrame(() => {
2289
+ X = null, vn();
2290
2290
  }));
2291
2291
  }
2292
- E(() => [P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y], ([e, t]) => {
2293
- q.value = [e, t], J = null;
2292
+ Ie(() => [N.value.center.x, N.value.center.y], ([e, t]) => {
2293
+ J.value = [e, t], Y = null;
2294
2294
  });
2295
- function hn(e, t) {
2296
- cn.value = !0, ln.value = {
2295
+ function bn(e, t) {
2296
+ pn.value = !0, mn.value = {
2297
2297
  x: e,
2298
2298
  y: t
2299
- }, un = J || [q.value[0], q.value[1]];
2299
+ }, hn = Y || [J.value[0], J.value[1]];
2300
2300
  }
2301
- function gn(e, t) {
2302
- if (!cn.value || z.value !== "globe" || W.value) return;
2303
- let n = e - ln.value.x, r = t - ln.value.y;
2304
- mn([fn(un[0] - n * ot), dn(un[1] + r * ot)]);
2301
+ function xn(e, t) {
2302
+ if (!pn.value || B.value !== "globe" || G.value) return;
2303
+ let n = e - mn.value.x, r = t - mn.value.y;
2304
+ yn([_n(hn[0] - n * ut), gn(hn[1] + r * ut)]);
2305
2305
  }
2306
- function _n() {
2307
- cn.value = !1, Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null), pn();
2306
+ function Sn() {
2307
+ pn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), vn();
2308
2308
  }
2309
- function vn(e) {
2310
- hn(e.clientX, e.clientY);
2309
+ function Cn(e) {
2310
+ bn(e.clientX, e.clientY);
2311
2311
  }
2312
- function yn(e) {
2313
- gn(e.clientX, e.clientY);
2312
+ function wn(e) {
2313
+ xn(e.clientX, e.clientY);
2314
2314
  }
2315
- function bn() {
2316
- _n();
2315
+ function Tn() {
2316
+ Sn();
2317
2317
  }
2318
- function xn(e) {
2318
+ function En(e) {
2319
2319
  let t = e.touches[0];
2320
- hn(t.clientX, t.clientY);
2320
+ bn(t.clientX, t.clientY);
2321
2321
  }
2322
- function Sn(e) {
2322
+ function Dn(e) {
2323
2323
  let t = e.touches[0];
2324
- gn(t.clientX, t.clientY);
2324
+ xn(t.clientX, t.clientY);
2325
2325
  }
2326
- function Cn() {
2327
- _n();
2326
+ function On() {
2327
+ Sn();
2328
2328
  }
2329
- Oe(() => {
2330
- Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null);
2329
+ je(() => {
2330
+ X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
2331
2331
  });
2332
- let X = d(() => {
2333
- let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2332
+ let kn = c(() => {
2333
+ let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2334
2334
  return {
2335
2335
  head: e.map((e) => ({
2336
2336
  name: e.name,
@@ -2339,65 +2339,65 @@ var Ve = {
2339
2339
  })),
2340
2340
  body: e.map((e) => e.value || 0)
2341
2341
  };
2342
- }), wn = d(() => {
2342
+ }), An = c(() => {
2343
2343
  let e = [
2344
- P.value.table.columnNames.series,
2345
- P.value.table.columnNames.value,
2346
- P.value.table.columnNames.category
2347
- ], t = X.value.head.map((e, t) => [
2344
+ A.value.table.columnNames.series,
2345
+ A.value.table.columnNames.value,
2346
+ A.value.table.columnNames.category
2347
+ ], t = kn.value.head.map((e, t) => [
2348
2348
  {
2349
2349
  color: e.color,
2350
2350
  name: e.name
2351
2351
  },
2352
- X.value.body[t] || 0,
2352
+ kn.value.body[t] || 0,
2353
2353
  { category: e.category }
2354
2354
  ]), n = {
2355
2355
  th: {
2356
- backgroundColor: P.value.table.th.backgroundColor,
2357
- color: P.value.table.th.color,
2358
- outline: P.value.table.th.outline
2356
+ backgroundColor: A.value.table.th.backgroundColor,
2357
+ color: A.value.table.th.color,
2358
+ outline: A.value.table.th.outline
2359
2359
  },
2360
2360
  td: {
2361
- backgroundColor: P.value.table.td.backgroundColor,
2362
- color: P.value.table.td.color,
2363
- outline: P.value.table.td.outline
2361
+ backgroundColor: A.value.table.td.backgroundColor,
2362
+ color: A.value.table.td.color,
2363
+ outline: A.value.table.td.outline
2364
2364
  },
2365
- breakpoint: P.value.table.responsiveBreakpoint
2365
+ breakpoint: A.value.table.responsiveBreakpoint
2366
2366
  };
2367
2367
  return {
2368
- colNames: [P.value.table.columnNames.series, P.value.table.columnNames.value],
2368
+ colNames: [A.value.table.columnNames.series, A.value.table.columnNames.value],
2369
2369
  head: e,
2370
2370
  body: t,
2371
2371
  config: n
2372
2372
  };
2373
2373
  });
2374
- function Tn(e = null) {
2375
- Ee(() => {
2376
- let n = X.value.head.map((e, t) => [[e.name], [X.value.body[t]]]), i = [
2377
- [P.value.style.chart.title.text],
2378
- [P.value.style.chart.title.subtitle.text],
2374
+ function jn(e = null) {
2375
+ ke(() => {
2376
+ let n = kn.value.head.map((e, t) => [[e.name], [kn.value.body[t]]]), i = [
2377
+ [I.value.title.text],
2378
+ [I.value.title.subtitle.text],
2379
2379
  [[
2380
- P.value.table.columnNames.series,
2381
- P.value.table.columnNames.value,
2382
- P.value.table.columnNames.category
2380
+ A.value.table.columnNames.series,
2381
+ A.value.table.columnNames.value,
2382
+ A.value.table.columnNames.category
2383
2383
  ]]
2384
2384
  ].concat(n), a = r(i);
2385
2385
  e ? e(a) : t({
2386
2386
  csvContent: a,
2387
- title: P.value.style.chart.title.text || "vue-ui-world"
2387
+ title: I.value.title.text || "vue-ui-world"
2388
2388
  });
2389
2389
  });
2390
2390
  }
2391
- let Z = S([]);
2392
- function En() {
2391
+ let Z = y([]);
2392
+ function Mn() {
2393
2393
  Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
2394
2394
  Z.value.push(e.name);
2395
2395
  });
2396
2396
  }
2397
- function Dn(e) {
2398
- Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), dt("selectLegend", { name: e });
2397
+ function Nn(e) {
2398
+ Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), ht("selectLegend", { name: e });
2399
2399
  }
2400
- let Q = d(() => pt ? Vt.value.map(({ name: e, color: t }, n) => ({
2400
+ let Q = c(() => _t ? Kt.value.map(({ name: e, color: t }, n) => ({
2401
2401
  name: e,
2402
2402
  color: t,
2403
2403
  shape: "circle",
@@ -2405,23 +2405,23 @@ var Ve = {
2405
2405
  })).map((e) => ({
2406
2406
  ...e,
2407
2407
  opacity: Z.value.includes(e.name) ? .5 : 1,
2408
- segregate: () => Dn(e.name),
2408
+ segregate: () => Nn(e.name),
2409
2409
  isSegregated: Z.value.includes(e.name)
2410
- })) : []), On = d(() => ({
2410
+ })) : []), Pn = c(() => ({
2411
2411
  cy: "donut-div-legend",
2412
- backgroundColor: P.value.style.chart.legend.backgroundColor,
2413
- color: P.value.style.chart.legend.color,
2414
- fontSize: P.value.style.chart.legend.fontSize,
2412
+ backgroundColor: F.value.backgroundColor,
2413
+ color: F.value.color,
2414
+ fontSize: F.value.fontSize,
2415
2415
  paddingBottom: 12,
2416
- fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
2416
+ fontWeight: F.value.bold ? "bold" : ""
2417
2417
  }));
2418
- function kn() {
2419
- return H.value;
2418
+ function Fn() {
2419
+ return U.value;
2420
2420
  }
2421
- async function An({ scale: e = 2 } = {}) {
2422
- if (!k.value) return;
2423
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
2424
- domElement: k.value,
2421
+ async function In({ scale: e = 2 } = {}) {
2422
+ if (!T.value) return;
2423
+ let { width: t, height: n } = T.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
2424
+ domElement: T.value,
2425
2425
  base64: !0,
2426
2426
  img: !0,
2427
2427
  scale: e
@@ -2429,108 +2429,108 @@ var Ve = {
2429
2429
  return {
2430
2430
  imageUri: i,
2431
2431
  base64: a,
2432
- title: P.value.style.chart.title.text,
2432
+ title: I.value.title.text,
2433
2433
  width: t,
2434
2434
  height: n,
2435
2435
  aspectRatio: r
2436
2436
  };
2437
2437
  }
2438
- let $ = d(() => {
2439
- let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
2438
+ let $ = c(() => {
2439
+ let e = A.value.table.useDialog && !A.value.table.show, t = z.value.showTable;
2440
2440
  return {
2441
- component: e ? lt : ze,
2442
- title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
2441
+ component: e ? pt : Ue,
2442
+ title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
2443
2443
  props: e ? {
2444
- backgroundColor: P.value.table.th.backgroundColor,
2445
- color: P.value.table.th.color,
2446
- headerColor: P.value.table.th.color,
2447
- headerBg: P.value.table.th.backgroundColor,
2448
- isFullscreen: U.value,
2449
- fullscreenParent: k.value,
2444
+ backgroundColor: A.value.table.th.backgroundColor,
2445
+ color: A.value.table.th.color,
2446
+ headerColor: A.value.table.th.color,
2447
+ headerBg: A.value.table.th.backgroundColor,
2448
+ isFullscreen: W.value,
2449
+ fullscreenParent: T.value,
2450
2450
  forcedWidth: Math.min(800, window.innerWidth * .8),
2451
- isCursorPointer: F.value
2451
+ isCursorPointer: L.value
2452
2452
  } : {
2453
2453
  hideDetails: !0,
2454
2454
  config: {
2455
2455
  open: t,
2456
2456
  maxHeight: 1e4,
2457
2457
  body: {
2458
- backgroundColor: P.value.style.chart.backgroundColor,
2459
- color: P.value.style.chart.color
2458
+ backgroundColor: I.value.backgroundColor,
2459
+ color: I.value.color
2460
2460
  },
2461
2461
  head: {
2462
- backgroundColor: P.value.style.chart.backgroundColor,
2463
- color: P.value.style.chart.color
2462
+ backgroundColor: I.value.backgroundColor,
2463
+ color: I.value.color
2464
2464
  }
2465
2465
  }
2466
2466
  }
2467
2467
  };
2468
2468
  });
2469
- E(() => R.value.showTable, (e) => {
2470
- P.value.table.show || (e && P.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
2469
+ Ie(() => z.value.showTable, (e) => {
2470
+ A.value.table.show || (e && A.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
2471
2471
  });
2472
- function jn() {
2473
- R.value.showTable = !1, wt.value && wt.value.setTableIconState(!1);
2472
+ function Ln() {
2473
+ z.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
2474
2474
  }
2475
- let Mn = d(() => P.value.style.chart.backgroundColor), Nn = d(() => P.value.style.chart.legend), Pn = d(() => P.value.style.chart.title), { isCallbackImaging: Fn, isCallbackSvg: In, generateSvg: Ln, onGenerateImage: Rn } = pe({
2476
- svg: L,
2477
- title: Pn,
2478
- legend: Nn,
2475
+ let Rn = c(() => I.value.backgroundColor), zn = c(() => I.value.title), { isCallbackImaging: Bn, isCallbackSvg: Vn, generateSvg: Hn, onGenerateImage: Un } = ge({
2476
+ svg: zt,
2477
+ title: zn,
2478
+ legend: F,
2479
2479
  legendItems: Q,
2480
- backgroundColor: Mn,
2481
- getSvgCallback: () => P.value.userOptions.callbacks.svg,
2482
- generateImage: $t
2480
+ backgroundColor: Rn,
2481
+ getSvgCallback: () => A.value.userOptions.callbacks.svg,
2482
+ generateImage: an
2483
2483
  });
2484
- async function zn() {
2485
- if (dt("copyAlt", {
2486
- config: P.value,
2487
- dataset: H.value
2488
- }), !P.value.userOptions.callbacks.altCopy) {
2484
+ async function Wn() {
2485
+ if (ht("copyAlt", {
2486
+ config: A.value,
2487
+ dataset: U.value
2488
+ }), !A.value.userOptions.callbacks.altCopy) {
2489
2489
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
2490
2490
  return;
2491
2491
  }
2492
- await Promise.resolve(P.value.userOptions.callbacks.altCopy({
2493
- config: P.value,
2494
- dataset: H.value
2492
+ await Promise.resolve(A.value.userOptions.callbacks.altCopy({
2493
+ config: A.value,
2494
+ dataset: U.value
2495
2495
  }));
2496
2496
  }
2497
- return ge({
2498
- getData: kn,
2499
- getImage: An,
2500
- generatePdf: Qt,
2501
- generateCsv: Tn,
2502
- generateImage: $t,
2503
- generateSvg: Ln,
2504
- toggleTable: qt,
2505
- toggleTooltip: Jt,
2506
- toggleAnnotator: Kt,
2507
- toggleFullscreen: Gt,
2508
- copyAlt: zn
2509
- }), (e, t) => (x(), m("div", {
2497
+ return ye({
2498
+ getData: Fn,
2499
+ getImage: In,
2500
+ generatePdf: rn,
2501
+ generateCsv: jn,
2502
+ generateImage: an,
2503
+ generateSvg: Hn,
2504
+ toggleTable: Qt,
2505
+ toggleTooltip: $t,
2506
+ toggleAnnotator: Zt,
2507
+ toggleFullscreen: Xt,
2508
+ copyAlt: Wn
2509
+ }), (e, t) => (v(), d("div", {
2510
2510
  ref_key: "worldChart",
2511
- ref: k,
2512
- id: `world_${A.value}`,
2513
- class: De(`vue-data-ui-component vue-ui-world ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2514
- style: b(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
2515
- onMouseenter: t[2] ||= () => T(Nt)(!0),
2516
- onMouseleave: t[3] ||= () => T(Nt)(!1)
2511
+ ref: T,
2512
+ id: `world_${E.value}`,
2513
+ class: Ae(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2514
+ style: _(`font-family:${A.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor}`),
2515
+ onMouseenter: t[2] ||= () => S(Lt)(!0),
2516
+ onMouseleave: t[3] ||= () => S(Lt)(!1)
2517
2517
  }, [
2518
- P.value.userOptions.buttons.annotator && T(L) ? (x(), f(T(He), {
2518
+ j.value.buttons.annotator && S(zt) ? (v(), l(S(Ke), {
2519
2519
  key: 0,
2520
- color: P.value.style.chart.color,
2521
- backgroundColor: P.value.style.chart.backgroundColor,
2522
- active: W.value,
2523
- svgRef: T(L),
2524
- isCursorPointer: F.value,
2525
- palette: P.value.userOptions.annotatorPalette,
2526
- onClose: Kt
2520
+ color: I.value.color,
2521
+ backgroundColor: I.value.backgroundColor,
2522
+ active: G.value,
2523
+ svgRef: S(zt),
2524
+ isCursorPointer: L.value,
2525
+ palette: j.value.annotatorPalette,
2526
+ onClose: Zt
2527
2527
  }, {
2528
- "annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2529
- "annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
2530
- "annotator-action-draw": D(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
2531
- "annotator-action-undo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
2532
- "annotator-action-redo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
2533
- "annotator-action-delete": D(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
2528
+ "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2529
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
2530
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
2531
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
2532
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
2533
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
2534
2534
  _: 3
2535
2535
  }, 8, [
2536
2536
  "color",
@@ -2539,77 +2539,77 @@ var Ve = {
2539
2539
  "svgRef",
2540
2540
  "isCursorPointer",
2541
2541
  "palette"
2542
- ])) : p("", !0),
2543
- C(e.$slots, "userConfig", {}, void 0, !0),
2544
- Yt.value ? (x(), m("div", {
2542
+ ])) : u("", !0),
2543
+ b(e.$slots, "userConfig", {}, void 0, !0),
2544
+ en.value ? (v(), d("div", {
2545
2545
  key: 1,
2546
2546
  ref_key: "noTitle",
2547
- ref: _t,
2547
+ ref: xt,
2548
2548
  class: "vue-data-ui-no-title-space",
2549
2549
  style: "height:36px; width: 100%;background:transparent"
2550
- }, null, 512)) : p("", !0),
2551
- P.value.style.chart.title.text ? (x(), m("div", {
2550
+ }, null, 512)) : u("", !0),
2551
+ I.value.title.text ? (v(), d("div", {
2552
2552
  key: 2,
2553
2553
  ref_key: "chartTitle",
2554
- ref: mt,
2554
+ ref: vt,
2555
2555
  style: "width:100%;background:transparent"
2556
- }, [(x(), f(T(Fe), {
2557
- key: `title_${vt.value}`,
2556
+ }, [(v(), l(S(ze), {
2557
+ key: `title_${St.value}`,
2558
2558
  config: {
2559
2559
  title: {
2560
2560
  cy: "donut-div-title",
2561
- ...P.value.style.chart.title
2561
+ ...I.value.title
2562
2562
  },
2563
2563
  subtitle: {
2564
2564
  cy: "donut-div-subtitle",
2565
- ...P.value.style.chart.title.subtitle
2565
+ ...I.value.title.subtitle
2566
2566
  }
2567
2567
  }
2568
- }, null, 8, ["config"]))], 512)) : p("", !0),
2569
- h("div", { id: `legend-top-${A.value}` }, null, 8, We),
2570
- P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(), f(T(st), {
2568
+ }, null, 8, ["config"]))], 512)) : u("", !0),
2569
+ f("div", { id: `legend-top-${E.value}` }, null, 8, Je),
2570
+ j.value.show && gt.value && (S(Rt) || S(It)) ? (v(), l(S(dt), {
2571
2571
  ref_key: "userOptionsRef",
2572
- ref: wt,
2573
- key: `user_option_${St.value}`,
2574
- backgroundColor: P.value.style.chart.backgroundColor,
2575
- color: P.value.style.chart.color,
2576
- isPrinting: T(Xt),
2577
- isImaging: T(Zt),
2578
- uid: A.value,
2579
- callbacks: P.value.userOptions.callbacks,
2580
- hasTooltip: P.value.style.chart.tooltip.show && P.value.userOptions.buttons.tooltip,
2581
- hasPdf: P.value.userOptions.buttons.pdf,
2582
- hasImg: P.value.userOptions.buttons.img,
2583
- hasSvg: P.value.userOptions.buttons.svg,
2584
- hasXls: P.value.userOptions.buttons.csv,
2585
- hasTable: P.value.userOptions.buttons.table,
2572
+ ref: Ot,
2573
+ key: `user_option_${Et.value}`,
2574
+ backgroundColor: I.value.backgroundColor,
2575
+ color: I.value.color,
2576
+ isPrinting: S(tn),
2577
+ isImaging: S(nn),
2578
+ uid: E.value,
2579
+ callbacks: j.value.callbacks,
2580
+ hasTooltip: M.value.show && j.value.buttons.tooltip,
2581
+ hasPdf: j.value.buttons.pdf,
2582
+ hasImg: j.value.buttons.img,
2583
+ hasSvg: j.value.buttons.svg,
2584
+ hasXls: j.value.buttons.csv,
2585
+ hasTable: j.value.buttons.table,
2586
2586
  hasLabel: !1,
2587
- hasFullscreen: P.value.userOptions.buttons.fullscreen,
2588
- hasAltCopy: P.value.userOptions.buttons.altCopy,
2589
- isFullscreen: U.value,
2590
- chartElement: k.value,
2591
- position: P.value.userOptions.position,
2592
- printScale: P.value.userOptions.print.scale,
2593
- isTooltip: R.value.showTooltip,
2594
- titles: { ...P.value.userOptions.buttonTitles },
2595
- hasAnnotator: P.value.userOptions.buttons.annotator,
2596
- isAnnotation: W.value,
2597
- tableDialog: P.value.table.useDialog,
2598
- isCursorPointer: F.value,
2599
- onToggleFullscreen: Gt,
2600
- onGeneratePdf: T(Qt),
2601
- onGenerateCsv: Tn,
2602
- onGenerateImage: T(Rn),
2603
- onGenerateSvg: T(Ln),
2604
- onToggleTable: qt,
2605
- onToggleTooltip: Jt,
2606
- onToggleAnnotator: Kt,
2607
- onCopyAlt: zn,
2608
- style: b({ visibility: T(Pt) ? T(Mt) ? "visible" : "hidden" : "visible" })
2609
- }, Ce({ _: 2 }, [
2587
+ hasFullscreen: j.value.buttons.fullscreen,
2588
+ hasAltCopy: j.value.buttons.altCopy,
2589
+ isFullscreen: W.value,
2590
+ chartElement: T.value,
2591
+ position: j.value.position,
2592
+ printScale: j.value.print.scale,
2593
+ isTooltip: z.value.showTooltip,
2594
+ titles: { ...j.value.buttonTitles },
2595
+ hasAnnotator: j.value.buttons.annotator,
2596
+ isAnnotation: G.value,
2597
+ tableDialog: A.value.table.useDialog,
2598
+ isCursorPointer: L.value,
2599
+ onToggleFullscreen: Xt,
2600
+ onGeneratePdf: S(rn),
2601
+ onGenerateCsv: jn,
2602
+ onGenerateImage: S(Un),
2603
+ onGenerateSvg: S(Hn),
2604
+ onToggleTable: Qt,
2605
+ onToggleTooltip: $t,
2606
+ onToggleAnnotator: Zt,
2607
+ onCopyAlt: Wn,
2608
+ style: _({ visibility: S(Rt) ? S(It) ? "visible" : "hidden" : "visible" })
2609
+ }, Ee({ _: 2 }, [
2610
2610
  e.$slots.menuIcon ? {
2611
2611
  name: "menuIcon",
2612
- fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
2612
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
2613
2613
  isOpen: t,
2614
2614
  color: n
2615
2615
  })), void 0, !0)]),
@@ -2617,37 +2617,37 @@ var Ve = {
2617
2617
  } : void 0,
2618
2618
  e.$slots.optionTooltip ? {
2619
2619
  name: "optionTooltip",
2620
- fn: D(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
2620
+ fn: C(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
2621
2621
  key: "1"
2622
2622
  } : void 0,
2623
2623
  e.$slots.optionPdf ? {
2624
2624
  name: "optionPdf",
2625
- fn: D(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
2625
+ fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
2626
2626
  key: "2"
2627
2627
  } : void 0,
2628
2628
  e.$slots.optionCsv ? {
2629
2629
  name: "optionCsv",
2630
- fn: D(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
2630
+ fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
2631
2631
  key: "3"
2632
2632
  } : void 0,
2633
2633
  e.$slots.optionImg ? {
2634
2634
  name: "optionImg",
2635
- fn: D(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
2635
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
2636
2636
  key: "4"
2637
2637
  } : void 0,
2638
2638
  e.$slots.optionSvg ? {
2639
2639
  name: "optionSvg",
2640
- fn: D(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
2640
+ fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
2641
2641
  key: "5"
2642
2642
  } : void 0,
2643
2643
  e.$slots.optionTable ? {
2644
2644
  name: "optionTable",
2645
- fn: D(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
2645
+ fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
2646
2646
  key: "6"
2647
2647
  } : void 0,
2648
2648
  e.$slots.optionFullscreen ? {
2649
2649
  name: "optionFullscreen",
2650
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(v({
2650
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
2651
2651
  toggleFullscreen: t,
2652
2652
  isFullscreen: n
2653
2653
  })), void 0, !0)]),
@@ -2655,7 +2655,7 @@ var Ve = {
2655
2655
  } : void 0,
2656
2656
  e.$slots.optionAnnotator ? {
2657
2657
  name: "optionAnnotator",
2658
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(v({
2658
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
2659
2659
  toggleAnnotator: t,
2660
2660
  isAnnotator: n
2661
2661
  })), void 0, !0)]),
@@ -2663,62 +2663,62 @@ var Ve = {
2663
2663
  } : void 0,
2664
2664
  e.$slots.optionAltCopy ? {
2665
2665
  name: "optionAltCopy",
2666
- fn: D(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
2666
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
2667
2667
  key: "9"
2668
2668
  } : void 0,
2669
2669
  e.$slots["custom-menu-before"] ? {
2670
2670
  name: "custom-menu-before",
2671
- fn: D(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2671
+ fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2672
2672
  key: "10"
2673
2673
  } : void 0,
2674
2674
  e.$slots["custom-menu-after"] ? {
2675
2675
  name: "custom-menu-after",
2676
- fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2676
+ fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2677
2677
  key: "11"
2678
2678
  } : void 0
2679
- ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
2680
- (x(), m("svg", {
2679
+ ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
2680
+ (v(), d("svg", {
2681
2681
  ref_key: "svgRef",
2682
- ref: L,
2683
- viewBox: V.value.str,
2684
- xmlns: T(re),
2685
- class: De({
2686
- "vue-data-ui-fullscreen--on": U.value,
2687
- "vue-data-ui-fullscreen--off": !U.value
2682
+ ref: zt,
2683
+ viewBox: H.value.str,
2684
+ xmlns: S(oe),
2685
+ class: Ae({
2686
+ "vue-data-ui-fullscreen--on": W.value,
2687
+ "vue-data-ui-fullscreen--off": !W.value
2688
2688
  }),
2689
- style: b({
2689
+ style: _({
2690
2690
  maxWidth: "100%",
2691
- overflow: z.value === "globe" ? "visible" : "hidden",
2691
+ overflow: B.value === "globe" ? "visible" : "hidden",
2692
2692
  background: "transparent",
2693
- color: P.value.style.chart.color,
2694
- paddingTop: P.value.style.chart.padding.top + "px",
2695
- paddingRight: P.value.style.chart.padding.right + "px",
2696
- paddingBottom: P.value.style.chart.padding.bottom + "px",
2697
- paddingLeft: P.value.style.chart.padding.left + "px"
2693
+ color: I.value.color,
2694
+ paddingTop: I.value.padding.top + "px",
2695
+ paddingRight: I.value.padding.right + "px",
2696
+ paddingBottom: I.value.padding.bottom + "px",
2697
+ paddingLeft: I.value.padding.left + "px"
2698
2698
  }),
2699
- onMousedown: vn,
2700
- onMousemove: yn,
2701
- onMouseup: bn,
2702
- onMouseleave: bn,
2703
- onTouchstart: xn,
2704
- onTouchmove: Ne(Sn, ["prevent"]),
2705
- onTouchend: Cn
2699
+ onMousedown: Cn,
2700
+ onMousemove: wn,
2701
+ onMouseup: Tn,
2702
+ onMouseleave: Tn,
2703
+ onTouchstart: En,
2704
+ onTouchmove: Le(Dn, ["prevent"]),
2705
+ onTouchend: On
2706
2706
  }, [
2707
- g(T(ct)),
2708
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
2707
+ p(S(ft)),
2708
+ e.$slots["chart-background"] ? (v(), d("foreignObject", {
2709
2709
  key: 0,
2710
- x: V.value.minX,
2711
- y: V.value.minY,
2712
- width: V.value.width,
2713
- height: V.value.height,
2710
+ x: H.value.minX,
2711
+ y: H.value.minY,
2712
+ width: H.value.width,
2713
+ height: H.value.height,
2714
2714
  style: { pointerEvents: "none" }
2715
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : p("", !0),
2716
- ft.value ? (x(), m("g", qe, [
2717
- z.value === "globe" ? (x(), m(u, { key: 0 }, [
2718
- h("defs", null, [
2719
- g(_e, {
2715
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : u("", !0),
2716
+ gt.value ? (v(), d("g", Ze, [
2717
+ B.value === "globe" ? (v(), d(s, { key: 0 }, [
2718
+ f("defs", null, [
2719
+ p(be, {
2720
2720
  t: "radial",
2721
- id: `water-${A.value}`,
2721
+ id: `water-${E.value}`,
2722
2722
  cx: .48,
2723
2723
  cy: .52,
2724
2724
  r: "0.55",
@@ -2727,29 +2727,29 @@ var Ve = {
2727
2727
  stops: [
2728
2728
  [
2729
2729
  "0%",
2730
- T(te)(P.value.style.chart.globe.waterColor, .4),
2730
+ S(ie)(N.value.waterColor, .4),
2731
2731
  1
2732
2732
  ],
2733
2733
  [
2734
2734
  "45%",
2735
- P.value.style.chart.globe.waterColor,
2735
+ N.value.waterColor,
2736
2736
  1
2737
2737
  ],
2738
2738
  [
2739
2739
  "80%",
2740
- T(o)(P.value.style.chart.globe.waterColor, .2),
2740
+ S(o)(N.value.waterColor, .2),
2741
2741
  1
2742
2742
  ],
2743
2743
  [
2744
2744
  "100%",
2745
- T(o)(P.value.style.chart.globe.waterColor, .5),
2745
+ S(o)(N.value.waterColor, .5),
2746
2746
  .95
2747
2747
  ]
2748
2748
  ]
2749
2749
  }, null, 8, ["id", "stops"]),
2750
- g(_e, {
2750
+ p(be, {
2751
2751
  t: "radial",
2752
- id: `atmo-realistic-${A.value}`,
2752
+ id: `atmo-realistic-${E.value}`,
2753
2753
  cx: .5,
2754
2754
  cy: .5,
2755
2755
  r: "0.54",
@@ -2761,7 +2761,7 @@ var Ve = {
2761
2761
  ],
2762
2762
  [
2763
2763
  "98%",
2764
- P.value.style.chart.globe.waterColor,
2764
+ N.value.waterColor,
2765
2765
  1
2766
2766
  ],
2767
2767
  [
@@ -2771,116 +2771,116 @@ var Ve = {
2771
2771
  ]
2772
2772
  ]
2773
2773
  }, null, 8, ["id", "stops"]),
2774
- h("filter", {
2775
- id: `blur-${A.value}`,
2774
+ f("filter", {
2775
+ id: `blur-${E.value}`,
2776
2776
  x: "-30%",
2777
2777
  y: "-30%",
2778
2778
  width: "160%",
2779
2779
  height: "160%"
2780
- }, [...t[4] ||= [h("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
2780
+ }, [...t[4] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Qe)
2781
2781
  ]),
2782
- e.$slots.pattern ? (x(), m("g", Ye, [(x(!0), m(u, null, Ae(H.value, (t, n) => (x(), m("defs", null, [C(e.$slots, "pattern", Te({ ref_for: !0 }, {
2782
+ e.$slots.pattern ? (v(), d("g", $e, [(v(!0), d(s, null, Ne(U.value, (t, n) => (v(), d("defs", null, [b(e.$slots, "pattern", Oe({ ref_for: !0 }, {
2783
2783
  ...t,
2784
- patternId: `pattern_${A.value}_${t.code}`
2785
- }), void 0, !0)]))), 256))])) : p("", !0),
2786
- h("circle", {
2787
- cx: V.value.width / 2 + 20,
2788
- cy: V.value.height / 2 + 20,
2789
- r: V.value.height / 2,
2790
- fill: `url(#water-${A.value})`
2791
- }, null, 8, Xe),
2792
- h("circle", {
2793
- cx: V.value.width / 2 + 20,
2794
- cy: V.value.height / 2 + 20,
2795
- r: V.value.height / 2 + 10,
2796
- fill: `url(#atmo-realistic-${A.value})`,
2784
+ patternId: `pattern_${E.value}_${t.code}`
2785
+ }), void 0, !0)]))), 256))])) : u("", !0),
2786
+ f("circle", {
2787
+ cx: H.value.width / 2 + 20,
2788
+ cy: H.value.height / 2 + 20,
2789
+ r: H.value.height / 2,
2790
+ fill: `url(#water-${E.value})`
2791
+ }, null, 8, et),
2792
+ f("circle", {
2793
+ cx: H.value.width / 2 + 20,
2794
+ cy: H.value.height / 2 + 20,
2795
+ r: H.value.height / 2 + 10,
2796
+ fill: `url(#atmo-realistic-${E.value})`,
2797
2797
  "pointer-events": "none",
2798
- filter: `url(#blur-${A.value})`
2799
- }, null, 8, Ze)
2800
- ], 64)) : p("", !0),
2801
- (x(!0), m(u, null, Ae(H.value, (t, n) => (x(), m(u, { key: t.code }, [h("path", {
2798
+ filter: `url(#blur-${E.value})`
2799
+ }, null, 8, tt)
2800
+ ], 64)) : u("", !0),
2801
+ (v(!0), d(s, null, Ne(U.value, (t, n) => (v(), d(s, { key: t.code }, [f("path", {
2802
2802
  d: t.path,
2803
- fill: t.category && Z.value.includes(t.category) ? P.value.style.chart.territory.emptyColor : t.color,
2804
- stroke: P.value.style.chart.territory.stroke,
2805
- "stroke-width": K.value && K.value.uid === t.uid ? P.value.style.chart.territory.strokeWidthSelected : P.value.style.chart.territory.strokeWidth,
2806
- onMouseenter: (e) => sn({
2803
+ fill: t.category && Z.value.includes(t.category) ? P.value.emptyColor : t.color,
2804
+ stroke: P.value.stroke,
2805
+ "stroke-width": q.value && q.value.uid === t.uid ? P.value.strokeWidthSelected : P.value.strokeWidth,
2806
+ onMouseenter: (e) => fn({
2807
2807
  datapoint: t,
2808
2808
  seriesIndex: n
2809
2809
  }),
2810
- onMouseleave: (e) => an({
2810
+ onMouseleave: (e) => un({
2811
2811
  datapoint: t,
2812
2812
  seriesIndex: n
2813
2813
  }),
2814
- onClick: (e) => on({
2814
+ onClick: (e) => dn({
2815
2815
  datapoint: t,
2816
2816
  seriesIndex: n
2817
2817
  }),
2818
2818
  class: "vue-ui-world-territory"
2819
- }, [!j.value || !R.value.showTooltip ? (x(), m("title", $e, [we(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), m(u, { key: 0 }, [we(" : " + w(t.value), 1)], 64)) : p("", !0)])) : p("", !0)], 40, Qe), e.$slots.pattern ? (x(), m("path", {
2819
+ }, [!D.value || !z.value.showTooltip ? (v(), d("title", rt, [De(x(t.name) + " ", 1), typeof t.value == "number" ? (v(), d(s, { key: 0 }, [De(" : " + x(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, nt), e.$slots.pattern ? (v(), d("path", {
2820
2820
  key: 0,
2821
2821
  d: t.path,
2822
- fill: `url(#pattern_${A.value}_${t.code})`,
2823
- stroke: P.value.style.chart.territory.stroke,
2824
- "stroke-width": P.value.style.chart.territory.strokeWidthSelected,
2822
+ fill: `url(#pattern_${E.value}_${t.code})`,
2823
+ stroke: P.value.stroke,
2824
+ "stroke-width": P.value.strokeWidthSelected,
2825
2825
  style: { "pointer-events": "none" },
2826
2826
  class: "vue-ui-world-territory"
2827
- }, null, 8, et)) : p("", !0)], 64))), 128)),
2828
- K.value ? (x(), m("path", {
2827
+ }, null, 8, it)) : u("", !0)], 64))), 128)),
2828
+ q.value ? (v(), d("path", {
2829
2829
  key: 1,
2830
- d: tn.value,
2830
+ d: sn.value,
2831
2831
  fill: "transparent",
2832
- stroke: P.value.style.chart.territory.stroke,
2833
- "stroke-width": P.value.style.chart.territory.strokeWidthSelected,
2832
+ stroke: P.value.stroke,
2833
+ "stroke-width": P.value.strokeWidthSelected,
2834
2834
  style: { "pointer-events": "none" },
2835
2835
  class: "vue-ui-world-territory"
2836
- }, null, 8, tt)) : p("", !0)
2837
- ])) : p("", !0),
2838
- C(e.$slots, "svg", { svg: {
2839
- height: B.value.height,
2840
- width: B.value.width,
2841
- isPrintingImg: T(Xt) || T(Zt) || T(Fn),
2842
- isPrintingSvg: T(In)
2836
+ }, null, 8, at)) : u("", !0)
2837
+ ])) : u("", !0),
2838
+ b(e.$slots, "svg", { svg: {
2839
+ height: V.value.height,
2840
+ width: V.value.width,
2841
+ isPrintingImg: S(tn) || S(nn) || S(Bn),
2842
+ isPrintingSvg: S(Vn)
2843
2843
  } }, void 0, !0)
2844
- ], 46, Ge)),
2845
- e.$slots.watermark ? (x(), m("div", nt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Xt) || T(Zt) || T(Fn) || T(In) })), void 0, !0)])) : p("", !0),
2846
- h("div", { id: `legend-bottom-${A.value}` }, null, 8, rt),
2847
- Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Se, {
2844
+ ], 46, Ye)),
2845
+ e.$slots.watermark ? (v(), d("div", ot, [b(e.$slots, "watermark", g(h({ isPrinting: S(tn) || S(nn) || S(Bn) || S(Vn) })), void 0, !0)])) : u("", !0),
2846
+ f("div", { id: `legend-bottom-${E.value}` }, null, 8, st),
2847
+ Dt.value && _t.value && (F.value.show || e.$slots.legend) ? (v(), l(Te, {
2848
2848
  key: 5,
2849
- to: P.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
2850
- }, [pt.value ? (x(), m("div", {
2849
+ to: F.value.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
2850
+ }, [_t.value ? (v(), d("div", {
2851
2851
  key: 0,
2852
2852
  ref_key: "chartLegend",
2853
- ref: ht
2854
- }, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(), f(T(Ie), {
2855
- key: `legend_${yt.value}`,
2853
+ ref: yt
2854
+ }, [b(e.$slots, "legend", { legend: Q.value }, () => [F.value.show ? (v(), l(S(Be), {
2855
+ key: `legend_${Ct.value}`,
2856
2856
  legendSet: Q.value,
2857
- config: On.value,
2858
- isCursorPointer: F.value,
2859
- onClickMarker: t[0] ||= (e) => Dn(e)
2860
- }, Ce({
2861
- item: D(({ legend: e, index: t }) => [h("div", {
2862
- style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2857
+ config: Pn.value,
2858
+ isCursorPointer: L.value,
2859
+ onClickMarker: t[0] ||= (e) => Nn(e)
2860
+ }, Ee({
2861
+ item: C(({ legend: e, index: t }) => [f("div", {
2862
+ style: _(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2863
2863
  onClick: (t) => e.segregate()
2864
- }, w(e.name), 13, it)]),
2865
- legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(), f(ve, {
2864
+ }, x(e.name), 13, ct)]),
2865
+ legendToggle: C(() => [Q.value.length > 2 && F.value.selectAllToggle.show && !S(Ft) ? (v(), l(xe, {
2866
2866
  key: 0,
2867
- backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
2868
- color: P.value.style.chart.legend.selectAllToggle.color,
2869
- fontSize: P.value.style.chart.legend.fontSize,
2867
+ backgroundColor: F.value.selectAllToggle.backgroundColor,
2868
+ color: F.value.selectAllToggle.color,
2869
+ fontSize: F.value.fontSize,
2870
2870
  checked: Z.value.length > 0,
2871
- isCursorPointer: F.value,
2872
- onToggle: En
2871
+ isCursorPointer: L.value,
2872
+ onToggle: Mn
2873
2873
  }, null, 8, [
2874
2874
  "backgroundColor",
2875
2875
  "color",
2876
2876
  "fontSize",
2877
2877
  "checked",
2878
2878
  "isCursorPointer"
2879
- ])) : p("", !0)]),
2879
+ ])) : u("", !0)]),
2880
2880
  _: 2
2881
2881
  }, [e.$slots.pattern ? {
2882
2882
  name: "legend-pattern",
2883
- fn: D(({ legend: e, index: t }) => [g(he, {
2883
+ fn: C(({ legend: e, index: t }) => [p(ve, {
2884
2884
  shape: e.shape,
2885
2885
  radius: 30,
2886
2886
  stroke: "none",
@@ -2888,45 +2888,45 @@ var Ve = {
2888
2888
  x: 30,
2889
2889
  y: 30
2890
2890
  },
2891
- fill: `url(#pattern_${A.value}_${t})`
2891
+ fill: `url(#pattern_${E.value}_${t})`
2892
2892
  }, null, 8, ["shape", "fill"])]),
2893
2893
  key: "0"
2894
2894
  } : void 0]), 1032, [
2895
2895
  "legendSet",
2896
2896
  "config",
2897
2897
  "isCursorPointer"
2898
- ])) : p("", !0)], !0)], 512)) : p("", !0)], 8, ["to"])) : p("", !0),
2899
- e.$slots.source ? (x(), m("div", {
2898
+ ])) : u("", !0)], !0)], 512)) : u("", !0)], 8, ["to"])) : u("", !0),
2899
+ e.$slots.source ? (v(), d("div", {
2900
2900
  key: 6,
2901
2901
  ref_key: "source",
2902
- ref: gt,
2902
+ ref: bt,
2903
2903
  dir: "auto"
2904
- }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
2905
- g(T(Le), {
2906
- teleportTo: P.value.style.chart.tooltip.teleportTo,
2907
- show: R.value.showTooltip && j.value,
2908
- backgroundColor: P.value.style.chart.tooltip.backgroundColor,
2909
- color: P.value.style.chart.tooltip.color,
2910
- fontSize: P.value.style.chart.tooltip.fontSize,
2911
- borderRadius: P.value.style.chart.tooltip.borderRadius,
2912
- borderColor: P.value.style.chart.tooltip.borderColor,
2913
- borderWidth: P.value.style.chart.tooltip.borderWidth,
2914
- backgroundOpacity: P.value.style.chart.tooltip.backgroundOpacity,
2915
- position: P.value.style.chart.tooltip.position,
2916
- offsetX: P.value.style.chart.tooltip.offsetX,
2917
- offsetY: P.value.style.chart.tooltip.offsetY,
2918
- parent: k.value,
2919
- content: xt.value,
2920
- isCustom: G.value,
2921
- isFullscreen: U.value,
2922
- smooth: P.value.style.chart.tooltip.smooth,
2923
- backdropFilter: P.value.style.chart.tooltip.backdropFilter,
2924
- smoothForce: P.value.style.chart.tooltip.smoothForce,
2925
- smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold
2904
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
2905
+ p(S(Ve), {
2906
+ teleportTo: M.value.teleportTo,
2907
+ show: z.value.showTooltip && D.value,
2908
+ backgroundColor: M.value.backgroundColor,
2909
+ color: M.value.color,
2910
+ fontSize: M.value.fontSize,
2911
+ borderRadius: M.value.borderRadius,
2912
+ borderColor: M.value.borderColor,
2913
+ borderWidth: M.value.borderWidth,
2914
+ backgroundOpacity: M.value.backgroundOpacity,
2915
+ position: M.value.position,
2916
+ offsetX: M.value.offsetX,
2917
+ offsetY: M.value.offsetY,
2918
+ parent: T.value,
2919
+ content: Tt.value,
2920
+ isCustom: K.value,
2921
+ isFullscreen: W.value,
2922
+ smooth: M.value.smooth,
2923
+ backdropFilter: M.value.backdropFilter,
2924
+ smoothForce: M.value.smoothForce,
2925
+ smoothSnapThreshold: M.value.smoothSnapThreshold
2926
2926
  }, {
2927
- "tooltip-before": D(() => [C(e.$slots, "tooltip-before", y(v({ ...en.value })), void 0, !0)]),
2928
- tooltip: D(() => [C(e.$slots, "tooltip", y(v({ ...en.value })), void 0, !0)]),
2929
- "tooltip-after": D(() => [C(e.$slots, "tooltip-after", y(v({ ...en.value })), void 0, !0)]),
2927
+ "tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(h({ ...on.value })), void 0, !0)]),
2928
+ tooltip: C(() => [b(e.$slots, "tooltip", g(h({ ...on.value })), void 0, !0)]),
2929
+ "tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(h({ ...on.value })), void 0, !0)]),
2930
2930
  _: 3
2931
2931
  }, 8, [
2932
2932
  "teleportTo",
@@ -2950,28 +2950,28 @@ var Ve = {
2950
2950
  "smoothForce",
2951
2951
  "smoothSnapThreshold"
2952
2952
  ]),
2953
- ft.value && P.value.userOptions.buttons.table ? (x(), f(je($.value.component), Te({ key: 7 }, $.value.props, {
2953
+ gt.value && j.value.buttons.table ? (v(), l(Pe($.value.component), Oe({ key: 7 }, $.value.props, {
2954
2954
  ref_key: "tableUnit",
2955
- ref: M,
2956
- onClose: jn
2957
- }), Ce({
2958
- content: D(() => [(x(), f(T(Be), {
2959
- key: `table_${bt.value}`,
2960
- colNames: wn.value.colNames,
2961
- head: wn.value.head,
2962
- body: wn.value.body,
2963
- config: wn.value.config,
2964
- title: P.value.table.useDialog ? "" : $.value.title,
2965
- withCloseButton: !P.value.table.useDialog,
2966
- isCursorPointer: F.value,
2967
- onClose: jn
2955
+ ref: O,
2956
+ onClose: Ln
2957
+ }), Ee({
2958
+ content: C(() => [(v(), l(S(We), {
2959
+ key: `table_${wt.value}`,
2960
+ colNames: An.value.colNames,
2961
+ head: An.value.head,
2962
+ body: An.value.body,
2963
+ config: An.value.config,
2964
+ title: A.value.table.useDialog ? "" : $.value.title,
2965
+ withCloseButton: !A.value.table.useDialog,
2966
+ isCursorPointer: L.value,
2967
+ onClose: Ln
2968
2968
  }, {
2969
- th: D(({ th: e }) => [h("div", at, w(e), 1)]),
2970
- td: D(({ td: e }) => [we(w(e.name ? e.name : e.category ? e.category : T(l)(P.value.style.chart.dataLabels.formatter, e, T(ee)({
2971
- p: P.value.style.chart.dataLabels.prefix,
2969
+ th: C(({ th: e }) => [f("div", lt, x(e), 1)]),
2970
+ td: C(({ td: e }) => [De(x(e.name ? e.name : e.category ? e.category : S(re)(I.value.dataLabels.formatter, e, S(ee)({
2971
+ p: I.value.dataLabels.prefix,
2972
2972
  v: e,
2973
- s: P.value.style.chart.dataLabels.suffix,
2974
- r: P.value.style.chart.dataLabels.rounding
2973
+ s: I.value.dataLabels.suffix,
2974
+ r: I.value.dataLabels.rounding
2975
2975
  }))), 1)]),
2976
2976
  _: 1
2977
2977
  }, 8, [
@@ -2984,26 +2984,26 @@ var Ve = {
2984
2984
  "isCursorPointer"
2985
2985
  ]))]),
2986
2986
  _: 2
2987
- }, [P.value.table.useDialog ? {
2987
+ }, [A.value.table.useDialog ? {
2988
2988
  name: "title",
2989
- fn: D(() => [we(w($.value.title), 1)]),
2989
+ fn: C(() => [De(x($.value.title), 1)]),
2990
2990
  key: "0"
2991
- } : void 0, P.value.table.useDialog ? {
2991
+ } : void 0, A.value.table.useDialog ? {
2992
2992
  name: "actions",
2993
- fn: D(() => [h("button", {
2993
+ fn: C(() => [f("button", {
2994
2994
  tabindex: "0",
2995
2995
  class: "vue-ui-user-options-button",
2996
- onClick: t[1] ||= (e) => Tn(P.value.userOptions.callbacks.csv),
2997
- style: b({ cursor: F.value ? "pointer" : "default" })
2998
- }, [g(T(Re), {
2996
+ onClick: t[1] ||= (e) => jn(j.value.callbacks.csv),
2997
+ style: _({ cursor: L.value ? "pointer" : "default" })
2998
+ }, [p(S(He), {
2999
2999
  name: "fileCsv",
3000
3000
  stroke: $.value.props.color
3001
3001
  }, null, 8, ["stroke"])], 4)]),
3002
3002
  key: "1"
3003
- } : void 0]), 1040)) : p("", !0),
3004
- C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
3005
- ], 46, Ue));
3003
+ } : void 0]), 1040)) : u("", !0),
3004
+ b(e.$slots, "skeleton", {}, () => [S(Ft) ? (v(), l(me, { key: 0 })) : u("", !0)], !0)
3005
+ ], 46, qe));
3006
3006
  }
3007
- }, [["__scopeId", "data-v-68cc6539"]]);
3007
+ }, [["__scopeId", "data-v-226853b6"]]);
3008
3008
  //#endregion
3009
- export { He as n, st as t };
3009
+ export { Ke as n, dt as t };