vue-data-ui 3.25.3 → 3.25.5

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 (200) hide show
  1. package/README.md +13 -13
  2. package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
  3. package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  4. package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
  5. package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
  6. package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  7. package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
  8. package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
  9. package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
  10. package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
  12. package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
  13. package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
  14. package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
  15. package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
  16. package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  17. package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
  18. package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
  19. package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  92. package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
  93. package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
  94. package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
  95. package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
  96. package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
  97. package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
  98. package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +70 -1
  104. package/dist/types/vue-ui-annotator.d.ts +58 -2
  105. package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
  106. package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
  107. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
  108. package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
  109. package/dist/utils.js +3 -3
  110. package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
  111. package/dist/vue-data-ui.js +74 -74
  112. package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
  113. package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
  114. package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
  115. package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
  116. package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
  117. package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
  118. package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
  119. package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
  120. package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
  121. package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
  122. package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
  123. package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
  124. package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
  125. package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
  126. package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
  127. package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
  128. package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
  129. package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
  130. package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
  131. package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
  132. package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
  133. package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
  134. package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
  135. package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
  136. package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
  137. package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
  138. package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
  139. package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
  140. package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
  141. package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
  142. package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
  143. package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
  144. package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
  145. package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
  146. package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
  147. package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
  148. package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
  149. package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
  150. package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
  151. package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
  152. package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
  153. package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
  154. package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
  155. package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
  156. package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
  157. package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
  158. package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
  159. package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
  160. package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
  161. package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
  162. package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
  163. package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
  164. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
  165. package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
  166. package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
  167. package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
  168. package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
  169. package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
  170. package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
  171. package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
  172. package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
  173. package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
  174. package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
  175. package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
  176. package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
  177. package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
  178. package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
  179. package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
  180. package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
  181. package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
  182. package/package.json +1 -1
  183. package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
  184. package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
  185. package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
  186. package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
  187. package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
  188. package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
  189. package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
  190. package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
  191. package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
  192. package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
  193. package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
  194. package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
  195. package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
  196. package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
  197. package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
  198. package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
  199. package/dist/vue-ui-table-DMJWplCT.js +0 -1352
  200. package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Ht as r, Nt as i, St as a, Ut as o, X as s, Xt as ee, b as c, i as l, lt as te, nt as ne, q as re, qt as ie, t as ae } from "./lib-C7t_vY8w.js";
2
+ import { $ as t, Ct as n, D as r, Jt as i, Pt as a, Ut as o, Wt as ee, X as s, Zt as te, b as c, i as l, lt as ne, nt as re, q as ie, t as ae } from "./lib-Dql7cqyA.js";
3
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-VVTuFI6H.js";
4
+ import { t as ce } from "./useConfig-C_mX5pOZ.js";
5
+ import { t as le } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useNestedProp-BfTgFMXF.js";
7
+ import { t as fe } from "./useNestedProp-Chvyfpl-.js";
8
8
  import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as me } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ge } from "./img-IjqD_xWl.js";
12
- import { n as _e } from "./Title-DIf1lG-_.js";
11
+ import { t as ge } from "./img-DhGApYG0.js";
12
+ import { n as _e } from "./Title-CPHi-evi.js";
13
13
  import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
15
15
  import { t as xe } from "./DefGrad-DVBqDjhO.js";
@@ -17,7 +17,7 @@ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as we } from "./useChartAccessibility-DYqac8yF.js";
19
19
  import { t as Te } from "./vue_ui_age_pyramid-BY6c-oX_.js";
20
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ee, createTextVNode as De, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as je, onMounted as Me, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ne, shallowRef as Pe, toDisplayString as T, toRefs as Fe, unref as E, watch as Ie, watchEffect as Le, withCtx as D } from "vue";
20
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ee, createTextVNode as De, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as y, normalizeStyle as je, onBeforeUnmount as Me, onMounted as Ne, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as w, toRefs as Ie, unref as T, watch as E, watchEffect as Le, withCtx as D } from "vue";
21
21
  //#region src/components/vue-ui-age-pyramid.vue
22
22
  var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve = { style: { position: "relative" } }, He = [
23
23
  "xmlns",
@@ -160,10 +160,10 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
160
160
  },
161
161
  emits: ["copyAlt"],
162
162
  setup(e, { expose: ve, emit: Re }) {
163
- let dt = _(() => import("./Tooltip-C3jBTIhR.js")), ft = _(() => import("./BaseIcon-CVrQHhw1.js").then((e) => e.n)), pt = _(() => import("./vue-ui-accordion-DuARUUdY.js").then((e) => e.n)), mt = _(() => import("./DataTable-BBpTEQY5.js")), ht = _(() => import("./PenAndPaper-DzM1vUXR.js").then((e) => e.t)), gt = _(() => import("./UserOptions-m0uxKoiy.js").then((e) => e.n)), _t = _(() => import("./PackageVersion-hRJtldYi.js").then((e) => e.t)), vt = _(() => import("./BaseDraggableDialog-BCQY4Tir.js").then((e) => e.n)), { vue_ui_age_pyramid: yt } = ce(), { isThemeValid: bt, warnInvalidTheme: xt } = pe(), O = e, St = Re, Ct = d(() => !!O.dataset && O.dataset.length), k = S(re()), A = S(!1), wt = S(""), j = S(null), Tt = S(0), M = S(null), Et = S(null), Dt = S(null), Ot = S(null), kt = S(0), At = S(0), jt = S(null), N = S(null), Mt = S(null), P = S(null), Nt = S({
163
+ let dt = _(() => import("./Tooltip-hhrkQ3Lk.js")), ft = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), pt = _(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), mt = _(() => import("./DataTable-COIO9gi4.js")), ht = _(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), gt = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), _t = _(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), vt = _(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_age_pyramid: yt } = ce(), { isThemeValid: bt, warnInvalidTheme: xt } = pe(), O = e, St = Re, Ct = d(() => !!O.dataset && O.dataset.length), k = x(ie()), A = x(!1), wt = x(""), j = x(null), Tt = x(0), M = x(null), Et = x(null), Dt = x(null), Ot = x(null), kt = x(0), At = x(0), jt = x(null), N = x(null), Mt = x(null), P = x(null), Nt = x({
164
164
  x: 0,
165
165
  y: 0
166
- }), F = S("pointer"), Pt = S(!1), I = S(Ht());
166
+ }), F = x("pointer"), Pt = x(!1), I = x(Vt());
167
167
  oe({
168
168
  config: () => I.value,
169
169
  dataset: () => O.dataset,
@@ -179,7 +179,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
179
179
  ]
180
180
  }]
181
181
  });
182
- let L = d(() => I.value.userOptions.useCursorPointer), Ft = d(() => ee({
182
+ let L = d(() => I.value.userOptions.useCursorPointer), Ft = d(() => te({
183
183
  defaultConfig: {
184
184
  userOptions: { show: !1 },
185
185
  table: { show: !1 },
@@ -207,10 +207,10 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
207
207
  }
208
208
  },
209
209
  userConfig: I.value.skeletonConfig ?? {}
210
- })), { loading: It, FINAL_DATASET: Lt, manualLoading: Rt } = ue({
211
- ...Fe(O),
210
+ })), { loading: It, FINAL_DATASET: R, manualLoading: Lt } = ue({
211
+ ...Ie(O),
212
212
  FINAL_CONFIG: I,
213
- prepareConfig: Ht,
213
+ prepareConfig: Vt,
214
214
  skeletonDataset: O.config?.skeletonDataset ?? [
215
215
  [
216
216
  "_",
@@ -273,12 +273,12 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
273
273
  144
274
274
  ]
275
275
  ],
276
- skeletonConfig: ee({
276
+ skeletonConfig: te({
277
277
  defaultConfig: I.value,
278
278
  userConfig: Ft.value
279
279
  })
280
- }), { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = Ce({ config: I.value }), { svgRef: R } = we({ config: I.value.style.title });
281
- function Ht() {
280
+ }), { userOptionsVisible: Rt, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = Ce({ config: I.value }), { svgRef: z } = we({ config: I.value.style.title });
281
+ function Vt() {
282
282
  let e = fe({
283
283
  userConfig: O.config,
284
284
  defaultConfig: yt
@@ -294,22 +294,22 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
294
294
  defaultConfig: n
295
295
  });
296
296
  }
297
- Ie(() => O.config, (e) => {
298
- It.value || (I.value = Ht()), zt.value = !I.value.userOptions.showOnChartHover, Wt(), kt.value += 1, At.value += 1, V.value.showTable = I.value.table.show, V.value.showTooltip = I.value.style.tooltip.show;
299
- }, { deep: !0 }), Ie(() => O.dataset, (e) => {
300
- Array.isArray(e) && e.length > 0 && (Rt.value = !1);
297
+ E(() => O.config, (e) => {
298
+ It.value || (I.value = Vt()), Rt.value = !I.value.userOptions.showOnChartHover, Ut(), kt.value += 1, At.value += 1, H.value.showTable = I.value.table.show, H.value.showTooltip = I.value.style.tooltip.show;
299
+ }, { deep: !0 }), E(() => O.dataset, (e) => {
300
+ Array.isArray(e) && e.length > 0 && (Lt.value = !1);
301
301
  }, { deep: !0 });
302
- let z = Pe(null), B = Pe(null);
303
- Me(() => {
304
- Wt();
302
+ let B = Fe(null), V = Fe(null);
303
+ Ne(() => {
304
+ Ut();
305
305
  });
306
- let Ut = d(() => I.value.debug);
307
- function Wt() {
308
- if (i(O.dataset) && (ne({
306
+ let Ht = d(() => I.value.debug);
307
+ function Ut() {
308
+ if (a(O.dataset) && (re({
309
309
  componentName: "VueUiAgePyramid",
310
310
  type: "dataset",
311
- debug: Ut.value
312
- }), Rt.value = !0), i(O.dataset) || (Rt.value = I.value.loading), I.value.responsive) {
311
+ debug: Ht.value
312
+ }), Lt.value = !0), a(O.dataset) || (Lt.value = I.value.loading), I.value.responsive) {
313
313
  let e = ye(() => {
314
314
  let { width: e, height: t } = be({
315
315
  chart: M.value,
@@ -318,54 +318,54 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
318
318
  noTitle: Ot.value
319
319
  });
320
320
  requestAnimationFrame(() => {
321
- H.value.width = e, H.value.height = t;
321
+ U.value.width = e, U.value.height = t;
322
322
  });
323
323
  });
324
- z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = M.value.parentNode, z.value.observe(B.value);
324
+ 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);
325
325
  }
326
326
  }
327
- je(() => {
328
- z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
327
+ Me(() => {
328
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
329
329
  });
330
- let { isPrinting: Gt, isImaging: Kt, generatePdf: qt, generateImage: Jt } = le({
330
+ let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = le({
331
331
  elementId: `vue-ui-age-pyramid_${k.value}`,
332
332
  fileName: I.value.style.title.text || "vue-ui-age-pyramid",
333
333
  options: I.value.userOptions.print
334
- }), Yt = d(() => I.value.userOptions.show && !I.value.style.title.text), V = S({
334
+ }), Jt = d(() => I.value.userOptions.show && !I.value.style.title.text), H = x({
335
335
  showTable: I.value.table.show,
336
336
  showTooltip: I.value.style.tooltip.show
337
337
  });
338
- Ie(I, () => {
339
- V.value = {
338
+ E(I, () => {
339
+ H.value = {
340
340
  showTable: I.value.table.show,
341
341
  showTooltip: I.value.style.tooltip.show
342
342
  };
343
343
  }, { immediate: !0 });
344
- let H = S({
344
+ let U = x({
345
345
  height: I.value.style.height,
346
346
  width: I.value.style.width
347
- }), Xt = d(() => H.value.width), Zt = d(() => H.value.height), U = S(0), Qt = ye((e) => {
348
- U.value = e;
347
+ }), Yt = d(() => U.value.width), Xt = d(() => U.value.height), W = x(0), Zt = ye((e) => {
348
+ W.value = e;
349
349
  }, 100);
350
350
  Le((e) => {
351
351
  let t = jt.value;
352
352
  if (!t) return;
353
353
  let n = new ResizeObserver((e) => {
354
- Qt(e[0].contentRect.height);
354
+ Zt(e[0].contentRect.height);
355
355
  });
356
356
  n.observe(t), e(() => n.disconnect());
357
- }), je(() => {
358
- U.value = 0;
357
+ }), Me(() => {
358
+ W.value = 0;
359
359
  });
360
- let W = d(() => {
361
- let e = H.value.width - I.value.style.layout.padding.right - I.value.style.layout.padding.left, t = I.value.style.layout.padding.left, n = H.value.width - I.value.style.layout.padding.right;
360
+ let G = d(() => {
361
+ let e = U.value.width - I.value.style.layout.padding.right - I.value.style.layout.padding.left, t = I.value.style.layout.padding.left, n = U.value.width - I.value.style.layout.padding.right;
362
362
  return {
363
363
  top: I.value.style.layout.padding.top + I.value.style.layout.dataLabels.sideTitles.fontSize + I.value.style.layout.dataLabels.sideTitles.offsetY + 12,
364
364
  left: t,
365
365
  right: n,
366
- bottom: H.value.height - I.value.style.layout.padding.bottom - U.value,
366
+ bottom: U.value.height - I.value.style.layout.padding.bottom - W.value,
367
367
  width: e,
368
- height: H.value.height - I.value.style.layout.padding.top - I.value.style.layout.padding.bottom - U.value - I.value.style.layout.dataLabels.sideTitles.fontSize - I.value.style.layout.dataLabels.sideTitles.offsetY - 12,
368
+ height: U.value.height - I.value.style.layout.padding.top - I.value.style.layout.padding.bottom - W.value - I.value.style.layout.dataLabels.sideTitles.fontSize - I.value.style.layout.dataLabels.sideTitles.offsetY - 12,
369
369
  centerX: I.value.style.layout.padding.left + e / 2,
370
370
  leftChart: {
371
371
  width: e / 2 - I.value.style.layout.centerSlit.width,
@@ -376,16 +376,16 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
376
376
  left: t + e / 2 + I.value.style.layout.centerSlit.width
377
377
  }
378
378
  };
379
- }), $t = d(() => Lt.value.map((e) => I.value.style.layout.dataLabels.yAxis.display === "age" ? e[1] : e[0])), G = d(() => {
380
- let e = en(K.value / 5), t = [], n = [];
379
+ }), Qt = d(() => R.value.map((e) => I.value.style.layout.dataLabels.yAxis.display === "age" ? e[1] : e[0])), K = d(() => {
380
+ let e = $t(q.value / 5), t = [], n = [];
381
381
  for (let r = 0; r <= 5; r += 1) {
382
382
  let i = e * r, a = e * (r - 5);
383
383
  t.push({
384
384
  value: i,
385
- x: W.value.left + W.value.width / 2 + I.value.style.layout.centerSlit.width + i / K.value * W.value.leftChart.width
385
+ x: G.value.left + G.value.width / 2 + I.value.style.layout.centerSlit.width + i / q.value * G.value.leftChart.width
386
386
  }), n.push({
387
387
  value: Math.abs(a),
388
- x: W.value.left + W.value.width / 2 + a / K.value * W.value.leftChart.width - I.value.style.layout.centerSlit.width
388
+ x: G.value.left + G.value.width / 2 + a / q.value * G.value.leftChart.width - I.value.style.layout.centerSlit.width
389
389
  });
390
390
  }
391
391
  return {
@@ -393,24 +393,24 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
393
393
  left: n
394
394
  };
395
395
  });
396
- function en(e) {
396
+ function $t(e) {
397
397
  if (e === 0) return 0;
398
398
  let t = 10 ** Math.floor(Math.log10(Math.abs(e))), n;
399
399
  return n = Math.round(e / t) * t, n;
400
400
  }
401
- let K = d(() => Math.max(...Lt.value.flatMap((e) => e.slice(-2).map((e) => c(e))))), q = d(() => Lt.value.length), tn = d(() => Lt.value.map((e) => ({
401
+ let q = d(() => Math.max(...R.value.flatMap((e) => e.slice(-2).map((e) => c(e))))), J = d(() => R.value.length), en = d(() => R.value.map((e) => ({
402
402
  segment: e[0],
403
403
  age: e[1],
404
404
  left: {
405
405
  value: e[2],
406
- proportionToMax: e[2] / K.value
406
+ proportionToMax: e[2] / q.value
407
407
  },
408
408
  right: {
409
409
  value: e[3],
410
- proportionToMax: e[3] / K.value
410
+ proportionToMax: e[3] / q.value
411
411
  }
412
- }))), J = d(() => tn.value.map((e, t) => {
413
- let n = W.value.top + W.value.height / q.value * t, r = W.value.height / q.value - I.value.style.layout.bars.gap;
412
+ }))), Y = d(() => en.value.map((e, t) => {
413
+ let n = G.value.top + G.value.height / J.value * t, r = G.value.height / J.value - I.value.style.layout.bars.gap;
414
414
  return {
415
415
  segment: e.segment,
416
416
  age: e.age,
@@ -418,20 +418,20 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
418
418
  ...e.left,
419
419
  y: n,
420
420
  color: I.value.style.layout.bars.left.color,
421
- x: W.value.leftChart.right - e.left.proportionToMax * W.value.leftChart.width,
422
- width: c(e.left.proportionToMax * W.value.leftChart.width),
421
+ x: G.value.leftChart.right - e.left.proportionToMax * G.value.leftChart.width,
422
+ width: c(e.left.proportionToMax * G.value.leftChart.width),
423
423
  height: r
424
424
  },
425
425
  right: {
426
426
  ...e.right,
427
427
  y: n,
428
428
  color: I.value.style.layout.bars.right.color,
429
- x: W.value.rightChart.left,
430
- width: c(e.right.proportionToMax * W.value.rightChart.width),
429
+ x: G.value.rightChart.left,
430
+ width: c(e.right.proportionToMax * G.value.rightChart.width),
431
431
  height: r
432
432
  }
433
433
  };
434
- })), Y = S(null);
434
+ })), tn = x(null);
435
435
  function nn(e) {
436
436
  let [t, n, r, i] = e;
437
437
  return {
@@ -454,24 +454,24 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
454
454
  }), (F.value !== "keyboard" || P.value !== e) && (j.value = null, A.value = !1);
455
455
  }
456
456
  function on(e) {
457
- if (!R.value) return;
458
- let t = J.value[e];
457
+ if (!z.value) return;
458
+ let t = Y.value[e];
459
459
  if (!t) return;
460
- let n = ie(W.value.left + W.value.width / 2, t.left.y + t.left.height / 2, R.value);
460
+ let n = i(G.value.left + G.value.width / 2, t.left.y + t.left.height / 2, z.value);
461
461
  n && (Nt.value = n);
462
462
  }
463
- function sn(e, t, n = "pointer") {
463
+ function sn(e, t, r = "pointer") {
464
464
  I.value.events.datapointEnter && I.value.events.datapointEnter({
465
465
  datapoint: nn(t),
466
466
  seriesIndex: e
467
- }), j.value = e, P.value = e, F.value = n, Y.value = {
467
+ }), j.value = e, P.value = e, F.value = r, tn.value = {
468
468
  datapoint: t,
469
469
  seriesIndex: e,
470
- series: J.value,
470
+ series: Y.value,
471
471
  config: I.value
472
472
  };
473
- let r = I.value.style.tooltip.customFormat;
474
- if (a(r) && te(() => r({
473
+ let i = I.value.style.tooltip.customFormat;
474
+ if (n(i) && ne(() => i({
475
475
  seriesIndex: e,
476
476
  datapoint: {
477
477
  segment: t[0],
@@ -479,9 +479,9 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
479
479
  left: t[2],
480
480
  right: t[3]
481
481
  },
482
- series: J.value,
482
+ series: Y.value,
483
483
  config: I.value
484
- }))) wt.value = r({
484
+ }))) wt.value = i({
485
485
  seriesIndex: e,
486
486
  datapoint: {
487
487
  segment: t[0],
@@ -489,11 +489,11 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
489
489
  left: t[2],
490
490
  right: t[3]
491
491
  },
492
- series: J.value,
492
+ series: Y.value,
493
493
  config: I.value
494
494
  });
495
495
  else {
496
- let n = "", r = J.value[e];
496
+ let n = "", r = Y.value[e];
497
497
  n += `<div><b>${r.segment}</b></div>`, n += `<div>${I.value.translations.age}: ${l(I.value.style.layout.dataLabels.yAxis.formatter, c(r.age), s({ v: c(r.age) }), {
498
498
  datapoint: t,
499
499
  seriesIndex: e
@@ -508,13 +508,13 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
508
508
  seriesIndex: e
509
509
  })}</b></div></div>`, n += "</div>", wt.value = `<div>${n}</div>`;
510
510
  }
511
- A.value = !0, n === "keyboard" && ke(() => {
511
+ A.value = !0, r === "keyboard" && ke(() => {
512
512
  on(e);
513
513
  });
514
514
  }
515
515
  function cn(e = null) {
516
516
  ke(() => {
517
- let r = [
517
+ let n = [
518
518
  I.value.translations.year,
519
519
  I.value.translations.age,
520
520
  I.value.translations.female,
@@ -534,8 +534,8 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
534
534
  [""],
535
535
  [""]
536
536
  ],
537
- r
538
- ].concat(i), o = n(a);
537
+ n
538
+ ].concat(i), o = r(a);
539
539
  e ? e(o) : t({
540
540
  csvContent: o,
541
541
  title: I.value.style.title.text || "vue-ui-heatmap"
@@ -574,17 +574,17 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
574
574
  },
575
575
  colNames: e
576
576
  };
577
- }), Z = S(!1);
577
+ }), Z = x(!1);
578
578
  function ln(e) {
579
579
  Z.value = e, Tt.value += 1;
580
580
  }
581
581
  function un() {
582
- V.value.showTable = !V.value.showTable;
582
+ H.value.showTable = !H.value.showTable;
583
583
  }
584
584
  function dn() {
585
- V.value.showTooltip = !V.value.showTooltip;
585
+ H.value.showTooltip = !H.value.showTooltip;
586
586
  }
587
- let Q = S(!1);
587
+ let Q = x(!1);
588
588
  function fn() {
589
589
  Q.value = !Q.value;
590
590
  }
@@ -605,9 +605,9 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
605
605
  aspectRatio: r
606
606
  };
607
607
  }
608
- let mn = S([]), hn = S({
608
+ let mn = x([]), hn = x({
609
609
  start: 0,
610
- end: J.value.length
610
+ end: Y.value.length
611
611
  });
612
612
  he({
613
613
  timeLabelsEls: jt,
@@ -630,13 +630,13 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
630
630
  "enable"
631
631
  ],
632
632
  isAutoSize: !1,
633
- width: Xt,
634
- height: Zt,
633
+ width: Yt,
634
+ height: Xt,
635
635
  targetClass: ".vue-ui-age-pyramid-x-axis-label",
636
636
  rotation: I.value.style.layout.dataLabels.xAxis.autoRotate.angle
637
637
  });
638
638
  let $ = d(() => {
639
- let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
639
+ let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
640
640
  return {
641
641
  component: e ? vt : pt,
642
642
  title: `${I.value.style.title.text}${I.value.style.title.subtitle.text ? `: ${I.value.style.title.subtitle.text}` : ""}`,
@@ -666,32 +666,32 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
666
666
  }
667
667
  };
668
668
  });
669
- Ie(() => V.value.showTable, (e) => {
669
+ E(() => H.value.showTable, (e) => {
670
670
  I.value.table.show || (e && I.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
671
671
  });
672
672
  function gn() {
673
- V.value.showTable = !1, Mt.value && Mt.value.setTableIconState(!1);
673
+ H.value.showTable = !1, Mt.value && Mt.value.setTableIconState(!1);
674
674
  }
675
675
  let _n = d(() => I.value.style.backgroundColor), vn = d(() => I.value.style.title), { isCallbackImaging: yn, isCallbackSvg: bn, generateSvg: xn, onGenerateImage: Sn } = me({
676
- svg: R,
676
+ svg: z,
677
677
  title: vn,
678
678
  legend: null,
679
679
  legendItems: null,
680
680
  backgroundColor: _n,
681
681
  getSvgCallback: () => I.value.userOptions.callbacks.svg,
682
- generateImage: Jt
682
+ generateImage: qt
683
683
  });
684
684
  async function Cn() {
685
685
  if (St("copyAlt", {
686
686
  config: I.value,
687
- dataset: J.value
687
+ dataset: Y.value
688
688
  }), !I.value.userOptions.callbacks.altCopy) {
689
689
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
690
690
  return;
691
691
  }
692
692
  await Promise.resolve(I.value.userOptions.callbacks.altCopy({
693
693
  config: I.value,
694
- dataset: J.value
694
+ dataset: Y.value
695
695
  }));
696
696
  }
697
697
  function wn() {
@@ -701,7 +701,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
701
701
  j.value = null, P.value = null, F.value = "pointer", A.value = !1, Pt.value = !1;
702
702
  }
703
703
  function En(e) {
704
- if (!R.value || Q.value || document.activeElement !== R.value || !J.value.length) return;
704
+ if (!z.value || Q.value || document.activeElement !== z.value || !Y.value.length) return;
705
705
  let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
706
706
  if (!t && !n && !r && !i) return;
707
707
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -715,36 +715,36 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
715
715
  rn(P.value, e);
716
716
  return;
717
717
  }
718
- let a = P.value, o = j.value, s = a !== null && a >= 0 && a < J.value.length, ee = o !== null && o >= 0 && o < J.value.length;
719
- s ? t ? a = a - 1 < 0 ? J.value.length - 1 : a - 1 : n && (a = a + 1 > J.value.length - 1 ? 0 : a + 1) : ee ? (a = n ? o + 1 : o - 1, a >= J.value.length && (a = 0), a < 0 && (a = J.value.length - 1)) : a = n ? 0 : J.value.length - 1;
720
- let c = O.dataset[a];
721
- c && sn(a, c, "keyboard");
718
+ let a = P.value, o = j.value, ee = a !== null && a >= 0 && a < Y.value.length, s = o !== null && o >= 0 && o < Y.value.length;
719
+ ee ? t ? a = a - 1 < 0 ? Y.value.length - 1 : a - 1 : n && (a = a + 1 > Y.value.length - 1 ? 0 : a + 1) : s ? (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;
720
+ let te = O.dataset[a];
721
+ te && sn(a, te, "keyboard");
722
722
  }
723
723
  return ve({
724
724
  getImage: pn,
725
- generatePdf: qt,
725
+ generatePdf: Kt,
726
726
  generateCsv: cn,
727
- generateImage: Jt,
727
+ generateImage: qt,
728
728
  generateSvg: xn,
729
729
  toggleTable: un,
730
730
  toggleTooltip: dn,
731
731
  toggleAnnotator: fn,
732
732
  toggleFullscreen: ln,
733
733
  copyAlt: Cn
734
- }), (t, n) => (x(), m("div", {
734
+ }), (t, n) => (b(), m("div", {
735
735
  class: Ae(`vue-data-ui-component vue-ui-age-pyramid ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
736
736
  ref_key: "agePyramid",
737
737
  ref: M,
738
738
  id: `vue-ui-age-pyramid_${k.value}`,
739
- style: b(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.backgroundColor};${I.value.responsive ? "height:100%" : ""}`),
740
- onMouseenter: n[1] ||= () => E(Bt)(!0),
741
- onMouseleave: n[2] ||= () => E(Bt)(!1)
739
+ style: je(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.backgroundColor};${I.value.responsive ? "height:100%" : ""}`),
740
+ onMouseenter: n[1] ||= () => T(zt)(!0),
741
+ onMouseleave: n[2] ||= () => T(zt)(!1)
742
742
  }, [
743
743
  h("div", {
744
744
  id: `chart-instructions-${k.value}`,
745
745
  class: "sr-only"
746
- }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
747
- X.value?.body?.length ? (x(), f(Se, {
746
+ }, [h("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
747
+ X.value?.body?.length ? (b(), f(Se, {
748
748
  key: 0,
749
749
  uid: k.value,
750
750
  head: X.value.head,
@@ -758,42 +758,44 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
758
758
  "notice",
759
759
  "caption"
760
760
  ])) : p("", !0),
761
- I.value.userOptions.buttons.annotator ? (x(), f(E(ht), {
761
+ I.value.userOptions.buttons.annotator ? (b(), f(T(ht), {
762
762
  key: 1,
763
- svgRef: E(R),
763
+ svgRef: T(z),
764
764
  backgroundColor: I.value.style.backgroundColor,
765
765
  color: I.value.style.color,
766
766
  active: Q.value,
767
767
  isCursorPointer: L.value,
768
+ palette: I.value.userOptions.annotatorPalette,
768
769
  onClose: fn
769
770
  }, {
770
- "annotator-action-close": D(() => [w(t.$slots, "annotator-action-close", {}, void 0, !0)]),
771
- "annotator-action-color": D(({ color: e }) => [w(t.$slots, "annotator-action-color", y(v({ color: e })), void 0, !0)]),
772
- "annotator-action-draw": D(({ mode: e }) => [w(t.$slots, "annotator-action-draw", y(v({ mode: e })), void 0, !0)]),
773
- "annotator-action-undo": D(({ disabled: e }) => [w(t.$slots, "annotator-action-undo", y(v({ disabled: e })), void 0, !0)]),
774
- "annotator-action-redo": D(({ disabled: e }) => [w(t.$slots, "annotator-action-redo", y(v({ disabled: e })), void 0, !0)]),
775
- "annotator-action-delete": D(({ disabled: e }) => [w(t.$slots, "annotator-action-delete", y(v({ disabled: e })), void 0, !0)]),
771
+ "annotator-action-close": D(() => [C(t.$slots, "annotator-action-close", {}, void 0, !0)]),
772
+ "annotator-action-color": D(({ color: e }) => [C(t.$slots, "annotator-action-color", y(v({ color: e })), void 0, !0)]),
773
+ "annotator-action-draw": D(({ mode: e }) => [C(t.$slots, "annotator-action-draw", y(v({ mode: e })), void 0, !0)]),
774
+ "annotator-action-undo": D(({ disabled: e }) => [C(t.$slots, "annotator-action-undo", y(v({ disabled: e })), void 0, !0)]),
775
+ "annotator-action-redo": D(({ disabled: e }) => [C(t.$slots, "annotator-action-redo", y(v({ disabled: e })), void 0, !0)]),
776
+ "annotator-action-delete": D(({ disabled: e }) => [C(t.$slots, "annotator-action-delete", y(v({ disabled: e })), void 0, !0)]),
776
777
  _: 3
777
778
  }, 8, [
778
779
  "svgRef",
779
780
  "backgroundColor",
780
781
  "color",
781
782
  "active",
782
- "isCursorPointer"
783
+ "isCursorPointer",
784
+ "palette"
783
785
  ])) : p("", !0),
784
- Yt.value ? (x(), m("div", {
786
+ Jt.value ? (b(), m("div", {
785
787
  key: 2,
786
788
  ref_key: "noTitle",
787
789
  ref: Ot,
788
790
  class: "vue-data-ui-no-title-space",
789
791
  style: "height:36px; width: 100%;background:transparent"
790
792
  }, null, 512)) : p("", !0),
791
- I.value.style.title.text ? (x(), m("div", {
793
+ I.value.style.title.text ? (b(), m("div", {
792
794
  key: 3,
793
795
  ref_key: "chartTitle",
794
796
  ref: Et,
795
797
  style: "width:100%;background:transparent"
796
- }, [(x(), f(_e, {
798
+ }, [(b(), f(_e, {
797
799
  key: `title_${kt.value}`,
798
800
  config: {
799
801
  title: {
@@ -806,14 +808,14 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
806
808
  }
807
809
  }
808
810
  }, null, 8, ["config"]))], 512)) : p("", !0),
809
- I.value.userOptions.show && Ct.value && (E(Vt) || E(zt)) ? (x(), f(E(gt), {
811
+ I.value.userOptions.show && Ct.value && (T(Bt) || T(Rt)) ? (b(), f(T(gt), {
810
812
  ref_key: "userOptionsRef",
811
813
  ref: Mt,
812
814
  key: `user_options_${Tt.value}`,
813
815
  backgroundColor: I.value.style.backgroundColor,
814
816
  color: I.value.style.color,
815
- isImaging: E(Kt),
816
- isPrinting: E(Gt),
817
+ isImaging: T(Gt),
818
+ isPrinting: T(Wt),
817
819
  uid: k.value,
818
820
  hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.tooltip.show,
819
821
  hasPdf: I.value.userOptions.buttons.pdf,
@@ -824,7 +826,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
824
826
  hasFullscreen: I.value.userOptions.buttons.fullscreen,
825
827
  hasAltCopy: I.value.userOptions.buttons.altCopy,
826
828
  isFullscreen: Z.value,
827
- isTooltip: V.value.showTooltip,
829
+ isTooltip: H.value.showTooltip,
828
830
  titles: { ...I.value.userOptions.buttonTitles },
829
831
  chartElement: M.value,
830
832
  position: I.value.userOptions.position,
@@ -835,19 +837,19 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
835
837
  tableDialog: I.value.table.useDialog,
836
838
  isCursorPointer: L.value,
837
839
  onToggleFullscreen: ln,
838
- onGeneratePdf: E(qt),
840
+ onGeneratePdf: T(Kt),
839
841
  onGenerateCsv: cn,
840
- onGenerateImage: E(Sn),
841
- onGenerateSvg: E(xn),
842
+ onGenerateImage: T(Sn),
843
+ onGenerateSvg: T(xn),
842
844
  onToggleTable: un,
843
845
  onToggleTooltip: dn,
844
846
  onToggleAnnotator: fn,
845
847
  onCopyAlt: Cn,
846
- style: b({ visibility: E(Vt) ? E(zt) ? "visible" : "hidden" : "visible" })
848
+ style: je({ visibility: T(Bt) ? T(Rt) ? "visible" : "hidden" : "visible" })
847
849
  }, Ee({ _: 2 }, [
848
850
  t.$slots.menuIcon ? {
849
851
  name: "menuIcon",
850
- fn: D(({ isOpen: e, color: n }) => [w(t.$slots, "menuIcon", y(v({
852
+ fn: D(({ isOpen: e, color: n }) => [C(t.$slots, "menuIcon", y(v({
851
853
  isOpen: e,
852
854
  color: n
853
855
  })), void 0, !0)]),
@@ -855,37 +857,37 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
855
857
  } : void 0,
856
858
  t.$slots.optionTooltip ? {
857
859
  name: "optionTooltip",
858
- fn: D(() => [w(t.$slots, "optionTooltip", {}, void 0, !0)]),
860
+ fn: D(() => [C(t.$slots, "optionTooltip", {}, void 0, !0)]),
859
861
  key: "1"
860
862
  } : void 0,
861
863
  t.$slots.optionPdf ? {
862
864
  name: "optionPdf",
863
- fn: D(() => [w(t.$slots, "optionPdf", {}, void 0, !0)]),
865
+ fn: D(() => [C(t.$slots, "optionPdf", {}, void 0, !0)]),
864
866
  key: "2"
865
867
  } : void 0,
866
868
  t.$slots.optionCsv ? {
867
869
  name: "optionCsv",
868
- fn: D(() => [w(t.$slots, "optionCsv", {}, void 0, !0)]),
870
+ fn: D(() => [C(t.$slots, "optionCsv", {}, void 0, !0)]),
869
871
  key: "3"
870
872
  } : void 0,
871
873
  t.$slots.optionImg ? {
872
874
  name: "optionImg",
873
- fn: D(() => [w(t.$slots, "optionImg", {}, void 0, !0)]),
875
+ fn: D(() => [C(t.$slots, "optionImg", {}, void 0, !0)]),
874
876
  key: "4"
875
877
  } : void 0,
876
878
  t.$slots.optionSvg ? {
877
879
  name: "optionSvg",
878
- fn: D(() => [w(t.$slots, "optionSvg", {}, void 0, !0)]),
880
+ fn: D(() => [C(t.$slots, "optionSvg", {}, void 0, !0)]),
879
881
  key: "5"
880
882
  } : void 0,
881
883
  t.$slots.optionTable ? {
882
884
  name: "optionTable",
883
- fn: D(() => [w(t.$slots, "optionTable", {}, void 0, !0)]),
885
+ fn: D(() => [C(t.$slots, "optionTable", {}, void 0, !0)]),
884
886
  key: "6"
885
887
  } : void 0,
886
888
  t.$slots.optionFullscreen ? {
887
889
  name: "optionFullscreen",
888
- fn: D(({ toggleFullscreen: e, isFullscreen: n }) => [w(t.$slots, "optionFullscreen", y(v({
890
+ fn: D(({ toggleFullscreen: e, isFullscreen: n }) => [C(t.$slots, "optionFullscreen", y(v({
889
891
  toggleFullscreen: e,
890
892
  isFullscreen: n
891
893
  })), void 0, !0)]),
@@ -893,7 +895,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
893
895
  } : void 0,
894
896
  t.$slots.optionAnnotator ? {
895
897
  name: "optionAnnotator",
896
- fn: D(({ toggleAnnotator: e, isAnnotator: n }) => [w(t.$slots, "optionAnnotator", y(v({
898
+ fn: D(({ toggleAnnotator: e, isAnnotator: n }) => [C(t.$slots, "optionAnnotator", y(v({
897
899
  toggleAnnotator: e,
898
900
  isAnnotator: n
899
901
  })), void 0, !0)]),
@@ -901,45 +903,45 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
901
903
  } : void 0,
902
904
  t.$slots.optionAltCopy ? {
903
905
  name: "optionAltCopy",
904
- fn: D(({ altCopy: e }) => [w(t.$slots, "optionAltCopy", y(v({ altCopy: e })), void 0, !0)]),
906
+ fn: D(({ altCopy: e }) => [C(t.$slots, "optionAltCopy", y(v({ altCopy: e })), void 0, !0)]),
905
907
  key: "9"
906
908
  } : void 0,
907
909
  t.$slots["custom-menu-before"] ? {
908
910
  name: "custom-menu-before",
909
- fn: D(() => [w(t.$slots, "custom-menu-before", {}, void 0, !0)]),
911
+ fn: D(() => [C(t.$slots, "custom-menu-before", {}, void 0, !0)]),
910
912
  key: "10"
911
913
  } : void 0,
912
914
  t.$slots["custom-menu-after"] ? {
913
915
  name: "custom-menu-after",
914
- fn: D(() => [w(t.$slots, "custom-menu-after", {}, void 0, !0)]),
916
+ fn: D(() => [C(t.$slots, "custom-menu-after", {}, void 0, !0)]),
915
917
  key: "11"
916
918
  } : void 0
917
919
  ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
918
- h("div", Ve, [(x(), m("svg", {
920
+ h("div", Ve, [(b(), m("svg", {
919
921
  ref_key: "svgRef",
920
- ref: R,
921
- xmlns: E(ae),
922
+ ref: z,
923
+ xmlns: T(ae),
922
924
  class: Ae({
923
925
  "vue-data-ui-fullscreen--on": Z.value,
924
926
  "vue-data-ui-fulscreen--off": !Z.value
925
927
  }),
926
- viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
927
- style: b(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.color}`),
928
+ viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
929
+ style: je(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.color}`),
928
930
  tabindex: "0",
929
931
  "aria-describedby": `chart-instructions-${k.value}`,
930
932
  onFocus: wn,
931
933
  onBlur: Tn,
932
934
  onKeydown: En
933
935
  }, [
934
- g(E(_t)),
935
- t.$slots["chart-background"] ? (x(), m("foreignObject", {
936
+ g(T(_t)),
937
+ t.$slots["chart-background"] ? (b(), m("foreignObject", {
936
938
  key: 0,
937
- x: W.value.left,
938
- y: W.value.top,
939
- width: Math.max(.1, W.value.width),
940
- height: Math.max(.1, W.value.height),
939
+ x: G.value.left,
940
+ y: G.value.top,
941
+ width: Math.max(.1, G.value.width),
942
+ height: Math.max(.1, G.value.height),
941
943
  style: { pointerEvents: "none" }
942
- }, [w(t.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : p("", !0),
944
+ }, [C(t.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : p("", !0),
943
945
  h("defs", null, [g(xe, {
944
946
  t: "linear",
945
947
  id: `age_pyramid_left_${k.value}`,
@@ -953,7 +955,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
953
955
  1
954
956
  ], [
955
957
  "100%",
956
- E(r)(E(o)(I.value.style.layout.bars.left.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
958
+ T(o)(T(ee)(I.value.style.layout.bars.left.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
957
959
  1
958
960
  ]]
959
961
  }, null, 8, ["id", "stops"]), g(xe, {
@@ -965,7 +967,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
965
967
  y2: "0%",
966
968
  stops: [[
967
969
  "0%",
968
- E(r)(E(o)(I.value.style.layout.bars.right.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
970
+ T(o)(T(ee)(I.value.style.layout.bars.right.color, I.value.style.layout.bars.gradient.shiftHue), 100 - I.value.style.layout.bars.gradient.intensity),
969
971
  1
970
972
  ], [
971
973
  "100%",
@@ -973,11 +975,11 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
973
975
  1
974
976
  ]]
975
977
  }, null, 8, ["id", "stops"])]),
976
- (x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [
978
+ (b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", null, [
977
979
  h("rect", {
978
980
  x: e.left.x,
979
981
  y: e.left.y,
980
- width: E(c)(e.left.width <= 0 ? 1e-4 : e.left.width),
982
+ width: T(c)(e.left.width <= 0 ? 1e-4 : e.left.width),
981
983
  height: e.left.height <= 0 ? 1e-4 : e.left.height,
982
984
  fill: I.value.style.layout.bars.gradient.underlayer,
983
985
  rx: I.value.style.layout.bars.borderRadius
@@ -1008,67 +1010,67 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1008
1010
  }, null, 8, qe)
1009
1011
  ]))), 256)),
1010
1012
  h("g", null, [
1011
- I.value.style.layout.dataLabels.sideTitles.show ? (x(), m("g", Je, [h("text", {
1012
- x: W.value.left,
1013
+ I.value.style.layout.dataLabels.sideTitles.show ? (b(), m("g", Je, [h("text", {
1014
+ x: G.value.left,
1013
1015
  y: I.value.style.layout.dataLabels.sideTitles.fontSize,
1014
1016
  fill: I.value.style.layout.dataLabels.sideTitles.useSideColor ? I.value.style.layout.bars.left.color : I.value.style.layout.dataLabels.sideTitles.color,
1015
1017
  "font-size": I.value.style.layout.dataLabels.sideTitles.fontSize,
1016
1018
  "text-anchor": "start",
1017
1019
  "font-weight": I.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
1018
- }, T(I.value.translations.female), 9, Ye), h("text", {
1019
- x: W.value.right,
1020
+ }, w(I.value.translations.female), 9, Ye), h("text", {
1021
+ x: G.value.right,
1020
1022
  y: I.value.style.layout.dataLabels.sideTitles.fontSize,
1021
1023
  fill: I.value.style.layout.dataLabels.sideTitles.useSideColor ? I.value.style.layout.bars.right.color : I.value.style.layout.dataLabels.sideTitles.color,
1022
1024
  "font-size": I.value.style.layout.dataLabels.sideTitles.fontSize,
1023
1025
  "text-anchor": "end",
1024
1026
  "font-weight": I.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
1025
- }, T(I.value.translations.male), 9, Xe)])) : p("", !0),
1026
- I.value.style.layout.dataLabels.yAxis.show ? (x(), m("g", Ze, [(x(!0), m(u, null, C($t.value, (e, t) => (x(), m(u, null, [t % I.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (x(), m("text", {
1027
+ }, w(I.value.translations.male), 9, Xe)])) : p("", !0),
1028
+ I.value.style.layout.dataLabels.yAxis.show ? (b(), m("g", Ze, [(b(!0), m(u, null, S(Qt.value, (e, t) => (b(), m(u, null, [t % I.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (b(), m("text", {
1027
1029
  key: 0,
1028
- x: W.value.centerX,
1029
- y: W.value.top + W.value.height / q.value * t + I.value.style.layout.dataLabels.yAxis.fontSize / 3,
1030
+ x: G.value.centerX,
1031
+ y: G.value.top + G.value.height / J.value * t + I.value.style.layout.dataLabels.yAxis.fontSize / 3,
1030
1032
  "text-anchor": "middle",
1031
1033
  "font-size": I.value.style.layout.dataLabels.yAxis.fontSize,
1032
1034
  fill: I.value.style.layout.dataLabels.yAxis.color,
1033
1035
  "font-weight": I.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1034
- }, T(E(l)(I.value.style.layout.dataLabels.yAxis.formatter, e, E(s)({ v: e }), {
1036
+ }, w(T(l)(I.value.style.layout.dataLabels.yAxis.formatter, e, T(s)({ v: e }), {
1035
1037
  datapoint: e,
1036
1038
  seriesIndex: t
1037
1039
  })), 9, Qe)) : p("", !0)], 64))), 256))])) : p("", !0),
1038
- I.value.style.layout.dataLabels.xAxis.show ? (x(), m("g", $e, [
1039
- I.value.style.layout.grid.show ? (x(), m("g", et, [h("line", {
1040
- x1: G.value.right[0].x,
1041
- x2: G.value.right.at(-1).x,
1042
- y1: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1043
- y2: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1040
+ I.value.style.layout.dataLabels.xAxis.show ? (b(), m("g", $e, [
1041
+ I.value.style.layout.grid.show ? (b(), m("g", et, [h("line", {
1042
+ x1: K.value.right[0].x,
1043
+ x2: K.value.right.at(-1).x,
1044
+ y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1045
+ y2: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1044
1046
  stroke: I.value.style.layout.grid.stroke,
1045
1047
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1046
1048
  "stroke-linecap": "round"
1047
1049
  }, null, 8, tt), h("line", {
1048
- x1: G.value.left[0].x,
1049
- x2: G.value.left.at(-1).x,
1050
- y1: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1051
- y2: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1050
+ x1: K.value.left[0].x,
1051
+ x2: K.value.left.at(-1).x,
1052
+ y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1053
+ y2: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1052
1054
  stroke: I.value.style.layout.grid.stroke,
1053
1055
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1054
1056
  "stroke-linecap": "round"
1055
1057
  }, null, 8, nt)])) : p("", !0),
1056
- (x(!0), m(u, null, C(G.value.right, (e, t) => (x(), m("g", null, [I.value.style.layout.grid.show ? (x(), m("line", {
1058
+ (b(!0), m(u, null, S(K.value.right, (e, t) => (b(), m("g", null, [I.value.style.layout.grid.show ? (b(), m("line", {
1057
1059
  key: 0,
1058
1060
  x1: e.x,
1059
1061
  x2: e.x,
1060
- y1: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1061
- y2: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
1062
+ y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1063
+ y2: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
1062
1064
  stroke: I.value.style.layout.grid.stroke,
1063
1065
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1064
1066
  "stroke-linecap": "round"
1065
1067
  }, null, 8, rt)) : p("", !0)]))), 256)),
1066
- (x(!0), m(u, null, C(G.value.left, (e, t) => (x(), m("g", null, [I.value.style.layout.grid.show ? (x(), m("line", {
1068
+ (b(!0), m(u, null, S(K.value.left, (e, t) => (b(), m("g", null, [I.value.style.layout.grid.show ? (b(), m("line", {
1067
1069
  key: 0,
1068
1070
  x1: e.x,
1069
1071
  x2: e.x,
1070
- y1: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1071
- y2: W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
1072
+ y1: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2,
1073
+ y2: G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2 + 4,
1072
1074
  stroke: I.value.style.layout.grid.stroke,
1073
1075
  "stroke-width": I.value.style.layout.grid.strokeWidth,
1074
1076
  "stroke-linecap": "round"
@@ -1076,68 +1078,68 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1076
1078
  h("g", {
1077
1079
  ref_key: "xAxisLabels",
1078
1080
  ref: jt
1079
- }, [(x(!0), m(u, null, C(G.value.right, (e, t) => (x(), m("text", {
1081
+ }, [(b(!0), m(u, null, S(K.value.right, (e, t) => (b(), m("text", {
1080
1082
  class: "vue-ui-age-pyramid-x-axis-label",
1081
1083
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1082
1084
  fill: I.value.style.layout.dataLabels.xAxis.color,
1083
1085
  "text-anchor": I.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : I.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
1084
1086
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1085
- transform: `translate(${e.x}, ${W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1086
- }, T(E(l)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, E(s)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1087
+ transform: `translate(${e.x}, ${G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1088
+ }, w(T(l)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, T(s)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1087
1089
  datapoint: e,
1088
1090
  seriesIndex: t
1089
- })), 9, at))), 256)), (x(!0), m(u, null, C(G.value.left, (e, t) => (x(), m("text", {
1091
+ })), 9, at))), 256)), (b(!0), m(u, null, S(K.value.left, (e, t) => (b(), m("text", {
1090
1092
  class: "vue-ui-age-pyramid-x-axis-label",
1091
1093
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1092
1094
  fill: I.value.style.layout.dataLabels.xAxis.color,
1093
1095
  "text-anchor": I.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : I.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
1094
1096
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1095
- transform: `translate(${e.x}, ${W.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1096
- }, T(E(l)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, E(s)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1097
+ transform: `translate(${e.x}, ${G.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
1098
+ }, w(T(l)(I.value.style.layout.dataLabels.xAxis.formatter, e.value / I.value.style.layout.dataLabels.xAxis.scale, T(s)({ v: e.value / I.value.style.layout.dataLabels.xAxis.scale }), {
1097
1099
  datapoint: e,
1098
1100
  seriesIndex: t
1099
1101
  })), 9, ot))), 256))], 512),
1100
1102
  h("text", {
1101
- x: W.value.right,
1102
- y: H.value.height,
1103
+ x: G.value.right,
1104
+ y: U.value.height,
1103
1105
  "text-anchor": "end",
1104
1106
  "font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
1105
1107
  fill: I.value.style.layout.dataLabels.xAxis.color,
1106
1108
  "font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
1107
- }, T(I.value.style.layout.dataLabels.xAxis.translation), 9, st)
1109
+ }, w(I.value.style.layout.dataLabels.xAxis.translation), 9, st)
1108
1110
  ])) : p("", !0)
1109
1111
  ]),
1110
- (x(!0), m(u, null, C(e.dataset, (e, t) => (x(), m("g", null, [h("rect", {
1111
- x: W.value.left,
1112
- y: W.value.top + W.value.height / q.value * t - I.value.style.layout.bars.gap / 2,
1113
- width: W.value.width <= 0 ? 1e-4 : W.value.width,
1114
- height: W.value.height / q.value <= 0 ? 1e-4 : W.value.height / q.value,
1115
- fill: j.value !== null && j.value === t ? E(r)(I.value.style.highlighter.color, I.value.style.highlighter.opacity) : "transparent",
1112
+ (b(!0), m(u, null, S(e.dataset, (e, t) => (b(), m("g", null, [h("rect", {
1113
+ x: G.value.left,
1114
+ y: G.value.top + G.value.height / J.value * t - I.value.style.layout.bars.gap / 2,
1115
+ width: G.value.width <= 0 ? 1e-4 : G.value.width,
1116
+ height: G.value.height / J.value <= 0 ? 1e-4 : G.value.height / J.value,
1117
+ fill: j.value !== null && j.value === t ? T(o)(I.value.style.highlighter.color, I.value.style.highlighter.opacity) : "transparent",
1116
1118
  onMouseover: (n) => sn(t, e, "pointer"),
1117
1119
  onMouseleave: (n) => an(t, e),
1118
1120
  onClick: (n) => rn(t, e)
1119
1121
  }, null, 40, ct)]))), 256)),
1120
- w(t.$slots, "svg", { svg: {
1121
- ...H.value,
1122
- drawingArea: W.value,
1123
- isPrintingImg: E(Gt) || E(Kt) || E(yn),
1124
- isPrintingSvg: E(bn)
1122
+ C(t.$slots, "svg", { svg: {
1123
+ ...U.value,
1124
+ drawingArea: G.value,
1125
+ isPrintingImg: T(Wt) || T(Gt) || T(yn),
1126
+ isPrintingSvg: T(bn)
1125
1127
  } }, void 0, !0)
1126
- ], 46, He)), t.$slots.hint ? (x(), m("div", lt, [w(t.$slots, "hint", y(v({
1128
+ ], 46, He)), t.$slots.hint ? (b(), m("div", lt, [C(t.$slots, "hint", y(v({
1127
1129
  hint: I.value.a11y.translations.keyboardNavigation,
1128
1130
  isVisible: Pt.value
1129
1131
  })), void 0, !0)])) : p("", !0)]),
1130
- t.$slots.watermark ? (x(), m("div", ut, [w(t.$slots, "watermark", y(v({ isPrinting: E(Gt) || E(Kt) || E(yn) || E(bn) })), void 0, !0)])) : p("", !0),
1131
- w(t.$slots, "legend", { legend: J.value }, void 0, !0),
1132
- t.$slots.source ? (x(), m("div", {
1132
+ t.$slots.watermark ? (b(), m("div", ut, [C(t.$slots, "watermark", y(v({ isPrinting: T(Wt) || T(Gt) || T(yn) || T(bn) })), void 0, !0)])) : p("", !0),
1133
+ C(t.$slots, "legend", { legend: Y.value }, void 0, !0),
1134
+ t.$slots.source ? (b(), m("div", {
1133
1135
  key: 6,
1134
1136
  ref_key: "source",
1135
1137
  ref: Dt,
1136
1138
  dir: "auto"
1137
- }, [w(t.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1138
- g(E(dt), {
1139
+ }, [C(t.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1140
+ g(T(dt), {
1139
1141
  teleportTo: I.value.style.tooltip.teleportTo,
1140
- show: V.value.showTooltip && A.value,
1142
+ show: H.value.showTooltip && A.value,
1141
1143
  backgroundColor: I.value.style.tooltip.backgroundColor,
1142
1144
  color: I.value.style.tooltip.color,
1143
1145
  borderRadius: I.value.style.tooltip.borderRadius,
@@ -1159,9 +1161,9 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1159
1161
  isA11yMode: F.value === "keyboard",
1160
1162
  a11yPosition: Nt.value
1161
1163
  }, {
1162
- "tooltip-before": D(() => [w(t.$slots, "tooltip-before", y(v({ ...Y.value })), void 0, !0)]),
1163
- tooltip: D(() => [w(t.$slots, "tooltip", y(v({ ...Y.value })), void 0, !0)]),
1164
- "tooltip-after": D(() => [w(t.$slots, "tooltip-after", y(v({ ...Y.value })), void 0, !0)]),
1164
+ "tooltip-before": D(() => [C(t.$slots, "tooltip-before", y(v({ ...tn.value })), void 0, !0)]),
1165
+ tooltip: D(() => [C(t.$slots, "tooltip", y(v({ ...tn.value })), void 0, !0)]),
1166
+ "tooltip-after": D(() => [C(t.$slots, "tooltip-after", y(v({ ...tn.value })), void 0, !0)]),
1165
1167
  _: 3
1166
1168
  }, 8, [
1167
1169
  "teleportTo",
@@ -1187,12 +1189,12 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1187
1189
  "isA11yMode",
1188
1190
  "a11yPosition"
1189
1191
  ]),
1190
- Ct.value && I.value.userOptions.buttons.table ? (x(), f(Ne($.value.component), Oe({ key: 7 }, $.value.props, {
1192
+ Ct.value && I.value.userOptions.buttons.table ? (b(), f(Pe($.value.component), Oe({ key: 7 }, $.value.props, {
1191
1193
  ref_key: "tableUnit",
1192
1194
  ref: N,
1193
1195
  onClose: gn
1194
1196
  }), Ee({
1195
- content: D(() => [(x(), f(E(mt), {
1197
+ content: D(() => [(b(), f(T(mt), {
1196
1198
  key: `table_${At.value}`,
1197
1199
  colNames: X.value.colNames,
1198
1200
  head: X.value.head,
@@ -1203,8 +1205,8 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1203
1205
  isCursorPointer: L.value,
1204
1206
  onClose: gn
1205
1207
  }, {
1206
- th: D(({ th: e }) => [De(T(e), 1)]),
1207
- td: D(({ td: e }) => [De(T(e), 1)]),
1208
+ th: D(({ th: e }) => [De(w(e), 1)]),
1209
+ td: D(({ td: e }) => [De(w(e), 1)]),
1208
1210
  _: 1
1209
1211
  }, 8, [
1210
1212
  "colNames",
@@ -1218,7 +1220,7 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1218
1220
  _: 2
1219
1221
  }, [I.value.table.useDialog ? {
1220
1222
  name: "title",
1221
- fn: D(() => [De(T($.value.title), 1)]),
1223
+ fn: D(() => [De(w($.value.title), 1)]),
1222
1224
  key: "0"
1223
1225
  } : void 0, I.value.table.useDialog ? {
1224
1226
  name: "actions",
@@ -1226,16 +1228,16 @@ var Re = /* @__PURE__ */ e({ default: () => dt }), ze = ["id"], Be = ["id"], Ve
1226
1228
  tabindex: "0",
1227
1229
  class: "vue-ui-user-options-button",
1228
1230
  onClick: n[0] ||= (e) => cn(I.value.userOptions.callbacks.csv),
1229
- style: b({ cursor: L.value ? "pointer" : "default" })
1230
- }, [g(E(ft), {
1231
+ style: je({ cursor: L.value ? "pointer" : "default" })
1232
+ }, [g(T(ft), {
1231
1233
  name: "fileCsv",
1232
1234
  stroke: $.value.props.color
1233
1235
  }, null, 8, ["stroke"])], 4)]),
1234
1236
  key: "1"
1235
1237
  } : void 0]), 1040)) : p("", !0),
1236
- w(t.$slots, "skeleton", {}, () => [E(It) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
1238
+ C(t.$slots, "skeleton", {}, () => [T(It) ? (b(), f(de, { key: 0 })) : p("", !0)], !0)
1237
1239
  ], 46, ze));
1238
1240
  }
1239
- }, [["__scopeId", "data-v-96895e9d"]]);
1241
+ }, [["__scopeId", "data-v-22312391"]]);
1240
1242
  //#endregion
1241
1243
  export { Re as n, dt as t };