vue-data-ui 2.3.74 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,18 +1,18 @@
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-C8SH0f2u.js";
3
- import { t as Le, u as Ae } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Se } from "./Title-DZjnxQdN.js";
5
- import { u as ze, U as Ie } from "./usePrinter-Dj50NAxo.js";
6
- import { _ as Fe } from "./Tooltip--kgFEVZs.js";
7
- import { D as Me } from "./DataTable-CKdV-L0e.js";
8
- import Oe from "./vue-ui-skeleton-B4eWLjH3.js";
9
- import Pe from "./vue-ui-accordion-YHleIgkV.js";
10
- import { u as se } from "./useNestedProp-lS_T5lM3.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 = {
1
+ import { computed as b, ref as v, watch as pe, onMounted as be, openBlock as i, createElementBlock as r, normalizeClass as se, normalizeStyle as E, createBlock as I, createCommentVNode as h, unref as d, createSlots as xe, withCtx as g, renderSlot as p, normalizeProps as N, guardReactiveProps as R, createElementVNode as n, Fragment as L, renderList as F, toDisplayString as w, createVNode as me, createTextVNode as ie, nextTick as we } from "vue";
2
+ import { u as ke, c as _e, t as Ce, o as $e, e as Te, s as y, X as Le, v as ue, w as W, i as k, f as _, x as Ae, y as Se, q as ze, r as Ie } from "./index-Cm4Iry5c.js";
3
+ import { t as Fe, u as Me } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Oe } from "./Title-C26I_HC3.js";
5
+ import { u as Pe, U as Ne } from "./usePrinter-B8RnF8_q.js";
6
+ import { _ as Re } from "./Tooltip-CH8GmDCG.js";
7
+ import { D as De } from "./DataTable-CQANRZju.js";
8
+ import Ge from "./vue-ui-skeleton-C1oUnz7R.js";
9
+ import Be from "./vue-ui-accordion-Cb6XBCbu.js";
10
+ import { u as re } from "./useNestedProp-CurQIHTa.js";
11
+ import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const We = ["id"], Xe = ["xmlns", "viewBox"], Ue = ["id"], Ve = ["stop-color"], Ye = ["stop-color"], je = ["id"], He = ["stop-color"], qe = ["stop-color"], Je = ["x", "y", "width", "height", "fill", "rx"], Ke = ["x", "y", "width", "height", "fill", "rx"], Qe = ["x", "y", "width", "height", "fill", "rx"], Ze = ["x", "y", "width", "height", "fill", "rx"], et = { key: 0 }, tt = ["x", "y", "fill", "font-size", "font-weight"], lt = ["x", "y", "fill", "font-size", "font-weight"], at = { key: 1 }, ot = ["x", "y", "font-size", "fill", "font-weight"], st = { key: 2 }, it = { key: 0 }, ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dt = ["x", "y", "font-size", "fill", "font-weight"], vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], yt = ["x", "y", "font-size", "fill", "font-weight"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "width", "height", "fill", "onMouseover"], ct = {
13
13
  key: 3,
14
14
  class: "vue-data-ui-watermark"
15
- }, vt = {
15
+ }, gt = {
16
16
  __name: "vue-ui-age-pyramid",
17
17
  props: {
18
18
  config: {
@@ -28,52 +28,63 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
28
28
  }
29
29
  }
30
30
  },
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
31
+ setup(X, { expose: ne }) {
32
+ const f = X, { vue_ui_age_pyramid: de } = ke(), M = b(() => !!f.dataset && f.dataset.length), x = v(_e()), ve = v(null), D = v(!1), G = v(""), O = v(null), U = v(0), A = v(null), V = v(null), Y = v(0), j = v(0), e = b({
33
+ get: () => H(),
34
+ set: (t) => t
35
+ });
36
+ function H() {
37
+ const t = re({
38
+ userConfig: f.config,
39
+ defaultConfig: de
36
40
  });
37
41
  return t.theme ? {
38
- ...se({
39
- userConfig: xe.vue_ui_age_pyramid[t.theme] || c.config,
42
+ ...re({
43
+ userConfig: Ce.vue_ui_age_pyramid[t.theme] || f.config,
40
44
  defaultConfig: t
41
45
  })
42
46
  } : t;
43
- }), j = y(null);
44
- fe(() => {
45
- if (me(c.dataset) && we({
47
+ }
48
+ pe(() => f.config, (t) => {
49
+ e.value = H(), J(), Y.value += 1, j.value += 1;
50
+ }, { deep: !0 });
51
+ const q = v(null);
52
+ be(() => {
53
+ J();
54
+ });
55
+ function J() {
56
+ if ($e(f.dataset) && Te({
46
57
  componentName: "VueUiAgePyramid",
47
58
  type: "dataset"
48
59
  }), e.value.responsive) {
49
- const t = Le(() => {
50
- const { width: s, height: l } = Ae({
60
+ const t = Fe(() => {
61
+ const { width: s, height: l } = Me({
51
62
  chart: A.value,
52
- title: e.value.style.title.text ? Y.value : null
63
+ title: e.value.style.title.text ? V.value : null
53
64
  });
54
- f.value.width = s, f.value.height = l;
65
+ c.value.width = s, c.value.height = l;
55
66
  });
56
- j.value = new ResizeObserver(t), j.value.observe(A.value.parentNode);
67
+ q.value = new ResizeObserver(t), q.value.observe(A.value.parentNode);
57
68
  }
58
- });
59
- const { isPrinting: H, isImaging: q, generatePdf: J, generateImage: K } = ze({
69
+ }
70
+ const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } = Pe({
60
71
  elementId: `vue-ui-age-pyramid_${x.value}`,
61
72
  fileName: e.value.style.title.text || "vue-ui-age-pyramid"
62
- }), m = y({
73
+ }), m = v({
63
74
  showTable: e.value.table.show,
64
75
  showTooltip: e.value.style.tooltip.show
65
- }), f = y({
76
+ }), c = v({
66
77
  height: e.value.style.height,
67
78
  width: e.value.style.width
68
79
  }), 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;
80
+ const t = c.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = c.value.width - e.value.style.layout.padding.right;
70
81
  return {
71
82
  top: e.value.style.layout.padding.top,
72
83
  left: s,
73
84
  right: l,
74
- bottom: f.value.height - e.value.style.layout.padding.bottom,
85
+ bottom: c.value.height - e.value.style.layout.padding.bottom,
75
86
  width: t,
76
- height: f.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
87
+ height: c.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
77
88
  centerX: e.value.style.layout.padding.left + t / 2,
78
89
  leftChart: {
79
90
  width: t / 2 - e.value.style.layout.centerSlit.width,
@@ -84,16 +95,16 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
84
95
  left: s + t / 2 + e.value.style.layout.centerSlit.width
85
96
  }
86
97
  };
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 = [];
98
+ }), ye = b(() => f.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), C = b(() => {
99
+ const t = he(S.value / 5), s = [], l = [];
89
100
  for (let a = 0; a <= 5; a += 1) {
90
- const u = t * a, te = t * (a - 5);
101
+ const u = t * a, oe = t * (a - 5);
91
102
  s.push({
92
103
  value: u,
93
104
  x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + u / S.value * o.value.leftChart.width
94
105
  }), l.push({
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
106
+ value: Math.abs(oe),
107
+ x: o.value.left + o.value.width / 2 + oe / S.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
97
108
  });
98
109
  }
99
110
  return {
@@ -101,13 +112,13 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
101
112
  left: l
102
113
  };
103
114
  });
104
- function de(t) {
115
+ function he(t) {
105
116
  if (t === 0) return 0;
106
117
  const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
107
118
  let a;
108
119
  return t < 0, a = Math.round(t / l) * l, a;
109
120
  }
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) => ({
121
+ const S = b(() => Math.max(...f.dataset.flatMap((t) => t.slice(-2).map((s) => y(s))))), $ = b(() => f.dataset.length), fe = b(() => f.dataset.map((t) => ({
111
122
  segment: t[0],
112
123
  age: t[1],
113
124
  left: {
@@ -118,8 +129,8 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
118
129
  value: t[3],
119
130
  proportionToMax: t[3] / S.value
120
131
  }
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;
132
+ }))), T = b(() => fe.value.map((t, s) => {
133
+ const l = o.value.top + o.value.height / $.value * s, a = o.value.height / $.value - e.value.style.layout.bars.gap;
123
134
  return {
124
135
  segment: t.segment,
125
136
  age: t.age,
@@ -128,7 +139,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
128
139
  y: l,
129
140
  color: e.value.style.layout.bars.left.color,
130
141
  x: o.value.leftChart.right - t.left.proportionToMax * o.value.leftChart.width,
131
- width: v(t.left.proportionToMax * o.value.leftChart.width),
142
+ width: y(t.left.proportionToMax * o.value.leftChart.width),
132
143
  height: a
133
144
  },
134
145
  right: {
@@ -136,20 +147,20 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
136
147
  y: l,
137
148
  color: e.value.style.layout.bars.right.color,
138
149
  x: o.value.rightChart.left,
139
- width: v(t.right.proportionToMax * o.value.rightChart.width),
150
+ width: y(t.right.proportionToMax * o.value.rightChart.width),
140
151
  height: a
141
152
  }
142
153
  };
143
- })), G = y(null);
144
- function ye(t, s) {
145
- M.value = t, G.value = {
154
+ })), B = v(null);
155
+ function ce(t, s) {
156
+ O.value = t, B.value = {
146
157
  datapoint: s,
147
158
  seriesIndex: t,
148
159
  series: T.value,
149
160
  config: e.value
150
161
  };
151
162
  const l = e.value.style.tooltip.customFormat;
152
- if (_e(l) && $e(() => l({
163
+ if (Ae(l) && Se(() => l({
153
164
  seriesIndex: t,
154
165
  datapoint: {
155
166
  segment: s[0],
@@ -160,7 +171,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
160
171
  series: T.value,
161
172
  config: e.value
162
173
  })))
163
- D.value = l({
174
+ G.value = l({
164
175
  seriesIndex: t,
165
176
  datapoint: {
166
177
  segment: s[0],
@@ -176,48 +187,48 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
176
187
  const u = T.value[t];
177
188
  a += `<div><b>${u.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
178
189
  e.value.style.layout.dataLabels.yAxis.formatter,
179
- v(u.age),
180
- _({ v: v(u.age) }),
190
+ y(u.age),
191
+ _({ v: y(u.age) }),
181
192
  { datapoint: s, seriesIndex: t }
182
193
  )}</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
194
  e.value.style.layout.dataLabels.xAxis.formatter,
184
- v(u.left.value),
185
- _({ v: v(u.left.value) }),
195
+ y(u.left.value),
196
+ _({ v: y(u.left.value) }),
186
197
  { datapoint: s, seriesIndex: t }
187
198
  )}</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
199
  e.value.style.layout.dataLabels.xAxis.formatter,
189
- v(u.right.value),
190
- _({ v: v(u.right.value) }),
200
+ y(u.right.value),
201
+ _({ v: y(u.right.value) }),
191
202
  { datapoint: s, seriesIndex: t }
192
203
  )}</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
204
  e.value.style.layout.dataLabels.xAxis.formatter,
194
- v(u.right.value) + v(u.left.value),
195
- _({ v: v(u.right.value) + v(u.left.value) }),
205
+ y(u.right.value) + y(u.left.value),
206
+ _({ v: y(u.right.value) + y(u.left.value) }),
196
207
  { datapoint: s, seriesIndex: t }
197
- )}</b></div></div>`, a += "</div>", D.value = `<div>${a}</div>`;
208
+ )}</b></div></div>`, a += "</div>", G.value = `<div>${a}</div>`;
198
209
  }
199
- R.value = !0;
210
+ D.value = !0;
200
211
  }
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) => [
212
+ function te() {
213
+ we(() => {
214
+ 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) => [
204
215
  u[0],
205
216
  u[1],
206
217
  u[2],
207
218
  u[3],
208
219
  u[2] + u[3]
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" });
220
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = ze(l);
221
+ Ie({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
211
222
  });
212
223
  }
213
- const O = b(() => {
224
+ const P = b(() => {
214
225
  const t = [
215
226
  e.value.translations.year,
216
227
  e.value.translations.age,
217
228
  e.value.translations.female,
218
229
  e.value.translations.male,
219
230
  e.value.translations.total
220
- ], s = c.dataset.map((a) => [
231
+ ], s = f.dataset.map((a) => [
221
232
  a[0],
222
233
  a[1],
223
234
  a[2].toLocaleString(),
@@ -237,36 +248,37 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
237
248
  breakpoint: e.value.table.responsiveBreakpoint
238
249
  };
239
250
  return { head: t, body: s, config: l, colNames: t };
240
- }), z = y(!1);
241
- function he(t) {
242
- z.value = t, V.value += 1;
251
+ }), z = v(!1);
252
+ function ge(t) {
253
+ z.value = t, U.value += 1;
243
254
  }
244
- function Z() {
255
+ function le() {
245
256
  m.value.showTable = !m.value.showTable;
246
257
  }
247
- function ee() {
258
+ function ae() {
248
259
  m.value.showTooltip = !m.value.showTooltip;
249
260
  }
250
- return ie({
251
- generatePdf: J,
252
- generateCsv: Q,
253
- generateImage: K,
254
- toggleTable: Z,
255
- toggleTooltip: ee
261
+ return ne({
262
+ generatePdf: Z,
263
+ generateCsv: te,
264
+ generateImage: ee,
265
+ toggleTable: le,
266
+ toggleTooltip: ae
256
267
  }), (t, s) => (i(), r("div", {
257
- class: le(`vue-ui-age-pyramid ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
268
+ class: se(`vue-ui-age-pyramid ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
258
269
  ref_key: "agePyramid",
259
270
  ref: A,
260
271
  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%" : ""}`)
272
+ style: E(`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
273
  }, [
263
274
  e.value.style.title.text ? (i(), r("div", {
264
275
  key: 0,
265
276
  ref_key: "chartTitle",
266
- ref: Y,
267
- style: B(`width:100%;background:${e.value.style.backgroundColor}`)
277
+ ref: V,
278
+ style: E(`width:100%;background:${e.value.style.backgroundColor}`)
268
279
  }, [
269
- E(Se, {
280
+ (i(), I(Oe, {
281
+ key: `title_${Y.value}`,
270
282
  config: {
271
283
  title: {
272
284
  cy: "pyramid-div-title",
@@ -277,16 +289,16 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
277
289
  ...e.value.style.title.subtitle
278
290
  }
279
291
  }
280
- }, null, 8, ["config"])
292
+ }, null, 8, ["config"]))
281
293
  ], 4)) : h("", !0),
282
- e.value.userOptions.show && F.value ? (i(), W(Ie, {
294
+ e.value.userOptions.show && M.value ? (i(), I(Ne, {
283
295
  ref_key: "details",
284
- ref: re,
285
- key: `user_options_${V.value}`,
296
+ ref: ve,
297
+ key: `user_options_${U.value}`,
286
298
  backgroundColor: e.value.style.backgroundColor,
287
299
  color: e.value.style.color,
288
- isImaging: d(q),
289
- isPrinting: d(H),
300
+ isImaging: d(Q),
301
+ isPrinting: d(K),
290
302
  uid: x.value,
291
303
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
292
304
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -298,13 +310,13 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
298
310
  isTooltip: m.value.showTooltip,
299
311
  titles: { ...e.value.userOptions.buttonTitles },
300
312
  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 }, [
313
+ onToggleFullscreen: ge,
314
+ onGeneratePdf: d(Z),
315
+ onGenerateCsv: te,
316
+ onGenerateImage: d(ee),
317
+ onToggleTable: le,
318
+ onToggleTooltip: ae
319
+ }, xe({ _: 2 }, [
308
320
  t.$slots.optionTooltip ? {
309
321
  name: "optionTooltip",
310
322
  fn: g(() => [
@@ -343,17 +355,17 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
343
355
  t.$slots.optionFullscreen ? {
344
356
  name: "optionFullscreen",
345
357
  fn: g(({ toggleFullscreen: l, isFullscreen: a }) => [
346
- p(t.$slots, "optionFullscreen", P(N({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
358
+ p(t.$slots, "optionFullscreen", N(R({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
347
359
  ]),
348
360
  key: "5"
349
361
  } : void 0
350
362
  ]), 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", {
363
+ M.value ? (i(), r("svg", {
352
364
  key: 2,
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}`)
365
+ xmlns: d(Le),
366
+ class: se({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
367
+ viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
368
+ style: E(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
357
369
  }, [
358
370
  n("defs", null, [
359
371
  n("linearGradient", {
@@ -366,12 +378,12 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
366
378
  n("stop", {
367
379
  offset: "0%",
368
380
  "stop-color": e.value.style.layout.bars.left.color
369
- }, null, 8, Be),
381
+ }, null, 8, Ve),
370
382
  n("stop", {
371
383
  offset: "100%",
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),
384
+ "stop-color": `${d(ue)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
385
+ }, null, 8, Ye)
386
+ ], 8, Ue),
375
387
  n("linearGradient", {
376
388
  id: `age_pyramid_right_${x.value}`,
377
389
  x1: "0%",
@@ -381,23 +393,23 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
381
393
  }, [
382
394
  n("stop", {
383
395
  offset: "0%",
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),
396
+ "stop-color": `${d(ue)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
397
+ }, null, 8, He),
386
398
  n("stop", {
387
399
  offset: "100%",
388
400
  "stop-color": e.value.style.layout.bars.right.color
389
- }, null, 8, Ue)
390
- ], 8, We)
401
+ }, null, 8, qe)
402
+ ], 8, je)
391
403
  ]),
392
- (i(!0), r(L, null, I(T.value, (l, a) => (i(), r("g", null, [
404
+ (i(!0), r(L, null, F(T.value, (l, a) => (i(), r("g", null, [
393
405
  n("rect", {
394
406
  x: l.left.x,
395
407
  y: l.left.y,
396
- width: d(v)(l.left.width <= 0 ? 1e-4 : l.left.width),
408
+ width: d(y)(l.left.width <= 0 ? 1e-4 : l.left.width),
397
409
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
398
410
  fill: e.value.style.layout.bars.gradient.underlayer,
399
411
  rx: e.value.style.layout.bars.borderRadius
400
- }, null, 8, Ve),
412
+ }, null, 8, Je),
401
413
  n("rect", {
402
414
  x: l.left.x,
403
415
  y: l.left.y,
@@ -405,7 +417,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
405
417
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
406
418
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : l.left.color,
407
419
  rx: e.value.style.layout.bars.borderRadius
408
- }, null, 8, Ye),
420
+ }, null, 8, Ke),
409
421
  n("rect", {
410
422
  x: l.right.x,
411
423
  y: l.right.y,
@@ -413,7 +425,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
413
425
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
414
426
  fill: e.value.style.layout.bars.gradient.underlayer,
415
427
  rx: e.value.style.layout.bars.borderRadius
416
- }, null, 8, je),
428
+ }, null, 8, Qe),
417
429
  n("rect", {
418
430
  x: l.right.x,
419
431
  y: l.right.y,
@@ -421,10 +433,10 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
421
433
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
422
434
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : l.right.color,
423
435
  rx: e.value.style.layout.bars.borderRadius
424
- }, null, 8, He)
436
+ }, null, 8, Ze)
425
437
  ]))), 256)),
426
438
  n("g", null, [
427
- e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", qe, [
439
+ e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", et, [
428
440
  n("text", {
429
441
  x: o.value.left,
430
442
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
@@ -432,7 +444,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
432
444
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
433
445
  "text-anchor": "start",
434
446
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
435
- }, w(e.value.translations.female), 9, Je),
447
+ }, w(e.value.translations.female), 9, tt),
436
448
  n("text", {
437
449
  x: o.value.right,
438
450
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
@@ -440,14 +452,14 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
440
452
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
441
453
  "text-anchor": "end",
442
454
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
443
- }, w(e.value.translations.male), 9, Ke)
455
+ }, w(e.value.translations.male), 9, lt)
444
456
  ])) : 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, [
457
+ e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", at, [
458
+ (i(!0), r(L, null, F(ye.value, (l, a) => (i(), r(L, null, [
447
459
  a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
448
460
  key: 0,
449
461
  x: o.value.centerX,
450
- y: o.value.top + o.value.height / C.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
462
+ y: o.value.top + o.value.height / $.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
451
463
  "text-anchor": "middle",
452
464
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
453
465
  fill: e.value.style.layout.dataLabels.yAxis.color,
@@ -457,31 +469,31 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
457
469
  l,
458
470
  d(_)({ v: l }),
459
471
  { datapoint: l, seriesIndex: a }
460
- )), 9, Ze)) : h("", !0)
472
+ )), 9, ot)) : h("", !0)
461
473
  ], 64))), 256))
462
474
  ])) : 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, [
475
+ e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", st, [
476
+ e.value.style.layout.grid.show ? (i(), r("g", it, [
465
477
  n("line", {
466
- x1: $.value.right[0].x,
467
- x2: $.value.right.at(-1).x,
478
+ x1: C.value.right[0].x,
479
+ x2: C.value.right.at(-1).x,
468
480
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
469
481
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
470
482
  stroke: e.value.style.layout.grid.stroke,
471
483
  "stroke-width": e.value.style.layout.grid.strokeWidth,
472
484
  "stroke-linecap": "round"
473
- }, null, 8, lt),
485
+ }, null, 8, ut),
474
486
  n("line", {
475
- x1: $.value.left[0].x,
476
- x2: $.value.left.at(-1).x,
487
+ x1: C.value.left[0].x,
488
+ x2: C.value.left.at(-1).x,
477
489
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
478
490
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
479
491
  stroke: e.value.style.layout.grid.stroke,
480
492
  "stroke-width": e.value.style.layout.grid.strokeWidth,
481
493
  "stroke-linecap": "round"
482
- }, null, 8, at)
494
+ }, null, 8, rt)
483
495
  ])) : h("", !0),
484
- (i(!0), r(L, null, I($.value.right, (l, a) => (i(), r("g", null, [
496
+ (i(!0), r(L, null, F(C.value.right, (l, a) => (i(), r("g", null, [
485
497
  e.value.style.layout.grid.show ? (i(), r("line", {
486
498
  key: 0,
487
499
  x1: l.x,
@@ -491,7 +503,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
491
503
  stroke: e.value.style.layout.grid.stroke,
492
504
  "stroke-width": e.value.style.layout.grid.strokeWidth,
493
505
  "stroke-linecap": "round"
494
- }, null, 8, ot)) : h("", !0),
506
+ }, null, 8, nt)) : h("", !0),
495
507
  n("text", {
496
508
  x: l.x,
497
509
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
@@ -506,9 +518,9 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
506
518
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
507
519
  }),
508
520
  { datapoint: l, seriesIndex: a }
509
- )), 9, st)
521
+ )), 9, dt)
510
522
  ]))), 256)),
511
- (i(!0), r(L, null, I($.value.left, (l, a) => (i(), r("g", null, [
523
+ (i(!0), r(L, null, F(C.value.left, (l, a) => (i(), r("g", null, [
512
524
  e.value.style.layout.grid.show ? (i(), r("line", {
513
525
  key: 0,
514
526
  x1: l.x,
@@ -518,7 +530,7 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
518
530
  stroke: e.value.style.layout.grid.stroke,
519
531
  "stroke-width": e.value.style.layout.grid.strokeWidth,
520
532
  "stroke-linecap": "round"
521
- }, null, 8, it)) : h("", !0),
533
+ }, null, 8, vt)) : h("", !0),
522
534
  n("text", {
523
535
  x: l.x,
524
536
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
@@ -533,37 +545,37 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
533
545
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
534
546
  }),
535
547
  { datapoint: l, seriesIndex: a }
536
- )), 9, ut)
548
+ )), 9, yt)
537
549
  ]))), 256)),
538
550
  n("text", {
539
551
  x: o.value.right,
540
- y: f.value.height,
552
+ y: c.value.height,
541
553
  "text-anchor": "end",
542
554
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
543
555
  fill: e.value.style.layout.dataLabels.xAxis.color,
544
556
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
545
- }, w(e.value.style.layout.dataLabels.xAxis.translation), 9, rt)
557
+ }, w(e.value.style.layout.dataLabels.xAxis.translation), 9, ht)
546
558
  ])) : h("", !0)
547
559
  ]),
548
- (i(!0), r(L, null, I(U.dataset, (l, a) => (i(), r("g", null, [
560
+ (i(!0), r(L, null, F(X.dataset, (l, a) => (i(), r("g", null, [
549
561
  n("rect", {
550
562
  x: o.value.left,
551
- y: o.value.top + o.value.height / C.value * a - e.value.style.layout.bars.gap / 2,
563
+ y: o.value.top + o.value.height / $.value * a - e.value.style.layout.bars.gap / 2,
552
564
  width: o.value.width <= 0 ? 1e-4 : o.value.width,
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),
565
+ height: o.value.height / $.value <= 0 ? 1e-4 : o.value.height / $.value,
566
+ fill: O.value !== null && O.value === a ? `${e.value.style.highlighter.color}${d(W)[e.value.style.highlighter.opacity]}` : "transparent",
567
+ onMouseover: (u) => ce(a, l),
556
568
  onMouseleave: s[0] || (s[0] = (u) => {
557
- M.value = null, R.value = !1;
569
+ O.value = null, D.value = !1;
558
570
  })
559
- }, null, 40, nt)
571
+ }, null, 40, ft)
560
572
  ]))), 256)),
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)
573
+ p(t.$slots, "svg", { svg: c.value }, void 0, !0)
574
+ ], 14, Xe)) : h("", !0),
575
+ t.$slots.watermark ? (i(), r("div", ct, [
576
+ p(t.$slots, "watermark", N(R({ isPrinting: d(K) || d(Q) })), void 0, !0)
565
577
  ])) : h("", !0),
566
- F.value ? h("", !0) : (i(), W(Oe, {
578
+ M.value ? h("", !0) : (i(), I(Ge, {
567
579
  key: 4,
568
580
  config: {
569
581
  type: "pyramid",
@@ -576,8 +588,8 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
576
588
  }
577
589
  }, null, 8, ["config"])),
578
590
  p(t.$slots, "legend", { legend: T.value }, void 0, !0),
579
- E(Fe, {
580
- show: m.value.showTooltip && R.value,
591
+ me(Re, {
592
+ show: m.value.showTooltip && D.value,
581
593
  backgroundColor: e.value.style.tooltip.backgroundColor,
582
594
  color: e.value.style.tooltip.color,
583
595
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -588,18 +600,18 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
588
600
  position: e.value.style.tooltip.position,
589
601
  offsetY: e.value.style.tooltip.offsetY,
590
602
  parent: A.value,
591
- content: D.value,
603
+ content: G.value,
592
604
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
593
605
  }, {
594
606
  "tooltip-before": g(() => [
595
- p(t.$slots, "tooltip-before", P(N({ ...G.value })), void 0, !0)
607
+ p(t.$slots, "tooltip-before", N(R({ ...B.value })), void 0, !0)
596
608
  ]),
597
609
  "tooltip-after": g(() => [
598
- p(t.$slots, "tooltip-after", P(N({ ...G.value })), void 0, !0)
610
+ p(t.$slots, "tooltip-after", N(R({ ...B.value })), void 0, !0)
599
611
  ]),
600
612
  _: 3
601
613
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
602
- F.value ? (i(), W(Pe, {
614
+ M.value ? (i(), I(Be, {
603
615
  key: 5,
604
616
  hideDetails: "",
605
617
  config: {
@@ -616,28 +628,29 @@ const Re = ["id"], De = ["xmlns", "viewBox"], Ge = ["id"], Be = ["stop-color"],
616
628
  }
617
629
  }, {
618
630
  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,
631
+ (i(), I(De, {
632
+ key: `table_${j.value}`,
633
+ colNames: P.value.colNames,
634
+ head: P.value.head,
635
+ body: P.value.body,
636
+ config: P.value.config,
624
637
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
625
638
  onClose: s[1] || (s[1] = (l) => m.value.showTable = !1)
626
639
  }, {
627
640
  th: g(({ th: l }) => [
628
- ae(w(l), 1)
641
+ ie(w(l), 1)
629
642
  ]),
630
643
  td: g(({ td: l }) => [
631
- ae(w(l), 1)
644
+ ie(w(l), 1)
632
645
  ]),
633
646
  _: 1
634
- }, 8, ["colNames", "head", "body", "config", "title"])
647
+ }, 8, ["colNames", "head", "body", "config", "title"]))
635
648
  ]),
636
649
  _: 1
637
650
  }, 8, ["config"])) : h("", !0)
638
- ], 14, Re));
651
+ ], 14, We));
639
652
  }
640
- }, _t = /* @__PURE__ */ Ne(vt, [["__scopeId", "data-v-4660f4e6"]]);
653
+ }, At = /* @__PURE__ */ Ee(gt, [["__scopeId", "data-v-252498c4"]]);
641
654
  export {
642
- _t as default
655
+ At as default
643
656
  };