vue-data-ui 3.25.4 → 3.25.6

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