vue-data-ui 3.22.8 → 3.22.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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.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-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -12,13 +12,14 @@ import { n as ge } from "./Title-CcNiYzEo.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { c as ve } from "./canvas-lib-BOP_HS11.js";
14
14
  import { t as ye } from "./useResponsive-BfnK0KxU.js";
15
- import { t as be } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ce } from "./vue_ui_age_pyramid-BY6c-oX_.js";
19
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as we, createTextVNode as Te, createVNode as Ee, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as De, nextTick as Oe, normalizeClass as ke, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ae, onMounted as je, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Me, shallowRef as Ne, toDisplayString as C, toRefs as Pe, unref as w, watch as T, watchEffect as Fe, withCtx as E } from "vue";
15
+ import { t as be } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as xe } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as we } from "./vue_ui_age_pyramid-BY6c-oX_.js";
20
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Te, createTextVNode as Ee, createVNode as h, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as De, nextTick as Oe, normalizeClass as ke, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ae, onMounted as je, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Me, shallowRef as Ne, toDisplayString as w, toRefs as Pe, unref as T, watch as E, watchEffect as Fe, withCtx as D } from "vue";
20
21
  //#region src/components/vue-ui-age-pyramid.vue
21
- var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze = { style: { position: "relative" } }, Be = [
22
+ var Ie = /* @__PURE__ */ e({ default: () => lt }), Le = ["id"], Re = ["id"], ze = { style: { position: "relative" } }, Be = [
22
23
  "xmlns",
23
24
  "viewBox",
24
25
  "aria-describedby"
@@ -27,99 +28,99 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
27
28
  "y",
28
29
  "width",
29
30
  "height"
30
- ], He = ["id"], Ue = ["stop-color"], We = ["stop-color"], Ge = ["id"], Ke = ["stop-color"], qe = ["stop-color"], Je = [
31
+ ], He = [
31
32
  "x",
32
33
  "y",
33
34
  "width",
34
35
  "height",
35
36
  "fill",
36
37
  "rx"
37
- ], Ye = [
38
+ ], Ue = [
38
39
  "x",
39
40
  "y",
40
41
  "width",
41
42
  "height",
42
43
  "fill",
43
44
  "rx"
44
- ], Xe = [
45
+ ], We = [
45
46
  "x",
46
47
  "y",
47
48
  "width",
48
49
  "height",
49
50
  "fill",
50
51
  "rx"
51
- ], Ze = [
52
+ ], Ge = [
52
53
  "x",
53
54
  "y",
54
55
  "width",
55
56
  "height",
56
57
  "fill",
57
58
  "rx"
58
- ], Qe = { key: 0 }, $e = [
59
+ ], Ke = { key: 0 }, qe = [
59
60
  "x",
60
61
  "y",
61
62
  "fill",
62
63
  "font-size",
63
64
  "font-weight"
64
- ], et = [
65
+ ], Je = [
65
66
  "x",
66
67
  "y",
67
68
  "fill",
68
69
  "font-size",
69
70
  "font-weight"
70
- ], tt = { key: 1 }, nt = [
71
+ ], Ye = { key: 1 }, Xe = [
71
72
  "x",
72
73
  "y",
73
74
  "font-size",
74
75
  "fill",
75
76
  "font-weight"
76
- ], rt = { key: 2 }, it = { key: 0 }, at = [
77
+ ], Ze = { key: 2 }, Qe = { key: 0 }, $e = [
77
78
  "x1",
78
79
  "x2",
79
80
  "y1",
80
81
  "y2",
81
82
  "stroke",
82
83
  "stroke-width"
83
- ], ot = [
84
+ ], et = [
84
85
  "x1",
85
86
  "x2",
86
87
  "y1",
87
88
  "y2",
88
89
  "stroke",
89
90
  "stroke-width"
90
- ], st = [
91
+ ], tt = [
91
92
  "x1",
92
93
  "x2",
93
94
  "y1",
94
95
  "y2",
95
96
  "stroke",
96
97
  "stroke-width"
97
- ], ct = [
98
+ ], nt = [
98
99
  "x1",
99
100
  "x2",
100
101
  "y1",
101
102
  "y2",
102
103
  "stroke",
103
104
  "stroke-width"
104
- ], lt = [
105
+ ], rt = [
105
106
  "font-size",
106
107
  "fill",
107
108
  "text-anchor",
108
109
  "font-weight",
109
110
  "transform"
110
- ], ut = [
111
+ ], it = [
111
112
  "font-size",
112
113
  "fill",
113
114
  "text-anchor",
114
115
  "font-weight",
115
116
  "transform"
116
- ], dt = [
117
+ ], at = [
117
118
  "x",
118
119
  "y",
119
120
  "font-size",
120
121
  "fill",
121
122
  "font-weight"
122
- ], ft = [
123
+ ], ot = [
123
124
  "x",
124
125
  "y",
125
126
  "width",
@@ -128,7 +129,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
128
129
  "onMouseover",
129
130
  "onMouseleave",
130
131
  "onClick"
131
- ], pt = {
132
+ ], st = {
132
133
  key: 0,
133
134
  style: {
134
135
  position: "absolute",
@@ -138,10 +139,10 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
138
139
  },
139
140
  "data-dom-to-png-ignore": "",
140
141
  "aria-hidden": "true"
141
- }, mt = {
142
+ }, ct = {
142
143
  key: 5,
143
144
  class: "vue-data-ui-watermark"
144
- }, ht = /*#__PURE__*/ _e({
145
+ }, lt = /*#__PURE__*/ _e({
145
146
  __name: "vue-ui-age-pyramid",
146
147
  props: {
147
148
  config: {
@@ -159,10 +160,10 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
159
160
  },
160
161
  emits: ["copyAlt"],
161
162
  setup(e, { expose: _e, emit: Ie }) {
162
- let ht = h(() => import("./Tooltip-CxOrWlFy.js")), gt = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), _t = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), vt = h(() => import("./DataTable-D9NvewTT.js")), yt = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), bt = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), xt = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), St = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_age_pyramid: Ct } = se(), { isThemeValid: wt, warnInvalidTheme: Tt } = pe(), D = e, Et = Ie, Dt = u(() => !!D.dataset && D.dataset.length), O = b(n()), k = b(!1), Ot = b(""), A = b(null), kt = b(0), j = b(null), At = b(null), jt = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(null), M = b(null), It = b(null), N = b(!1), Lt = b(!1), P = b(null), Rt = b({
163
+ let lt = g(() => import("./Tooltip-CxOrWlFy.js")), ut = g(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), dt = g(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), ft = g(() => import("./DataTable-BxpTMgfK.js")), pt = g(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), mt = g(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), ht = g(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), gt = g(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_age_pyramid: _t } = se(), { isThemeValid: vt, warnInvalidTheme: yt } = pe(), O = e, bt = Ie, xt = u(() => !!O.dataset && O.dataset.length), k = x(n()), A = x(!1), St = x(""), j = x(null), Ct = x(0), M = x(null), wt = x(null), Tt = x(null), Et = x(null), Dt = x(0), Ot = x(0), kt = x(null), N = x(null), At = x(null), jt = x(!1), Mt = x(!1), P = x(null), Nt = x({
163
164
  x: 0,
164
165
  y: 0
165
- }), F = b("pointer"), zt = b(!1), I = b(Kt()), L = u(() => I.value.userOptions.useCursorPointer), Bt = u(() => i({
166
+ }), F = x("pointer"), Pt = x(!1), I = x(Vt()), L = u(() => I.value.userOptions.useCursorPointer), Ft = u(() => i({
166
167
  defaultConfig: {
167
168
  userOptions: { show: !1 },
168
169
  table: { show: !1 },
@@ -190,11 +191,11 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
190
191
  }
191
192
  },
192
193
  userConfig: I.value.skeletonConfig ?? {}
193
- })), { loading: Vt, FINAL_DATASET: R, manualLoading: Ht } = le({
194
- ...Pe(D),
194
+ })), { loading: It, FINAL_DATASET: R, manualLoading: Lt } = le({
195
+ ...Pe(O),
195
196
  FINAL_CONFIG: I,
196
- prepareConfig: Kt,
197
- skeletonDataset: D.config?.skeletonDataset ?? [
197
+ prepareConfig: Vt,
198
+ skeletonDataset: O.config?.skeletonDataset ?? [
198
199
  [
199
200
  "_",
200
201
  9,
@@ -258,83 +259,83 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
258
259
  ],
259
260
  skeletonConfig: i({
260
261
  defaultConfig: I.value,
261
- userConfig: Bt.value
262
+ userConfig: Ft.value
262
263
  })
263
- }), { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = xe({ config: I.value }), { svgRef: z } = Se({ config: I.value.style.title });
264
- function Kt() {
264
+ }), { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = Se({ config: I.value }), { svgRef: z } = Ce({ config: I.value.style.title });
265
+ function Vt() {
265
266
  let e = fe({
266
- userConfig: D.config,
267
- defaultConfig: Ct
267
+ userConfig: O.config,
268
+ defaultConfig: _t
268
269
  }), t = e.theme;
269
270
  if (!t) return e;
270
- if (!wt.value(e)) return Tt(e), e;
271
+ if (!vt.value(e)) return yt(e), e;
271
272
  let n = fe({
272
- userConfig: Ce[t] || D.config,
273
+ userConfig: we[t] || O.config,
273
274
  defaultConfig: e
274
275
  });
275
276
  return fe({
276
- userConfig: D.config,
277
+ userConfig: O.config,
277
278
  defaultConfig: n
278
279
  });
279
280
  }
280
- T(() => D.config, (e) => {
281
- Vt.value || (I.value = Kt()), Ut.value = !I.value.userOptions.showOnChartHover, Jt(), Nt.value += 1, Pt.value += 1, H.value.showTable = I.value.table.show, H.value.showTooltip = I.value.style.tooltip.show;
282
- }, { deep: !0 }), T(() => D.dataset, (e) => {
283
- Array.isArray(e) && e.length > 0 && (Ht.value = !1);
281
+ E(() => O.config, (e) => {
282
+ It.value || (I.value = Vt()), Rt.value = !I.value.userOptions.showOnChartHover, Ut(), Dt.value += 1, Ot.value += 1, H.value.showTable = I.value.table.show, H.value.showTooltip = I.value.style.tooltip.show;
283
+ }, { deep: !0 }), E(() => O.dataset, (e) => {
284
+ Array.isArray(e) && e.length > 0 && (Lt.value = !1);
284
285
  }, { deep: !0 });
285
286
  let B = Ne(null), V = Ne(null);
286
287
  je(() => {
287
- Jt();
288
+ Ut();
288
289
  });
289
- let qt = u(() => !!I.value.debug);
290
- function Jt() {
291
- if (ne(D.dataset) && (t({
290
+ let Ht = u(() => !!I.value.debug);
291
+ function Ut() {
292
+ if (ne(O.dataset) && (t({
292
293
  componentName: "VueUiAgePyramid",
293
294
  type: "dataset",
294
- debug: qt.value
295
- }), Ht.value = !0), ne(D.dataset) || (Ht.value = I.value.loading), I.value.responsive) {
295
+ debug: Ht.value
296
+ }), Lt.value = !0), ne(O.dataset) || (Lt.value = I.value.loading), I.value.responsive) {
296
297
  let e = ve(() => {
297
298
  let { width: e, height: t } = ye({
298
- chart: j.value,
299
- title: I.value.style.title.text ? At.value : null,
300
- source: jt.value,
301
- noTitle: Mt.value
299
+ chart: M.value,
300
+ title: I.value.style.title.text ? wt.value : null,
301
+ source: Tt.value,
302
+ noTitle: Et.value
302
303
  });
303
304
  requestAnimationFrame(() => {
304
305
  U.value.width = e, U.value.height = t;
305
306
  });
306
307
  });
307
- B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = j.value.parentNode, B.value.observe(V.value);
308
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = M.value.parentNode, B.value.observe(V.value);
308
309
  }
309
310
  }
310
311
  Ae(() => {
311
312
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
312
313
  });
313
- let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = ce({
314
- elementId: `vue-ui-age-pyramid_${O.value}`,
314
+ let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = ce({
315
+ elementId: `vue-ui-age-pyramid_${k.value}`,
315
316
  fileName: I.value.style.title.text || "vue-ui-age-pyramid",
316
317
  options: I.value.userOptions.print
317
- }), $t = u(() => I.value.userOptions.show && !I.value.style.title.text), H = b({
318
+ }), Jt = u(() => I.value.userOptions.show && !I.value.style.title.text), H = x({
318
319
  showTable: I.value.table.show,
319
320
  showTooltip: I.value.style.tooltip.show
320
321
  });
321
- T(I, () => {
322
+ E(I, () => {
322
323
  H.value = {
323
324
  showTable: I.value.table.show,
324
325
  showTooltip: I.value.style.tooltip.show
325
326
  };
326
327
  }, { immediate: !0 });
327
- let U = b({
328
+ let U = x({
328
329
  height: I.value.style.height,
329
330
  width: I.value.style.width
330
- }), en = u(() => U.value.width), tn = u(() => U.value.height), W = b(0), nn = ve((e) => {
331
+ }), Yt = u(() => U.value.width), Xt = u(() => U.value.height), W = x(0), Zt = ve((e) => {
331
332
  W.value = e;
332
333
  }, 100);
333
334
  Fe((e) => {
334
- let t = Ft.value;
335
+ let t = kt.value;
335
336
  if (!t) return;
336
337
  let n = new ResizeObserver((e) => {
337
- nn(e[0].contentRect.height);
338
+ Zt(e[0].contentRect.height);
338
339
  });
339
340
  n.observe(t), e(() => n.disconnect());
340
341
  }), Ae(() => {
@@ -359,8 +360,8 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
359
360
  left: t + e / 2 + I.value.style.layout.centerSlit.width
360
361
  }
361
362
  };
362
- }), rn = u(() => R.value.map((e) => I.value.style.layout.dataLabels.yAxis.display === "age" ? e[1] : e[0])), K = u(() => {
363
- let e = an(q.value / 5), t = [], n = [];
363
+ }), Qt = u(() => R.value.map((e) => I.value.style.layout.dataLabels.yAxis.display === "age" ? e[1] : e[0])), K = u(() => {
364
+ let e = $t(q.value / 5), t = [], n = [];
364
365
  for (let r = 0; r <= 5; r += 1) {
365
366
  let i = e * r, a = e * (r - 5);
366
367
  t.push({
@@ -376,12 +377,12 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
376
377
  left: n
377
378
  };
378
379
  });
379
- function an(e) {
380
+ function $t(e) {
380
381
  if (e === 0) return 0;
381
382
  let t = 10 ** Math.floor(Math.log10(Math.abs(e))), n;
382
383
  return n = Math.round(e / t) * t, n;
383
384
  }
384
- let q = u(() => Math.max(...R.value.flatMap((e) => e.slice(-2).map((e) => c(e))))), J = u(() => R.value.length), on = u(() => R.value.map((e) => ({
385
+ let q = u(() => Math.max(...R.value.flatMap((e) => e.slice(-2).map((e) => c(e))))), J = u(() => R.value.length), en = u(() => R.value.map((e) => ({
385
386
  segment: e[0],
386
387
  age: e[1],
387
388
  left: {
@@ -392,7 +393,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
392
393
  value: e[3],
393
394
  proportionToMax: e[3] / q.value
394
395
  }
395
- }))), Y = u(() => on.value.map((e, t) => {
396
+ }))), Y = u(() => en.value.map((e, t) => {
396
397
  let n = G.value.top + G.value.height / J.value * t, r = G.value.height / J.value - I.value.style.layout.bars.gap;
397
398
  return {
398
399
  segment: e.segment,
@@ -414,8 +415,8 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
414
415
  height: r
415
416
  }
416
417
  };
417
- })), sn = b(null);
418
- function cn(e) {
418
+ })), tn = x(null);
419
+ function nn(e) {
419
420
  let [t, n, r, i] = e;
420
421
  return {
421
422
  segment: t,
@@ -424,30 +425,30 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
424
425
  right: i
425
426
  };
426
427
  }
427
- function ln(e, t) {
428
+ function rn(e, t) {
428
429
  I.value.events.datapointClick && I.value.events.datapointClick({
429
- datapoint: cn(t),
430
+ datapoint: nn(t),
430
431
  seriesIndex: e
431
432
  });
432
433
  }
433
- function un(e, t) {
434
+ function an(e, t) {
434
435
  I.value.events.datapointLeave && I.value.events.datapointLeave({
435
- datapoint: cn(t),
436
+ datapoint: nn(t),
436
437
  seriesIndex: e
437
- }), !(F.value === "keyboard" && P.value === e) && (A.value = null, k.value = !1);
438
+ }), !(F.value === "keyboard" && P.value === e) && (j.value = null, A.value = !1);
438
439
  }
439
- function dn(e) {
440
+ function on(e) {
440
441
  if (!z.value) return;
441
442
  let t = Y.value[e];
442
443
  if (!t) return;
443
444
  let n = ee(G.value.left + G.value.width / 2, t.left.y + t.left.height / 2, z.value);
444
- n && (Rt.value = n);
445
+ n && (Nt.value = n);
445
446
  }
446
- function fn(e, t, n = "pointer") {
447
+ function sn(e, t, n = "pointer") {
447
448
  I.value.events.datapointEnter && I.value.events.datapointEnter({
448
- datapoint: cn(t),
449
+ datapoint: nn(t),
449
450
  seriesIndex: e
450
- }), A.value = e, P.value = e, F.value = n, sn.value = {
451
+ }), j.value = e, P.value = e, F.value = n, tn.value = {
451
452
  datapoint: t,
452
453
  seriesIndex: e,
453
454
  series: Y.value,
@@ -464,7 +465,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
464
465
  },
465
466
  series: Y.value,
466
467
  config: I.value
467
- }))) Ot.value = i({
468
+ }))) St.value = i({
468
469
  seriesIndex: e,
469
470
  datapoint: {
470
471
  segment: t[0],
@@ -480,22 +481,22 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
480
481
  n += `<div><b>${i.segment}</b></div>`, n += `<div>${I.value.translations.age}: ${s(I.value.style.layout.dataLabels.yAxis.formatter, c(i.age), r({ v: c(i.age) }), {
481
482
  datapoint: t,
482
483
  seriesIndex: e
483
- })}</div>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${I.value.style.tooltip.borderColor}">`, n += "<div style=\"display:flex; flex-direction:row;gap:12px\">", n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${O.value})` : I.value.style.layout.bars.left.color}"/></svg><div>${I.value.translations.female}</div><div><b>${s(I.value.style.layout.dataLabels.xAxis.formatter, c(i.left.value), r({ v: c(i.left.value) }), {
484
+ })}</div>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${I.value.style.tooltip.borderColor}">`, n += "<div style=\"display:flex; flex-direction:row;gap:12px\">", n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${k.value})` : I.value.style.layout.bars.left.color}"/></svg><div>${I.value.translations.female}</div><div><b>${s(I.value.style.layout.dataLabels.xAxis.formatter, c(i.left.value), r({ v: c(i.left.value) }), {
484
485
  datapoint: t,
485
486
  seriesIndex: e
486
- })}</b></div></div>`, n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${O.value})` : I.value.style.layout.bars.right.color}"/></svg><div>${I.value.translations.male}</div><div><b>${s(I.value.style.layout.dataLabels.xAxis.formatter, c(i.right.value), r({ v: c(i.right.value) }), {
487
+ })}</b></div></div>`, n += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${k.value})` : I.value.style.layout.bars.right.color}"/></svg><div>${I.value.translations.male}</div><div><b>${s(I.value.style.layout.dataLabels.xAxis.formatter, c(i.right.value), r({ v: c(i.right.value) }), {
487
488
  datapoint: t,
488
489
  seriesIndex: e
489
490
  })}</b></div></div>`, n += "</div>", n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${I.value.style.tooltip.borderColor}"><div>${I.value.translations.total}</div><div><b>${s(I.value.style.layout.dataLabels.xAxis.formatter, c(i.right.value) + c(i.left.value), r({ v: c(i.right.value) + c(i.left.value) }), {
490
491
  datapoint: t,
491
492
  seriesIndex: e
492
- })}</b></div></div>`, n += "</div>", Ot.value = `<div>${n}</div>`;
493
+ })}</b></div></div>`, n += "</div>", St.value = `<div>${n}</div>`;
493
494
  }
494
- k.value = !0, n === "keyboard" && Oe(() => {
495
- dn(e);
495
+ A.value = !0, n === "keyboard" && Oe(() => {
496
+ on(e);
496
497
  });
497
498
  }
498
- function pn(e = null) {
499
+ function cn(e = null) {
499
500
  Oe(() => {
500
501
  let t = [
501
502
  I.value.translations.year,
@@ -503,7 +504,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
503
504
  I.value.translations.female,
504
505
  I.value.translations.male,
505
506
  I.value.translations.total
506
- ], n = D.dataset.map((e) => [
507
+ ], n = O.dataset.map((e) => [
507
508
  e[0],
508
509
  e[1],
509
510
  e[2],
@@ -535,7 +536,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
535
536
  ];
536
537
  return {
537
538
  head: e,
538
- body: D.dataset.map((e) => [
539
+ body: O.dataset.map((e) => [
539
540
  e[0],
540
541
  e[1],
541
542
  e[2] == null ? "" : e[2].toLocaleString(),
@@ -557,24 +558,24 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
557
558
  },
558
559
  colNames: e
559
560
  };
560
- }), Z = b(!1);
561
- function mn(e) {
562
- Z.value = e, kt.value += 1;
561
+ }), Z = x(!1);
562
+ function ln(e) {
563
+ Z.value = e, Ct.value += 1;
563
564
  }
564
- function hn() {
565
+ function un() {
565
566
  H.value.showTable = !H.value.showTable;
566
567
  }
567
- function gn() {
568
+ function dn() {
568
569
  H.value.showTooltip = !H.value.showTooltip;
569
570
  }
570
- let Q = b(!1);
571
- function _n() {
571
+ let Q = x(!1);
572
+ function fn() {
572
573
  Q.value = !Q.value;
573
574
  }
574
- async function vn({ scale: e = 2 } = {}) {
575
- if (!j.value) return;
576
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
577
- domElement: j.value,
575
+ async function pn({ scale: e = 2 } = {}) {
576
+ if (!M.value) return;
577
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
578
+ domElement: M.value,
578
579
  base64: !0,
579
580
  img: !0,
580
581
  scale: e
@@ -589,9 +590,9 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
589
590
  };
590
591
  }
591
592
  me({
592
- timeLabelsEls: Ft,
593
- timeLabels: b([]),
594
- slicer: b({
593
+ timeLabelsEls: kt,
594
+ timeLabels: x([]),
595
+ slicer: x({
595
596
  start: 0,
596
597
  end: Y.value.length
597
598
  }),
@@ -612,15 +613,15 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
612
613
  "enable"
613
614
  ],
614
615
  isAutoSize: !1,
615
- width: en,
616
- height: tn,
616
+ width: Yt,
617
+ height: Xt,
617
618
  targetClass: ".vue-ui-age-pyramid-x-axis-label",
618
619
  rotation: I.value.style.layout.dataLabels.xAxis.autoRotate.angle
619
620
  });
620
621
  let $ = u(() => {
621
622
  let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
622
623
  return {
623
- component: e ? St : _t,
624
+ component: e ? gt : dt,
624
625
  title: `${I.value.style.title.text}${I.value.style.title.subtitle.text ? `: ${I.value.style.title.subtitle.text}` : ""}`,
625
626
  props: e ? {
626
627
  backgroundColor: I.value.table.th.backgroundColor,
@@ -628,7 +629,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
628
629
  headerColor: I.value.table.th.color,
629
630
  headerBg: I.value.table.th.backgroundColor,
630
631
  isFullscreen: Z.value,
631
- fullscreenParent: j.value,
632
+ fullscreenParent: M.value,
632
633
  forcedWidth: Math.min(800, window.innerWidth * .8),
633
634
  isCursorPointer: L.value
634
635
  } : {
@@ -648,46 +649,46 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
648
649
  }
649
650
  };
650
651
  });
651
- T(() => H.value.showTable, (e) => {
652
- I.value.table.show || (e && I.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
652
+ E(() => H.value.showTable, (e) => {
653
+ I.value.table.show || (e && I.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
653
654
  });
654
- function yn() {
655
- H.value.showTable = !1, It.value && It.value.setTableIconState(!1);
655
+ function mn() {
656
+ H.value.showTable = !1, At.value && At.value.setTableIconState(!1);
656
657
  }
657
- let bn = u(() => I.value.style.backgroundColor), { exportSvg: xn, getSvg: Sn } = de({
658
+ let hn = u(() => I.value.style.backgroundColor), { exportSvg: gn, getSvg: _n } = de({
658
659
  svg: z,
659
660
  title: u(() => I.value.style.title),
660
- backgroundColor: bn
661
+ backgroundColor: hn
661
662
  });
662
- async function Cn({ isCb: e }) {
663
- Lt.value = !0, await Oe();
663
+ async function vn({ isCb: e }) {
664
+ Mt.value = !0, await Oe();
664
665
  try {
665
666
  if (e) {
666
- let { blob: e, url: t, text: n, dataUrl: r } = await Sn();
667
+ let { blob: e, url: t, text: n, dataUrl: r } = await _n();
667
668
  await Promise.resolve(I.value.userOptions.callbacks.svg({
668
669
  blob: e,
669
670
  url: t,
670
671
  text: n,
671
672
  dataUrl: r
672
673
  }));
673
- } else await Promise.resolve(xn());
674
+ } else await Promise.resolve(gn());
674
675
  } finally {
675
- Lt.value = !1;
676
+ Mt.value = !1;
676
677
  }
677
678
  }
678
- function wn(e) {
679
+ function yn(e) {
679
680
  if (e?.stage === "start") {
680
- N.value = !0;
681
+ jt.value = !0;
681
682
  return;
682
683
  }
683
684
  if (e?.stage === "end") {
684
- N.value = !1;
685
+ jt.value = !1;
685
686
  return;
686
687
  }
687
- Qt();
688
+ qt();
688
689
  }
689
- async function Tn() {
690
- if (Et("copyAlt", {
690
+ async function bn() {
691
+ if (bt("copyAlt", {
691
692
  config: I.value,
692
693
  dataset: Y.value
693
694
  }), !I.value.userOptions.callbacks.altCopy) {
@@ -699,59 +700,59 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
699
700
  dataset: Y.value
700
701
  }));
701
702
  }
702
- function En() {
703
- zt.value = !0;
703
+ function xn() {
704
+ Pt.value = !0;
704
705
  }
705
- function Dn() {
706
- A.value = null, P.value = null, F.value = "pointer", k.value = !1, zt.value = !1;
706
+ function Sn() {
707
+ j.value = null, P.value = null, F.value = "pointer", A.value = !1, Pt.value = !1;
707
708
  }
708
- function On(e) {
709
+ function Cn(e) {
709
710
  if (!z.value || Q.value || document.activeElement !== z.value || !Y.value.length) return;
710
711
  let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
711
712
  if (!t && !n && !r && !i) return;
712
713
  if (e.preventDefault(), e.stopPropagation(), i) {
713
- A.value = null, P.value = null, F.value = "pointer", k.value = !1;
714
+ j.value = null, P.value = null, F.value = "pointer", A.value = !1;
714
715
  return;
715
716
  }
716
717
  if (r) {
717
718
  if (P.value === null) return;
718
- let e = D.dataset[P.value];
719
+ let e = O.dataset[P.value];
719
720
  if (!e) return;
720
- ln(P.value, e);
721
+ rn(P.value, e);
721
722
  return;
722
723
  }
723
- let a = P.value, o = A.value, ee = a !== null && a >= 0 && a < Y.value.length, te = o !== null && o >= 0 && o < Y.value.length;
724
+ let a = P.value, o = j.value, ee = a !== null && a >= 0 && a < Y.value.length, te = o !== null && o >= 0 && o < Y.value.length;
724
725
  ee ? t ? a = a - 1 < 0 ? Y.value.length - 1 : a - 1 : n && (a = a + 1 > Y.value.length - 1 ? 0 : a + 1) : te ? (a = n ? o + 1 : o - 1, a >= Y.value.length && (a = 0), a < 0 && (a = Y.value.length - 1)) : a = n ? 0 : Y.value.length - 1;
725
- let s = D.dataset[a];
726
- s && fn(a, s, "keyboard");
726
+ let s = O.dataset[a];
727
+ s && sn(a, s, "keyboard");
727
728
  }
728
729
  return _e({
729
- getImage: vn,
730
- generatePdf: Zt,
731
- generateCsv: pn,
732
- generateImage: Qt,
733
- generateSvg: Cn,
734
- toggleTable: hn,
735
- toggleTooltip: gn,
736
- toggleAnnotator: _n,
737
- toggleFullscreen: mn,
738
- copyAlt: Tn
739
- }), (t, n) => (y(), p("div", {
730
+ getImage: pn,
731
+ generatePdf: Kt,
732
+ generateCsv: cn,
733
+ generateImage: qt,
734
+ generateSvg: vn,
735
+ toggleTable: un,
736
+ toggleTooltip: dn,
737
+ toggleAnnotator: fn,
738
+ toggleFullscreen: ln,
739
+ copyAlt: bn
740
+ }), (t, n) => (b(), p("div", {
740
741
  class: ke(`vue-data-ui-component vue-ui-age-pyramid ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
741
742
  ref_key: "agePyramid",
742
- ref: j,
743
- id: `vue-ui-age-pyramid_${O.value}`,
744
- style: v(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.backgroundColor};${I.value.responsive ? "height:100%" : ""}`),
745
- onMouseenter: n[1] ||= () => w(Wt)(!0),
746
- onMouseleave: n[2] ||= () => w(Wt)(!1)
743
+ ref: M,
744
+ id: `vue-ui-age-pyramid_${k.value}`,
745
+ style: y(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.backgroundColor};${I.value.responsive ? "height:100%" : ""}`),
746
+ onMouseenter: n[1] ||= () => T(zt)(!0),
747
+ onMouseleave: n[2] ||= () => T(zt)(!1)
747
748
  }, [
748
749
  m("div", {
749
- id: `chart-instructions-${O.value}`,
750
+ id: `chart-instructions-${k.value}`,
750
751
  class: "sr-only"
751
- }, [m("p", null, C(I.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
752
- X.value?.body?.length ? (y(), d(be, {
752
+ }, [m("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
753
+ X.value?.body?.length ? (b(), d(xe, {
753
754
  key: 0,
754
- uid: O.value,
755
+ uid: k.value,
755
756
  head: X.value.head,
756
757
  body: X.value.body,
757
758
  notice: I.value.a11y.translations.tableAvailable,
@@ -763,21 +764,21 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
763
764
  "notice",
764
765
  "caption"
765
766
  ])) : f("", !0),
766
- I.value.userOptions.buttons.annotator ? (y(), d(w(yt), {
767
+ I.value.userOptions.buttons.annotator ? (b(), d(T(pt), {
767
768
  key: 1,
768
- svgRef: w(z),
769
+ svgRef: T(z),
769
770
  backgroundColor: I.value.style.backgroundColor,
770
771
  color: I.value.style.color,
771
772
  active: Q.value,
772
773
  isCursorPointer: L.value,
773
- onClose: _n
774
+ onClose: fn
774
775
  }, {
775
- "annotator-action-close": E(() => [S(t.$slots, "annotator-action-close", {}, void 0, !0)]),
776
- "annotator-action-color": E(({ color: e }) => [S(t.$slots, "annotator-action-color", _(g({ color: e })), void 0, !0)]),
777
- "annotator-action-draw": E(({ mode: e }) => [S(t.$slots, "annotator-action-draw", _(g({ mode: e })), void 0, !0)]),
778
- "annotator-action-undo": E(({ disabled: e }) => [S(t.$slots, "annotator-action-undo", _(g({ disabled: e })), void 0, !0)]),
779
- "annotator-action-redo": E(({ disabled: e }) => [S(t.$slots, "annotator-action-redo", _(g({ disabled: e })), void 0, !0)]),
780
- "annotator-action-delete": E(({ disabled: e }) => [S(t.$slots, "annotator-action-delete", _(g({ disabled: e })), void 0, !0)]),
776
+ "annotator-action-close": D(() => [C(t.$slots, "annotator-action-close", {}, void 0, !0)]),
777
+ "annotator-action-color": D(({ color: e }) => [C(t.$slots, "annotator-action-color", v(_({ color: e })), void 0, !0)]),
778
+ "annotator-action-draw": D(({ mode: e }) => [C(t.$slots, "annotator-action-draw", v(_({ mode: e })), void 0, !0)]),
779
+ "annotator-action-undo": D(({ disabled: e }) => [C(t.$slots, "annotator-action-undo", v(_({ disabled: e })), void 0, !0)]),
780
+ "annotator-action-redo": D(({ disabled: e }) => [C(t.$slots, "annotator-action-redo", v(_({ disabled: e })), void 0, !0)]),
781
+ "annotator-action-delete": D(({ disabled: e }) => [C(t.$slots, "annotator-action-delete", v(_({ disabled: e })), void 0, !0)]),
781
782
  _: 3
782
783
  }, 8, [
783
784
  "svgRef",
@@ -786,20 +787,20 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
786
787
  "active",
787
788
  "isCursorPointer"
788
789
  ])) : f("", !0),
789
- $t.value ? (y(), p("div", {
790
+ Jt.value ? (b(), p("div", {
790
791
  key: 2,
791
792
  ref_key: "noTitle",
792
- ref: Mt,
793
+ ref: Et,
793
794
  class: "vue-data-ui-no-title-space",
794
795
  style: "height:36px; width: 100%;background:transparent"
795
796
  }, null, 512)) : f("", !0),
796
- I.value.style.title.text ? (y(), p("div", {
797
+ I.value.style.title.text ? (b(), p("div", {
797
798
  key: 3,
798
799
  ref_key: "chartTitle",
799
- ref: At,
800
+ ref: wt,
800
801
  style: "width:100%;background:transparent"
801
- }, [(y(), d(ge, {
802
- key: `title_${Nt.value}`,
802
+ }, [(b(), d(ge, {
803
+ key: `title_${Dt.value}`,
803
804
  config: {
804
805
  title: {
805
806
  cy: "pyramid-div-title",
@@ -811,15 +812,15 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
811
812
  }
812
813
  }
813
814
  }, null, 8, ["config"]))], 512)) : f("", !0),
814
- I.value.userOptions.show && Dt.value && (w(Gt) || w(Ut)) ? (y(), d(w(bt), {
815
+ I.value.userOptions.show && xt.value && (T(Bt) || T(Rt)) ? (b(), d(T(mt), {
815
816
  ref_key: "userOptionsRef",
816
- ref: It,
817
- key: `user_options_${kt.value}`,
817
+ ref: At,
818
+ key: `user_options_${Ct.value}`,
818
819
  backgroundColor: I.value.style.backgroundColor,
819
820
  color: I.value.style.color,
820
- isImaging: w(Xt),
821
- isPrinting: w(Yt),
822
- uid: O.value,
821
+ isImaging: T(Gt),
822
+ isPrinting: T(Wt),
823
+ uid: k.value,
823
824
  hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.tooltip.show,
824
825
  hasPdf: I.value.userOptions.buttons.pdf,
825
826
  hasXls: I.value.userOptions.buttons.csv,
@@ -831,7 +832,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
831
832
  isFullscreen: Z.value,
832
833
  isTooltip: H.value.showTooltip,
833
834
  titles: { ...I.value.userOptions.buttonTitles },
834
- chartElement: j.value,
835
+ chartElement: M.value,
835
836
  position: I.value.userOptions.position,
836
837
  hasAnnotator: I.value.userOptions.buttons.annotator,
837
838
  isAnnotation: Q.value,
@@ -839,20 +840,20 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
839
840
  printScale: I.value.userOptions.print.scale,
840
841
  tableDialog: I.value.table.useDialog,
841
842
  isCursorPointer: L.value,
842
- onToggleFullscreen: mn,
843
- onGeneratePdf: w(Zt),
844
- onGenerateCsv: pn,
845
- onGenerateImage: wn,
846
- onGenerateSvg: Cn,
847
- onToggleTable: hn,
848
- onToggleTooltip: gn,
849
- onToggleAnnotator: _n,
850
- onCopyAlt: Tn,
851
- style: v({ visibility: w(Gt) ? w(Ut) ? "visible" : "hidden" : "visible" })
852
- }, we({ _: 2 }, [
843
+ onToggleFullscreen: ln,
844
+ onGeneratePdf: T(Kt),
845
+ onGenerateCsv: cn,
846
+ onGenerateImage: yn,
847
+ onGenerateSvg: vn,
848
+ onToggleTable: un,
849
+ onToggleTooltip: dn,
850
+ onToggleAnnotator: fn,
851
+ onCopyAlt: bn,
852
+ style: y({ visibility: T(Bt) ? T(Rt) ? "visible" : "hidden" : "visible" })
853
+ }, Te({ _: 2 }, [
853
854
  t.$slots.menuIcon ? {
854
855
  name: "menuIcon",
855
- fn: E(({ isOpen: e, color: n }) => [S(t.$slots, "menuIcon", _(g({
856
+ fn: D(({ isOpen: e, color: n }) => [C(t.$slots, "menuIcon", v(_({
856
857
  isOpen: e,
857
858
  color: n
858
859
  })), void 0, !0)]),
@@ -860,37 +861,37 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
860
861
  } : void 0,
861
862
  t.$slots.optionTooltip ? {
862
863
  name: "optionTooltip",
863
- fn: E(() => [S(t.$slots, "optionTooltip", {}, void 0, !0)]),
864
+ fn: D(() => [C(t.$slots, "optionTooltip", {}, void 0, !0)]),
864
865
  key: "1"
865
866
  } : void 0,
866
867
  t.$slots.optionPdf ? {
867
868
  name: "optionPdf",
868
- fn: E(() => [S(t.$slots, "optionPdf", {}, void 0, !0)]),
869
+ fn: D(() => [C(t.$slots, "optionPdf", {}, void 0, !0)]),
869
870
  key: "2"
870
871
  } : void 0,
871
872
  t.$slots.optionCsv ? {
872
873
  name: "optionCsv",
873
- fn: E(() => [S(t.$slots, "optionCsv", {}, void 0, !0)]),
874
+ fn: D(() => [C(t.$slots, "optionCsv", {}, void 0, !0)]),
874
875
  key: "3"
875
876
  } : void 0,
876
877
  t.$slots.optionImg ? {
877
878
  name: "optionImg",
878
- fn: E(() => [S(t.$slots, "optionImg", {}, void 0, !0)]),
879
+ fn: D(() => [C(t.$slots, "optionImg", {}, void 0, !0)]),
879
880
  key: "4"
880
881
  } : void 0,
881
882
  t.$slots.optionSvg ? {
882
883
  name: "optionSvg",
883
- fn: E(() => [S(t.$slots, "optionSvg", {}, void 0, !0)]),
884
+ fn: D(() => [C(t.$slots, "optionSvg", {}, void 0, !0)]),
884
885
  key: "5"
885
886
  } : void 0,
886
887
  t.$slots.optionTable ? {
887
888
  name: "optionTable",
888
- fn: E(() => [S(t.$slots, "optionTable", {}, void 0, !0)]),
889
+ fn: D(() => [C(t.$slots, "optionTable", {}, void 0, !0)]),
889
890
  key: "6"
890
891
  } : void 0,
891
892
  t.$slots.optionFullscreen ? {
892
893
  name: "optionFullscreen",
893
- fn: E(({ toggleFullscreen: e, isFullscreen: n }) => [S(t.$slots, "optionFullscreen", _(g({
894
+ fn: D(({ toggleFullscreen: e, isFullscreen: n }) => [C(t.$slots, "optionFullscreen", v(_({
894
895
  toggleFullscreen: e,
895
896
  isFullscreen: n
896
897
  })), void 0, !0)]),
@@ -898,7 +899,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
898
899
  } : void 0,
899
900
  t.$slots.optionAnnotator ? {
900
901
  name: "optionAnnotator",
901
- fn: E(({ toggleAnnotator: e, isAnnotator: n }) => [S(t.$slots, "optionAnnotator", _(g({
902
+ fn: D(({ toggleAnnotator: e, isAnnotator: n }) => [C(t.$slots, "optionAnnotator", v(_({
902
903
  toggleAnnotator: e,
903
904
  isAnnotator: n
904
905
  })), void 0, !0)]),
@@ -906,87 +907,95 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
906
907
  } : void 0,
907
908
  t.$slots.optionAltCopy ? {
908
909
  name: "optionAltCopy",
909
- fn: E(({ altCopy: e }) => [S(t.$slots, "optionAltCopy", _(g({ altCopy: e })), void 0, !0)]),
910
+ fn: D(({ altCopy: e }) => [C(t.$slots, "optionAltCopy", v(_({ altCopy: e })), void 0, !0)]),
910
911
  key: "9"
911
912
  } : void 0,
912
913
  t.$slots["custom-menu-before"] ? {
913
914
  name: "custom-menu-before",
914
- fn: E(() => [S(t.$slots, "custom-menu-before", {}, void 0, !0)]),
915
+ fn: D(() => [C(t.$slots, "custom-menu-before", {}, void 0, !0)]),
915
916
  key: "10"
916
917
  } : void 0,
917
918
  t.$slots["custom-menu-after"] ? {
918
919
  name: "custom-menu-after",
919
- fn: E(() => [S(t.$slots, "custom-menu-after", {}, void 0, !0)]),
920
+ fn: D(() => [C(t.$slots, "custom-menu-after", {}, void 0, !0)]),
920
921
  key: "11"
921
922
  } : void 0
922
923
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
923
- m("div", ze, [(y(), p("svg", {
924
+ m("div", ze, [(b(), p("svg", {
924
925
  ref_key: "svgRef",
925
926
  ref: z,
926
- xmlns: w(ie),
927
+ xmlns: T(ie),
927
928
  class: ke({
928
929
  "vue-data-ui-fullscreen--on": Z.value,
929
930
  "vue-data-ui-fulscreen--off": !Z.value
930
931
  }),
931
932
  viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
932
- style: v(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.color}`),
933
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.color}`),
933
934
  tabindex: "0",
934
- "aria-describedby": `chart-instructions-${O.value}`,
935
- onFocus: En,
936
- onBlur: Dn,
937
- onKeydown: On
935
+ "aria-describedby": `chart-instructions-${k.value}`,
936
+ onFocus: xn,
937
+ onBlur: Sn,
938
+ onKeydown: Cn
938
939
  }, [
939
- Ee(w(xt)),
940
- t.$slots["chart-background"] ? (y(), p("foreignObject", {
940
+ h(T(ht)),
941
+ t.$slots["chart-background"] ? (b(), p("foreignObject", {
941
942
  key: 0,
942
943
  x: G.value.left,
943
944
  y: G.value.top,
944
945
  width: Math.max(.1, G.value.width),
945
946
  height: Math.max(.1, G.value.height),
946
947
  style: { pointerEvents: "none" }
947
- }, [S(t.$slots, "chart-background", {}, void 0, !0)], 8, Ve)) : f("", !0),
948
- m("defs", null, [m("linearGradient", {
949
- id: `age_pyramid_left_${O.value}`,
948
+ }, [C(t.$slots, "chart-background", {}, void 0, !0)], 8, Ve)) : f("", !0),
949
+ m("defs", null, [h(be, {
950
+ t: "linear",
951
+ id: `age_pyramid_left_${k.value}`,
950
952
  x1: "0%",
951
953
  y1: "0%",
952
954
  x2: "100%",
953
- y2: "0%"
954
- }, [m("stop", {
955
- offset: "0%",
956
- "stop-color": I.value.style.layout.bars.left.color
957
- }, null, 8, Ue), m("stop", {
958
- offset: "100%",
959
- "stop-color": w(a)(w(oe)(I.value.style.layout.bars.left.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity)
960
- }, null, 8, We)], 8, He), m("linearGradient", {
961
- id: `age_pyramid_right_${O.value}`,
955
+ y2: "0%",
956
+ stops: [[
957
+ "0%",
958
+ I.value.style.layout.bars.left.color,
959
+ 1
960
+ ], [
961
+ "100%",
962
+ T(a)(T(oe)(I.value.style.layout.bars.left.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
963
+ 1
964
+ ]]
965
+ }, null, 8, ["id", "stops"]), h(be, {
966
+ t: "linear",
967
+ id: `age_pyramid_right_${k.value}`,
962
968
  x1: "0%",
963
969
  y1: "0%",
964
970
  x2: "100%",
965
- y2: "0%"
966
- }, [m("stop", {
967
- offset: "0%",
968
- "stop-color": w(a)(w(oe)(I.value.style.layout.bars.right.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity)
969
- }, null, 8, Ke), m("stop", {
970
- offset: "100%",
971
- "stop-color": I.value.style.layout.bars.right.color
972
- }, null, 8, qe)], 8, Ge)]),
973
- (y(!0), p(l, null, x(Y.value, (e, t) => (y(), p("g", null, [
971
+ y2: "0%",
972
+ stops: [[
973
+ "0%",
974
+ T(a)(T(oe)(I.value.style.layout.bars.right.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
975
+ 1
976
+ ], [
977
+ "100%",
978
+ I.value.style.layout.bars.right.color,
979
+ 1
980
+ ]]
981
+ }, null, 8, ["id", "stops"])]),
982
+ (b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("g", null, [
974
983
  m("rect", {
975
984
  x: e.left.x,
976
985
  y: e.left.y,
977
- width: w(c)(e.left.width <= 0 ? 1e-4 : e.left.width),
986
+ width: T(c)(e.left.width <= 0 ? 1e-4 : e.left.width),
978
987
  height: e.left.height <= 0 ? 1e-4 : e.left.height,
979
988
  fill: I.value.style.layout.bars.gradient.underlayer,
980
989
  rx: I.value.style.layout.bars.borderRadius
981
- }, null, 8, Je),
990
+ }, null, 8, He),
982
991
  m("rect", {
983
992
  x: e.left.x,
984
993
  y: e.left.y,
985
994
  width: e.left.width <= 0 ? 1e-4 : e.left.width,
986
995
  height: e.left.height <= 0 ? 1e-4 : e.left.height,
987
- fill: I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${O.value})` : e.left.color,
996
+ fill: I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${k.value})` : e.left.color,
988
997
  rx: I.value.style.layout.bars.borderRadius
989
- }, null, 8, Ye),
998
+ }, null, 8, Ue),
990
999
  m("rect", {
991
1000
  x: e.right.x,
992
1001
  y: e.right.y,
@@ -994,33 +1003,33 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
994
1003
  height: e.right.height <= 0 ? 1e-4 : e.right.height,
995
1004
  fill: I.value.style.layout.bars.gradient.underlayer,
996
1005
  rx: I.value.style.layout.bars.borderRadius
997
- }, null, 8, Xe),
1006
+ }, null, 8, We),
998
1007
  m("rect", {
999
1008
  x: e.right.x,
1000
1009
  y: e.right.y,
1001
1010
  width: e.right.width <= 0 ? 1e-4 : e.right.width,
1002
1011
  height: e.right.height <= 0 ? 1e-4 : e.right.height,
1003
- fill: I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${O.value})` : e.right.color,
1012
+ fill: I.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${k.value})` : e.right.color,
1004
1013
  rx: I.value.style.layout.bars.borderRadius
1005
- }, null, 8, Ze)
1014
+ }, null, 8, Ge)
1006
1015
  ]))), 256)),
1007
1016
  m("g", null, [
1008
- I.value.style.layout.dataLabels.sideTitles.show ? (y(), p("g", Qe, [m("text", {
1017
+ I.value.style.layout.dataLabels.sideTitles.show ? (b(), p("g", Ke, [m("text", {
1009
1018
  x: G.value.left,
1010
1019
  y: I.value.style.layout.dataLabels.sideTitles.fontSize,
1011
1020
  fill: I.value.style.layout.dataLabels.sideTitles.useSideColor ? I.value.style.layout.bars.left.color : I.value.style.layout.dataLabels.sideTitles.color,
1012
1021
  "font-size": I.value.style.layout.dataLabels.sideTitles.fontSize,
1013
1022
  "text-anchor": "start",
1014
1023
  "font-weight": I.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
1015
- }, C(I.value.translations.female), 9, $e), m("text", {
1024
+ }, w(I.value.translations.female), 9, qe), m("text", {
1016
1025
  x: G.value.right,
1017
1026
  y: I.value.style.layout.dataLabels.sideTitles.fontSize,
1018
1027
  fill: I.value.style.layout.dataLabels.sideTitles.useSideColor ? I.value.style.layout.bars.right.color : I.value.style.layout.dataLabels.sideTitles.color,
1019
1028
  "font-size": I.value.style.layout.dataLabels.sideTitles.fontSize,
1020
1029
  "text-anchor": "end",
1021
1030
  "font-weight": I.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
1022
- }, C(I.value.translations.male), 9, et)])) : f("", !0),
1023
- I.value.style.layout.dataLabels.yAxis.show ? (y(), p("g", tt, [(y(!0), p(l, null, x(rn.value, (e, t) => (y(), p(l, null, [t % I.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (y(), p("text", {
1031
+ }, w(I.value.translations.male), 9, Je)])) : f("", !0),
1032
+ I.value.style.layout.dataLabels.yAxis.show ? (b(), p("g", Ye, [(b(!0), p(l, null, S(Qt.value, (e, t) => (b(), p(l, null, [t % I.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (b(), p("text", {
1024
1033
  key: 0,
1025
1034
  x: G.value.centerX,
1026
1035
  y: G.value.top + G.value.height / J.value * t + I.value.style.layout.dataLabels.yAxis.fontSize / 3,
@@ -1028,12 +1037,12 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1028
1037
  "font-size": I.value.style.layout.dataLabels.yAxis.fontSize,
1029
1038
  fill: I.value.style.layout.dataLabels.yAxis.color,
1030
1039
  "font-weight": I.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1031
- }, C(w(s)(I.value.style.layout.dataLabels.yAxis.formatter, e, w(r)({ v: e }), {
1040
+ }, w(T(s)(I.value.style.layout.dataLabels.yAxis.formatter, e, T(r)({ v: e }), {
1032
1041
  datapoint: e,
1033
1042
  seriesIndex: t
1034
- })), 9, nt)) : f("", !0)], 64))), 256))])) : f("", !0),
1035
- I.value.style.layout.dataLabels.xAxis.show ? (y(), p("g", rt, [
1036
- I.value.style.layout.grid.show ? (y(), p("g", it, [m("line", {
1043
+ })), 9, Xe)) : f("", !0)], 64))), 256))])) : f("", !0),
1044
+ I.value.style.layout.dataLabels.xAxis.show ? (b(), p("g", Ze, [
1045
+ I.value.style.layout.grid.show ? (b(), p("g", Qe, [m("line", {
1037
1046
  x1: K.value.right[0].x,
1038
1047
  x2: K.value.right.at(-1).x,
1039
1048
  y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
@@ -1041,7 +1050,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1041
1050
  stroke: I.value.style.layout.grid.stroke,
1042
1051
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1043
1052
  "stroke-linecap": "round"
1044
- }, null, 8, at), m("line", {
1053
+ }, null, 8, $e), m("line", {
1045
1054
  x1: K.value.left[0].x,
1046
1055
  x2: K.value.left.at(-1).x,
1047
1056
  y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
@@ -1049,8 +1058,8 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1049
1058
  stroke: I.value.style.layout.grid.stroke,
1050
1059
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1051
1060
  "stroke-linecap": "round"
1052
- }, null, 8, ot)])) : f("", !0),
1053
- (y(!0), p(l, null, x(K.value.right, (e, t) => (y(), p("g", null, [I.value.style.layout.grid.show ? (y(), p("line", {
1061
+ }, null, 8, et)])) : f("", !0),
1062
+ (b(!0), p(l, null, S(K.value.right, (e, t) => (b(), p("g", null, [I.value.style.layout.grid.show ? (b(), p("line", {
1054
1063
  key: 0,
1055
1064
  x1: e.x,
1056
1065
  x2: e.x,
@@ -1059,8 +1068,8 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1059
1068
  stroke: I.value.style.layout.grid.stroke,
1060
1069
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1061
1070
  "stroke-linecap": "round"
1062
- }, null, 8, st)) : f("", !0)]))), 256)),
1063
- (y(!0), p(l, null, x(K.value.left, (e, t) => (y(), p("g", null, [I.value.style.layout.grid.show ? (y(), p("line", {
1071
+ }, null, 8, tt)) : f("", !0)]))), 256)),
1072
+ (b(!0), p(l, null, S(K.value.left, (e, t) => (b(), p("g", null, [I.value.style.layout.grid.show ? (b(), p("line", {
1064
1073
  key: 0,
1065
1074
  x1: e.x,
1066
1075
  x2: e.x,
@@ -1069,31 +1078,31 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1069
1078
  stroke: I.value.style.layout.grid.stroke,
1070
1079
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1071
1080
  "stroke-linecap": "round"
1072
- }, null, 8, ct)) : f("", !0)]))), 256)),
1081
+ }, null, 8, nt)) : f("", !0)]))), 256)),
1073
1082
  m("g", {
1074
1083
  ref_key: "xAxisLabels",
1075
- ref: Ft
1076
- }, [(y(!0), p(l, null, x(K.value.right, (e, t) => (y(), p("text", {
1084
+ ref: kt
1085
+ }, [(b(!0), p(l, null, S(K.value.right, (e, t) => (b(), p("text", {
1077
1086
  class: "vue-ui-age-pyramid-x-axis-label",
1078
1087
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1079
1088
  fill: I.value.style.layout.dataLabels.xAxis.color,
1080
1089
  "text-anchor": I.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : I.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
1081
1090
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1082
1091
  transform: `translate(${e.x}, ${G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1083
- }, C(w(s)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, w(r)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1092
+ }, w(T(s)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, T(r)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1084
1093
  datapoint: e,
1085
1094
  seriesIndex: t
1086
- })), 9, lt))), 256)), (y(!0), p(l, null, x(K.value.left, (e, t) => (y(), p("text", {
1095
+ })), 9, rt))), 256)), (b(!0), p(l, null, S(K.value.left, (e, t) => (b(), p("text", {
1087
1096
  class: "vue-ui-age-pyramid-x-axis-label",
1088
1097
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1089
1098
  fill: I.value.style.layout.dataLabels.xAxis.color,
1090
1099
  "text-anchor": I.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : I.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
1091
1100
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1092
1101
  transform: `translate(${e.x}, ${G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1093
- }, C(w(s)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, w(r)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1102
+ }, w(T(s)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, T(r)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1094
1103
  datapoint: e,
1095
1104
  seriesIndex: t
1096
- })), 9, ut))), 256))], 512),
1105
+ })), 9, it))), 256))], 512),
1097
1106
  m("text", {
1098
1107
  x: G.value.right,
1099
1108
  y: U.value.height,
@@ -1101,40 +1110,40 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1101
1110
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1102
1111
  fill: I.value.style.layout.dataLabels.xAxis.color,
1103
1112
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
1104
- }, C(I.value.style.layout.dataLabels.xAxis.translation), 9, dt)
1113
+ }, w(I.value.style.layout.dataLabels.xAxis.translation), 9, at)
1105
1114
  ])) : f("", !0)
1106
1115
  ]),
1107
- (y(!0), p(l, null, x(e.dataset, (e, t) => (y(), p("g", null, [m("rect", {
1116
+ (b(!0), p(l, null, S(e.dataset, (e, t) => (b(), p("g", null, [m("rect", {
1108
1117
  x: G.value.left,
1109
1118
  y: G.value.top + G.value.height / J.value * t - I.value.style.layout.bars.gap / 2,
1110
1119
  width: G.value.width <= 0 ? 1e-4 : G.value.width,
1111
1120
  height: G.value.height / J.value <= 0 ? 1e-4 : G.value.height / J.value,
1112
- fill: A.value !== null && A.value === t ? w(a)(I.value.style.highlighter.color, I.value.style.highlighter.opacity) : "transparent",
1113
- onMouseover: (n) => fn(t, e, "pointer"),
1114
- onMouseleave: (n) => un(t, e),
1115
- onClick: (n) => ln(t, e)
1116
- }, null, 40, ft)]))), 256)),
1117
- S(t.$slots, "svg", { svg: {
1121
+ fill: j.value !== null && j.value === t ? T(a)(I.value.style.highlighter.color, I.value.style.highlighter.opacity) : "transparent",
1122
+ onMouseover: (n) => sn(t, e, "pointer"),
1123
+ onMouseleave: (n) => an(t, e),
1124
+ onClick: (n) => rn(t, e)
1125
+ }, null, 40, ot)]))), 256)),
1126
+ C(t.$slots, "svg", { svg: {
1118
1127
  ...U.value,
1119
1128
  drawingArea: G.value,
1120
- isPrintingImg: w(Yt) || w(Xt) || N.value,
1121
- isPrintingSvg: Lt.value
1129
+ isPrintingImg: T(Wt) || T(Gt) || jt.value,
1130
+ isPrintingSvg: Mt.value
1122
1131
  } }, void 0, !0)
1123
- ], 46, Be)), t.$slots.hint ? (y(), p("div", pt, [S(t.$slots, "hint", _(g({
1132
+ ], 46, Be)), t.$slots.hint ? (b(), p("div", st, [C(t.$slots, "hint", v(_({
1124
1133
  hint: I.value.a11y.translations.keyboardNavigation,
1125
- isVisible: zt.value
1134
+ isVisible: Pt.value
1126
1135
  })), void 0, !0)])) : f("", !0)]),
1127
- t.$slots.watermark ? (y(), p("div", mt, [S(t.$slots, "watermark", _(g({ isPrinting: w(Yt) || w(Xt) || N.value || Lt.value })), void 0, !0)])) : f("", !0),
1128
- S(t.$slots, "legend", { legend: Y.value }, void 0, !0),
1129
- t.$slots.source ? (y(), p("div", {
1136
+ t.$slots.watermark ? (b(), p("div", ct, [C(t.$slots, "watermark", v(_({ isPrinting: T(Wt) || T(Gt) || jt.value || Mt.value })), void 0, !0)])) : f("", !0),
1137
+ C(t.$slots, "legend", { legend: Y.value }, void 0, !0),
1138
+ t.$slots.source ? (b(), p("div", {
1130
1139
  key: 6,
1131
1140
  ref_key: "source",
1132
- ref: jt,
1141
+ ref: Tt,
1133
1142
  dir: "auto"
1134
- }, [S(t.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1135
- Ee(w(ht), {
1143
+ }, [C(t.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1144
+ h(T(lt), {
1136
1145
  teleportTo: I.value.style.tooltip.teleportTo,
1137
- show: H.value.showTooltip && k.value,
1146
+ show: H.value.showTooltip && A.value,
1138
1147
  backgroundColor: I.value.style.tooltip.backgroundColor,
1139
1148
  color: I.value.style.tooltip.color,
1140
1149
  borderRadius: I.value.style.tooltip.borderRadius,
@@ -1145,8 +1154,8 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1145
1154
  position: I.value.style.tooltip.position,
1146
1155
  offsetX: I.value.style.tooltip.offsetX,
1147
1156
  offsetY: I.value.style.tooltip.offsetY,
1148
- parent: j.value,
1149
- content: Ot.value,
1157
+ parent: M.value,
1158
+ content: St.value,
1150
1159
  isFullscreen: Z.value,
1151
1160
  isCustom: I.value.style.tooltip.customFormat && typeof I.value.style.tooltip.customFormat == "function",
1152
1161
  smooth: I.value.style.tooltip.smooth,
@@ -1154,11 +1163,11 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1154
1163
  smoothForce: I.value.style.tooltip.smoothForce,
1155
1164
  smoothSnapThreshold: I.value.style.tooltip.smoothSnapThreshold,
1156
1165
  isA11yMode: F.value === "keyboard",
1157
- a11yPosition: Rt.value
1166
+ a11yPosition: Nt.value
1158
1167
  }, {
1159
- "tooltip-before": E(() => [S(t.$slots, "tooltip-before", _(g({ ...sn.value })), void 0, !0)]),
1160
- tooltip: E(() => [S(t.$slots, "tooltip", _(g({ ...sn.value })), void 0, !0)]),
1161
- "tooltip-after": E(() => [S(t.$slots, "tooltip-after", _(g({ ...sn.value })), void 0, !0)]),
1168
+ "tooltip-before": D(() => [C(t.$slots, "tooltip-before", v(_({ ...tn.value })), void 0, !0)]),
1169
+ tooltip: D(() => [C(t.$slots, "tooltip", v(_({ ...tn.value })), void 0, !0)]),
1170
+ "tooltip-after": D(() => [C(t.$slots, "tooltip-after", v(_({ ...tn.value })), void 0, !0)]),
1162
1171
  _: 3
1163
1172
  }, 8, [
1164
1173
  "teleportTo",
@@ -1184,13 +1193,13 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1184
1193
  "isA11yMode",
1185
1194
  "a11yPosition"
1186
1195
  ]),
1187
- Dt.value && I.value.userOptions.buttons.table ? (y(), d(Me($.value.component), De({ key: 7 }, $.value.props, {
1196
+ xt.value && I.value.userOptions.buttons.table ? (b(), d(Me($.value.component), De({ key: 7 }, $.value.props, {
1188
1197
  ref_key: "tableUnit",
1189
- ref: M,
1190
- onClose: yn
1191
- }), we({
1192
- content: E(() => [(y(), d(w(vt), {
1193
- key: `table_${Pt.value}`,
1198
+ ref: N,
1199
+ onClose: mn
1200
+ }), Te({
1201
+ content: D(() => [(b(), d(T(ft), {
1202
+ key: `table_${Ot.value}`,
1194
1203
  colNames: X.value.colNames,
1195
1204
  head: X.value.head,
1196
1205
  body: X.value.body,
@@ -1198,10 +1207,10 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1198
1207
  title: I.value.table.useDialog ? "" : $.value.title,
1199
1208
  withCloseButton: !I.value.table.useDialog,
1200
1209
  isCursorPointer: L.value,
1201
- onClose: yn
1210
+ onClose: mn
1202
1211
  }, {
1203
- th: E(({ th: e }) => [Te(C(e), 1)]),
1204
- td: E(({ td: e }) => [Te(C(e), 1)]),
1212
+ th: D(({ th: e }) => [Ee(w(e), 1)]),
1213
+ td: D(({ td: e }) => [Ee(w(e), 1)]),
1205
1214
  _: 1
1206
1215
  }, 8, [
1207
1216
  "colNames",
@@ -1215,24 +1224,24 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1215
1224
  _: 2
1216
1225
  }, [I.value.table.useDialog ? {
1217
1226
  name: "title",
1218
- fn: E(() => [Te(C($.value.title), 1)]),
1227
+ fn: D(() => [Ee(w($.value.title), 1)]),
1219
1228
  key: "0"
1220
1229
  } : void 0, I.value.table.useDialog ? {
1221
1230
  name: "actions",
1222
- fn: E(() => [m("button", {
1231
+ fn: D(() => [m("button", {
1223
1232
  tabindex: "0",
1224
1233
  class: "vue-ui-user-options-button",
1225
- onClick: n[0] ||= (e) => pn(I.value.userOptions.callbacks.csv),
1226
- style: v({ cursor: L.value ? "pointer" : "default" })
1227
- }, [Ee(w(gt), {
1234
+ onClick: n[0] ||= (e) => cn(I.value.userOptions.callbacks.csv),
1235
+ style: y({ cursor: L.value ? "pointer" : "default" })
1236
+ }, [h(T(ut), {
1228
1237
  name: "fileCsv",
1229
1238
  stroke: $.value.props.color
1230
1239
  }, null, 8, ["stroke"])], 4)]),
1231
1240
  key: "1"
1232
1241
  } : void 0]), 1040)) : f("", !0),
1233
- S(t.$slots, "skeleton", {}, () => [w(Vt) ? (y(), d(ue, { key: 0 })) : f("", !0)], !0)
1242
+ C(t.$slots, "skeleton", {}, () => [T(It) ? (b(), d(ue, { key: 0 })) : f("", !0)], !0)
1234
1243
  ], 46, Le));
1235
1244
  }
1236
- }, [["__scopeId", "data-v-6401e590"]]);
1245
+ }, [["__scopeId", "data-v-e113be83"]]);
1237
1246
  //#endregion
1238
- export { Ie as n, ht as t };
1247
+ export { Ie as n, lt as t };