vue-data-ui 3.25.7 → 3.25.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,20 +1,20 @@
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 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";
2
+ import { $ as t, Ct as n, D as r, Lt as i, S as a, X as ee, Y as te, Z as ne, Zt as re, bt as o, i as ie, jt as ae, q as oe, t as se, w as ce, xt as le } from "./lib-Dql7cqyA.js";
3
+ import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
+ import { t as fe } from "./useConfig-D32D002m.js";
5
+ import { t as pe } from "./usePrinter-DISD7q5m.js";
6
+ import { n as me, t as he } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as ge } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as _e } from "./useChartExport-iwOqiIWX.js";
9
+ import { t as ve } from "./img-DhGApYG0.js";
10
+ import { t as ye } from "./Shape-CIqU-p2F.js";
11
+ import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { t as xe } from "./DefGrad-DVBqDjhO.js";
13
+ import { t as Se } from "./BaseLegendToggle-CXQrLjd-.js";
14
+ import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as we } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as Te } from "./geoProjections-CEo3dVaL.js";
17
+ import { Fragment as s, Teleport as Ee, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as De, createTextVNode as p, createVNode as m, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as je, onMounted as Me, openBlock as y, ref as b, renderList as Ne, renderSlot as x, resolveDynamicComponent as Pe, toDisplayString as S, toRefs as Fe, unref as C, watch as Ie, withCtx as w, withModifiers as Le } from "vue";
18
18
  //#region src/resources/worldGeo.js
19
19
  var Re = 1e3, ze = [
20
20
  "name",
@@ -1981,7 +1981,7 @@ var Ge = {
1981
1981
  }, st = ["id"], ct = ["onClick"], lt = { style: {
1982
1982
  display: "flex",
1983
1983
  "align-items": "center"
1984
- } }, ut = .5, dt = /*#__PURE__*/ ye({
1984
+ } }, ut = .5, dt = /*#__PURE__*/ be({
1985
1985
  __name: "vue-ui-world",
1986
1986
  props: {
1987
1987
  config: {
@@ -2002,34 +2002,34 @@ var Ge = {
2002
2002
  "selectLegend",
2003
2003
  "copyAlt"
2004
2004
  ],
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({
2005
+ setup(e, { expose: be, emit: Re }) {
2006
+ let ze = h(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Be = h(() => import("./Legend-X4kF4PvW.js").then((e) => e.n)), Ve = h(() => import("./Tooltip-hhrkQ3Lk.js")), He = h(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Ue = h(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), We = h(() => import("./DataTable-oiM9uWrQ.js")), Ke = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), dt = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), ft = h(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), pt = h(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_world: mt } = fe(), T = e, ht = Re, gt = c({
2007
2007
  get() {
2008
- return !!R.value;
2008
+ return !!L.value;
2009
2009
  },
2010
2010
  set(e) {
2011
2011
  return e;
2012
2012
  }
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);
2013
+ }), _t = c(() => gt ? Object.values(L.value).some((e) => Object.hasOwn(e, "category")) : !1), E = b(null), vt = b(null), yt = b(null), bt = b(null), xt = b(null), St = b(0), Ct = b(0), wt = b(0), D = b(oe()), Tt = b(!1), Et = b(""), Dt = b(0), Ot = b(!1), O = b(null), kt = b(null);
2014
2014
  Me(() => {
2015
- Dt.value = !0;
2015
+ Ot.value = !0;
2016
2016
  });
2017
- let k = Ge, { projections: kt, getProjectedBounds: At, setupTerritories: jt, geoToPath: Mt } = we;
2018
- function Nt() {
2019
- let e = he({
2020
- userConfig: w.config,
2017
+ let At = Ge, { projections: jt, getProjectedBounds: Mt, setupTerritories: Nt, geoToPath: Pt } = Te;
2018
+ function Ft() {
2019
+ let e = ge({
2020
+ userConfig: T.config,
2021
2021
  defaultConfig: mt
2022
2022
  });
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;
2023
+ return T.config && o(T.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = a(T.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, T.config && o(T.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = a(T.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = i[0], At = Nt(e, At), e;
2024
2024
  }
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,
2025
+ let k = b(Ft()), A = c(() => k.value.userOptions), j = c(() => k.value.style.chart.tooltip), M = c(() => k.value.style.chart.globe), N = c(() => k.value.style.chart.territory), P = c(() => k.value.style.chart.legend), F = c(() => k.value.style.chart);
2026
+ ue({
2027
+ config: () => k.value,
2028
+ dataset: () => T.dataset,
2029
2029
  component: "VueUiWorld",
2030
- rules: [ue.noHint]
2030
+ rules: [de.noHint]
2031
2031
  });
2032
- let L = c(() => A.value.userOptions.useCursorPointer), Pt = c(() => te({
2032
+ let I = c(() => k.value.userOptions.useCursorPointer), It = c(() => re({
2033
2033
  defaultConfig: {
2034
2034
  userOptions: { show: !1 },
2035
2035
  table: { show: !1 },
@@ -2045,30 +2045,42 @@ var Ge = {
2045
2045
  }
2046
2046
  } }
2047
2047
  },
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
2048
+ userConfig: k.value.skeletonConfig ?? {}
2049
+ })), { loading: Lt, FINAL_DATASET: L } = me({
2050
+ ...Fe(T),
2051
+ FINAL_CONFIG: k,
2052
+ prepareConfig: Ft,
2053
+ skeletonDataset: T.config?.skeletonDataset ?? [],
2054
+ skeletonConfig: re({
2055
+ defaultConfig: k.value,
2056
+ userConfig: It.value
2057
2057
  })
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
2058
+ }), { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = Ce({ config: k.value }), { svgRef: Vt } = we({ config: F.value.title }), R = b({
2059
+ showTable: k.value.table.show,
2060
+ showTooltip: j.value.show
2061
2061
  });
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
2062
+ function Ht(e) {
2063
+ let t = ne(e);
2064
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
2065
+ }
2066
+ let Ut = Ht(T.config);
2067
+ Ie(() => T.config, (e, t) => {
2068
+ let n = Ht(e), r = n !== Ut;
2069
+ Ut = n;
2070
+ let i = Ft();
2071
+ if (!r) {
2072
+ k.value.style.chart.tooltip = i.style.chart.tooltip, R.value.showTooltip = k.value.style.chart.tooltip.show;
2073
+ return;
2074
+ }
2075
+ k.value = i, Rt.value = !k.value.userOptions.showOnChartHover, St.value += 1, wt.value += 1, Ct.value += 1, R.value.showTable = k.value.table.show, R.value.showTooltip = j.value.show;
2076
+ }), Ie(k, () => {
2077
+ R.value = {
2078
+ showTable: k.value.table.show,
2079
+ showTooltip: j.value.show
2068
2080
  };
2069
2081
  }, { immediate: !0 });
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;
2082
+ let Wt = c(() => ce(k.value.customPalette)), z = c(() => k.value.projection || "globe"), B = c(() => {
2083
+ let { height: e, width: t } = F.value.dimensions;
2072
2084
  return {
2073
2085
  aitoff: {
2074
2086
  width: t || 1e3,
@@ -2122,9 +2134,9 @@ var Ge = {
2122
2134
  width: t || 1e3,
2123
2135
  height: e || 1e3
2124
2136
  }
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);
2137
+ }[z.value];
2138
+ }), V = c(() => {
2139
+ let { minX: e, minY: t, width: n, height: r } = Mt(jt[z.value], At.features, B.value.width, B.value.height, q.value);
2128
2140
  return {
2129
2141
  str: `${e} ${t} ${n} ${r}`,
2130
2142
  minX: e,
@@ -2132,205 +2144,205 @@ var Ge = {
2132
2144
  width: n,
2133
2145
  height: r
2134
2146
  };
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;
2147
+ }), Gt = c(() => Object.values(L.value).map((e) => e.value)), Kt = c(() => Math.min(...Gt.value)), qt = c(() => Math.max(...Gt.value));
2148
+ function Jt(e) {
2149
+ return typeof e == "number" ? le(N.value.colors.min || "#FFFFFF00", N.value.colors.max || Wt.value[0] || i[0], Kt.value, qt.value, e) : N.value.emptyColor;
2138
2150
  }
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
2151
+ function Yt(e) {
2152
+ return Pt(e, {
2153
+ projection: z.value,
2154
+ width: B.value.width,
2155
+ height: B.value.height,
2156
+ center: q.value
2145
2157
  });
2146
2158
  }
2147
- let Kt = c(() => {
2148
- let e = Object.values(R.value).filter((e) => !!e.category), t = {};
2159
+ let Xt = c(() => {
2160
+ let e = Object.values(L.value).filter((e) => !!e.category), t = {};
2149
2161
  return e.forEach((e) => {
2150
2162
  t[e.category] || (t[e.category] = e);
2151
2163
  }), Object.values(t).map((e, t) => ({
2152
2164
  name: e.category,
2153
- color: e.color ? a(e.color) : Bt.value[t] || i[t] || i[t % i.length]
2165
+ color: e.color ? a(e.color) : Wt.value[t] || i[t] || i[t % i.length]
2154
2166
  }));
2155
2167
  });
2156
- function qt(e) {
2157
- let t = Kt.value.find((t) => t.name === e);
2168
+ function Zt(e) {
2169
+ let t = Xt.value.find((t) => t.name === e);
2158
2170
  return t ? t.color : "#000000";
2159
2171
  }
2160
- let Jt = /* @__PURE__ */ new Map();
2161
- function Yt(e) {
2162
- return Jt.has(e) || Jt.set(e, `territory-${ae()}`), Jt.get(e);
2172
+ let Qt = /* @__PURE__ */ new Map();
2173
+ function $t(e) {
2174
+ return Qt.has(e) || Qt.set(e, `territory-${oe()}`), Qt.get(e);
2163
2175
  }
2164
- let U = c(() => (J.value, k.features.map((e) => {
2176
+ let H = c(() => (q.value, At.features.map((e) => {
2165
2177
  let t = e.properties.iso_a3;
2166
2178
  (!t || t === "-99") && (t = e.properties.iso_a3_eh);
2167
- let n = R.value[t];
2179
+ let n = L.value[t];
2168
2180
  return {
2169
- path: Gt(e.geometry),
2181
+ path: Yt(e.geometry),
2170
2182
  name: e.properties.name,
2171
2183
  geo: e,
2172
2184
  code: t,
2173
2185
  geometry: e.geometry,
2174
- color: n && n.color ? a(n.color) : n && n.category ? qt(n.category) : Wt(n ? n.value : null),
2186
+ color: n && n.color ? a(n.color) : n && n.category ? Zt(n.category) : Jt(n ? n.value : null),
2175
2187
  value: n ? n.value : null,
2176
2188
  category: n && n.category || null,
2177
2189
  isActive: !!n,
2178
- uid: Yt(t)
2190
+ uid: $t(t)
2179
2191
  };
2180
- }))), W = y(!1);
2181
- function Xt(e) {
2182
- W.value = e, Et.value += 1;
2192
+ }))), U = b(!1);
2193
+ function en(e) {
2194
+ U.value = e, Dt.value += 1;
2183
2195
  }
2184
- let G = y(!1);
2185
- function Zt() {
2186
- G.value = !G.value;
2196
+ let W = b(!1);
2197
+ function tn() {
2198
+ W.value = !W.value;
2187
2199
  }
2188
- function Qt() {
2189
- z.value.showTable = !z.value.showTable;
2200
+ function nn() {
2201
+ R.value.showTable = !R.value.showTable;
2190
2202
  }
2191
- function $t() {
2192
- z.value.showTooltip = !z.value.showTooltip;
2203
+ function rn() {
2204
+ R.value.showTooltip = !R.value.showTooltip;
2193
2205
  }
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) {
2206
+ let an = c(() => k.value.userOptions.show && !F.value.title.text), { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = pe({
2207
+ elementId: `world_${D.value}`,
2208
+ fileName: F.value.title.text || "vue-ui-world",
2209
+ options: k.value.userOptions.print
2210
+ }), G = b(!1), un = b(null), K = b(null), dn = c(() => K.value ? Yt(K.value.geometry) : "");
2211
+ function fn(e) {
2200
2212
  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
2213
  }
2202
- let ln = c(() => {
2203
- let e = q.value?.geometry;
2214
+ let pn = c(() => {
2215
+ let e = K.value?.geometry;
2204
2216
  if (!e) return "";
2205
- let t = cn(e);
2217
+ let t = fn(e);
2206
2218
  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 = 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);
2219
+ let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = jt[z.value] || jt.globe, a = B.value.width, ee = B.value.height, te = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), ne = te.flat(), re = ne.map(([e, t]) => e), o = ne.map(([e, t]) => t), ie = Math.min(...re), ae = Math.max(...re), oe = Math.min(...o), se = Math.max(...o), ce = ae - ie || 1, le = se - oe || 1, ue = Math.min(64 / ce, 64 / le);
2208
2220
  function de([e, t]) {
2209
2221
  return [(e - ie) * ue + 8, (t - oe) * ue + 8];
2210
2222
  }
2211
2223
  return `
2212
2224
  <svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
2213
2225
  <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(de).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || P.value.emptyColor}" stroke="${P.value.stroke}" stroke-width="1"/>
2226
+ <path d="${te.map((e) => "M" + e.map(de).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${K.value?.color || N.value.emptyColor}" stroke="${N.value.stroke}" stroke-width="1"/>
2215
2227
  </svg>
2216
2228
  `;
2217
2229
  });
2218
- function un({ datapoint: e, seriesIndex: t }) {
2219
- D.value = !1, q.value = null, A.value.events.datapointLeave && A.value.events.datapointLeave({
2230
+ function mn({ datapoint: e, seriesIndex: t }) {
2231
+ Tt.value = !1, K.value = null, k.value.events.datapointLeave && k.value.events.datapointLeave({
2220
2232
  datapoint: e,
2221
2233
  seriesIndex: t
2222
2234
  });
2223
2235
  }
2224
- function dn({ datapoint: e, seriesIndex: t }) {
2225
- ht("selectDatapoint", e), A.value.events.datapointClick && A.value.events.datapointClick({
2236
+ function hn({ datapoint: e, seriesIndex: t }) {
2237
+ ht("selectDatapoint", e), k.value.events.datapointClick && k.value.events.datapointClick({
2226
2238
  datapoint: e,
2227
2239
  seriesIndex: t
2228
2240
  });
2229
2241
  }
2230
- function fn({ datapoint: e, seriesIndex: t }) {
2231
- A.value.events.datapointEnter && A.value.events.datapointEnter({
2242
+ function gn({ datapoint: e, seriesIndex: t }) {
2243
+ k.value.events.datapointEnter && k.value.events.datapointEnter({
2232
2244
  datapoint: e,
2233
2245
  seriesIndex: t
2234
- }), q.value = e, on.value = {
2246
+ }), K.value = e, un.value = {
2235
2247
  datapoint: e,
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 {
2248
+ config: k.value,
2249
+ series: H.value
2250
+ }, Tt.value = !0;
2251
+ let r = "", i = j.value.customFormat;
2252
+ if (G.value = !1, n(i)) try {
2241
2253
  let t = i({
2242
2254
  datapoint: e,
2243
- config: A.value,
2244
- series: U.value
2255
+ config: k.value,
2256
+ series: H.value
2245
2257
  });
2246
- typeof t == "string" && (Tt.value = t, K.value = !0);
2258
+ typeof t == "string" && (Et.value = t, G.value = !0);
2247
2259
  } catch {
2248
- console.warn("Custom format cannot be applied."), K.value = !1;
2260
+ console.warn("Custom format cannot be applied."), G.value = !1;
2249
2261
  }
2250
- K.value || (r += `
2262
+ G.value || (r += `
2251
2263
  <div style="width:100%;">
2252
- ${M.value.showMinimap ? `<div class="vue-ui-world-minimap">${ln.value}</div>` : ""}
2264
+ ${j.value.showMinimap ? `<div class="vue-ui-world-minimap">${pn.value}</div>` : ""}
2253
2265
  <div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
2254
2266
  <svg viewBox="0 0 20 20" height="14" width="14">
2255
2267
  <circle cx="10" cy="10" r="10" fill="${e.color}"/>
2256
2268
  </svg>
2257
2269
  <span>${e.name}:</span>
2258
2270
  <b>
2259
- ${re(I.value.dataLabels.formatter, e.value, ee({
2260
- p: I.value.dataLabels.prefix,
2271
+ ${ie(F.value.dataLabels.formatter, e.value, ee({
2272
+ p: F.value.dataLabels.prefix,
2261
2273
  v: e.value,
2262
- s: I.value.dataLabels.suffix,
2263
- r: I.value.dataLabels.rounding
2274
+ s: F.value.dataLabels.suffix,
2275
+ r: F.value.dataLabels.rounding
2264
2276
  }))}
2265
2277
  </b>
2266
2278
  </div>
2267
2279
  </div>
2268
- `, Tt.value = `<div>${r}</div>`);
2280
+ `, Et.value = `<div>${r}</div>`);
2269
2281
  }
2270
- let pn = y(!1), mn = y({
2282
+ let _n = b(!1), vn = b({
2271
2283
  x: 0,
2272
2284
  y: 0
2273
- }), J = y([N.value.center.x, N.value.center.y]), hn = [0, 0], Y = null, X = null;
2274
- function gn(e) {
2285
+ }), q = b([M.value.center.x, M.value.center.y]), yn = [0, 0], J = null, Y = null;
2286
+ function bn(e) {
2275
2287
  return Math.max(-90, Math.min(90, e));
2276
2288
  }
2277
- function _n(e) {
2289
+ function xn(e) {
2278
2290
  return ((e + 180) % 360 + 360) % 360 - 180;
2279
2291
  }
2280
- function vn() {
2281
- Y &&= (J.value = Y, null);
2292
+ function Sn() {
2293
+ J &&= (q.value = J, null);
2282
2294
  }
2283
- function yn(e) {
2284
- if (Y = e, typeof requestAnimationFrame > "u") {
2285
- vn();
2295
+ function Cn(e) {
2296
+ if (J = e, typeof requestAnimationFrame > "u") {
2297
+ Sn();
2286
2298
  return;
2287
2299
  }
2288
- X === null && (X = requestAnimationFrame(() => {
2289
- X = null, vn();
2300
+ Y === null && (Y = requestAnimationFrame(() => {
2301
+ Y = null, Sn();
2290
2302
  }));
2291
2303
  }
2292
- Ie(() => [N.value.center.x, N.value.center.y], ([e, t]) => {
2293
- J.value = [e, t], Y = null;
2304
+ Ie(() => [M.value.center.x, M.value.center.y], ([e, t]) => {
2305
+ q.value = [e, t], J = null;
2294
2306
  });
2295
- function bn(e, t) {
2296
- pn.value = !0, mn.value = {
2307
+ function wn(e, t) {
2308
+ _n.value = !0, vn.value = {
2297
2309
  x: e,
2298
2310
  y: t
2299
- }, hn = Y || [J.value[0], J.value[1]];
2311
+ }, yn = J || [q.value[0], q.value[1]];
2300
2312
  }
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)]);
2313
+ function Tn(e, t) {
2314
+ if (!_n.value || z.value !== "globe" || W.value) return;
2315
+ let n = e - vn.value.x, r = t - vn.value.y;
2316
+ Cn([xn(yn[0] - n * ut), bn(yn[1] + r * ut)]);
2305
2317
  }
2306
- function Sn() {
2307
- pn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), vn();
2318
+ function En() {
2319
+ _n.value = !1, Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null), Sn();
2308
2320
  }
2309
- function Cn(e) {
2310
- bn(e.clientX, e.clientY);
2321
+ function Dn(e) {
2322
+ wn(e.clientX, e.clientY);
2311
2323
  }
2312
- function wn(e) {
2313
- xn(e.clientX, e.clientY);
2324
+ function On(e) {
2325
+ Tn(e.clientX, e.clientY);
2314
2326
  }
2315
- function Tn() {
2316
- Sn();
2327
+ function kn() {
2328
+ En();
2317
2329
  }
2318
- function En(e) {
2330
+ function An(e) {
2319
2331
  let t = e.touches[0];
2320
- bn(t.clientX, t.clientY);
2332
+ wn(t.clientX, t.clientY);
2321
2333
  }
2322
- function Dn(e) {
2334
+ function jn(e) {
2323
2335
  let t = e.touches[0];
2324
- xn(t.clientX, t.clientY);
2336
+ Tn(t.clientX, t.clientY);
2325
2337
  }
2326
- function On() {
2327
- Sn();
2338
+ function Mn() {
2339
+ En();
2328
2340
  }
2329
2341
  je(() => {
2330
- X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
2342
+ Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null);
2331
2343
  });
2332
- let kn = c(() => {
2333
- let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2344
+ let Nn = c(() => {
2345
+ let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
2334
2346
  return {
2335
2347
  head: e.map((e) => ({
2336
2348
  name: e.name,
@@ -2339,65 +2351,65 @@ var Ge = {
2339
2351
  })),
2340
2352
  body: e.map((e) => e.value || 0)
2341
2353
  };
2342
- }), An = c(() => {
2354
+ }), X = c(() => {
2343
2355
  let e = [
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) => [
2356
+ k.value.table.columnNames.series,
2357
+ k.value.table.columnNames.value,
2358
+ k.value.table.columnNames.category
2359
+ ], t = Nn.value.head.map((e, t) => [
2348
2360
  {
2349
2361
  color: e.color,
2350
2362
  name: e.name
2351
2363
  },
2352
- kn.value.body[t] || 0,
2364
+ Nn.value.body[t] || 0,
2353
2365
  { category: e.category }
2354
2366
  ]), n = {
2355
2367
  th: {
2356
- backgroundColor: A.value.table.th.backgroundColor,
2357
- color: A.value.table.th.color,
2358
- outline: A.value.table.th.outline
2368
+ backgroundColor: k.value.table.th.backgroundColor,
2369
+ color: k.value.table.th.color,
2370
+ outline: k.value.table.th.outline
2359
2371
  },
2360
2372
  td: {
2361
- backgroundColor: A.value.table.td.backgroundColor,
2362
- color: A.value.table.td.color,
2363
- outline: A.value.table.td.outline
2373
+ backgroundColor: k.value.table.td.backgroundColor,
2374
+ color: k.value.table.td.color,
2375
+ outline: k.value.table.td.outline
2364
2376
  },
2365
- breakpoint: A.value.table.responsiveBreakpoint
2377
+ breakpoint: k.value.table.responsiveBreakpoint
2366
2378
  };
2367
2379
  return {
2368
- colNames: [A.value.table.columnNames.series, A.value.table.columnNames.value],
2380
+ colNames: [k.value.table.columnNames.series, k.value.table.columnNames.value],
2369
2381
  head: e,
2370
2382
  body: t,
2371
2383
  config: n
2372
2384
  };
2373
2385
  });
2374
- function jn(e = null) {
2386
+ function Pn(e = null) {
2375
2387
  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],
2388
+ let n = Nn.value.head.map((e, t) => [[e.name], [Nn.value.body[t]]]), i = [
2389
+ [F.value.title.text],
2390
+ [F.value.title.subtitle.text],
2379
2391
  [[
2380
- A.value.table.columnNames.series,
2381
- A.value.table.columnNames.value,
2382
- A.value.table.columnNames.category
2392
+ k.value.table.columnNames.series,
2393
+ k.value.table.columnNames.value,
2394
+ k.value.table.columnNames.category
2383
2395
  ]]
2384
2396
  ].concat(n), a = r(i);
2385
2397
  e ? e(a) : t({
2386
2398
  csvContent: a,
2387
- title: I.value.title.text || "vue-ui-world"
2399
+ title: F.value.title.text || "vue-ui-world"
2388
2400
  });
2389
2401
  });
2390
2402
  }
2391
- let Z = y([]);
2392
- function Mn() {
2403
+ let Z = b([]);
2404
+ function Fn() {
2393
2405
  Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
2394
2406
  Z.value.push(e.name);
2395
2407
  });
2396
2408
  }
2397
- function Nn(e) {
2409
+ function In(e) {
2398
2410
  Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), ht("selectLegend", { name: e });
2399
2411
  }
2400
- let Q = c(() => _t ? Kt.value.map(({ name: e, color: t }, n) => ({
2412
+ let Q = c(() => _t ? Xt.value.map(({ name: e, color: t }, n) => ({
2401
2413
  name: e,
2402
2414
  color: t,
2403
2415
  shape: "circle",
@@ -2405,23 +2417,23 @@ var Ge = {
2405
2417
  })).map((e) => ({
2406
2418
  ...e,
2407
2419
  opacity: Z.value.includes(e.name) ? .5 : 1,
2408
- segregate: () => Nn(e.name),
2420
+ segregate: () => In(e.name),
2409
2421
  isSegregated: Z.value.includes(e.name)
2410
- })) : []), Pn = c(() => ({
2422
+ })) : []), Ln = c(() => ({
2411
2423
  cy: "donut-div-legend",
2412
- backgroundColor: F.value.backgroundColor,
2413
- color: F.value.color,
2414
- fontSize: F.value.fontSize,
2424
+ backgroundColor: P.value.backgroundColor,
2425
+ color: P.value.color,
2426
+ fontSize: P.value.fontSize,
2415
2427
  paddingBottom: 12,
2416
- fontWeight: F.value.bold ? "bold" : ""
2428
+ fontWeight: P.value.bold ? "bold" : ""
2417
2429
  }));
2418
- function Fn() {
2419
- return U.value;
2430
+ function Rn() {
2431
+ return H.value;
2420
2432
  }
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,
2433
+ async function zn({ scale: e = 2 } = {}) {
2434
+ if (!E.value) return;
2435
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
2436
+ domElement: E.value,
2425
2437
  base64: !0,
2426
2438
  img: !0,
2427
2439
  scale: e
@@ -2429,108 +2441,108 @@ var Ge = {
2429
2441
  return {
2430
2442
  imageUri: i,
2431
2443
  base64: a,
2432
- title: I.value.title.text,
2444
+ title: F.value.title.text,
2433
2445
  width: t,
2434
2446
  height: n,
2435
2447
  aspectRatio: r
2436
2448
  };
2437
2449
  }
2438
2450
  let $ = c(() => {
2439
- let e = A.value.table.useDialog && !A.value.table.show, t = z.value.showTable;
2451
+ let e = k.value.table.useDialog && !k.value.table.show, t = R.value.showTable;
2440
2452
  return {
2441
2453
  component: e ? pt : Ue,
2442
- title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
2454
+ title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
2443
2455
  props: e ? {
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,
2456
+ backgroundColor: k.value.table.th.backgroundColor,
2457
+ color: k.value.table.th.color,
2458
+ headerColor: k.value.table.th.color,
2459
+ headerBg: k.value.table.th.backgroundColor,
2460
+ isFullscreen: U.value,
2461
+ fullscreenParent: E.value,
2450
2462
  forcedWidth: Math.min(800, window.innerWidth * .8),
2451
- isCursorPointer: L.value
2463
+ isCursorPointer: I.value
2452
2464
  } : {
2453
2465
  hideDetails: !0,
2454
2466
  config: {
2455
2467
  open: t,
2456
2468
  maxHeight: 1e4,
2457
2469
  body: {
2458
- backgroundColor: I.value.backgroundColor,
2459
- color: I.value.color
2470
+ backgroundColor: F.value.backgroundColor,
2471
+ color: F.value.color
2460
2472
  },
2461
2473
  head: {
2462
- backgroundColor: I.value.backgroundColor,
2463
- color: I.value.color
2474
+ backgroundColor: F.value.backgroundColor,
2475
+ color: F.value.color
2464
2476
  }
2465
2477
  }
2466
2478
  }
2467
2479
  };
2468
2480
  });
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());
2481
+ Ie(() => R.value.showTable, (e) => {
2482
+ k.value.table.show || (e && k.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
2471
2483
  });
2472
- function Ln() {
2473
- z.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
2484
+ function Bn() {
2485
+ R.value.showTable = !1, kt.value && kt.value.setTableIconState(!1);
2474
2486
  }
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,
2487
+ let Vn = c(() => F.value.backgroundColor), Hn = c(() => F.value.title), { isCallbackImaging: Un, isCallbackSvg: Wn, generateSvg: Gn, onGenerateImage: Kn } = _e({
2488
+ svg: Vt,
2489
+ title: Hn,
2490
+ legend: P,
2479
2491
  legendItems: Q,
2480
- backgroundColor: Rn,
2481
- getSvgCallback: () => A.value.userOptions.callbacks.svg,
2482
- generateImage: an
2492
+ backgroundColor: Vn,
2493
+ getSvgCallback: () => k.value.userOptions.callbacks.svg,
2494
+ generateImage: ln
2483
2495
  });
2484
- async function Wn() {
2496
+ async function qn() {
2485
2497
  if (ht("copyAlt", {
2486
- config: A.value,
2487
- dataset: U.value
2488
- }), !A.value.userOptions.callbacks.altCopy) {
2498
+ config: k.value,
2499
+ dataset: H.value
2500
+ }), !k.value.userOptions.callbacks.altCopy) {
2489
2501
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
2490
2502
  return;
2491
2503
  }
2492
- await Promise.resolve(A.value.userOptions.callbacks.altCopy({
2493
- config: A.value,
2494
- dataset: U.value
2504
+ await Promise.resolve(k.value.userOptions.callbacks.altCopy({
2505
+ config: k.value,
2506
+ dataset: H.value
2495
2507
  }));
2496
2508
  }
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", {
2509
+ return be({
2510
+ getData: Rn,
2511
+ getImage: zn,
2512
+ generatePdf: cn,
2513
+ generateCsv: Pn,
2514
+ generateImage: ln,
2515
+ generateSvg: Gn,
2516
+ toggleTable: nn,
2517
+ toggleTooltip: rn,
2518
+ toggleAnnotator: tn,
2519
+ toggleFullscreen: en,
2520
+ copyAlt: qn
2521
+ }), (e, t) => (y(), d("div", {
2510
2522
  ref_key: "worldChart",
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)
2523
+ ref: E,
2524
+ id: `world_${D.value}`,
2525
+ class: Ae(`vue-data-ui-component vue-ui-world ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
2526
+ style: v(`font-family:${k.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor}`),
2527
+ onMouseenter: t[2] ||= () => C(zt)(!0),
2528
+ onMouseleave: t[3] ||= () => C(zt)(!1)
2517
2529
  }, [
2518
- j.value.buttons.annotator && S(zt) ? (v(), l(S(Ke), {
2530
+ A.value.buttons.annotator && C(Vt) ? (y(), l(C(Ke), {
2519
2531
  key: 0,
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
2532
+ color: F.value.color,
2533
+ backgroundColor: F.value.backgroundColor,
2534
+ active: W.value,
2535
+ svgRef: C(Vt),
2536
+ isCursorPointer: I.value,
2537
+ palette: A.value.annotatorPalette,
2538
+ onClose: tn
2527
2539
  }, {
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)]),
2540
+ "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
2541
+ "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
2542
+ "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(g({ mode: t })), void 0, !0)]),
2543
+ "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(g({ disabled: t })), void 0, !0)]),
2544
+ "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(g({ disabled: t })), void 0, !0)]),
2545
+ "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(g({ disabled: t })), void 0, !0)]),
2534
2546
  _: 3
2535
2547
  }, 8, [
2536
2548
  "color",
@@ -2540,76 +2552,76 @@ var Ge = {
2540
2552
  "isCursorPointer",
2541
2553
  "palette"
2542
2554
  ])) : u("", !0),
2543
- b(e.$slots, "userConfig", {}, void 0, !0),
2544
- en.value ? (v(), d("div", {
2555
+ x(e.$slots, "userConfig", {}, void 0, !0),
2556
+ an.value ? (y(), d("div", {
2545
2557
  key: 1,
2546
2558
  ref_key: "noTitle",
2547
2559
  ref: xt,
2548
2560
  class: "vue-data-ui-no-title-space",
2549
2561
  style: "height:36px; width: 100%;background:transparent"
2550
2562
  }, null, 512)) : u("", !0),
2551
- I.value.title.text ? (v(), d("div", {
2563
+ F.value.title.text ? (y(), d("div", {
2552
2564
  key: 2,
2553
2565
  ref_key: "chartTitle",
2554
2566
  ref: vt,
2555
2567
  style: "width:100%;background:transparent"
2556
- }, [(v(), l(S(ze), {
2568
+ }, [(y(), l(C(ze), {
2557
2569
  key: `title_${St.value}`,
2558
2570
  config: {
2559
2571
  title: {
2560
2572
  cy: "donut-div-title",
2561
- ...I.value.title
2573
+ ...F.value.title
2562
2574
  },
2563
2575
  subtitle: {
2564
2576
  cy: "donut-div-subtitle",
2565
- ...I.value.title.subtitle
2577
+ ...F.value.title.subtitle
2566
2578
  }
2567
2579
  }
2568
2580
  }, 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), {
2581
+ f("div", { id: `legend-top-${D.value}` }, null, 8, Je),
2582
+ A.value.show && gt.value && (C(Bt) || C(Rt)) ? (y(), l(C(dt), {
2571
2583
  ref_key: "userOptionsRef",
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,
2584
+ ref: kt,
2585
+ key: `user_option_${Dt.value}`,
2586
+ backgroundColor: F.value.backgroundColor,
2587
+ color: F.value.color,
2588
+ isPrinting: C(on),
2589
+ isImaging: C(sn),
2590
+ uid: D.value,
2591
+ callbacks: A.value.callbacks,
2592
+ hasTooltip: j.value.show && A.value.buttons.tooltip,
2593
+ hasPdf: A.value.buttons.pdf,
2594
+ hasImg: A.value.buttons.img,
2595
+ hasSvg: A.value.buttons.svg,
2596
+ hasXls: A.value.buttons.csv,
2597
+ hasTable: A.value.buttons.table,
2586
2598
  hasLabel: !1,
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 }, [
2599
+ hasFullscreen: A.value.buttons.fullscreen,
2600
+ hasAltCopy: A.value.buttons.altCopy,
2601
+ isFullscreen: U.value,
2602
+ chartElement: E.value,
2603
+ position: A.value.position,
2604
+ printScale: A.value.print.scale,
2605
+ isTooltip: R.value.showTooltip,
2606
+ titles: { ...A.value.buttonTitles },
2607
+ hasAnnotator: A.value.buttons.annotator,
2608
+ isAnnotation: W.value,
2609
+ tableDialog: k.value.table.useDialog,
2610
+ isCursorPointer: I.value,
2611
+ onToggleFullscreen: en,
2612
+ onGeneratePdf: C(cn),
2613
+ onGenerateCsv: Pn,
2614
+ onGenerateImage: C(Kn),
2615
+ onGenerateSvg: C(Gn),
2616
+ onToggleTable: nn,
2617
+ onToggleTooltip: rn,
2618
+ onToggleAnnotator: tn,
2619
+ onCopyAlt: qn,
2620
+ style: v({ visibility: C(Bt) ? C(Rt) ? "visible" : "hidden" : "visible" })
2621
+ }, De({ _: 2 }, [
2610
2622
  e.$slots.menuIcon ? {
2611
2623
  name: "menuIcon",
2612
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
2624
+ fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(g({
2613
2625
  isOpen: t,
2614
2626
  color: n
2615
2627
  })), void 0, !0)]),
@@ -2617,37 +2629,37 @@ var Ge = {
2617
2629
  } : void 0,
2618
2630
  e.$slots.optionTooltip ? {
2619
2631
  name: "optionTooltip",
2620
- fn: C(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
2632
+ fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
2621
2633
  key: "1"
2622
2634
  } : void 0,
2623
2635
  e.$slots.optionPdf ? {
2624
2636
  name: "optionPdf",
2625
- fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
2637
+ fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
2626
2638
  key: "2"
2627
2639
  } : void 0,
2628
2640
  e.$slots.optionCsv ? {
2629
2641
  name: "optionCsv",
2630
- fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
2642
+ fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
2631
2643
  key: "3"
2632
2644
  } : void 0,
2633
2645
  e.$slots.optionImg ? {
2634
2646
  name: "optionImg",
2635
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
2647
+ fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
2636
2648
  key: "4"
2637
2649
  } : void 0,
2638
2650
  e.$slots.optionSvg ? {
2639
2651
  name: "optionSvg",
2640
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
2652
+ fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
2641
2653
  key: "5"
2642
2654
  } : void 0,
2643
2655
  e.$slots.optionTable ? {
2644
2656
  name: "optionTable",
2645
- fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
2657
+ fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
2646
2658
  key: "6"
2647
2659
  } : void 0,
2648
2660
  e.$slots.optionFullscreen ? {
2649
2661
  name: "optionFullscreen",
2650
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
2662
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(g({
2651
2663
  toggleFullscreen: t,
2652
2664
  isFullscreen: n
2653
2665
  })), void 0, !0)]),
@@ -2655,7 +2667,7 @@ var Ge = {
2655
2667
  } : void 0,
2656
2668
  e.$slots.optionAnnotator ? {
2657
2669
  name: "optionAnnotator",
2658
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
2670
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(g({
2659
2671
  toggleAnnotator: t,
2660
2672
  isAnnotator: n
2661
2673
  })), void 0, !0)]),
@@ -2663,62 +2675,62 @@ var Ge = {
2663
2675
  } : void 0,
2664
2676
  e.$slots.optionAltCopy ? {
2665
2677
  name: "optionAltCopy",
2666
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
2678
+ fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(g({ altCopy: t })), void 0, !0)]),
2667
2679
  key: "9"
2668
2680
  } : void 0,
2669
2681
  e.$slots["custom-menu-before"] ? {
2670
2682
  name: "custom-menu-before",
2671
- fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2683
+ fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
2672
2684
  key: "10"
2673
2685
  } : void 0,
2674
2686
  e.$slots["custom-menu-after"] ? {
2675
2687
  name: "custom-menu-after",
2676
- fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2688
+ fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
2677
2689
  key: "11"
2678
2690
  } : void 0
2679
2691
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
2680
- (v(), d("svg", {
2692
+ (y(), d("svg", {
2681
2693
  ref_key: "svgRef",
2682
- ref: zt,
2683
- viewBox: H.value.str,
2684
- xmlns: S(oe),
2694
+ ref: Vt,
2695
+ viewBox: V.value.str,
2696
+ xmlns: C(se),
2685
2697
  class: Ae({
2686
- "vue-data-ui-fullscreen--on": W.value,
2687
- "vue-data-ui-fullscreen--off": !W.value
2698
+ "vue-data-ui-fullscreen--on": U.value,
2699
+ "vue-data-ui-fullscreen--off": !U.value
2688
2700
  }),
2689
- style: _({
2701
+ style: v({
2690
2702
  maxWidth: "100%",
2691
- overflow: B.value === "globe" ? "visible" : "hidden",
2703
+ overflow: z.value === "globe" ? "visible" : "hidden",
2692
2704
  background: "transparent",
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"
2705
+ color: F.value.color,
2706
+ paddingTop: F.value.padding.top + "px",
2707
+ paddingRight: F.value.padding.right + "px",
2708
+ paddingBottom: F.value.padding.bottom + "px",
2709
+ paddingLeft: F.value.padding.left + "px"
2698
2710
  }),
2699
- onMousedown: Cn,
2700
- onMousemove: wn,
2701
- onMouseup: Tn,
2702
- onMouseleave: Tn,
2703
- onTouchstart: En,
2704
- onTouchmove: Le(Dn, ["prevent"]),
2705
- onTouchend: On
2711
+ onMousedown: Dn,
2712
+ onMousemove: On,
2713
+ onMouseup: kn,
2714
+ onMouseleave: kn,
2715
+ onTouchstart: An,
2716
+ onTouchmove: Le(jn, ["prevent"]),
2717
+ onTouchend: Mn
2706
2718
  }, [
2707
- p(S(ft)),
2708
- e.$slots["chart-background"] ? (v(), d("foreignObject", {
2719
+ m(C(ft)),
2720
+ e.$slots["chart-background"] ? (y(), d("foreignObject", {
2709
2721
  key: 0,
2710
- x: H.value.minX,
2711
- y: H.value.minY,
2712
- width: H.value.width,
2713
- height: H.value.height,
2722
+ x: V.value.minX,
2723
+ y: V.value.minY,
2724
+ width: V.value.width,
2725
+ height: V.value.height,
2714
2726
  style: { pointerEvents: "none" }
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 }, [
2727
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : u("", !0),
2728
+ gt.value ? (y(), d("g", Ze, [
2729
+ z.value === "globe" ? (y(), d(s, { key: 0 }, [
2718
2730
  f("defs", null, [
2719
- p(be, {
2731
+ m(xe, {
2720
2732
  t: "radial",
2721
- id: `water-${E.value}`,
2733
+ id: `water-${D.value}`,
2722
2734
  cx: .48,
2723
2735
  cy: .52,
2724
2736
  r: "0.55",
@@ -2727,29 +2739,29 @@ var Ge = {
2727
2739
  stops: [
2728
2740
  [
2729
2741
  "0%",
2730
- S(ie)(N.value.waterColor, .4),
2742
+ C(ae)(M.value.waterColor, .4),
2731
2743
  1
2732
2744
  ],
2733
2745
  [
2734
2746
  "45%",
2735
- N.value.waterColor,
2747
+ M.value.waterColor,
2736
2748
  1
2737
2749
  ],
2738
2750
  [
2739
2751
  "80%",
2740
- S(o)(N.value.waterColor, .2),
2752
+ C(te)(M.value.waterColor, .2),
2741
2753
  1
2742
2754
  ],
2743
2755
  [
2744
2756
  "100%",
2745
- S(o)(N.value.waterColor, .5),
2757
+ C(te)(M.value.waterColor, .5),
2746
2758
  .95
2747
2759
  ]
2748
2760
  ]
2749
2761
  }, null, 8, ["id", "stops"]),
2750
- p(be, {
2762
+ m(xe, {
2751
2763
  t: "radial",
2752
- id: `atmo-realistic-${E.value}`,
2764
+ id: `atmo-realistic-${D.value}`,
2753
2765
  cx: .5,
2754
2766
  cy: .5,
2755
2767
  r: "0.54",
@@ -2761,7 +2773,7 @@ var Ge = {
2761
2773
  ],
2762
2774
  [
2763
2775
  "98%",
2764
- N.value.waterColor,
2776
+ M.value.waterColor,
2765
2777
  1
2766
2778
  ],
2767
2779
  [
@@ -2772,104 +2784,104 @@ var Ge = {
2772
2784
  ]
2773
2785
  }, null, 8, ["id", "stops"]),
2774
2786
  f("filter", {
2775
- id: `blur-${E.value}`,
2787
+ id: `blur-${D.value}`,
2776
2788
  x: "-30%",
2777
2789
  y: "-30%",
2778
2790
  width: "160%",
2779
2791
  height: "160%"
2780
2792
  }, [...t[4] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Qe)
2781
2793
  ]),
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 }, {
2794
+ e.$slots.pattern ? (y(), d("g", $e, [(y(!0), d(s, null, Ne(H.value, (t, n) => (y(), d("defs", null, [x(e.$slots, "pattern", Oe({ ref_for: !0 }, {
2783
2795
  ...t,
2784
- patternId: `pattern_${E.value}_${t.code}`
2796
+ patternId: `pattern_${D.value}_${t.code}`
2785
2797
  }), void 0, !0)]))), 256))])) : u("", !0),
2786
2798
  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})`
2799
+ cx: V.value.width / 2 + 20,
2800
+ cy: V.value.height / 2 + 20,
2801
+ r: V.value.height / 2,
2802
+ fill: `url(#water-${D.value})`
2791
2803
  }, null, 8, et),
2792
2804
  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})`,
2805
+ cx: V.value.width / 2 + 20,
2806
+ cy: V.value.height / 2 + 20,
2807
+ r: V.value.height / 2 + 10,
2808
+ fill: `url(#atmo-realistic-${D.value})`,
2797
2809
  "pointer-events": "none",
2798
- filter: `url(#blur-${E.value})`
2810
+ filter: `url(#blur-${D.value})`
2799
2811
  }, null, 8, tt)
2800
2812
  ], 64)) : u("", !0),
2801
- (v(!0), d(s, null, Ne(U.value, (t, n) => (v(), d(s, { key: t.code }, [f("path", {
2813
+ (y(!0), d(s, null, Ne(H.value, (t, n) => (y(), d(s, { key: t.code }, [f("path", {
2802
2814
  d: t.path,
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({
2815
+ fill: t.category && Z.value.includes(t.category) ? N.value.emptyColor : t.color,
2816
+ stroke: N.value.stroke,
2817
+ "stroke-width": K.value && K.value.uid === t.uid ? N.value.strokeWidthSelected : N.value.strokeWidth,
2818
+ onMouseenter: (e) => gn({
2807
2819
  datapoint: t,
2808
2820
  seriesIndex: n
2809
2821
  }),
2810
- onMouseleave: (e) => un({
2822
+ onMouseleave: (e) => mn({
2811
2823
  datapoint: t,
2812
2824
  seriesIndex: n
2813
2825
  }),
2814
- onClick: (e) => dn({
2826
+ onClick: (e) => hn({
2815
2827
  datapoint: t,
2816
2828
  seriesIndex: n
2817
2829
  }),
2818
2830
  class: "vue-ui-world-territory"
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", {
2831
+ }, [!Tt.value || !R.value.showTooltip ? (y(), d("title", rt, [p(S(t.name) + " ", 1), typeof t.value == "number" ? (y(), d(s, { key: 0 }, [p(" : " + S(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, nt), e.$slots.pattern ? (y(), d("path", {
2820
2832
  key: 0,
2821
2833
  d: t.path,
2822
- fill: `url(#pattern_${E.value}_${t.code})`,
2823
- stroke: P.value.stroke,
2824
- "stroke-width": P.value.strokeWidthSelected,
2834
+ fill: `url(#pattern_${D.value}_${t.code})`,
2835
+ stroke: N.value.stroke,
2836
+ "stroke-width": N.value.strokeWidthSelected,
2825
2837
  style: { "pointer-events": "none" },
2826
2838
  class: "vue-ui-world-territory"
2827
2839
  }, null, 8, it)) : u("", !0)], 64))), 128)),
2828
- q.value ? (v(), d("path", {
2840
+ K.value ? (y(), d("path", {
2829
2841
  key: 1,
2830
- d: sn.value,
2842
+ d: dn.value,
2831
2843
  fill: "transparent",
2832
- stroke: P.value.stroke,
2833
- "stroke-width": P.value.strokeWidthSelected,
2844
+ stroke: N.value.stroke,
2845
+ "stroke-width": N.value.strokeWidthSelected,
2834
2846
  style: { "pointer-events": "none" },
2835
2847
  class: "vue-ui-world-territory"
2836
2848
  }, null, 8, at)) : u("", !0)
2837
2849
  ])) : 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)
2850
+ x(e.$slots, "svg", { svg: {
2851
+ height: B.value.height,
2852
+ width: B.value.width,
2853
+ isPrintingImg: C(on) || C(sn) || C(Un),
2854
+ isPrintingSvg: C(Wn)
2843
2855
  } }, void 0, !0)
2844
2856
  ], 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, {
2857
+ e.$slots.watermark ? (y(), d("div", ot, [x(e.$slots, "watermark", _(g({ isPrinting: C(on) || C(sn) || C(Un) || C(Wn) })), void 0, !0)])) : u("", !0),
2858
+ f("div", { id: `legend-bottom-${D.value}` }, null, 8, st),
2859
+ Ot.value && _t.value && (P.value.show || e.$slots.legend) ? (y(), l(Ee, {
2848
2860
  key: 5,
2849
- to: F.value.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
2850
- }, [_t.value ? (v(), d("div", {
2861
+ to: P.value.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
2862
+ }, [_t.value ? (y(), d("div", {
2851
2863
  key: 0,
2852
2864
  ref_key: "chartLegend",
2853
2865
  ref: yt
2854
- }, [b(e.$slots, "legend", { legend: Q.value }, () => [F.value.show ? (v(), l(S(Be), {
2866
+ }, [x(e.$slots, "legend", { legend: Q.value }, () => [P.value.show ? (y(), l(C(Be), {
2855
2867
  key: `legend_${Ct.value}`,
2856
2868
  legendSet: Q.value,
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}`),
2869
+ config: Ln.value,
2870
+ isCursorPointer: I.value,
2871
+ onClickMarker: t[0] ||= (e) => In(e)
2872
+ }, De({
2873
+ item: w(({ legend: e, index: t }) => [f("div", {
2874
+ style: v(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
2863
2875
  onClick: (t) => e.segregate()
2864
- }, x(e.name), 13, ct)]),
2865
- legendToggle: C(() => [Q.value.length > 2 && F.value.selectAllToggle.show && !S(Ft) ? (v(), l(xe, {
2876
+ }, S(e.name), 13, ct)]),
2877
+ legendToggle: w(() => [Q.value.length > 2 && P.value.selectAllToggle.show && !C(Lt) ? (y(), l(Se, {
2866
2878
  key: 0,
2867
- backgroundColor: F.value.selectAllToggle.backgroundColor,
2868
- color: F.value.selectAllToggle.color,
2869
- fontSize: F.value.fontSize,
2879
+ backgroundColor: P.value.selectAllToggle.backgroundColor,
2880
+ color: P.value.selectAllToggle.color,
2881
+ fontSize: P.value.fontSize,
2870
2882
  checked: Z.value.length > 0,
2871
- isCursorPointer: L.value,
2872
- onToggle: Mn
2883
+ isCursorPointer: I.value,
2884
+ onToggle: Fn
2873
2885
  }, null, 8, [
2874
2886
  "backgroundColor",
2875
2887
  "color",
@@ -2880,7 +2892,7 @@ var Ge = {
2880
2892
  _: 2
2881
2893
  }, [e.$slots.pattern ? {
2882
2894
  name: "legend-pattern",
2883
- fn: C(({ legend: e, index: t }) => [p(ve, {
2895
+ fn: w(({ legend: e, index: t }) => [m(ye, {
2884
2896
  shape: e.shape,
2885
2897
  radius: 30,
2886
2898
  stroke: "none",
@@ -2888,7 +2900,7 @@ var Ge = {
2888
2900
  x: 30,
2889
2901
  y: 30
2890
2902
  },
2891
- fill: `url(#pattern_${E.value}_${t})`
2903
+ fill: `url(#pattern_${D.value}_${t})`
2892
2904
  }, null, 8, ["shape", "fill"])]),
2893
2905
  key: "0"
2894
2906
  } : void 0]), 1032, [
@@ -2896,37 +2908,37 @@ var Ge = {
2896
2908
  "config",
2897
2909
  "isCursorPointer"
2898
2910
  ])) : u("", !0)], !0)], 512)) : u("", !0)], 8, ["to"])) : u("", !0),
2899
- e.$slots.source ? (v(), d("div", {
2911
+ e.$slots.source ? (y(), d("div", {
2900
2912
  key: 6,
2901
2913
  ref_key: "source",
2902
2914
  ref: bt,
2903
2915
  dir: "auto"
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
2916
+ }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
2917
+ m(C(Ve), {
2918
+ teleportTo: j.value.teleportTo,
2919
+ show: R.value.showTooltip && Tt.value,
2920
+ backgroundColor: j.value.backgroundColor,
2921
+ color: j.value.color,
2922
+ fontSize: j.value.fontSize,
2923
+ borderRadius: j.value.borderRadius,
2924
+ borderColor: j.value.borderColor,
2925
+ borderWidth: j.value.borderWidth,
2926
+ backgroundOpacity: j.value.backgroundOpacity,
2927
+ position: j.value.position,
2928
+ offsetX: j.value.offsetX,
2929
+ offsetY: j.value.offsetY,
2930
+ parent: E.value,
2931
+ content: Et.value,
2932
+ isCustom: G.value,
2933
+ isFullscreen: U.value,
2934
+ smooth: j.value.smooth,
2935
+ backdropFilter: j.value.backdropFilter,
2936
+ smoothForce: j.value.smoothForce,
2937
+ smoothSnapThreshold: j.value.smoothSnapThreshold
2926
2938
  }, {
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)]),
2939
+ "tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(g({ ...un.value })), void 0, !0)]),
2940
+ tooltip: w(() => [x(e.$slots, "tooltip", _(g({ ...un.value })), void 0, !0)]),
2941
+ "tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(g({ ...un.value })), void 0, !0)]),
2930
2942
  _: 3
2931
2943
  }, 8, [
2932
2944
  "teleportTo",
@@ -2950,28 +2962,28 @@ var Ge = {
2950
2962
  "smoothForce",
2951
2963
  "smoothSnapThreshold"
2952
2964
  ]),
2953
- gt.value && j.value.buttons.table ? (v(), l(Pe($.value.component), Oe({ key: 7 }, $.value.props, {
2965
+ gt.value && A.value.buttons.table ? (y(), l(Pe($.value.component), Oe({ key: 7 }, $.value.props, {
2954
2966
  ref_key: "tableUnit",
2955
2967
  ref: O,
2956
- onClose: Ln
2957
- }), Ee({
2958
- content: C(() => [(v(), l(S(We), {
2968
+ onClose: Bn
2969
+ }), De({
2970
+ content: w(() => [(y(), l(C(We), {
2959
2971
  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
2972
+ colNames: X.value.colNames,
2973
+ head: X.value.head,
2974
+ body: X.value.body,
2975
+ config: X.value.config,
2976
+ title: k.value.table.useDialog ? "" : $.value.title,
2977
+ withCloseButton: !k.value.table.useDialog,
2978
+ isCursorPointer: I.value,
2979
+ onClose: Bn
2968
2980
  }, {
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,
2981
+ th: w(({ th: e }) => [f("div", lt, S(e), 1)]),
2982
+ td: w(({ td: e }) => [p(S(e.name ? e.name : e.category ? e.category : C(ie)(F.value.dataLabels.formatter, e, C(ee)({
2983
+ p: F.value.dataLabels.prefix,
2972
2984
  v: e,
2973
- s: I.value.dataLabels.suffix,
2974
- r: I.value.dataLabels.rounding
2985
+ s: F.value.dataLabels.suffix,
2986
+ r: F.value.dataLabels.rounding
2975
2987
  }))), 1)]),
2976
2988
  _: 1
2977
2989
  }, 8, [
@@ -2984,26 +2996,26 @@ var Ge = {
2984
2996
  "isCursorPointer"
2985
2997
  ]))]),
2986
2998
  _: 2
2987
- }, [A.value.table.useDialog ? {
2999
+ }, [k.value.table.useDialog ? {
2988
3000
  name: "title",
2989
- fn: C(() => [De(x($.value.title), 1)]),
3001
+ fn: w(() => [p(S($.value.title), 1)]),
2990
3002
  key: "0"
2991
- } : void 0, A.value.table.useDialog ? {
3003
+ } : void 0, k.value.table.useDialog ? {
2992
3004
  name: "actions",
2993
- fn: C(() => [f("button", {
3005
+ fn: w(() => [f("button", {
2994
3006
  tabindex: "0",
2995
3007
  class: "vue-ui-user-options-button",
2996
- onClick: t[1] ||= (e) => jn(j.value.callbacks.csv),
2997
- style: _({ cursor: L.value ? "pointer" : "default" })
2998
- }, [p(S(He), {
3008
+ onClick: t[1] ||= (e) => Pn(A.value.callbacks.csv),
3009
+ style: v({ cursor: I.value ? "pointer" : "default" })
3010
+ }, [m(C(He), {
2999
3011
  name: "fileCsv",
3000
3012
  stroke: $.value.props.color
3001
3013
  }, null, 8, ["stroke"])], 4)]),
3002
3014
  key: "1"
3003
3015
  } : void 0]), 1040)) : u("", !0),
3004
- b(e.$slots, "skeleton", {}, () => [S(Ft) ? (v(), l(me, { key: 0 })) : u("", !0)], !0)
3016
+ x(e.$slots, "skeleton", {}, () => [C(Lt) ? (y(), l(he, { key: 0 })) : u("", !0)], !0)
3005
3017
  ], 46, qe));
3006
3018
  }
3007
- }, [["__scopeId", "data-v-226853b6"]]);
3019
+ }, [["__scopeId", "data-v-cf84a129"]]);
3008
3020
  //#endregion
3009
3021
  export { Ke as n, dt as t };