vue-data-ui 3.23.1 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Jt as r, Ot as ee, Pt as i, S as a, X as te, Y as o, i as s, q as c, t as ne, vt as re, w as ie, xt as ae, yt as oe } from "./lib-Bttd6u5E.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-D3scuR88.js";
5
- import { t as ue } from "./usePrinter-DN5bYhTG.js";
6
- import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as pe } from "./useSvgExport-DH-FfcqQ.js";
8
- import { t as me } from "./useNestedProp-vPNvh7rV.js";
9
- import { t as he } from "./img-Bnokohej.js";
10
- import { t as ge } from "./Shape-C21CMlWS.js";
11
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { t as ve } from "./DefGrad-DVBqDjhO.js";
13
- import { t as ye } from "./BaseLegendToggle-DZVucLnv.js";
14
- import { t as be } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as Se } from "./geoProjections-CEo3dVaL.js";
17
- import { Fragment as l, Teleport as Ce, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as we, createTextVNode as h, 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, D as n, Jt as r, Ot as ee, Pt as i, S as a, X as o, Y as s, i as c, q as l, t as te, vt as ne, w as re, xt as ie, yt as ae } from "./lib-Bttd6u5E.js";
3
+ import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ce } from "./useConfig-DlNpz6P8.js";
5
+ import { t as le } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as fe } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as pe } from "./useChartExport-DNiwdPmb.js";
9
+ import { t as me } from "./img-Bnokohej.js";
10
+ import { t as he } from "./Shape-C21CMlWS.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-DZVucLnv.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";
18
18
  //#region src/resources/worldGeo.js
19
19
  var Pe = 1e3, Fe = [
20
20
  "name",
@@ -1978,7 +1978,7 @@ var Ve = {
1978
1978
  ], nt = {
1979
1979
  key: 4,
1980
1980
  class: "vue-data-ui-watermark"
1981
- }, rt = ["id"], it = ["onClick"], at = ["innerHTML"], ot = .5, st = /*#__PURE__*/ _e({
1981
+ }, rt = ["id"], it = ["onClick"], at = ["innerHTML"], ot = .5, st = /*#__PURE__*/ ge({
1982
1982
  __name: "vue-ui-world",
1983
1983
  props: {
1984
1984
  config: {
@@ -1999,34 +1999,34 @@ var Ve = {
1999
1999
  "selectLegend",
2000
2000
  "copyAlt"
2001
2001
  ],
2002
- setup(e, { expose: _e, emit: Pe }) {
2003
- let Fe = _(() => import("./Title-BE3qg9xl.js").then((e) => e.t)), Ie = _(() => import("./Legend-CQxUgOd-.js").then((e) => e.n)), Le = _(() => import("./Tooltip-DhjyfHwz.js")), Re = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), ze = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Be = _(() => import("./DataTable-BbKgJ5UI.js")), He = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), st = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), ct = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), lt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_world: ut } = le(), O = e, dt = Pe, ft = u({
2002
+ setup(e, { expose: ge, emit: Pe }) {
2003
+ let Fe = _(() => import("./Title-BE3qg9xl.js").then((e) => e.t)), Ie = _(() => import("./Legend-CQxUgOd-.js").then((e) => e.n)), Le = _(() => import("./Tooltip-DhjyfHwz.js")), Re = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), ze = _(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Be = _(() => import("./DataTable-BbKgJ5UI.js")), He = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), st = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), ct = _(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), lt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_world: ut } = ce(), O = e, dt = Pe, ft = d({
2004
2004
  get() {
2005
- return !!L.value;
2005
+ return !!I.value;
2006
2006
  },
2007
2007
  set(e) {
2008
2008
  return e;
2009
2009
  }
2010
- }), pt = u(() => ft ? Object.values(L.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(c()), xt = S(!1), St = S(""), Ct = S(0), wt = S(!1), j = S(null), Tt = S(null), M = S(!1), N = S(!1);
2010
+ }), 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(l()), j = S(!1), xt = S(""), St = S(0), Ct = S(!1), M = S(null), wt = S(null);
2011
2011
  ke(() => {
2012
- wt.value = !0;
2012
+ Ct.value = !0;
2013
2013
  });
2014
- let P = Ve, { projections: Et, getProjectedBounds: Dt, setupTerritories: Ot, geoToPath: kt } = Se;
2015
- function At() {
2016
- let e = me({
2014
+ let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } = xe;
2015
+ function kt() {
2016
+ let e = fe({
2017
2017
  userConfig: O.config,
2018
2018
  defaultConfig: ut
2019
2019
  });
2020
- return O.config && re(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 && re(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], P = Ot(e, P), e;
2020
+ return O.config && ne(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 && ne(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;
2021
2021
  }
2022
- let F = S(At());
2023
- se({
2024
- config: () => F.value,
2022
+ let P = S(kt());
2023
+ oe({
2024
+ config: () => P.value,
2025
2025
  dataset: () => O.dataset,
2026
2026
  component: "VueUiWorld",
2027
- rules: [ce.noHint]
2027
+ rules: [se.noHint]
2028
2028
  });
2029
- let I = u(() => F.value.userOptions.useCursorPointer), jt = u(() => r({
2029
+ let F = d(() => P.value.userOptions.useCursorPointer), At = d(() => r({
2030
2030
  defaultConfig: {
2031
2031
  userOptions: { show: !1 },
2032
2032
  table: { show: !1 },
@@ -2042,30 +2042,30 @@ var Ve = {
2042
2042
  }
2043
2043
  } }
2044
2044
  },
2045
- userConfig: F.value.skeletonConfig ?? {}
2046
- })), { loading: Mt, FINAL_DATASET: L } = de({
2045
+ userConfig: P.value.skeletonConfig ?? {}
2046
+ })), { loading: jt, FINAL_DATASET: I } = ue({
2047
2047
  ...Me(O),
2048
- FINAL_CONFIG: F,
2049
- prepareConfig: At,
2048
+ FINAL_CONFIG: P,
2049
+ prepareConfig: kt,
2050
2050
  skeletonDataset: O.config?.skeletonDataset ?? [],
2051
2051
  skeletonConfig: r({
2052
- defaultConfig: F.value,
2053
- userConfig: jt.value
2052
+ defaultConfig: P.value,
2053
+ userConfig: At.value
2054
2054
  })
2055
- }), { userOptionsVisible: Nt, setUserOptionsVisibility: Pt, keepUserOptionState: Ft } = be({ config: F.value }), { svgRef: R } = xe({ config: F.value.style.chart.title }), z = S({
2056
- showTable: F.value.table.show,
2057
- showTooltip: F.value.style.chart.tooltip.show
2055
+ }), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } = ye({ config: P.value }), { svgRef: L } = be({ config: P.value.style.chart.title }), R = S({
2056
+ showTable: P.value.table.show,
2057
+ showTooltip: P.value.style.chart.tooltip.show
2058
2058
  });
2059
2059
  E(() => O.config, (e) => {
2060
- F.value = At(), Nt.value = !F.value.userOptions.showOnChartHover, vt.value += 1, bt.value += 1, yt.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show;
2061
- }), E(F, () => {
2062
- z.value = {
2063
- showTable: F.value.table.show,
2064
- showTooltip: F.value.style.chart.tooltip.show
2060
+ 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;
2061
+ }), E(P, () => {
2062
+ R.value = {
2063
+ showTable: P.value.table.show,
2064
+ showTooltip: P.value.style.chart.tooltip.show
2065
2065
  };
2066
2066
  }, { immediate: !0 });
2067
- let It = u(() => ie(F.value.customPalette)), B = u(() => F.value.projection || "globe"), V = u(() => {
2068
- let { height: e, width: t } = F.value.style.chart.dimensions;
2067
+ let Ft = d(() => re(P.value.customPalette)), z = d(() => P.value.projection || "globe"), B = d(() => {
2068
+ let { height: e, width: t } = P.value.style.chart.dimensions;
2069
2069
  return {
2070
2070
  aitoff: {
2071
2071
  width: t || 1e3,
@@ -2119,9 +2119,9 @@ var Ve = {
2119
2119
  width: t || 1e3,
2120
2120
  height: e || 1e3
2121
2121
  }
2122
- }[B.value];
2123
- }), H = u(() => {
2124
- let { minX: e, minY: t, width: n, height: r } = Dt(Et[B.value], P.features, V.value.width, V.value.height, J.value);
2122
+ }[z.value];
2123
+ }), V = d(() => {
2124
+ let { minX: e, minY: t, width: n, height: r } = Et(Tt[z.value], N.features, B.value.width, B.value.height, q.value);
2125
2125
  return {
2126
2126
  str: `${e} ${t} ${n} ${r}`,
2127
2127
  minX: e,
@@ -2129,205 +2129,205 @@ var Ve = {
2129
2129
  width: n,
2130
2130
  height: r
2131
2131
  };
2132
- }), Lt = u(() => Object.values(L.value).map((e) => e.value)), Rt = u(() => Math.min(...Lt.value)), zt = u(() => Math.max(...Lt.value));
2133
- function Bt(e) {
2134
- return typeof e == "number" ? oe(F.value.style.chart.territory.colors.min || "#FFFFFF00", F.value.style.chart.territory.colors.max || It.value[0] || i[0], Rt.value, zt.value, e) : F.value.style.chart.territory.emptyColor;
2132
+ }), It = d(() => Object.values(I.value).map((e) => e.value)), Lt = d(() => Math.min(...It.value)), Rt = d(() => Math.max(...It.value));
2133
+ function zt(e) {
2134
+ 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
2135
  }
2136
- function Vt(e) {
2137
- return kt(e, {
2138
- projection: B.value,
2139
- width: V.value.width,
2140
- height: V.value.height,
2141
- center: J.value
2136
+ function Bt(e) {
2137
+ return Ot(e, {
2138
+ projection: z.value,
2139
+ width: B.value.width,
2140
+ height: B.value.height,
2141
+ center: q.value
2142
2142
  });
2143
2143
  }
2144
- let Ht = u(() => {
2145
- let e = Object.values(L.value).filter((e) => !!e.category), t = {};
2144
+ let Vt = d(() => {
2145
+ let e = Object.values(I.value).filter((e) => !!e.category), t = {};
2146
2146
  return e.forEach((e) => {
2147
2147
  t[e.category] || (t[e.category] = e);
2148
2148
  }), Object.values(t).map((e, t) => ({
2149
2149
  name: e.category,
2150
- color: e.color ? a(e.color) : It.value[t] || i[t] || i[t % i.length]
2150
+ color: e.color ? a(e.color) : Ft.value[t] || i[t] || i[t % i.length]
2151
2151
  }));
2152
2152
  });
2153
- function Ut(e) {
2154
- let t = Ht.value.find((t) => t.name === e);
2153
+ function Ht(e) {
2154
+ let t = Vt.value.find((t) => t.name === e);
2155
2155
  return t ? t.color : "#000000";
2156
2156
  }
2157
- let Wt = /* @__PURE__ */ new Map();
2158
- function Gt(e) {
2159
- return Wt.has(e) || Wt.set(e, `territory-${c()}`), Wt.get(e);
2157
+ let Ut = /* @__PURE__ */ new Map();
2158
+ function Wt(e) {
2159
+ return Ut.has(e) || Ut.set(e, `territory-${l()}`), Ut.get(e);
2160
2160
  }
2161
- let U = u(() => (J.value, P.features.map((e) => {
2161
+ let H = d(() => (q.value, N.features.map((e) => {
2162
2162
  let t = e.properties.iso_a3;
2163
2163
  (!t || t === "-99") && (t = e.properties.iso_a3_eh);
2164
- let n = L.value[t];
2164
+ let n = I.value[t];
2165
2165
  return {
2166
- path: Vt(e.geometry),
2166
+ path: Bt(e.geometry),
2167
2167
  name: e.properties.name,
2168
2168
  geo: e,
2169
2169
  code: t,
2170
2170
  geometry: e.geometry,
2171
- color: n && n.color ? a(n.color) : n && n.category ? Ut(n.category) : Bt(n ? n.value : null),
2171
+ color: n && n.color ? a(n.color) : n && n.category ? Ht(n.category) : zt(n ? n.value : null),
2172
2172
  value: n ? n.value : null,
2173
2173
  category: n && n.category || null,
2174
2174
  isActive: !!n,
2175
- uid: Gt(t)
2175
+ uid: Wt(t)
2176
2176
  };
2177
- }))), W = S(!1);
2178
- function Kt(e) {
2179
- W.value = e, Ct.value += 1;
2177
+ }))), U = S(!1);
2178
+ function Gt(e) {
2179
+ U.value = e, St.value += 1;
2180
+ }
2181
+ let W = S(!1);
2182
+ function Kt() {
2183
+ W.value = !W.value;
2180
2184
  }
2181
- let G = S(!1);
2182
2185
  function qt() {
2183
- G.value = !G.value;
2186
+ R.value.showTable = !R.value.showTable;
2184
2187
  }
2185
2188
  function Jt() {
2186
- z.value.showTable = !z.value.showTable;
2187
- }
2188
- function Yt() {
2189
- z.value.showTooltip = !z.value.showTooltip;
2189
+ R.value.showTooltip = !R.value.showTooltip;
2190
2190
  }
2191
- let Xt = u(() => F.value.userOptions.show && !F.value.style.chart.title.text), { isPrinting: Zt, isImaging: Qt, generatePdf: $t, generateImage: en } = ue({
2191
+ let Yt = d(() => P.value.userOptions.show && !P.value.style.chart.title.text), { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = le({
2192
2192
  elementId: `world_${A.value}`,
2193
- fileName: F.value.style.chart.title.text || "vue-ui-world",
2194
- options: F.value.userOptions.print
2195
- }), K = S(!1), tn = S(null), q = S(null), nn = u(() => q.value ? Vt(q.value.geometry) : "");
2196
- function rn(e) {
2193
+ fileName: P.value.style.chart.title.text || "vue-ui-world",
2194
+ options: P.value.userOptions.print
2195
+ }), G = S(!1), en = S(null), K = S(null), tn = d(() => K.value ? Bt(K.value.geometry) : "");
2196
+ function nn(e) {
2197
2197
  return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
2198
2198
  }
2199
- let an = u(() => {
2200
- let e = q.value?.geometry;
2199
+ let rn = d(() => {
2200
+ let e = K.value?.geometry;
2201
2201
  if (!e) return "";
2202
- let t = rn(e);
2202
+ let t = nn(e);
2203
2203
  if (!t.length) return "";
2204
- let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], ee = Et[B.value] || Et.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), c = o.map(([e, t]) => t), ne = Math.min(...s), re = Math.max(...s), ie = Math.min(...c), ae = Math.max(...c), oe = re - ne || 1, se = ae - ie || 1, ce = Math.min(64 / oe, 64 / se);
2205
- function le([e, t]) {
2206
- return [(e - ne) * ce + 8, (t - ie) * ce + 8];
2204
+ let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], ee = Tt[z.value] || Tt.globe, i = B.value.width, a = B.value.height, o = t.map((e) => e.map(([e, t]) => ee([e, t], i, a, 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);
2205
+ function ce([e, t]) {
2206
+ return [(e - te) * se + 8, (t - re) * se + 8];
2207
2207
  }
2208
2208
  return `
2209
2209
  <svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
2210
2210
  <rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
2211
- <path d="${te.map((e) => "M" + e.map(le).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"/>
2211
+ <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"/>
2212
2212
  </svg>
2213
2213
  `;
2214
2214
  });
2215
- function on({ datapoint: e, seriesIndex: t }) {
2216
- xt.value = !1, q.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
2215
+ function an({ datapoint: e, seriesIndex: t }) {
2216
+ j.value = !1, K.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
2217
2217
  datapoint: e,
2218
2218
  seriesIndex: t
2219
2219
  });
2220
2220
  }
2221
- function sn({ datapoint: e, seriesIndex: t }) {
2222
- dt("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
2221
+ function on({ datapoint: e, seriesIndex: t }) {
2222
+ dt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
2223
2223
  datapoint: e,
2224
2224
  seriesIndex: t
2225
2225
  });
2226
2226
  }
2227
- function cn({ datapoint: e, seriesIndex: t }) {
2228
- F.value.events.datapointEnter && F.value.events.datapointEnter({
2227
+ function sn({ datapoint: e, seriesIndex: t }) {
2228
+ P.value.events.datapointEnter && P.value.events.datapointEnter({
2229
2229
  datapoint: e,
2230
2230
  seriesIndex: t
2231
- }), q.value = e, tn.value = {
2231
+ }), K.value = e, en.value = {
2232
2232
  datapoint: e,
2233
- config: F.value,
2234
- series: U.value
2235
- }, xt.value = !0;
2236
- let n = "", r = F.value.style.chart.tooltip.customFormat;
2237
- if (K.value = !1, ae(r)) try {
2233
+ config: P.value,
2234
+ series: H.value
2235
+ }, j.value = !0;
2236
+ let n = "", r = P.value.style.chart.tooltip.customFormat;
2237
+ if (G.value = !1, ie(r)) try {
2238
2238
  let t = r({
2239
2239
  datapoint: e,
2240
- config: F.value,
2241
- series: U.value
2240
+ config: P.value,
2241
+ series: H.value
2242
2242
  });
2243
- typeof t == "string" && (St.value = t, K.value = !0);
2243
+ typeof t == "string" && (xt.value = t, G.value = !0);
2244
2244
  } catch {
2245
- console.warn("Custom format cannot be applied."), K.value = !1;
2245
+ console.warn("Custom format cannot be applied."), G.value = !1;
2246
2246
  }
2247
- K.value || (n += `
2247
+ G.value || (n += `
2248
2248
  <div style="width:100%;">
2249
- ${F.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${an.value}</div>` : ""}
2249
+ ${P.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${rn.value}</div>` : ""}
2250
2250
  <div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
2251
2251
  <svg viewBox="0 0 20 20" height="14" width="14">
2252
2252
  <circle cx="10" cy="10" r="10" fill="${e.color}"/>
2253
2253
  </svg>
2254
2254
  <span>${e.name}:</span>
2255
2255
  <b>
2256
- ${s(F.value.style.chart.dataLabels.formatter, e.value, te({
2257
- p: F.value.style.chart.dataLabels.prefix,
2256
+ ${c(P.value.style.chart.dataLabels.formatter, e.value, o({
2257
+ p: P.value.style.chart.dataLabels.prefix,
2258
2258
  v: e.value,
2259
- s: F.value.style.chart.dataLabels.suffix,
2260
- r: F.value.style.chart.dataLabels.rounding
2259
+ s: P.value.style.chart.dataLabels.suffix,
2260
+ r: P.value.style.chart.dataLabels.rounding
2261
2261
  }))}
2262
2262
  </b>
2263
2263
  </div>
2264
2264
  </div>
2265
- `, St.value = `<div>${n}</div>`);
2265
+ `, xt.value = `<div>${n}</div>`);
2266
2266
  }
2267
- let ln = S(!1), un = S({
2267
+ let cn = S(!1), ln = S({
2268
2268
  x: 0,
2269
2269
  y: 0
2270
- }), J = S([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]), dn = [0, 0], Y = null, X = null;
2271
- function fn(e) {
2270
+ }), q = S([P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y]), un = [0, 0], J = null, Y = null;
2271
+ function dn(e) {
2272
2272
  return Math.max(-90, Math.min(90, e));
2273
2273
  }
2274
- function pn(e) {
2274
+ function fn(e) {
2275
2275
  return ((e + 180) % 360 + 360) % 360 - 180;
2276
2276
  }
2277
- function mn() {
2278
- Y &&= (J.value = Y, null);
2277
+ function pn() {
2278
+ J &&= (q.value = J, null);
2279
2279
  }
2280
- function hn(e) {
2281
- if (Y = e, typeof requestAnimationFrame > "u") {
2282
- mn();
2280
+ function mn(e) {
2281
+ if (J = e, typeof requestAnimationFrame > "u") {
2282
+ pn();
2283
2283
  return;
2284
2284
  }
2285
- X === null && (X = requestAnimationFrame(() => {
2286
- X = null, mn();
2285
+ Y === null && (Y = requestAnimationFrame(() => {
2286
+ Y = null, pn();
2287
2287
  }));
2288
2288
  }
2289
- E(() => [F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y], ([e, t]) => {
2290
- J.value = [e, t], Y = null;
2289
+ E(() => [P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y], ([e, t]) => {
2290
+ q.value = [e, t], J = null;
2291
2291
  });
2292
- function gn(e, t) {
2293
- ln.value = !0, un.value = {
2292
+ function hn(e, t) {
2293
+ cn.value = !0, ln.value = {
2294
2294
  x: e,
2295
2295
  y: t
2296
- }, dn = Y || [J.value[0], J.value[1]];
2296
+ }, un = J || [q.value[0], q.value[1]];
2297
+ }
2298
+ function gn(e, t) {
2299
+ if (!cn.value || z.value !== "globe" || W.value) return;
2300
+ let n = e - ln.value.x, r = t - ln.value.y;
2301
+ mn([fn(un[0] - n * ot), dn(un[1] + r * ot)]);
2297
2302
  }
2298
- function _n(e, t) {
2299
- if (!ln.value || B.value !== "globe" || G.value) return;
2300
- let n = e - un.value.x, r = t - un.value.y;
2301
- hn([pn(dn[0] - n * ot), fn(dn[1] + r * ot)]);
2303
+ function _n() {
2304
+ cn.value = !1, Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null), pn();
2302
2305
  }
2303
- function vn() {
2304
- ln.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), mn();
2306
+ function vn(e) {
2307
+ hn(e.clientX, e.clientY);
2305
2308
  }
2306
2309
  function yn(e) {
2307
2310
  gn(e.clientX, e.clientY);
2308
2311
  }
2309
- function bn(e) {
2310
- _n(e.clientX, e.clientY);
2312
+ function bn() {
2313
+ _n();
2311
2314
  }
2312
- function xn() {
2313
- vn();
2315
+ function xn(e) {
2316
+ let t = e.touches[0];
2317
+ hn(t.clientX, t.clientY);
2314
2318
  }
2315
2319
  function Sn(e) {
2316
2320
  let t = e.touches[0];
2317
2321
  gn(t.clientX, t.clientY);
2318
2322
  }
2319
- function Cn(e) {
2320
- let t = e.touches[0];
2321
- _n(t.clientX, t.clientY);
2322
- }
2323
- function wn() {
2324
- vn();
2323
+ function Cn() {
2324
+ _n();
2325
2325
  }
2326
2326
  Oe(() => {
2327
- X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
2327
+ Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null);
2328
2328
  });
2329
- let Tn = u(() => {
2330
- let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2329
+ let X = d(() => {
2330
+ let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2331
2331
  return {
2332
2332
  head: e.map((e) => ({
2333
2333
  name: e.name,
@@ -2336,65 +2336,65 @@ var Ve = {
2336
2336
  })),
2337
2337
  body: e.map((e) => e.value || 0)
2338
2338
  };
2339
- }), En = u(() => {
2339
+ }), wn = d(() => {
2340
2340
  let e = [
2341
- F.value.table.columnNames.series,
2342
- F.value.table.columnNames.value,
2343
- F.value.table.columnNames.category
2344
- ], t = Tn.value.head.map((e, t) => [
2341
+ P.value.table.columnNames.series,
2342
+ P.value.table.columnNames.value,
2343
+ P.value.table.columnNames.category
2344
+ ], t = X.value.head.map((e, t) => [
2345
2345
  {
2346
2346
  color: e.color,
2347
2347
  name: e.name
2348
2348
  },
2349
- Tn.value.body[t] || 0,
2349
+ X.value.body[t] || 0,
2350
2350
  { category: e.category }
2351
2351
  ]), n = {
2352
2352
  th: {
2353
- backgroundColor: F.value.table.th.backgroundColor,
2354
- color: F.value.table.th.color,
2355
- outline: F.value.table.th.outline
2353
+ backgroundColor: P.value.table.th.backgroundColor,
2354
+ color: P.value.table.th.color,
2355
+ outline: P.value.table.th.outline
2356
2356
  },
2357
2357
  td: {
2358
- backgroundColor: F.value.table.td.backgroundColor,
2359
- color: F.value.table.td.color,
2360
- outline: F.value.table.td.outline
2358
+ backgroundColor: P.value.table.td.backgroundColor,
2359
+ color: P.value.table.td.color,
2360
+ outline: P.value.table.td.outline
2361
2361
  },
2362
- breakpoint: F.value.table.responsiveBreakpoint
2362
+ breakpoint: P.value.table.responsiveBreakpoint
2363
2363
  };
2364
2364
  return {
2365
- colNames: [F.value.table.columnNames.series, F.value.table.columnNames.value],
2365
+ colNames: [P.value.table.columnNames.series, P.value.table.columnNames.value],
2366
2366
  head: e,
2367
2367
  body: t,
2368
2368
  config: n
2369
2369
  };
2370
2370
  });
2371
- function Dn(e = null) {
2371
+ function Tn(e = null) {
2372
2372
  Ee(() => {
2373
- let r = Tn.value.head.map((e, t) => [[e.name], [Tn.value.body[t]]]), ee = [
2374
- [F.value.style.chart.title.text],
2375
- [F.value.style.chart.title.subtitle.text],
2373
+ let r = X.value.head.map((e, t) => [[e.name], [X.value.body[t]]]), ee = [
2374
+ [P.value.style.chart.title.text],
2375
+ [P.value.style.chart.title.subtitle.text],
2376
2376
  [[
2377
- F.value.table.columnNames.series,
2378
- F.value.table.columnNames.value,
2379
- F.value.table.columnNames.category
2377
+ P.value.table.columnNames.series,
2378
+ P.value.table.columnNames.value,
2379
+ P.value.table.columnNames.category
2380
2380
  ]]
2381
2381
  ].concat(r), i = n(ee);
2382
2382
  e ? e(i) : t({
2383
2383
  csvContent: i,
2384
- title: F.value.style.chart.title.text || "vue-ui-world"
2384
+ title: P.value.style.chart.title.text || "vue-ui-world"
2385
2385
  });
2386
2386
  });
2387
2387
  }
2388
2388
  let Z = S([]);
2389
- function On() {
2389
+ function En() {
2390
2390
  Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
2391
2391
  Z.value.push(e.name);
2392
2392
  });
2393
2393
  }
2394
- function kn(e) {
2394
+ function Dn(e) {
2395
2395
  Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), dt("selectLegend", { name: e });
2396
2396
  }
2397
- let Q = u(() => pt ? Ht.value.map(({ name: e, color: t }, n) => ({
2397
+ let Q = d(() => pt ? Vt.value.map(({ name: e, color: t }, n) => ({
2398
2398
  name: e,
2399
2399
  color: t,
2400
2400
  shape: "circle",
@@ -2402,22 +2402,22 @@ var Ve = {
2402
2402
  })).map((e) => ({
2403
2403
  ...e,
2404
2404
  opacity: Z.value.includes(e.name) ? .5 : 1,
2405
- segregate: () => kn(e.name),
2405
+ segregate: () => Dn(e.name),
2406
2406
  isSegregated: Z.value.includes(e.name)
2407
- })) : []), An = u(() => ({
2407
+ })) : []), On = d(() => ({
2408
2408
  cy: "donut-div-legend",
2409
- backgroundColor: F.value.style.chart.legend.backgroundColor,
2410
- color: F.value.style.chart.legend.color,
2411
- fontSize: F.value.style.chart.legend.fontSize,
2409
+ backgroundColor: P.value.style.chart.legend.backgroundColor,
2410
+ color: P.value.style.chart.legend.color,
2411
+ fontSize: P.value.style.chart.legend.fontSize,
2412
2412
  paddingBottom: 12,
2413
- fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
2413
+ fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
2414
2414
  }));
2415
- function jn() {
2416
- return U.value;
2415
+ function kn() {
2416
+ return H.value;
2417
2417
  }
2418
- async function Mn({ scale: e = 2 } = {}) {
2418
+ async function An({ scale: e = 2 } = {}) {
2419
2419
  if (!k.value) return;
2420
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await he({
2420
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await me({
2421
2421
  domElement: k.value,
2422
2422
  base64: !0,
2423
2423
  img: !0,
@@ -2426,125 +2426,100 @@ var Ve = {
2426
2426
  return {
2427
2427
  imageUri: ee,
2428
2428
  base64: i,
2429
- title: F.value.style.chart.title.text,
2429
+ title: P.value.style.chart.title.text,
2430
2430
  width: t,
2431
2431
  height: n,
2432
2432
  aspectRatio: r
2433
2433
  };
2434
2434
  }
2435
- let $ = u(() => {
2436
- let e = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
2435
+ let $ = d(() => {
2436
+ let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
2437
2437
  return {
2438
2438
  component: e ? lt : ze,
2439
- title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
2439
+ title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
2440
2440
  props: e ? {
2441
- backgroundColor: F.value.table.th.backgroundColor,
2442
- color: F.value.table.th.color,
2443
- headerColor: F.value.table.th.color,
2444
- headerBg: F.value.table.th.backgroundColor,
2445
- isFullscreen: W.value,
2441
+ backgroundColor: P.value.table.th.backgroundColor,
2442
+ color: P.value.table.th.color,
2443
+ headerColor: P.value.table.th.color,
2444
+ headerBg: P.value.table.th.backgroundColor,
2445
+ isFullscreen: U.value,
2446
2446
  fullscreenParent: k.value,
2447
2447
  forcedWidth: Math.min(800, window.innerWidth * .8),
2448
- isCursorPointer: I.value
2448
+ isCursorPointer: F.value
2449
2449
  } : {
2450
2450
  hideDetails: !0,
2451
2451
  config: {
2452
2452
  open: t,
2453
2453
  maxHeight: 1e4,
2454
2454
  body: {
2455
- backgroundColor: F.value.style.chart.backgroundColor,
2456
- color: F.value.style.chart.color
2455
+ backgroundColor: P.value.style.chart.backgroundColor,
2456
+ color: P.value.style.chart.color
2457
2457
  },
2458
2458
  head: {
2459
- backgroundColor: F.value.style.chart.backgroundColor,
2460
- color: F.value.style.chart.color
2459
+ backgroundColor: P.value.style.chart.backgroundColor,
2460
+ color: P.value.style.chart.color
2461
2461
  }
2462
2462
  }
2463
2463
  }
2464
2464
  };
2465
2465
  });
2466
- E(() => z.value.showTable, (e) => {
2467
- F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
2466
+ E(() => R.value.showTable, (e) => {
2467
+ P.value.table.show || (e && P.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
2468
2468
  });
2469
- function Nn() {
2470
- z.value.showTable = !1, Tt.value && Tt.value.setTableIconState(!1);
2469
+ function jn() {
2470
+ R.value.showTable = !1, wt.value && wt.value.setTableIconState(!1);
2471
2471
  }
2472
- let Pn = u(() => F.value.style.chart.backgroundColor), Fn = u(() => F.value.style.chart.legend), In = u(() => F.value.style.chart.title), { exportSvg: Ln, getSvg: Rn } = pe({
2473
- svg: R,
2474
- title: In,
2475
- legend: Fn,
2472
+ 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({
2473
+ svg: L,
2474
+ title: Pn,
2475
+ legend: Nn,
2476
2476
  legendItems: Q,
2477
- backgroundColor: Pn
2477
+ backgroundColor: Mn,
2478
+ getSvgCallback: () => P.value.userOptions.callbacks.svg,
2479
+ generateImage: $t
2478
2480
  });
2479
- async function zn({ isCb: e }) {
2480
- N.value = !0, await Ee();
2481
- try {
2482
- if (e) {
2483
- let { blob: e, url: t, text: n, dataUrl: r } = await Rn();
2484
- await Promise.resolve(F.value.userOptions.callbacks.svg({
2485
- blob: e,
2486
- url: t,
2487
- text: n,
2488
- dataUrl: r
2489
- }));
2490
- } else await Promise.resolve(Ln());
2491
- } finally {
2492
- N.value = !1;
2493
- }
2494
- }
2495
- function Bn(e) {
2496
- if (e?.stage === "start") {
2497
- M.value = !0;
2498
- return;
2499
- }
2500
- if (e?.stage === "end") {
2501
- M.value = !1;
2502
- return;
2503
- }
2504
- en();
2505
- }
2506
- async function Vn() {
2481
+ async function zn() {
2507
2482
  if (dt("copyAlt", {
2508
- config: F.value,
2509
- dataset: U.value
2510
- }), !F.value.userOptions.callbacks.altCopy) {
2483
+ config: P.value,
2484
+ dataset: H.value
2485
+ }), !P.value.userOptions.callbacks.altCopy) {
2511
2486
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
2512
2487
  return;
2513
2488
  }
2514
- await Promise.resolve(F.value.userOptions.callbacks.altCopy({
2515
- config: F.value,
2516
- dataset: U.value
2489
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
2490
+ config: P.value,
2491
+ dataset: H.value
2517
2492
  }));
2518
2493
  }
2519
- return _e({
2520
- getData: jn,
2521
- getImage: Mn,
2522
- generatePdf: $t,
2523
- generateCsv: Dn,
2524
- generateImage: en,
2525
- generateSvg: zn,
2526
- toggleTable: Jt,
2527
- toggleTooltip: Yt,
2528
- toggleAnnotator: qt,
2529
- toggleFullscreen: Kt,
2530
- copyAlt: Vn
2531
- }), (e, t) => (x(), p("div", {
2494
+ return ge({
2495
+ getData: kn,
2496
+ getImage: An,
2497
+ generatePdf: Qt,
2498
+ generateCsv: Tn,
2499
+ generateImage: $t,
2500
+ generateSvg: Ln,
2501
+ toggleTable: qt,
2502
+ toggleTooltip: Jt,
2503
+ toggleAnnotator: Kt,
2504
+ toggleFullscreen: Gt,
2505
+ copyAlt: zn
2506
+ }), (e, t) => (x(), m("div", {
2532
2507
  ref_key: "worldChart",
2533
2508
  ref: k,
2534
2509
  id: `world_${A.value}`,
2535
- class: De(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2536
- style: b(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
2537
- onMouseenter: t[2] ||= () => T(Pt)(!0),
2538
- onMouseleave: t[3] ||= () => T(Pt)(!1)
2510
+ class: De(`vue-data-ui-component vue-ui-world ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2511
+ style: b(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
2512
+ onMouseenter: t[2] ||= () => T(Nt)(!0),
2513
+ onMouseleave: t[3] ||= () => T(Nt)(!1)
2539
2514
  }, [
2540
- F.value.userOptions.buttons.annotator && T(R) ? (x(), d(T(He), {
2515
+ P.value.userOptions.buttons.annotator && T(L) ? (x(), f(T(He), {
2541
2516
  key: 0,
2542
- color: F.value.style.chart.color,
2543
- backgroundColor: F.value.style.chart.backgroundColor,
2544
- active: G.value,
2545
- svgRef: T(R),
2546
- isCursorPointer: I.value,
2547
- onClose: qt
2517
+ color: P.value.style.chart.color,
2518
+ backgroundColor: P.value.style.chart.backgroundColor,
2519
+ active: W.value,
2520
+ svgRef: T(L),
2521
+ isCursorPointer: F.value,
2522
+ onClose: Kt
2548
2523
  }, {
2549
2524
  "annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2550
2525
  "annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
@@ -2559,74 +2534,74 @@ var Ve = {
2559
2534
  "active",
2560
2535
  "svgRef",
2561
2536
  "isCursorPointer"
2562
- ])) : f("", !0),
2537
+ ])) : p("", !0),
2563
2538
  C(e.$slots, "userConfig", {}, void 0, !0),
2564
- Xt.value ? (x(), p("div", {
2539
+ Yt.value ? (x(), m("div", {
2565
2540
  key: 1,
2566
2541
  ref_key: "noTitle",
2567
2542
  ref: _t,
2568
2543
  class: "vue-data-ui-no-title-space",
2569
2544
  style: "height:36px; width: 100%;background:transparent"
2570
- }, null, 512)) : f("", !0),
2571
- F.value.style.chart.title.text ? (x(), p("div", {
2545
+ }, null, 512)) : p("", !0),
2546
+ P.value.style.chart.title.text ? (x(), m("div", {
2572
2547
  key: 2,
2573
2548
  ref_key: "chartTitle",
2574
2549
  ref: mt,
2575
2550
  style: "width:100%;background:transparent"
2576
- }, [(x(), d(T(Fe), {
2551
+ }, [(x(), f(T(Fe), {
2577
2552
  key: `title_${vt.value}`,
2578
2553
  config: {
2579
2554
  title: {
2580
2555
  cy: "donut-div-title",
2581
- ...F.value.style.chart.title
2556
+ ...P.value.style.chart.title
2582
2557
  },
2583
2558
  subtitle: {
2584
2559
  cy: "donut-div-subtitle",
2585
- ...F.value.style.chart.title.subtitle
2560
+ ...P.value.style.chart.title.subtitle
2586
2561
  }
2587
2562
  }
2588
- }, null, 8, ["config"]))], 512)) : f("", !0),
2589
- m("div", { id: `legend-top-${A.value}` }, null, 8, We),
2590
- F.value.userOptions.show && ft.value && (T(Ft) || T(Nt)) ? (x(), d(T(st), {
2563
+ }, null, 8, ["config"]))], 512)) : p("", !0),
2564
+ h("div", { id: `legend-top-${A.value}` }, null, 8, We),
2565
+ P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(), f(T(st), {
2591
2566
  ref_key: "userOptionsRef",
2592
- ref: Tt,
2593
- key: `user_option_${Ct.value}`,
2594
- backgroundColor: F.value.style.chart.backgroundColor,
2595
- color: F.value.style.chart.color,
2596
- isPrinting: T(Zt),
2597
- isImaging: T(Qt),
2567
+ ref: wt,
2568
+ key: `user_option_${St.value}`,
2569
+ backgroundColor: P.value.style.chart.backgroundColor,
2570
+ color: P.value.style.chart.color,
2571
+ isPrinting: T(Xt),
2572
+ isImaging: T(Zt),
2598
2573
  uid: A.value,
2599
- callbacks: F.value.userOptions.callbacks,
2600
- hasTooltip: F.value.style.chart.tooltip.show && F.value.userOptions.buttons.tooltip,
2601
- hasPdf: F.value.userOptions.buttons.pdf,
2602
- hasImg: F.value.userOptions.buttons.img,
2603
- hasSvg: F.value.userOptions.buttons.svg,
2604
- hasXls: F.value.userOptions.buttons.csv,
2605
- hasTable: F.value.userOptions.buttons.table,
2574
+ callbacks: P.value.userOptions.callbacks,
2575
+ hasTooltip: P.value.style.chart.tooltip.show && P.value.userOptions.buttons.tooltip,
2576
+ hasPdf: P.value.userOptions.buttons.pdf,
2577
+ hasImg: P.value.userOptions.buttons.img,
2578
+ hasSvg: P.value.userOptions.buttons.svg,
2579
+ hasXls: P.value.userOptions.buttons.csv,
2580
+ hasTable: P.value.userOptions.buttons.table,
2606
2581
  hasLabel: !1,
2607
- hasFullscreen: F.value.userOptions.buttons.fullscreen,
2608
- hasAltCopy: F.value.userOptions.buttons.altCopy,
2609
- isFullscreen: W.value,
2582
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
2583
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
2584
+ isFullscreen: U.value,
2610
2585
  chartElement: k.value,
2611
- position: F.value.userOptions.position,
2612
- printScale: F.value.userOptions.print.scale,
2613
- isTooltip: z.value.showTooltip,
2614
- titles: { ...F.value.userOptions.buttonTitles },
2615
- hasAnnotator: F.value.userOptions.buttons.annotator,
2616
- isAnnotation: G.value,
2617
- tableDialog: F.value.table.useDialog,
2618
- isCursorPointer: I.value,
2619
- onToggleFullscreen: Kt,
2620
- onGeneratePdf: T($t),
2621
- onGenerateCsv: Dn,
2622
- onGenerateImage: Bn,
2623
- onGenerateSvg: zn,
2624
- onToggleTable: Jt,
2625
- onToggleTooltip: Yt,
2626
- onToggleAnnotator: qt,
2627
- onCopyAlt: Vn,
2628
- style: b({ visibility: T(Ft) ? T(Nt) ? "visible" : "hidden" : "visible" })
2629
- }, we({ _: 2 }, [
2586
+ position: P.value.userOptions.position,
2587
+ printScale: P.value.userOptions.print.scale,
2588
+ isTooltip: R.value.showTooltip,
2589
+ titles: { ...P.value.userOptions.buttonTitles },
2590
+ hasAnnotator: P.value.userOptions.buttons.annotator,
2591
+ isAnnotation: W.value,
2592
+ tableDialog: P.value.table.useDialog,
2593
+ isCursorPointer: F.value,
2594
+ onToggleFullscreen: Gt,
2595
+ onGeneratePdf: T(Qt),
2596
+ onGenerateCsv: Tn,
2597
+ onGenerateImage: T(Rn),
2598
+ onGenerateSvg: T(Ln),
2599
+ onToggleTable: qt,
2600
+ onToggleTooltip: Jt,
2601
+ onToggleAnnotator: Kt,
2602
+ onCopyAlt: zn,
2603
+ style: b({ visibility: T(Pt) ? T(Mt) ? "visible" : "hidden" : "visible" })
2604
+ }, Ce({ _: 2 }, [
2630
2605
  e.$slots.menuIcon ? {
2631
2606
  name: "menuIcon",
2632
2607
  fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
@@ -2696,47 +2671,47 @@ var Ve = {
2696
2671
  fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2697
2672
  key: "11"
2698
2673
  } : void 0
2699
- ]), 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("."))) : f("", !0),
2700
- (x(), p("svg", {
2674
+ ]), 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),
2675
+ (x(), m("svg", {
2701
2676
  ref_key: "svgRef",
2702
- ref: R,
2703
- viewBox: H.value.str,
2704
- xmlns: T(ne),
2677
+ ref: L,
2678
+ viewBox: V.value.str,
2679
+ xmlns: T(te),
2705
2680
  class: De({
2706
- "vue-data-ui-fullscreen--on": W.value,
2707
- "vue-data-ui-fullscreen--off": !W.value
2681
+ "vue-data-ui-fullscreen--on": U.value,
2682
+ "vue-data-ui-fullscreen--off": !U.value
2708
2683
  }),
2709
2684
  style: b({
2710
2685
  maxWidth: "100%",
2711
- overflow: B.value === "globe" ? "visible" : "hidden",
2686
+ overflow: z.value === "globe" ? "visible" : "hidden",
2712
2687
  background: "transparent",
2713
- color: F.value.style.chart.color,
2714
- paddingTop: F.value.style.chart.padding.top + "px",
2715
- paddingRight: F.value.style.chart.padding.right + "px",
2716
- paddingBottom: F.value.style.chart.padding.bottom + "px",
2717
- paddingLeft: F.value.style.chart.padding.left + "px"
2688
+ color: P.value.style.chart.color,
2689
+ paddingTop: P.value.style.chart.padding.top + "px",
2690
+ paddingRight: P.value.style.chart.padding.right + "px",
2691
+ paddingBottom: P.value.style.chart.padding.bottom + "px",
2692
+ paddingLeft: P.value.style.chart.padding.left + "px"
2718
2693
  }),
2719
- onMousedown: yn,
2720
- onMousemove: bn,
2721
- onMouseup: xn,
2722
- onMouseleave: xn,
2723
- onTouchstart: Sn,
2724
- onTouchmove: Ne(Cn, ["prevent"]),
2725
- onTouchend: wn
2694
+ onMousedown: vn,
2695
+ onMousemove: yn,
2696
+ onMouseup: bn,
2697
+ onMouseleave: bn,
2698
+ onTouchstart: xn,
2699
+ onTouchmove: Ne(Sn, ["prevent"]),
2700
+ onTouchend: Cn
2726
2701
  }, [
2727
2702
  g(T(ct)),
2728
- e.$slots["chart-background"] ? (x(), p("foreignObject", {
2703
+ e.$slots["chart-background"] ? (x(), m("foreignObject", {
2729
2704
  key: 0,
2730
- x: H.value.minX,
2731
- y: H.value.minY,
2732
- width: H.value.width,
2733
- height: H.value.height,
2705
+ x: V.value.minX,
2706
+ y: V.value.minY,
2707
+ width: V.value.width,
2708
+ height: V.value.height,
2734
2709
  style: { pointerEvents: "none" }
2735
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : f("", !0),
2736
- ft.value ? (x(), p("g", qe, [
2737
- B.value === "globe" ? (x(), p(l, { key: 0 }, [
2738
- m("defs", null, [
2739
- g(ve, {
2710
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : p("", !0),
2711
+ ft.value ? (x(), m("g", qe, [
2712
+ z.value === "globe" ? (x(), m(u, { key: 0 }, [
2713
+ h("defs", null, [
2714
+ g(_e, {
2740
2715
  t: "radial",
2741
2716
  id: `water-${A.value}`,
2742
2717
  cx: .48,
@@ -2747,27 +2722,27 @@ var Ve = {
2747
2722
  stops: [
2748
2723
  [
2749
2724
  "0%",
2750
- T(ee)(F.value.style.chart.globe.waterColor, .4),
2725
+ T(ee)(P.value.style.chart.globe.waterColor, .4),
2751
2726
  1
2752
2727
  ],
2753
2728
  [
2754
2729
  "45%",
2755
- F.value.style.chart.globe.waterColor,
2730
+ P.value.style.chart.globe.waterColor,
2756
2731
  1
2757
2732
  ],
2758
2733
  [
2759
2734
  "80%",
2760
- T(o)(F.value.style.chart.globe.waterColor, .2),
2735
+ T(s)(P.value.style.chart.globe.waterColor, .2),
2761
2736
  1
2762
2737
  ],
2763
2738
  [
2764
2739
  "100%",
2765
- T(o)(F.value.style.chart.globe.waterColor, .5),
2740
+ T(s)(P.value.style.chart.globe.waterColor, .5),
2766
2741
  .95
2767
2742
  ]
2768
2743
  ]
2769
2744
  }, null, 8, ["id", "stops"]),
2770
- g(ve, {
2745
+ g(_e, {
2771
2746
  t: "radial",
2772
2747
  id: `atmo-realistic-${A.value}`,
2773
2748
  cx: .5,
@@ -2781,7 +2756,7 @@ var Ve = {
2781
2756
  ],
2782
2757
  [
2783
2758
  "98%",
2784
- F.value.style.chart.globe.waterColor,
2759
+ P.value.style.chart.globe.waterColor,
2785
2760
  1
2786
2761
  ],
2787
2762
  [
@@ -2791,116 +2766,116 @@ var Ve = {
2791
2766
  ]
2792
2767
  ]
2793
2768
  }, null, 8, ["id", "stops"]),
2794
- m("filter", {
2769
+ h("filter", {
2795
2770
  id: `blur-${A.value}`,
2796
2771
  x: "-30%",
2797
2772
  y: "-30%",
2798
2773
  width: "160%",
2799
2774
  height: "160%"
2800
- }, [...t[4] ||= [m("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
2775
+ }, [...t[4] ||= [h("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
2801
2776
  ]),
2802
- e.$slots.pattern ? (x(), p("g", Ye, [(x(!0), p(l, null, Ae(U.value, (t, n) => (x(), p("defs", null, [C(e.$slots, "pattern", Te({ ref_for: !0 }, {
2777
+ 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 }, {
2803
2778
  ...t,
2804
2779
  patternId: `pattern_${A.value}_${t.code}`
2805
- }), void 0, !0)]))), 256))])) : f("", !0),
2806
- m("circle", {
2807
- cx: H.value.width / 2 + 20,
2808
- cy: H.value.height / 2 + 20,
2809
- r: H.value.height / 2,
2780
+ }), void 0, !0)]))), 256))])) : p("", !0),
2781
+ h("circle", {
2782
+ cx: V.value.width / 2 + 20,
2783
+ cy: V.value.height / 2 + 20,
2784
+ r: V.value.height / 2,
2810
2785
  fill: `url(#water-${A.value})`
2811
2786
  }, null, 8, Xe),
2812
- m("circle", {
2813
- cx: H.value.width / 2 + 20,
2814
- cy: H.value.height / 2 + 20,
2815
- r: H.value.height / 2 + 10,
2787
+ h("circle", {
2788
+ cx: V.value.width / 2 + 20,
2789
+ cy: V.value.height / 2 + 20,
2790
+ r: V.value.height / 2 + 10,
2816
2791
  fill: `url(#atmo-realistic-${A.value})`,
2817
2792
  "pointer-events": "none",
2818
2793
  filter: `url(#blur-${A.value})`
2819
2794
  }, null, 8, Ze)
2820
- ], 64)) : f("", !0),
2821
- (x(!0), p(l, null, Ae(U.value, (t, n) => (x(), p(l, { key: t.code }, [m("path", {
2795
+ ], 64)) : p("", !0),
2796
+ (x(!0), m(u, null, Ae(H.value, (t, n) => (x(), m(u, { key: t.code }, [h("path", {
2822
2797
  d: t.path,
2823
- fill: t.category && Z.value.includes(t.category) ? F.value.style.chart.territory.emptyColor : t.color,
2824
- stroke: F.value.style.chart.territory.stroke,
2825
- "stroke-width": q.value && q.value.uid === t.uid ? F.value.style.chart.territory.strokeWidthSelected : F.value.style.chart.territory.strokeWidth,
2826
- onMouseenter: (e) => cn({
2798
+ fill: t.category && Z.value.includes(t.category) ? P.value.style.chart.territory.emptyColor : t.color,
2799
+ stroke: P.value.style.chart.territory.stroke,
2800
+ "stroke-width": K.value && K.value.uid === t.uid ? P.value.style.chart.territory.strokeWidthSelected : P.value.style.chart.territory.strokeWidth,
2801
+ onMouseenter: (e) => sn({
2827
2802
  datapoint: t,
2828
2803
  seriesIndex: n
2829
2804
  }),
2830
- onMouseleave: (e) => on({
2805
+ onMouseleave: (e) => an({
2831
2806
  datapoint: t,
2832
2807
  seriesIndex: n
2833
2808
  }),
2834
- onClick: (e) => sn({
2809
+ onClick: (e) => on({
2835
2810
  datapoint: t,
2836
2811
  seriesIndex: n
2837
2812
  }),
2838
2813
  class: "vue-ui-world-territory"
2839
- }, [!xt.value || !z.value.showTooltip ? (x(), p("title", $e, [h(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), p(l, { key: 0 }, [h(" : " + w(t.value), 1)], 64)) : f("", !0)])) : f("", !0)], 40, Qe), e.$slots.pattern ? (x(), p("path", {
2814
+ }, [!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", {
2840
2815
  key: 0,
2841
2816
  d: t.path,
2842
2817
  fill: `url(#pattern_${A.value}_${t.code})`,
2843
- stroke: F.value.style.chart.territory.stroke,
2844
- "stroke-width": F.value.style.chart.territory.strokeWidthSelected,
2818
+ stroke: P.value.style.chart.territory.stroke,
2819
+ "stroke-width": P.value.style.chart.territory.strokeWidthSelected,
2845
2820
  style: { "pointer-events": "none" },
2846
2821
  class: "vue-ui-world-territory"
2847
- }, null, 8, et)) : f("", !0)], 64))), 128)),
2848
- q.value ? (x(), p("path", {
2822
+ }, null, 8, et)) : p("", !0)], 64))), 128)),
2823
+ K.value ? (x(), m("path", {
2849
2824
  key: 1,
2850
- d: nn.value,
2825
+ d: tn.value,
2851
2826
  fill: "transparent",
2852
- stroke: F.value.style.chart.territory.stroke,
2853
- "stroke-width": F.value.style.chart.territory.strokeWidthSelected,
2827
+ stroke: P.value.style.chart.territory.stroke,
2828
+ "stroke-width": P.value.style.chart.territory.strokeWidthSelected,
2854
2829
  style: { "pointer-events": "none" },
2855
2830
  class: "vue-ui-world-territory"
2856
- }, null, 8, tt)) : f("", !0)
2857
- ])) : f("", !0),
2831
+ }, null, 8, tt)) : p("", !0)
2832
+ ])) : p("", !0),
2858
2833
  C(e.$slots, "svg", { svg: {
2859
- height: V.value.height,
2860
- width: V.value.width,
2861
- isPrintingImg: T(Zt) || T(Qt) || M.value,
2862
- isPrintingSvg: N.value
2834
+ height: B.value.height,
2835
+ width: B.value.width,
2836
+ isPrintingImg: T(Xt) || T(Zt) || T(Fn),
2837
+ isPrintingSvg: T(In)
2863
2838
  } }, void 0, !0)
2864
2839
  ], 46, Ge)),
2865
- e.$slots.watermark ? (x(), p("div", nt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Zt) || T(Qt) || M.value || N.value })), void 0, !0)])) : f("", !0),
2866
- m("div", { id: `legend-bottom-${A.value}` }, null, 8, rt),
2867
- wt.value && pt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(Ce, {
2840
+ 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),
2841
+ h("div", { id: `legend-bottom-${A.value}` }, null, 8, rt),
2842
+ Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Se, {
2868
2843
  key: 5,
2869
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
2870
- }, [pt.value ? (x(), p("div", {
2844
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
2845
+ }, [pt.value ? (x(), m("div", {
2871
2846
  key: 0,
2872
2847
  ref_key: "chartLegend",
2873
2848
  ref: ht
2874
- }, [C(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (x(), d(T(Ie), {
2849
+ }, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(), f(T(Ie), {
2875
2850
  key: `legend_${yt.value}`,
2876
2851
  legendSet: Q.value,
2877
- config: An.value,
2878
- isCursorPointer: I.value,
2879
- onClickMarker: t[0] ||= (e) => kn(e)
2880
- }, we({
2881
- item: D(({ legend: e, index: t }) => [m("div", {
2852
+ config: On.value,
2853
+ isCursorPointer: F.value,
2854
+ onClickMarker: t[0] ||= (e) => Dn(e)
2855
+ }, Ce({
2856
+ item: D(({ legend: e, index: t }) => [h("div", {
2882
2857
  style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2883
2858
  onClick: (t) => e.segregate()
2884
2859
  }, w(e.name), 13, it)]),
2885
- legendToggle: D(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(Mt) ? (x(), d(ye, {
2860
+ legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(), f(ve, {
2886
2861
  key: 0,
2887
- backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
2888
- color: F.value.style.chart.legend.selectAllToggle.color,
2889
- fontSize: F.value.style.chart.legend.fontSize,
2862
+ backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
2863
+ color: P.value.style.chart.legend.selectAllToggle.color,
2864
+ fontSize: P.value.style.chart.legend.fontSize,
2890
2865
  checked: Z.value.length > 0,
2891
- isCursorPointer: I.value,
2892
- onToggle: On
2866
+ isCursorPointer: F.value,
2867
+ onToggle: En
2893
2868
  }, null, 8, [
2894
2869
  "backgroundColor",
2895
2870
  "color",
2896
2871
  "fontSize",
2897
2872
  "checked",
2898
2873
  "isCursorPointer"
2899
- ])) : f("", !0)]),
2874
+ ])) : p("", !0)]),
2900
2875
  _: 2
2901
2876
  }, [e.$slots.pattern ? {
2902
2877
  name: "legend-pattern",
2903
- fn: D(({ legend: e, index: t }) => [g(ge, {
2878
+ fn: D(({ legend: e, index: t }) => [g(he, {
2904
2879
  shape: e.shape,
2905
2880
  radius: 30,
2906
2881
  stroke: "none",
@@ -2915,38 +2890,38 @@ var Ve = {
2915
2890
  "legendSet",
2916
2891
  "config",
2917
2892
  "isCursorPointer"
2918
- ])) : f("", !0)], !0)], 512)) : f("", !0)], 8, ["to"])) : f("", !0),
2919
- e.$slots.source ? (x(), p("div", {
2893
+ ])) : p("", !0)], !0)], 512)) : p("", !0)], 8, ["to"])) : p("", !0),
2894
+ e.$slots.source ? (x(), m("div", {
2920
2895
  key: 6,
2921
2896
  ref_key: "source",
2922
2897
  ref: gt,
2923
2898
  dir: "auto"
2924
- }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
2899
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
2925
2900
  g(T(Le), {
2926
- teleportTo: F.value.style.chart.tooltip.teleportTo,
2927
- show: z.value.showTooltip && xt.value,
2928
- backgroundColor: F.value.style.chart.tooltip.backgroundColor,
2929
- color: F.value.style.chart.tooltip.color,
2930
- fontSize: F.value.style.chart.tooltip.fontSize,
2931
- borderRadius: F.value.style.chart.tooltip.borderRadius,
2932
- borderColor: F.value.style.chart.tooltip.borderColor,
2933
- borderWidth: F.value.style.chart.tooltip.borderWidth,
2934
- backgroundOpacity: F.value.style.chart.tooltip.backgroundOpacity,
2935
- position: F.value.style.chart.tooltip.position,
2936
- offsetX: F.value.style.chart.tooltip.offsetX,
2937
- offsetY: F.value.style.chart.tooltip.offsetY,
2901
+ teleportTo: P.value.style.chart.tooltip.teleportTo,
2902
+ show: R.value.showTooltip && j.value,
2903
+ backgroundColor: P.value.style.chart.tooltip.backgroundColor,
2904
+ color: P.value.style.chart.tooltip.color,
2905
+ fontSize: P.value.style.chart.tooltip.fontSize,
2906
+ borderRadius: P.value.style.chart.tooltip.borderRadius,
2907
+ borderColor: P.value.style.chart.tooltip.borderColor,
2908
+ borderWidth: P.value.style.chart.tooltip.borderWidth,
2909
+ backgroundOpacity: P.value.style.chart.tooltip.backgroundOpacity,
2910
+ position: P.value.style.chart.tooltip.position,
2911
+ offsetX: P.value.style.chart.tooltip.offsetX,
2912
+ offsetY: P.value.style.chart.tooltip.offsetY,
2938
2913
  parent: k.value,
2939
- content: St.value,
2940
- isCustom: K.value,
2941
- isFullscreen: W.value,
2942
- smooth: F.value.style.chart.tooltip.smooth,
2943
- backdropFilter: F.value.style.chart.tooltip.backdropFilter,
2944
- smoothForce: F.value.style.chart.tooltip.smoothForce,
2945
- smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold
2914
+ content: xt.value,
2915
+ isCustom: G.value,
2916
+ isFullscreen: U.value,
2917
+ smooth: P.value.style.chart.tooltip.smooth,
2918
+ backdropFilter: P.value.style.chart.tooltip.backdropFilter,
2919
+ smoothForce: P.value.style.chart.tooltip.smoothForce,
2920
+ smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold
2946
2921
  }, {
2947
- "tooltip-before": D(() => [C(e.$slots, "tooltip-before", y(v({ ...tn.value })), void 0, !0)]),
2948
- tooltip: D(() => [C(e.$slots, "tooltip", y(v({ ...tn.value })), void 0, !0)]),
2949
- "tooltip-after": D(() => [C(e.$slots, "tooltip-after", y(v({ ...tn.value })), void 0, !0)]),
2922
+ "tooltip-before": D(() => [C(e.$slots, "tooltip-before", y(v({ ...en.value })), void 0, !0)]),
2923
+ tooltip: D(() => [C(e.$slots, "tooltip", y(v({ ...en.value })), void 0, !0)]),
2924
+ "tooltip-after": D(() => [C(e.$slots, "tooltip-after", y(v({ ...en.value })), void 0, !0)]),
2950
2925
  _: 3
2951
2926
  }, 8, [
2952
2927
  "teleportTo",
@@ -2970,34 +2945,34 @@ var Ve = {
2970
2945
  "smoothForce",
2971
2946
  "smoothSnapThreshold"
2972
2947
  ]),
2973
- ft.value && F.value.userOptions.buttons.table ? (x(), d(je($.value.component), Te({ key: 7 }, $.value.props, {
2948
+ ft.value && P.value.userOptions.buttons.table ? (x(), f(je($.value.component), Te({ key: 7 }, $.value.props, {
2974
2949
  ref_key: "tableUnit",
2975
- ref: j,
2976
- onClose: Nn
2977
- }), we({
2978
- content: D(() => [(x(), d(T(Be), {
2950
+ ref: M,
2951
+ onClose: jn
2952
+ }), Ce({
2953
+ content: D(() => [(x(), f(T(Be), {
2979
2954
  key: `table_${bt.value}`,
2980
- colNames: En.value.colNames,
2981
- head: En.value.head,
2982
- body: En.value.body,
2983
- config: En.value.config,
2984
- title: F.value.table.useDialog ? "" : $.value.title,
2985
- withCloseButton: !F.value.table.useDialog,
2986
- isCursorPointer: I.value,
2987
- onClose: Nn
2955
+ colNames: wn.value.colNames,
2956
+ head: wn.value.head,
2957
+ body: wn.value.body,
2958
+ config: wn.value.config,
2959
+ title: P.value.table.useDialog ? "" : $.value.title,
2960
+ withCloseButton: !P.value.table.useDialog,
2961
+ isCursorPointer: F.value,
2962
+ onClose: jn
2988
2963
  }, {
2989
- th: D(({ th: e }) => [m("div", {
2964
+ th: D(({ th: e }) => [h("div", {
2990
2965
  innerHTML: e,
2991
2966
  style: {
2992
2967
  display: "flex",
2993
2968
  "align-items": "center"
2994
2969
  }
2995
2970
  }, null, 8, at)]),
2996
- td: D(({ td: e }) => [h(w(e.name ? e.name : e.category ? e.category : T(s)(F.value.style.chart.dataLabels.formatter, e, T(te)({
2997
- p: F.value.style.chart.dataLabels.prefix,
2971
+ td: D(({ td: e }) => [we(w(e.name ? e.name : e.category ? e.category : T(c)(P.value.style.chart.dataLabels.formatter, e, T(o)({
2972
+ p: P.value.style.chart.dataLabels.prefix,
2998
2973
  v: e,
2999
- s: F.value.style.chart.dataLabels.suffix,
3000
- r: F.value.style.chart.dataLabels.rounding
2974
+ s: P.value.style.chart.dataLabels.suffix,
2975
+ r: P.value.style.chart.dataLabels.rounding
3001
2976
  }))), 1)]),
3002
2977
  _: 1
3003
2978
  }, 8, [
@@ -3010,26 +2985,26 @@ var Ve = {
3010
2985
  "isCursorPointer"
3011
2986
  ]))]),
3012
2987
  _: 2
3013
- }, [F.value.table.useDialog ? {
2988
+ }, [P.value.table.useDialog ? {
3014
2989
  name: "title",
3015
- fn: D(() => [h(w($.value.title), 1)]),
2990
+ fn: D(() => [we(w($.value.title), 1)]),
3016
2991
  key: "0"
3017
- } : void 0, F.value.table.useDialog ? {
2992
+ } : void 0, P.value.table.useDialog ? {
3018
2993
  name: "actions",
3019
- fn: D(() => [m("button", {
2994
+ fn: D(() => [h("button", {
3020
2995
  tabindex: "0",
3021
2996
  class: "vue-ui-user-options-button",
3022
- onClick: t[1] ||= (e) => Dn(F.value.userOptions.callbacks.csv),
3023
- style: b({ cursor: I.value ? "pointer" : "default" })
2997
+ onClick: t[1] ||= (e) => Tn(P.value.userOptions.callbacks.csv),
2998
+ style: b({ cursor: F.value ? "pointer" : "default" })
3024
2999
  }, [g(T(Re), {
3025
3000
  name: "fileCsv",
3026
3001
  stroke: $.value.props.color
3027
3002
  }, null, 8, ["stroke"])], 4)]),
3028
3003
  key: "1"
3029
- } : void 0]), 1040)) : f("", !0),
3030
- C(e.$slots, "skeleton", {}, () => [T(Mt) ? (x(), d(fe, { key: 0 })) : f("", !0)], !0)
3004
+ } : void 0]), 1040)) : p("", !0),
3005
+ C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
3031
3006
  ], 46, Ue));
3032
3007
  }
3033
- }, [["__scopeId", "data-v-fefccf6c"]]);
3008
+ }, [["__scopeId", "data-v-fb4a5885"]]);
3034
3009
  //#endregion
3035
3010
  export { He as n, st as t };