vue-data-ui 2.3.60 → 2.3.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/{Arrow-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
  2. package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
  3. package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
  4. package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
  5. package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
  6. package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
  7. package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
  8. package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
  9. package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
  10. package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
  11. package/dist/Slicer-DoMAeSUY.cjs +1 -0
  12. package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
  13. package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
  14. package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
  15. package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
  16. package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
  17. package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
  18. package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
  21. package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
  22. package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
  23. package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
  24. package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
  25. package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +7 -7
  28. package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
  29. package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
  30. package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
  31. package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
  32. package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
  34. package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
  38. package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
  40. package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
  41. package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
  42. package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
  43. package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
  46. package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
  47. package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
  48. package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
  49. package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
  50. package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
  51. package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
  52. package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
  54. package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
  55. package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
  56. package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
  57. package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
  58. package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
  59. package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
  61. package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
  64. package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
  65. package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
  66. package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
  70. package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
  71. package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
  72. package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
  74. package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
  75. package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
  78. package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
  79. package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
  80. package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
  81. package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
  82. package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
  83. package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
  84. package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
  85. package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
  87. package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
  88. package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
  89. package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
  90. package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
  91. package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
  92. package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
  93. package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
  95. package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
  97. package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
  99. package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
  100. package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
  101. package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
  102. package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
  103. package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
  104. package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
  105. package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
  106. package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
  108. package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
  109. package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
  110. package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
  111. package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
  112. package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
  114. package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
  115. package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
  117. package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
  118. package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
  119. package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
  120. package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
  121. package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
  122. package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
  123. package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
  124. package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
  125. package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
  126. package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
  127. package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
  128. package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
  129. package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
  130. package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
  131. package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
  132. package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
  133. package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
  134. package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
  135. package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
  136. package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
  137. package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
  138. package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
  140. package/package.json +1 -1
  141. package/dist/Slicer-PPS43jOo.cjs +0 -1
  142. package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
  143. package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
  144. package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
  145. package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
  146. package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
  147. package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
  148. package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
  149. package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
  150. package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
  151. package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
  152. package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
  153. package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
  154. package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
  155. package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
  156. package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
  157. package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
  158. package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
  159. package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
  160. package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
  161. package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
  162. package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
  163. package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
@@ -1,18 +1,18 @@
1
- import { computed as p, ref as v, onMounted as he, openBlock as i, createElementBlock as r, normalizeClass as te, normalizeStyle as G, createVNode as B, createCommentVNode as y, createBlock as E, unref as d, createSlots as fe, withCtx as c, renderSlot as g, normalizeProps as O, guardReactiveProps as P, createElementVNode as n, Fragment as T, renderList as z, toDisplayString as m, createTextVNode as le, nextTick as ce } from "vue";
2
- import { u as ge, c as pe, t as be, o as xe, e as me, X as we, s as ae, v as W, i as w, f as k, w as ke, x as _e, q as $e, r as Ce } from "./index-CpHoINpJ.js";
3
- import { t as Te, u as Le } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ae } from "./Title-xP0rAF4q.js";
5
- import { u as Se, U as ze } from "./usePrinter-BHy-mfVg.js";
6
- import { _ as Ie } from "./Tooltip-DfBa_7Ur.js";
7
- import { D as Fe } from "./DataTable-1VV0us-8.js";
8
- import Me from "./vue-ui-skeleton-DuM6yey6.js";
9
- import Oe from "./vue-ui-accordion-BZloYo0L.js";
10
- import { u as oe } from "./useNestedProp-BOjw3Yqn.js";
11
- import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"], Be = ["stop-color"], Ee = ["id"], We = ["stop-color"], Xe = ["stop-color"], Ue = ["x", "y", "width", "height", "fill", "rx"], Ve = ["x", "y", "width", "height", "fill", "rx"], Ye = ["x", "y", "width", "height", "fill", "rx"], je = ["x", "y", "width", "height", "fill", "rx"], He = { key: 0 }, qe = ["x", "y", "fill", "font-size", "font-weight"], Je = ["x", "y", "fill", "font-size", "font-weight"], Ke = { key: 1 }, Qe = ["x", "y", "font-size", "fill", "font-weight"], Ze = { key: 2 }, et = { key: 0 }, tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ot = ["x", "y", "font-size", "fill", "font-weight"], st = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], it = ["x", "y", "font-size", "fill", "font-weight"], ut = ["x", "y", "font-size", "fill", "font-weight"], rt = ["x", "y", "width", "height", "fill", "onMouseover"], nt = {
1
+ import { computed as b, ref as y, onMounted as fe, openBlock as i, createElementBlock as r, normalizeClass as le, normalizeStyle as B, createVNode as E, createCommentVNode as h, createBlock as W, unref as d, createSlots as ce, withCtx as g, renderSlot as p, normalizeProps as P, guardReactiveProps as N, createElementVNode as n, Fragment as L, renderList as I, toDisplayString as w, createTextVNode as ae, nextTick as ge } from "vue";
2
+ import { u as pe, c as be, t as xe, o as me, e as we, s as v, X as ke, v as oe, w as X, i as k, f as _, x as _e, y as $e, q as Ce, r as Te } from "./index-BshV7sX1.js";
3
+ import { t as Le, u as Ae } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Se } from "./Title-fb3BzoXj.js";
5
+ import { u as ze, U as Ie } from "./usePrinter-Culo-aKo.js";
6
+ import { _ as Fe } from "./Tooltip-CBugtvWB.js";
7
+ import { D as Me } from "./DataTable-luIjNnne.js";
8
+ import Oe from "./vue-ui-skeleton-7qakoAGH.js";
9
+ import Pe from "./vue-ui-accordion-B6AxEnAr.js";
10
+ import { u as se } from "./useNestedProp-B235bkr5.js";
11
+ import { _ as Ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"], Ee = ["stop-color"], We = ["id"], Xe = ["stop-color"], Ue = ["stop-color"], Ve = ["x", "y", "width", "height", "fill", "rx"], Ye = ["x", "y", "width", "height", "fill", "rx"], je = ["x", "y", "width", "height", "fill", "rx"], He = ["x", "y", "width", "height", "fill", "rx"], qe = { key: 0 }, Je = ["x", "y", "fill", "font-size", "font-weight"], Ke = ["x", "y", "fill", "font-size", "font-weight"], Qe = { key: 1 }, Ze = ["x", "y", "font-size", "fill", "font-weight"], et = { key: 2 }, tt = { key: 0 }, lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], st = ["x", "y", "font-size", "fill", "font-weight"], it = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ut = ["x", "y", "font-size", "fill", "font-weight"], rt = ["x", "y", "font-size", "fill", "font-weight"], nt = ["x", "y", "width", "height", "fill", "onMouseover"], dt = {
13
13
  key: 3,
14
14
  class: "vue-data-ui-watermark"
15
- }, dt = {
15
+ }, vt = {
16
16
  __name: "vue-ui-age-pyramid",
17
17
  props: {
18
18
  config: {
@@ -28,52 +28,52 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
28
28
  }
29
29
  }
30
30
  },
31
- setup(X, { expose: se }) {
32
- const f = X, { vue_ui_age_pyramid: ie } = ge(), I = p(() => !!f.dataset && f.dataset.length), b = v(pe()), ue = v(null), N = v(!1), R = v(""), F = v(null), U = v(0), L = v(null), V = v(null), e = p(() => {
33
- const t = oe({
34
- userConfig: f.config,
35
- defaultConfig: ie
31
+ setup(U, { expose: ie }) {
32
+ const c = U, { vue_ui_age_pyramid: ue } = pe(), F = b(() => !!c.dataset && c.dataset.length), x = y(be()), re = y(null), R = y(!1), D = y(""), M = y(null), V = y(0), A = y(null), Y = y(null), e = b(() => {
33
+ const t = se({
34
+ userConfig: c.config,
35
+ defaultConfig: ue
36
36
  });
37
37
  return t.theme ? {
38
- ...oe({
39
- userConfig: be.vue_ui_age_pyramid[t.theme] || f.config,
38
+ ...se({
39
+ userConfig: xe.vue_ui_age_pyramid[t.theme] || c.config,
40
40
  defaultConfig: t
41
41
  })
42
42
  } : t;
43
- }), Y = v(null);
44
- he(() => {
45
- if (xe(f.dataset) && me({
43
+ }), j = y(null);
44
+ fe(() => {
45
+ if (me(c.dataset) && we({
46
46
  componentName: "VueUiAgePyramid",
47
47
  type: "dataset"
48
48
  }), e.value.responsive) {
49
- const t = Te(() => {
50
- const { width: s, height: l } = Le({
51
- chart: L.value,
52
- title: e.value.style.title.text ? V.value : null
49
+ const t = Le(() => {
50
+ const { width: s, height: l } = Ae({
51
+ chart: A.value,
52
+ title: e.value.style.title.text ? Y.value : null
53
53
  });
54
- h.value.width = s, h.value.height = l;
54
+ f.value.width = s, f.value.height = l;
55
55
  });
56
- Y.value = new ResizeObserver(t), Y.value.observe(L.value.parentNode);
56
+ j.value = new ResizeObserver(t), j.value.observe(A.value.parentNode);
57
57
  }
58
58
  });
59
- const { isPrinting: j, isImaging: H, generatePdf: q, generateImage: J } = Se({
60
- elementId: `vue-ui-age-pyramid_${b.value}`,
59
+ const { isPrinting: H, isImaging: q, generatePdf: J, generateImage: K } = ze({
60
+ elementId: `vue-ui-age-pyramid_${x.value}`,
61
61
  fileName: e.value.style.title.text || "vue-ui-age-pyramid"
62
- }), x = v({
62
+ }), m = y({
63
63
  showTable: e.value.table.show,
64
64
  showTooltip: e.value.style.tooltip.show
65
- }), h = v({
65
+ }), f = y({
66
66
  height: e.value.style.height,
67
67
  width: e.value.style.width
68
- }), o = p(() => {
69
- const t = h.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = h.value.width - e.value.style.layout.padding.right;
68
+ }), o = b(() => {
69
+ const t = f.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = f.value.width - e.value.style.layout.padding.right;
70
70
  return {
71
71
  top: e.value.style.layout.padding.top,
72
72
  left: s,
73
73
  right: l,
74
- bottom: h.value.height - e.value.style.layout.padding.bottom,
74
+ bottom: f.value.height - e.value.style.layout.padding.bottom,
75
75
  width: t,
76
- height: h.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
76
+ height: f.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
77
77
  centerX: e.value.style.layout.padding.left + t / 2,
78
78
  leftChart: {
79
79
  width: t / 2 - e.value.style.layout.centerSlit.width,
@@ -84,16 +84,16 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
84
84
  left: s + t / 2 + e.value.style.layout.centerSlit.width
85
85
  }
86
86
  };
87
- }), re = p(() => f.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), _ = p(() => {
88
- const t = ne(A.value / 5), s = [], l = [];
87
+ }), ne = b(() => c.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), $ = b(() => {
88
+ const t = de(S.value / 5), s = [], l = [];
89
89
  for (let a = 0; a <= 5; a += 1) {
90
- const u = t * a, ee = t * (a - 5);
90
+ const u = t * a, te = t * (a - 5);
91
91
  s.push({
92
92
  value: u,
93
- x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + u / A.value * o.value.leftChart.width
93
+ x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + u / S.value * o.value.leftChart.width
94
94
  }), l.push({
95
- value: Math.abs(ee),
96
- x: o.value.left + o.value.width / 2 + ee / A.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
95
+ value: Math.abs(te),
96
+ x: o.value.left + o.value.width / 2 + te / S.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
97
97
  });
98
98
  }
99
99
  return {
@@ -101,25 +101,25 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
101
101
  left: l
102
102
  };
103
103
  });
104
- function ne(t) {
104
+ function de(t) {
105
105
  if (t === 0) return 0;
106
106
  const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
107
107
  let a;
108
108
  return t < 0, a = Math.round(t / l) * l, a;
109
109
  }
110
- const A = p(() => Math.max(...f.dataset.flatMap((t) => t.slice(-2)))), $ = p(() => f.dataset.length), de = p(() => f.dataset.map((t) => ({
110
+ const S = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((s) => v(s))))), C = b(() => c.dataset.length), ve = b(() => c.dataset.map((t) => ({
111
111
  segment: t[0],
112
112
  age: t[1],
113
113
  left: {
114
114
  value: t[2],
115
- proportionToMax: t[2] / A.value
115
+ proportionToMax: t[2] / S.value
116
116
  },
117
117
  right: {
118
118
  value: t[3],
119
- proportionToMax: t[3] / A.value
119
+ proportionToMax: t[3] / S.value
120
120
  }
121
- }))), C = p(() => de.value.map((t, s) => {
122
- const l = o.value.top + o.value.height / $.value * s, a = o.value.height / $.value - e.value.style.layout.bars.gap;
121
+ }))), T = b(() => ve.value.map((t, s) => {
122
+ const l = o.value.top + o.value.height / C.value * s, a = o.value.height / C.value - e.value.style.layout.bars.gap;
123
123
  return {
124
124
  segment: t.segment,
125
125
  age: t.age,
@@ -128,7 +128,7 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
128
128
  y: l,
129
129
  color: e.value.style.layout.bars.left.color,
130
130
  x: o.value.leftChart.right - t.left.proportionToMax * o.value.leftChart.width,
131
- width: t.left.proportionToMax * o.value.leftChart.width,
131
+ width: v(t.left.proportionToMax * o.value.leftChart.width),
132
132
  height: a
133
133
  },
134
134
  right: {
@@ -136,20 +136,20 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
136
136
  y: l,
137
137
  color: e.value.style.layout.bars.right.color,
138
138
  x: o.value.rightChart.left,
139
- width: t.right.proportionToMax * o.value.rightChart.width,
139
+ width: v(t.right.proportionToMax * o.value.rightChart.width),
140
140
  height: a
141
141
  }
142
142
  };
143
- })), D = v(null);
144
- function ve(t, s) {
145
- F.value = t, D.value = {
143
+ })), G = y(null);
144
+ function ye(t, s) {
145
+ M.value = t, G.value = {
146
146
  datapoint: s,
147
147
  seriesIndex: t,
148
- series: C.value,
148
+ series: T.value,
149
149
  config: e.value
150
150
  };
151
151
  const l = e.value.style.tooltip.customFormat;
152
- if (ke(l) && _e(() => l({
152
+ if (_e(l) && $e(() => l({
153
153
  seriesIndex: t,
154
154
  datapoint: {
155
155
  segment: s[0],
@@ -157,10 +157,10 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
157
157
  left: s[2],
158
158
  right: s[3]
159
159
  },
160
- series: C.value,
160
+ series: T.value,
161
161
  config: e.value
162
162
  })))
163
- R.value = l({
163
+ D.value = l({
164
164
  seriesIndex: t,
165
165
  datapoint: {
166
166
  segment: s[0],
@@ -168,56 +168,56 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
168
168
  left: s[2],
169
169
  right: s[3]
170
170
  },
171
- series: C.value,
171
+ series: T.value,
172
172
  config: e.value
173
173
  });
174
174
  else {
175
175
  let a = "";
176
- const u = C.value[t];
177
- a += `<div><b>${u.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${w(
176
+ const u = T.value[t];
177
+ a += `<div><b>${u.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
178
178
  e.value.style.layout.dataLabels.yAxis.formatter,
179
- u.age,
180
- k({ v: u.age }),
179
+ v(u.age),
180
+ _({ v: v(u.age) }),
181
181
  { datapoint: s, seriesIndex: t }
182
- )}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${b.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${w(
182
+ )}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${k(
183
183
  e.value.style.layout.dataLabels.xAxis.formatter,
184
- u.left.value,
185
- k({ v: u.left.value }),
184
+ v(u.left.value),
185
+ _({ v: v(u.left.value) }),
186
186
  { datapoint: s, seriesIndex: t }
187
- )}</b></div></div>`, a += `<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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${b.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${w(
187
+ )}</b></div></div>`, a += `<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="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${k(
188
188
  e.value.style.layout.dataLabels.xAxis.formatter,
189
- u.right.value,
190
- k({ v: u.right.value }),
189
+ v(u.right.value),
190
+ _({ v: v(u.right.value) }),
191
191
  { datapoint: s, seriesIndex: t }
192
- )}</b></div></div>`, a += "</div>", a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${w(
192
+ )}</b></div></div>`, a += "</div>", a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${k(
193
193
  e.value.style.layout.dataLabels.xAxis.formatter,
194
- u.right.value + u.left.value,
195
- k({ v: u.right.value + u.left.value }),
194
+ v(u.right.value) + v(u.left.value),
195
+ _({ v: v(u.right.value) + v(u.left.value) }),
196
196
  { datapoint: s, seriesIndex: t }
197
- )}</b></div></div>`, a += "</div>", R.value = `<div>${a}</div>`;
197
+ )}</b></div></div>`, a += "</div>", D.value = `<div>${a}</div>`;
198
198
  }
199
- N.value = !0;
199
+ R.value = !0;
200
200
  }
201
- function K() {
202
- ce(() => {
203
- const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], s = f.dataset.map((u) => [
201
+ function Q() {
202
+ ge(() => {
203
+ const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], s = c.dataset.map((u) => [
204
204
  u[0],
205
205
  u[1],
206
206
  u[2],
207
207
  u[3],
208
208
  u[2] + u[3]
209
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = $e(l);
210
- Ce({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
209
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = Ce(l);
210
+ Te({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
211
211
  });
212
212
  }
213
- const M = p(() => {
213
+ const O = b(() => {
214
214
  const t = [
215
215
  e.value.translations.year,
216
216
  e.value.translations.age,
217
217
  e.value.translations.female,
218
218
  e.value.translations.male,
219
219
  e.value.translations.total
220
- ], s = f.dataset.map((a) => [
220
+ ], s = c.dataset.map((a) => [
221
221
  a[0],
222
222
  a[1],
223
223
  a[2].toLocaleString(),
@@ -237,36 +237,36 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
237
237
  breakpoint: e.value.table.responsiveBreakpoint
238
238
  };
239
239
  return { head: t, body: s, config: l, colNames: t };
240
- }), S = v(!1);
241
- function ye(t) {
242
- S.value = t, U.value += 1;
243
- }
244
- function Q() {
245
- x.value.showTable = !x.value.showTable;
240
+ }), z = y(!1);
241
+ function he(t) {
242
+ z.value = t, V.value += 1;
246
243
  }
247
244
  function Z() {
248
- x.value.showTooltip = !x.value.showTooltip;
245
+ m.value.showTable = !m.value.showTable;
249
246
  }
250
- return se({
251
- generatePdf: q,
252
- generateCsv: K,
253
- generateImage: J,
254
- toggleTable: Q,
255
- toggleTooltip: Z
247
+ function ee() {
248
+ m.value.showTooltip = !m.value.showTooltip;
249
+ }
250
+ return ie({
251
+ generatePdf: J,
252
+ generateCsv: Q,
253
+ generateImage: K,
254
+ toggleTable: Z,
255
+ toggleTooltip: ee
256
256
  }), (t, s) => (i(), r("div", {
257
- class: te(`vue-ui-age-pyramid ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
257
+ class: le(`vue-ui-age-pyramid ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
258
258
  ref_key: "agePyramid",
259
- ref: L,
260
- id: `vue-ui-age-pyramid_${b.value}`,
261
- style: G(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
259
+ ref: A,
260
+ id: `vue-ui-age-pyramid_${x.value}`,
261
+ style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
262
262
  }, [
263
263
  e.value.style.title.text ? (i(), r("div", {
264
264
  key: 0,
265
265
  ref_key: "chartTitle",
266
- ref: V,
267
- style: G(`width:100%;background:${e.value.style.backgroundColor}`)
266
+ ref: Y,
267
+ style: B(`width:100%;background:${e.value.style.backgroundColor}`)
268
268
  }, [
269
- B(Ae, {
269
+ E(Se, {
270
270
  config: {
271
271
  title: {
272
272
  cy: "pyramid-div-title",
@@ -278,86 +278,86 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
278
278
  }
279
279
  }
280
280
  }, null, 8, ["config"])
281
- ], 4)) : y("", !0),
282
- e.value.userOptions.show && I.value ? (i(), E(ze, {
281
+ ], 4)) : h("", !0),
282
+ e.value.userOptions.show && F.value ? (i(), W(Ie, {
283
283
  ref_key: "details",
284
- ref: ue,
285
- key: `user_options_${U.value}`,
284
+ ref: re,
285
+ key: `user_options_${V.value}`,
286
286
  backgroundColor: e.value.style.backgroundColor,
287
287
  color: e.value.style.color,
288
- isImaging: d(H),
289
- isPrinting: d(j),
290
- uid: b.value,
288
+ isImaging: d(q),
289
+ isPrinting: d(H),
290
+ uid: x.value,
291
291
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
292
292
  hasPdf: e.value.userOptions.buttons.pdf,
293
293
  hasXls: e.value.userOptions.buttons.csv,
294
294
  hasImg: e.value.userOptions.buttons.img,
295
295
  hasTable: e.value.userOptions.buttons.table,
296
296
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
297
- isFullscreen: S.value,
298
- isTooltip: x.value.showTooltip,
297
+ isFullscreen: z.value,
298
+ isTooltip: m.value.showTooltip,
299
299
  titles: { ...e.value.userOptions.buttonTitles },
300
- chartElement: L.value,
301
- onToggleFullscreen: ye,
302
- onGeneratePdf: d(q),
303
- onGenerateCsv: K,
304
- onGenerateImage: d(J),
305
- onToggleTable: Q,
306
- onToggleTooltip: Z
307
- }, fe({ _: 2 }, [
300
+ chartElement: A.value,
301
+ onToggleFullscreen: he,
302
+ onGeneratePdf: d(J),
303
+ onGenerateCsv: Q,
304
+ onGenerateImage: d(K),
305
+ onToggleTable: Z,
306
+ onToggleTooltip: ee
307
+ }, ce({ _: 2 }, [
308
308
  t.$slots.optionTooltip ? {
309
309
  name: "optionTooltip",
310
- fn: c(() => [
311
- g(t.$slots, "optionTooltip", {}, void 0, !0)
310
+ fn: g(() => [
311
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
312
312
  ]),
313
313
  key: "0"
314
314
  } : void 0,
315
315
  t.$slots.optionPdf ? {
316
316
  name: "optionPdf",
317
- fn: c(() => [
318
- g(t.$slots, "optionPdf", {}, void 0, !0)
317
+ fn: g(() => [
318
+ p(t.$slots, "optionPdf", {}, void 0, !0)
319
319
  ]),
320
320
  key: "1"
321
321
  } : void 0,
322
322
  t.$slots.optionCsv ? {
323
323
  name: "optionCsv",
324
- fn: c(() => [
325
- g(t.$slots, "optionCsv", {}, void 0, !0)
324
+ fn: g(() => [
325
+ p(t.$slots, "optionCsv", {}, void 0, !0)
326
326
  ]),
327
327
  key: "2"
328
328
  } : void 0,
329
329
  t.$slots.optionImg ? {
330
330
  name: "optionImg",
331
- fn: c(() => [
332
- g(t.$slots, "optionImg", {}, void 0, !0)
331
+ fn: g(() => [
332
+ p(t.$slots, "optionImg", {}, void 0, !0)
333
333
  ]),
334
334
  key: "3"
335
335
  } : void 0,
336
336
  t.$slots.optionTable ? {
337
337
  name: "optionTable",
338
- fn: c(() => [
339
- g(t.$slots, "optionTable", {}, void 0, !0)
338
+ fn: g(() => [
339
+ p(t.$slots, "optionTable", {}, void 0, !0)
340
340
  ]),
341
341
  key: "4"
342
342
  } : void 0,
343
343
  t.$slots.optionFullscreen ? {
344
344
  name: "optionFullscreen",
345
- fn: c(({ toggleFullscreen: l, isFullscreen: a }) => [
346
- g(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
345
+ fn: g(({ toggleFullscreen: l, isFullscreen: a }) => [
346
+ p(t.$slots, "optionFullscreen", P(N({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
347
347
  ]),
348
348
  key: "5"
349
349
  } : void 0
350
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
351
- I.value ? (i(), r("svg", {
350
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
351
+ F.value ? (i(), r("svg", {
352
352
  key: 2,
353
- xmlns: d(we),
354
- class: te({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
355
- viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
356
- style: G(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
353
+ xmlns: d(ke),
354
+ class: le({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
355
+ viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
356
+ style: B(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
357
357
  }, [
358
358
  n("defs", null, [
359
359
  n("linearGradient", {
360
- id: `age_pyramid_left_${b.value}`,
360
+ id: `age_pyramid_left_${x.value}`,
361
361
  x1: "0%",
362
362
  y1: "0%",
363
363
  x2: "100%",
@@ -366,14 +366,14 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
366
366
  n("stop", {
367
367
  offset: "0%",
368
368
  "stop-color": e.value.style.layout.bars.left.color
369
- }, null, 8, Ge),
369
+ }, null, 8, Be),
370
370
  n("stop", {
371
371
  offset: "100%",
372
- "stop-color": `${d(ae)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
373
- }, null, 8, Be)
374
- ], 8, De),
372
+ "stop-color": `${d(oe)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue)}${d(X)[100 - e.value.style.layout.bars.gradient.intensity]}`
373
+ }, null, 8, Ee)
374
+ ], 8, Ge),
375
375
  n("linearGradient", {
376
- id: `age_pyramid_right_${b.value}`,
376
+ id: `age_pyramid_right_${x.value}`,
377
377
  x1: "0%",
378
378
  y1: "0%",
379
379
  x2: "100%",
@@ -381,31 +381,31 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
381
381
  }, [
382
382
  n("stop", {
383
383
  offset: "0%",
384
- "stop-color": `${d(ae)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
385
- }, null, 8, We),
384
+ "stop-color": `${d(oe)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue)}${d(X)[100 - e.value.style.layout.bars.gradient.intensity]}`
385
+ }, null, 8, Xe),
386
386
  n("stop", {
387
387
  offset: "100%",
388
388
  "stop-color": e.value.style.layout.bars.right.color
389
- }, null, 8, Xe)
390
- ], 8, Ee)
389
+ }, null, 8, Ue)
390
+ ], 8, We)
391
391
  ]),
392
- (i(!0), r(T, null, z(C.value, (l, a) => (i(), r("g", null, [
392
+ (i(!0), r(L, null, I(T.value, (l, a) => (i(), r("g", null, [
393
393
  n("rect", {
394
394
  x: l.left.x,
395
395
  y: l.left.y,
396
- width: l.left.width <= 0 ? 1e-4 : l.left.width,
396
+ width: d(v)(l.left.width <= 0 ? 1e-4 : l.left.width),
397
397
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
398
398
  fill: e.value.style.layout.bars.gradient.underlayer,
399
399
  rx: e.value.style.layout.bars.borderRadius
400
- }, null, 8, Ue),
400
+ }, null, 8, Ve),
401
401
  n("rect", {
402
402
  x: l.left.x,
403
403
  y: l.left.y,
404
404
  width: l.left.width <= 0 ? 1e-4 : l.left.width,
405
405
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
406
- fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${b.value})` : l.left.color,
406
+ fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : l.left.color,
407
407
  rx: e.value.style.layout.bars.borderRadius
408
- }, null, 8, Ve),
408
+ }, null, 8, Ye),
409
409
  n("rect", {
410
410
  x: l.right.x,
411
411
  y: l.right.y,
@@ -413,18 +413,18 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
413
413
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
414
414
  fill: e.value.style.layout.bars.gradient.underlayer,
415
415
  rx: e.value.style.layout.bars.borderRadius
416
- }, null, 8, Ye),
416
+ }, null, 8, je),
417
417
  n("rect", {
418
418
  x: l.right.x,
419
419
  y: l.right.y,
420
420
  width: l.right.width <= 0 ? 1e-4 : l.right.width,
421
421
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
422
- fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${b.value})` : l.right.color,
422
+ fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : l.right.color,
423
423
  rx: e.value.style.layout.bars.borderRadius
424
- }, null, 8, je)
424
+ }, null, 8, He)
425
425
  ]))), 256)),
426
426
  n("g", null, [
427
- e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", He, [
427
+ e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", qe, [
428
428
  n("text", {
429
429
  x: o.value.left,
430
430
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
@@ -432,7 +432,7 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
432
432
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
433
433
  "text-anchor": "start",
434
434
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
435
- }, m(e.value.translations.female), 9, qe),
435
+ }, w(e.value.translations.female), 9, Je),
436
436
  n("text", {
437
437
  x: o.value.right,
438
438
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
@@ -440,48 +440,48 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
440
440
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
441
441
  "text-anchor": "end",
442
442
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
443
- }, m(e.value.translations.male), 9, Je)
444
- ])) : y("", !0),
445
- e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", Ke, [
446
- (i(!0), r(T, null, z(re.value, (l, a) => (i(), r(T, null, [
443
+ }, w(e.value.translations.male), 9, Ke)
444
+ ])) : h("", !0),
445
+ e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", Qe, [
446
+ (i(!0), r(L, null, I(ne.value, (l, a) => (i(), r(L, null, [
447
447
  a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
448
448
  key: 0,
449
449
  x: o.value.centerX,
450
- y: o.value.top + o.value.height / $.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
450
+ y: o.value.top + o.value.height / C.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
451
451
  "text-anchor": "middle",
452
452
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
453
453
  fill: e.value.style.layout.dataLabels.yAxis.color,
454
454
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
455
- }, m(d(w)(
455
+ }, w(d(k)(
456
456
  e.value.style.layout.dataLabels.yAxis.formatter,
457
457
  l,
458
- d(k)({ v: l }),
458
+ d(_)({ v: l }),
459
459
  { datapoint: l, seriesIndex: a }
460
- )), 9, Qe)) : y("", !0)
460
+ )), 9, Ze)) : h("", !0)
461
461
  ], 64))), 256))
462
- ])) : y("", !0),
463
- e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", Ze, [
464
- e.value.style.layout.grid.show ? (i(), r("g", et, [
462
+ ])) : h("", !0),
463
+ e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", et, [
464
+ e.value.style.layout.grid.show ? (i(), r("g", tt, [
465
465
  n("line", {
466
- x1: _.value.right[0].x,
467
- x2: _.value.right.at(-1).x,
466
+ x1: $.value.right[0].x,
467
+ x2: $.value.right.at(-1).x,
468
468
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
469
469
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
470
470
  stroke: e.value.style.layout.grid.stroke,
471
471
  "stroke-width": e.value.style.layout.grid.strokeWidth,
472
472
  "stroke-linecap": "round"
473
- }, null, 8, tt),
473
+ }, null, 8, lt),
474
474
  n("line", {
475
- x1: _.value.left[0].x,
476
- x2: _.value.left.at(-1).x,
475
+ x1: $.value.left[0].x,
476
+ x2: $.value.left.at(-1).x,
477
477
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
478
478
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
479
479
  stroke: e.value.style.layout.grid.stroke,
480
480
  "stroke-width": e.value.style.layout.grid.strokeWidth,
481
481
  "stroke-linecap": "round"
482
- }, null, 8, lt)
483
- ])) : y("", !0),
484
- (i(!0), r(T, null, z(_.value.right, (l, a) => (i(), r("g", null, [
482
+ }, null, 8, at)
483
+ ])) : h("", !0),
484
+ (i(!0), r(L, null, I($.value.right, (l, a) => (i(), r("g", null, [
485
485
  e.value.style.layout.grid.show ? (i(), r("line", {
486
486
  key: 0,
487
487
  x1: l.x,
@@ -491,7 +491,7 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
491
491
  stroke: e.value.style.layout.grid.stroke,
492
492
  "stroke-width": e.value.style.layout.grid.strokeWidth,
493
493
  "stroke-linecap": "round"
494
- }, null, 8, at)) : y("", !0),
494
+ }, null, 8, ot)) : h("", !0),
495
495
  n("text", {
496
496
  x: l.x,
497
497
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
@@ -499,16 +499,16 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
499
499
  fill: e.value.style.layout.dataLabels.xAxis.color,
500
500
  "text-anchor": "middle",
501
501
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
502
- }, m(d(w)(
502
+ }, w(d(k)(
503
503
  e.value.style.layout.dataLabels.xAxis.formatter,
504
504
  l.value / e.value.style.layout.dataLabels.xAxis.scale,
505
- d(k)({
505
+ d(_)({
506
506
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
507
507
  }),
508
508
  { datapoint: l, seriesIndex: a }
509
- )), 9, ot)
509
+ )), 9, st)
510
510
  ]))), 256)),
511
- (i(!0), r(T, null, z(_.value.left, (l, a) => (i(), r("g", null, [
511
+ (i(!0), r(L, null, I($.value.left, (l, a) => (i(), r("g", null, [
512
512
  e.value.style.layout.grid.show ? (i(), r("line", {
513
513
  key: 0,
514
514
  x1: l.x,
@@ -518,7 +518,7 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
518
518
  stroke: e.value.style.layout.grid.stroke,
519
519
  "stroke-width": e.value.style.layout.grid.strokeWidth,
520
520
  "stroke-linecap": "round"
521
- }, null, 8, st)) : y("", !0),
521
+ }, null, 8, it)) : h("", !0),
522
522
  n("text", {
523
523
  x: l.x,
524
524
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
@@ -526,44 +526,44 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
526
526
  fill: e.value.style.layout.dataLabels.xAxis.color,
527
527
  "text-anchor": "middle",
528
528
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
529
- }, m(d(w)(
529
+ }, w(d(k)(
530
530
  e.value.style.layout.dataLabels.xAxis.formatter,
531
531
  l.value / e.value.style.layout.dataLabels.xAxis.scale,
532
- d(k)({
532
+ d(_)({
533
533
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
534
534
  }),
535
535
  { datapoint: l, seriesIndex: a }
536
- )), 9, it)
536
+ )), 9, ut)
537
537
  ]))), 256)),
538
538
  n("text", {
539
539
  x: o.value.right,
540
- y: h.value.height,
540
+ y: f.value.height,
541
541
  "text-anchor": "end",
542
542
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
543
543
  fill: e.value.style.layout.dataLabels.xAxis.color,
544
544
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
545
- }, m(e.value.style.layout.dataLabels.xAxis.translation), 9, ut)
546
- ])) : y("", !0)
545
+ }, w(e.value.style.layout.dataLabels.xAxis.translation), 9, rt)
546
+ ])) : h("", !0)
547
547
  ]),
548
- (i(!0), r(T, null, z(X.dataset, (l, a) => (i(), r("g", null, [
548
+ (i(!0), r(L, null, I(U.dataset, (l, a) => (i(), r("g", null, [
549
549
  n("rect", {
550
550
  x: o.value.left,
551
- y: o.value.top + o.value.height / $.value * a - e.value.style.layout.bars.gap / 2,
551
+ y: o.value.top + o.value.height / C.value * a - e.value.style.layout.bars.gap / 2,
552
552
  width: o.value.width <= 0 ? 1e-4 : o.value.width,
553
- height: o.value.height / $.value <= 0 ? 1e-4 : o.value.height / $.value,
554
- fill: F.value !== null && F.value === a ? `${e.value.style.highlighter.color}${d(W)[e.value.style.highlighter.opacity]}` : "transparent",
555
- onMouseover: (u) => ve(a, l),
553
+ height: o.value.height / C.value <= 0 ? 1e-4 : o.value.height / C.value,
554
+ fill: M.value !== null && M.value === a ? `${e.value.style.highlighter.color}${d(X)[e.value.style.highlighter.opacity]}` : "transparent",
555
+ onMouseover: (u) => ye(a, l),
556
556
  onMouseleave: s[0] || (s[0] = (u) => {
557
- F.value = null, N.value = !1;
557
+ M.value = null, R.value = !1;
558
558
  })
559
- }, null, 40, rt)
559
+ }, null, 40, nt)
560
560
  ]))), 256)),
561
- g(t.$slots, "svg", { svg: h.value }, void 0, !0)
562
- ], 14, Re)) : y("", !0),
563
- t.$slots.watermark ? (i(), r("div", nt, [
564
- g(t.$slots, "watermark", O(P({ isPrinting: d(j) || d(H) })), void 0, !0)
565
- ])) : y("", !0),
566
- I.value ? y("", !0) : (i(), E(Me, {
561
+ p(t.$slots, "svg", { svg: f.value }, void 0, !0)
562
+ ], 14, De)) : h("", !0),
563
+ t.$slots.watermark ? (i(), r("div", dt, [
564
+ p(t.$slots, "watermark", P(N({ isPrinting: d(H) || d(q) })), void 0, !0)
565
+ ])) : h("", !0),
566
+ F.value ? h("", !0) : (i(), W(Oe, {
567
567
  key: 4,
568
568
  config: {
569
569
  type: "pyramid",
@@ -575,9 +575,9 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
575
575
  }
576
576
  }
577
577
  }, null, 8, ["config"])),
578
- g(t.$slots, "legend", { legend: C.value }, void 0, !0),
579
- B(Ie, {
580
- show: x.value.showTooltip && N.value,
578
+ p(t.$slots, "legend", { legend: T.value }, void 0, !0),
579
+ E(Fe, {
580
+ show: m.value.showTooltip && R.value,
581
581
  backgroundColor: e.value.style.tooltip.backgroundColor,
582
582
  color: e.value.style.tooltip.color,
583
583
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -587,23 +587,23 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
587
587
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
588
588
  position: e.value.style.tooltip.position,
589
589
  offsetY: e.value.style.tooltip.offsetY,
590
- parent: L.value,
591
- content: R.value,
590
+ parent: A.value,
591
+ content: D.value,
592
592
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
593
593
  }, {
594
- "tooltip-before": c(() => [
595
- g(t.$slots, "tooltip-before", O(P({ ...D.value })), void 0, !0)
594
+ "tooltip-before": g(() => [
595
+ p(t.$slots, "tooltip-before", P(N({ ...G.value })), void 0, !0)
596
596
  ]),
597
- "tooltip-after": c(() => [
598
- g(t.$slots, "tooltip-after", O(P({ ...D.value })), void 0, !0)
597
+ "tooltip-after": g(() => [
598
+ p(t.$slots, "tooltip-after", P(N({ ...G.value })), void 0, !0)
599
599
  ]),
600
600
  _: 3
601
601
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
602
- I.value ? (i(), E(Oe, {
602
+ F.value ? (i(), W(Pe, {
603
603
  key: 5,
604
604
  hideDetails: "",
605
605
  config: {
606
- open: x.value.showTable,
606
+ open: m.value.showTable,
607
607
  maxHeight: 1e4,
608
608
  body: {
609
609
  backgroundColor: e.value.style.backgroundColor,
@@ -615,29 +615,29 @@ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"],
615
615
  }
616
616
  }
617
617
  }, {
618
- content: c(() => [
619
- B(Fe, {
620
- colNames: M.value.colNames,
621
- head: M.value.head,
622
- body: M.value.body,
623
- config: M.value.config,
618
+ content: g(() => [
619
+ E(Me, {
620
+ colNames: O.value.colNames,
621
+ head: O.value.head,
622
+ body: O.value.body,
623
+ config: O.value.config,
624
624
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
625
- onClose: s[1] || (s[1] = (l) => x.value.showTable = !1)
625
+ onClose: s[1] || (s[1] = (l) => m.value.showTable = !1)
626
626
  }, {
627
- th: c(({ th: l }) => [
628
- le(m(l), 1)
627
+ th: g(({ th: l }) => [
628
+ ae(w(l), 1)
629
629
  ]),
630
- td: c(({ td: l }) => [
631
- le(m(l), 1)
630
+ td: g(({ td: l }) => [
631
+ ae(w(l), 1)
632
632
  ]),
633
633
  _: 1
634
634
  }, 8, ["colNames", "head", "body", "config", "title"])
635
635
  ]),
636
636
  _: 1
637
- }, 8, ["config"])) : y("", !0)
638
- ], 14, Ne));
637
+ }, 8, ["config"])) : h("", !0)
638
+ ], 14, Re));
639
639
  }
640
- }, kt = /* @__PURE__ */ Pe(dt, [["__scopeId", "data-v-2386706e"]]);
640
+ }, _t = /* @__PURE__ */ Ne(vt, [["__scopeId", "data-v-4660f4e6"]]);
641
641
  export {
642
- kt as default
642
+ _t as default
643
643
  };