vue-data-ui 2.4.57 → 2.4.59

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,21 +1,21 @@
1
- import { computed as b, ref as v, watch as Te, onMounted as Ae, openBlock as i, createElementBlock as n, normalizeClass as ye, normalizeStyle as W, unref as u, createBlock as S, createCommentVNode as y, createSlots as Le, withCtx as p, renderSlot as f, normalizeProps as I, guardReactiveProps as F, createVNode as he, createElementVNode as d, Fragment as z, renderList as P, toDisplayString as w, createTextVNode as fe, nextTick as Se } from "vue";
2
- import { u as ze, c as Oe, t as Ie, o as Fe, e as Pe, v as h, X as Me, s as X, w as ce, i as k, f as _, x as Ne, y as Re, q as De, r as Ge } from "./index-CI-N9klv.js";
1
+ import { computed as b, ref as v, watch as Te, onMounted as Ae, openBlock as i, createElementBlock as r, normalizeClass as ye, normalizeStyle as W, unref as u, createBlock as S, createCommentVNode as y, createSlots as Le, withCtx as p, renderSlot as h, normalizeProps as I, guardReactiveProps as F, createVNode as he, createElementVNode as d, Fragment as z, renderList as P, toDisplayString as w, createTextVNode as fe, nextTick as Se } from "vue";
2
+ import { u as ze, c as Oe, t as Ie, o as Fe, e as Pe, v as f, X as Me, s as X, w as ce, i as k, f as _, x as Ne, y as Re, q as De, r as Ge } from "./index-B9RAElpI.js";
3
3
  import { t as Ue, u as Be } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Ve } from "./Title-DLjHHdyq.js";
5
- import { u as Ee, U as We } from "./usePrinter-CXc8xCKk.js";
6
- import { _ as Xe } from "./Tooltip-BDaa-67h.js";
7
- import { D as He } from "./DataTable-DgbrnD__.js";
8
- import Ye from "./vue-ui-skeleton-owIhXtQF.js";
9
- import je from "./vue-ui-accordion-CYLks1fW.js";
10
- import { u as ge } from "./useNestedProp-D1eJ0dvv.js";
11
- import { _ as qe } from "./PackageVersion-S3SzpuwC.js";
12
- import { P as Je } from "./PenAndPaper-v846FwcH.js";
4
+ import { _ as Ee } from "./Title-zZtEcB9F.js";
5
+ import { u as Ve, U as We } from "./usePrinter-CwTAwqtF.js";
6
+ import { _ as Xe } from "./Tooltip-DDJ2Wvjy.js";
7
+ import { D as je } from "./DataTable-CFUKU8PU.js";
8
+ import He from "./vue-ui-skeleton-DVYD_VSe.js";
9
+ import Ye from "./vue-ui-accordion-rNA598L6.js";
10
+ import { u as ge } from "./useNestedProp-DuruL3Nt.js";
11
+ import { _ as qe } from "./PackageVersion-C_FFs0BP.js";
12
+ import { P as Je } from "./PenAndPaper-Dx24BtRW.js";
13
13
  import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"], at = ["stop-color"], ot = ["id"], st = ["stop-color"], it = ["stop-color"], ut = ["x", "y", "width", "height", "fill", "rx"], rt = ["x", "y", "width", "height", "fill", "rx"], nt = ["x", "y", "width", "height", "fill", "rx"], dt = ["x", "y", "width", "height", "fill", "rx"], vt = { key: 0 }, yt = ["x", "y", "fill", "font-size", "font-weight"], ht = ["x", "y", "fill", "font-size", "font-weight"], ft = { key: 1 }, ct = ["x", "y", "font-size", "fill", "font-weight"], gt = { key: 2 }, pt = { key: 0 }, bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x", "y", "font-size", "fill", "font-weight"], kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x", "y", "font-size", "fill", "font-weight"], Ct = ["x", "y", "font-size", "fill", "font-weight"], $t = ["x", "y", "width", "height", "fill", "onMouseover"], Tt = {
15
+ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["x", "y", "width", "height"], lt = ["id"], at = ["stop-color"], ot = ["stop-color"], st = ["id"], it = ["stop-color"], ut = ["stop-color"], rt = ["x", "y", "width", "height", "fill", "rx"], nt = ["x", "y", "width", "height", "fill", "rx"], dt = ["x", "y", "width", "height", "fill", "rx"], vt = ["x", "y", "width", "height", "fill", "rx"], yt = { key: 0 }, ht = ["x", "y", "fill", "font-size", "font-weight"], ft = ["x", "y", "fill", "font-size", "font-weight"], ct = { key: 1 }, gt = ["x", "y", "font-size", "fill", "font-weight"], pt = { key: 2 }, bt = { key: 0 }, xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x", "y", "font-size", "fill", "font-weight"], $t = ["x", "y", "font-size", "fill", "font-weight"], Tt = ["x", "y", "width", "height", "fill", "onMouseover"], At = {
16
16
  key: 5,
17
17
  class: "vue-data-ui-watermark"
18
- }, At = {
18
+ }, Lt = {
19
19
  __name: "vue-ui-age-pyramid",
20
20
  props: {
21
21
  config: {
@@ -31,8 +31,8 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
31
31
  }
32
32
  }
33
33
  },
34
- setup(H, { expose: pe }) {
35
- const c = H, { vue_ui_age_pyramid: be } = ze(), M = b(() => !!c.dataset && c.dataset.length), x = v(Oe()), xe = v(null), G = v(!1), U = v(""), N = v(null), Y = v(0), C = v(null), j = v(null), q = v(null), J = v(null), K = v(0), Q = v(0), e = b({
34
+ setup(j, { expose: pe }) {
35
+ const c = j, { vue_ui_age_pyramid: be } = ze(), M = b(() => !!c.dataset && c.dataset.length), x = v(Oe()), xe = v(null), G = v(!1), U = v(""), N = v(null), H = v(0), C = v(null), Y = v(null), q = v(null), J = v(null), K = v(0), Q = v(0), e = b({
36
36
  get: () => te(),
37
37
  set: (t) => t
38
38
  }), { userOptionsVisible: B, setUserOptionsVisibility: Z, keepUserOptionState: ee } = Ke({ config: e.value });
@@ -61,18 +61,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
61
61
  type: "dataset"
62
62
  }), e.value.responsive) {
63
63
  const t = Ue(() => {
64
- const { width: o, height: l } = Be({
64
+ const { width: s, height: l } = Be({
65
65
  chart: C.value,
66
- title: e.value.style.title.text ? j.value : null,
66
+ title: e.value.style.title.text ? Y.value : null,
67
67
  source: q.value,
68
68
  noTitle: J.value
69
69
  });
70
- g.value.width = o, g.value.height = l;
70
+ g.value.width = s, g.value.height = l;
71
71
  });
72
72
  le.value = new ResizeObserver(t), le.value.observe(C.value.parentNode);
73
73
  }
74
74
  }
75
- const { isPrinting: oe, isImaging: se, generatePdf: ie, generateImage: ue } = Ee({
75
+ const { isPrinting: oe, isImaging: se, generatePdf: ie, generateImage: ue } = Ve({
76
76
  elementId: `vue-ui-age-pyramid_${x.value}`,
77
77
  fileName: e.value.style.title.text || "vue-ui-age-pyramid"
78
78
  }), me = b(() => e.value.userOptions.show && !e.value.style.title.text), m = v({
@@ -81,11 +81,11 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
81
81
  }), g = v({
82
82
  height: e.value.style.height,
83
83
  width: e.value.style.width
84
- }), s = b(() => {
85
- const t = g.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, o = e.value.style.layout.padding.left, l = g.value.width - e.value.style.layout.padding.right;
84
+ }), o = b(() => {
85
+ const t = g.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = g.value.width - e.value.style.layout.padding.right;
86
86
  return {
87
87
  top: e.value.style.layout.padding.top,
88
- left: o,
88
+ left: s,
89
89
  right: l,
90
90
  bottom: g.value.height - e.value.style.layout.padding.bottom,
91
91
  width: t,
@@ -93,27 +93,27 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
93
93
  centerX: e.value.style.layout.padding.left + t / 2,
94
94
  leftChart: {
95
95
  width: t / 2 - e.value.style.layout.centerSlit.width,
96
- right: o + t / 2 - e.value.style.layout.centerSlit.width
96
+ right: s + t / 2 - e.value.style.layout.centerSlit.width
97
97
  },
98
98
  rightChart: {
99
99
  width: t / 2 - e.value.style.layout.centerSlit.width,
100
- left: o + t / 2 + e.value.style.layout.centerSlit.width
100
+ left: s + t / 2 + e.value.style.layout.centerSlit.width
101
101
  }
102
102
  };
103
103
  }), we = b(() => c.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), $ = b(() => {
104
- const t = ke(O.value / 5), o = [], l = [];
104
+ const t = ke(O.value / 5), s = [], l = [];
105
105
  for (let a = 0; a <= 5; a += 1) {
106
- const r = t * a, ve = t * (a - 5);
107
- o.push({
108
- value: r,
109
- x: s.value.left + s.value.width / 2 + e.value.style.layout.centerSlit.width + r / O.value * s.value.leftChart.width
106
+ const n = t * a, ve = t * (a - 5);
107
+ s.push({
108
+ value: n,
109
+ x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + n / O.value * o.value.leftChart.width
110
110
  }), l.push({
111
111
  value: Math.abs(ve),
112
- x: s.value.left + s.value.width / 2 + ve / O.value * s.value.leftChart.width - e.value.style.layout.centerSlit.width
112
+ x: o.value.left + o.value.width / 2 + ve / O.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
113
113
  });
114
114
  }
115
115
  return {
116
- right: o,
116
+ right: s,
117
117
  left: l
118
118
  };
119
119
  });
@@ -123,7 +123,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
123
123
  let a;
124
124
  return t < 0, a = Math.round(t / l) * l, a;
125
125
  }
126
- const O = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((o) => h(o))))), T = b(() => c.dataset.length), _e = b(() => c.dataset.map((t) => ({
126
+ const O = b(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2).map((s) => f(s))))), T = b(() => c.dataset.length), _e = b(() => c.dataset.map((t) => ({
127
127
  segment: t[0],
128
128
  age: t[1],
129
129
  left: {
@@ -134,8 +134,8 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
134
134
  value: t[3],
135
135
  proportionToMax: t[3] / O.value
136
136
  }
137
- }))), A = b(() => _e.value.map((t, o) => {
138
- const l = s.value.top + s.value.height / T.value * o, a = s.value.height / T.value - e.value.style.layout.bars.gap;
137
+ }))), A = b(() => _e.value.map((t, s) => {
138
+ const l = o.value.top + o.value.height / T.value * s, a = o.value.height / T.value - e.value.style.layout.bars.gap;
139
139
  return {
140
140
  segment: t.segment,
141
141
  age: t.age,
@@ -143,23 +143,23 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
143
143
  ...t.left,
144
144
  y: l,
145
145
  color: e.value.style.layout.bars.left.color,
146
- x: s.value.leftChart.right - t.left.proportionToMax * s.value.leftChart.width,
147
- width: h(t.left.proportionToMax * s.value.leftChart.width),
146
+ x: o.value.leftChart.right - t.left.proportionToMax * o.value.leftChart.width,
147
+ width: f(t.left.proportionToMax * o.value.leftChart.width),
148
148
  height: a
149
149
  },
150
150
  right: {
151
151
  ...t.right,
152
152
  y: l,
153
153
  color: e.value.style.layout.bars.right.color,
154
- x: s.value.rightChart.left,
155
- width: h(t.right.proportionToMax * s.value.rightChart.width),
154
+ x: o.value.rightChart.left,
155
+ width: f(t.right.proportionToMax * o.value.rightChart.width),
156
156
  height: a
157
157
  }
158
158
  };
159
- })), V = v(null);
160
- function Ce(t, o) {
161
- N.value = t, V.value = {
162
- datapoint: o,
159
+ })), E = v(null);
160
+ function Ce(t, s) {
161
+ N.value = t, E.value = {
162
+ datapoint: s,
163
163
  seriesIndex: t,
164
164
  series: A.value,
165
165
  config: e.value
@@ -168,10 +168,10 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
168
168
  if (Ne(l) && Re(() => l({
169
169
  seriesIndex: t,
170
170
  datapoint: {
171
- segment: o[0],
172
- index: o[1],
173
- left: o[2],
174
- right: o[3]
171
+ segment: s[0],
172
+ index: s[1],
173
+ left: s[2],
174
+ right: s[3]
175
175
  },
176
176
  series: A.value,
177
177
  config: e.value
@@ -179,50 +179,50 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
179
179
  U.value = l({
180
180
  seriesIndex: t,
181
181
  datapoint: {
182
- segment: o[0],
183
- index: o[1],
184
- left: o[2],
185
- right: o[3]
182
+ segment: s[0],
183
+ index: s[1],
184
+ left: s[2],
185
+ right: s[3]
186
186
  },
187
187
  series: A.value,
188
188
  config: e.value
189
189
  });
190
190
  else {
191
191
  let a = "";
192
- const r = A.value[t];
193
- a += `<div><b>${r.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
192
+ const n = A.value[t];
193
+ a += `<div><b>${n.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${k(
194
194
  e.value.style.layout.dataLabels.yAxis.formatter,
195
- h(r.age),
196
- _({ v: h(r.age) }),
197
- { datapoint: o, seriesIndex: t }
195
+ f(n.age),
196
+ _({ v: f(n.age) }),
197
+ { datapoint: s, seriesIndex: t }
198
198
  )}</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(
199
199
  e.value.style.layout.dataLabels.xAxis.formatter,
200
- h(r.left.value),
201
- _({ v: h(r.left.value) }),
202
- { datapoint: o, seriesIndex: t }
200
+ f(n.left.value),
201
+ _({ v: f(n.left.value) }),
202
+ { datapoint: s, seriesIndex: t }
203
203
  )}</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(
204
204
  e.value.style.layout.dataLabels.xAxis.formatter,
205
- h(r.right.value),
206
- _({ v: h(r.right.value) }),
207
- { datapoint: o, seriesIndex: t }
205
+ f(n.right.value),
206
+ _({ v: f(n.right.value) }),
207
+ { datapoint: s, seriesIndex: t }
208
208
  )}</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(
209
209
  e.value.style.layout.dataLabels.xAxis.formatter,
210
- h(r.right.value) + h(r.left.value),
211
- _({ v: h(r.right.value) + h(r.left.value) }),
212
- { datapoint: o, seriesIndex: t }
210
+ f(n.right.value) + f(n.left.value),
211
+ _({ v: f(n.right.value) + f(n.left.value) }),
212
+ { datapoint: s, seriesIndex: t }
213
213
  )}</b></div></div>`, a += "</div>", U.value = `<div>${a}</div>`;
214
214
  }
215
215
  G.value = !0;
216
216
  }
217
217
  function re() {
218
218
  Se(() => {
219
- const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], o = c.dataset.map((r) => [
220
- r[0],
221
- r[1],
222
- r[2],
223
- r[3],
224
- r[2] + r[3]
225
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a = De(l);
219
+ 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((n) => [
220
+ n[0],
221
+ n[1],
222
+ n[2],
223
+ n[3],
224
+ n[2] + n[3]
225
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = De(l);
226
226
  Ge({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
227
227
  });
228
228
  }
@@ -233,7 +233,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
233
233
  e.value.translations.female,
234
234
  e.value.translations.male,
235
235
  e.value.translations.total
236
- ], o = c.dataset.map((a) => [
236
+ ], s = c.dataset.map((a) => [
237
237
  a[0],
238
238
  a[1],
239
239
  a[2].toLocaleString(),
@@ -252,10 +252,10 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
252
252
  },
253
253
  breakpoint: e.value.table.responsiveBreakpoint
254
254
  };
255
- return { head: t, body: o, config: l, colNames: t };
255
+ return { head: t, body: s, config: l, colNames: t };
256
256
  }), L = v(!1);
257
257
  function $e(t) {
258
- L.value = t, Y.value += 1;
258
+ L.value = t, H.value += 1;
259
259
  }
260
260
  function ne() {
261
261
  m.value.showTable = !m.value.showTable;
@@ -264,7 +264,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
264
264
  m.value.showTooltip = !m.value.showTooltip;
265
265
  }
266
266
  const D = v(!1);
267
- function E() {
267
+ function V() {
268
268
  D.value = !D.value;
269
269
  }
270
270
  return pe({
@@ -273,15 +273,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
273
273
  generateImage: ue,
274
274
  toggleTable: ne,
275
275
  toggleTooltip: de,
276
- toggleAnnotator: E
277
- }), (t, o) => (i(), n("div", {
276
+ toggleAnnotator: V
277
+ }), (t, s) => (i(), r("div", {
278
278
  class: ye(`vue-ui-age-pyramid ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
279
279
  ref_key: "agePyramid",
280
280
  ref: C,
281
281
  id: `vue-ui-age-pyramid_${x.value}`,
282
282
  style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
283
- onMouseenter: o[2] || (o[2] = () => u(Z)(!0)),
284
- onMouseleave: o[3] || (o[3] = () => u(Z)(!1))
283
+ onMouseenter: s[2] || (s[2] = () => u(Z)(!0)),
284
+ onMouseleave: s[3] || (s[3] = () => u(Z)(!1))
285
285
  }, [
286
286
  e.value.userOptions.buttons.annotator ? (i(), S(Je, {
287
287
  key: 0,
@@ -289,22 +289,22 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
289
289
  backgroundColor: e.value.style.backgroundColor,
290
290
  color: e.value.style.color,
291
291
  active: D.value,
292
- onClose: E
292
+ onClose: V
293
293
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
294
- me.value ? (i(), n("div", {
294
+ me.value ? (i(), r("div", {
295
295
  key: 1,
296
296
  ref_key: "noTitle",
297
297
  ref: J,
298
298
  class: "vue-data-ui-no-title-space",
299
299
  style: "height:36px; width: 100%;background:transparent"
300
300
  }, null, 512)) : y("", !0),
301
- e.value.style.title.text ? (i(), n("div", {
301
+ e.value.style.title.text ? (i(), r("div", {
302
302
  key: 2,
303
303
  ref_key: "chartTitle",
304
- ref: j,
304
+ ref: Y,
305
305
  style: "width:100%;background:transparent"
306
306
  }, [
307
- (i(), S(Ve, {
307
+ (i(), S(Ee, {
308
308
  key: `title_${K.value}`,
309
309
  config: {
310
310
  title: {
@@ -321,7 +321,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
321
321
  e.value.userOptions.show && M.value && (u(ee) || u(B)) ? (i(), S(We, {
322
322
  ref_key: "details",
323
323
  ref: xe,
324
- key: `user_options_${Y.value}`,
324
+ key: `user_options_${H.value}`,
325
325
  backgroundColor: e.value.style.backgroundColor,
326
326
  color: e.value.style.color,
327
327
  isImaging: u(se),
@@ -346,7 +346,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
346
346
  onGenerateImage: u(ue),
347
347
  onToggleTable: ne,
348
348
  onToggleTooltip: de,
349
- onToggleAnnotator: E,
349
+ onToggleAnnotator: V,
350
350
  style: W({
351
351
  visibility: u(ee) ? u(B) ? "visible" : "hidden" : "visible"
352
352
  })
@@ -354,54 +354,54 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
354
354
  t.$slots.optionTooltip ? {
355
355
  name: "optionTooltip",
356
356
  fn: p(() => [
357
- f(t.$slots, "optionTooltip", {}, void 0, !0)
357
+ h(t.$slots, "optionTooltip", {}, void 0, !0)
358
358
  ]),
359
359
  key: "0"
360
360
  } : void 0,
361
361
  t.$slots.optionPdf ? {
362
362
  name: "optionPdf",
363
363
  fn: p(() => [
364
- f(t.$slots, "optionPdf", {}, void 0, !0)
364
+ h(t.$slots, "optionPdf", {}, void 0, !0)
365
365
  ]),
366
366
  key: "1"
367
367
  } : void 0,
368
368
  t.$slots.optionCsv ? {
369
369
  name: "optionCsv",
370
370
  fn: p(() => [
371
- f(t.$slots, "optionCsv", {}, void 0, !0)
371
+ h(t.$slots, "optionCsv", {}, void 0, !0)
372
372
  ]),
373
373
  key: "2"
374
374
  } : void 0,
375
375
  t.$slots.optionImg ? {
376
376
  name: "optionImg",
377
377
  fn: p(() => [
378
- f(t.$slots, "optionImg", {}, void 0, !0)
378
+ h(t.$slots, "optionImg", {}, void 0, !0)
379
379
  ]),
380
380
  key: "3"
381
381
  } : void 0,
382
382
  t.$slots.optionTable ? {
383
383
  name: "optionTable",
384
384
  fn: p(() => [
385
- f(t.$slots, "optionTable", {}, void 0, !0)
385
+ h(t.$slots, "optionTable", {}, void 0, !0)
386
386
  ]),
387
387
  key: "4"
388
388
  } : void 0,
389
389
  t.$slots.optionFullscreen ? {
390
390
  name: "optionFullscreen",
391
391
  fn: p(({ toggleFullscreen: l, isFullscreen: a }) => [
392
- f(t.$slots, "optionFullscreen", I(F({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
392
+ h(t.$slots, "optionFullscreen", I(F({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
393
393
  ]),
394
394
  key: "5"
395
395
  } : void 0,
396
396
  t.$slots.optionAnnotator ? {
397
397
  name: "optionAnnotator",
398
398
  fn: p(({ toggleAnnotator: l, isAnnotator: a }) => [
399
- f(t.$slots, "optionAnnotator", I(F({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
399
+ h(t.$slots, "optionAnnotator", I(F({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
400
400
  ]),
401
401
  key: "6"
402
402
  } : void 0
403
403
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
404
- M.value ? (i(), n("svg", {
404
+ M.value ? (i(), r("svg", {
405
405
  key: 4,
406
406
  xmlns: u(Me),
407
407
  class: ye({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
@@ -409,6 +409,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
409
409
  style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
410
410
  }, [
411
411
  he(qe),
412
+ t.$slots["chart-background"] ? (i(), r("foreignObject", {
413
+ key: 0,
414
+ x: o.value.left,
415
+ y: o.value.top,
416
+ width: o.value.width,
417
+ height: o.value.height,
418
+ style: {
419
+ pointerEvents: "none"
420
+ }
421
+ }, [
422
+ h(t.$slots, "chart-background", {}, void 0, !0)
423
+ ], 8, tt)) : y("", !0),
412
424
  d("defs", null, [
413
425
  d("linearGradient", {
414
426
  id: `age_pyramid_left_${x.value}`,
@@ -420,12 +432,12 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
420
432
  d("stop", {
421
433
  offset: "0%",
422
434
  "stop-color": e.value.style.layout.bars.left.color
423
- }, null, 8, lt),
435
+ }, null, 8, at),
424
436
  d("stop", {
425
437
  offset: "100%",
426
438
  "stop-color": u(X)(u(ce)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
427
- }, null, 8, at)
428
- ], 8, tt),
439
+ }, null, 8, ot)
440
+ ], 8, lt),
429
441
  d("linearGradient", {
430
442
  id: `age_pyramid_right_${x.value}`,
431
443
  x1: "0%",
@@ -436,22 +448,22 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
436
448
  d("stop", {
437
449
  offset: "0%",
438
450
  "stop-color": u(X)(u(ce)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
439
- }, null, 8, st),
451
+ }, null, 8, it),
440
452
  d("stop", {
441
453
  offset: "100%",
442
454
  "stop-color": e.value.style.layout.bars.right.color
443
- }, null, 8, it)
444
- ], 8, ot)
455
+ }, null, 8, ut)
456
+ ], 8, st)
445
457
  ]),
446
- (i(!0), n(z, null, P(A.value, (l, a) => (i(), n("g", null, [
458
+ (i(!0), r(z, null, P(A.value, (l, a) => (i(), r("g", null, [
447
459
  d("rect", {
448
460
  x: l.left.x,
449
461
  y: l.left.y,
450
- width: u(h)(l.left.width <= 0 ? 1e-4 : l.left.width),
462
+ width: u(f)(l.left.width <= 0 ? 1e-4 : l.left.width),
451
463
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
452
464
  fill: e.value.style.layout.bars.gradient.underlayer,
453
465
  rx: e.value.style.layout.bars.borderRadius
454
- }, null, 8, ut),
466
+ }, null, 8, rt),
455
467
  d("rect", {
456
468
  x: l.left.x,
457
469
  y: l.left.y,
@@ -459,7 +471,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
459
471
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
460
472
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${x.value})` : l.left.color,
461
473
  rx: e.value.style.layout.bars.borderRadius
462
- }, null, 8, rt),
474
+ }, null, 8, nt),
463
475
  d("rect", {
464
476
  x: l.right.x,
465
477
  y: l.right.y,
@@ -467,7 +479,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
467
479
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
468
480
  fill: e.value.style.layout.bars.gradient.underlayer,
469
481
  rx: e.value.style.layout.bars.borderRadius
470
- }, null, 8, nt),
482
+ }, null, 8, dt),
471
483
  d("rect", {
472
484
  x: l.right.x,
473
485
  y: l.right.y,
@@ -475,33 +487,33 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
475
487
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
476
488
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${x.value})` : l.right.color,
477
489
  rx: e.value.style.layout.bars.borderRadius
478
- }, null, 8, dt)
490
+ }, null, 8, vt)
479
491
  ]))), 256)),
480
492
  d("g", null, [
481
- e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g", vt, [
493
+ e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", yt, [
482
494
  d("text", {
483
- x: s.value.left,
484
- y: s.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
495
+ x: o.value.left,
496
+ y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
485
497
  fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.left.color : e.value.style.layout.dataLabels.sideTitles.color,
486
498
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
487
499
  "text-anchor": "start",
488
500
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
489
- }, w(e.value.translations.female), 9, yt),
501
+ }, w(e.value.translations.female), 9, ht),
490
502
  d("text", {
491
- x: s.value.right,
492
- y: s.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
503
+ x: o.value.right,
504
+ y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
493
505
  fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.right.color : e.value.style.layout.dataLabels.sideTitles.color,
494
506
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
495
507
  "text-anchor": "end",
496
508
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
497
- }, w(e.value.translations.male), 9, ht)
509
+ }, w(e.value.translations.male), 9, ft)
498
510
  ])) : y("", !0),
499
- e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g", ft, [
500
- (i(!0), n(z, null, P(we.value, (l, a) => (i(), n(z, null, [
501
- a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), n("text", {
511
+ e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", ct, [
512
+ (i(!0), r(z, null, P(we.value, (l, a) => (i(), r(z, null, [
513
+ a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
502
514
  key: 0,
503
- x: s.value.centerX,
504
- y: s.value.top + s.value.height / T.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
515
+ x: o.value.centerX,
516
+ y: o.value.top + o.value.height / T.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
505
517
  "text-anchor": "middle",
506
518
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
507
519
  fill: e.value.style.layout.dataLabels.yAxis.color,
@@ -511,44 +523,44 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
511
523
  l,
512
524
  u(_)({ v: l }),
513
525
  { datapoint: l, seriesIndex: a }
514
- )), 9, ct)) : y("", !0)
526
+ )), 9, gt)) : y("", !0)
515
527
  ], 64))), 256))
516
528
  ])) : y("", !0),
517
- e.value.style.layout.dataLabels.xAxis.show ? (i(), n("g", gt, [
518
- e.value.style.layout.grid.show ? (i(), n("g", pt, [
529
+ e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", pt, [
530
+ e.value.style.layout.grid.show ? (i(), r("g", bt, [
519
531
  d("line", {
520
532
  x1: $.value.right[0].x,
521
533
  x2: $.value.right.at(-1).x,
522
- y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
523
- y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
534
+ y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
535
+ y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
524
536
  stroke: e.value.style.layout.grid.stroke,
525
537
  "stroke-width": e.value.style.layout.grid.strokeWidth,
526
538
  "stroke-linecap": "round"
527
- }, null, 8, bt),
539
+ }, null, 8, xt),
528
540
  d("line", {
529
541
  x1: $.value.left[0].x,
530
542
  x2: $.value.left.at(-1).x,
531
- y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
532
- y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
543
+ y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
544
+ y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
533
545
  stroke: e.value.style.layout.grid.stroke,
534
546
  "stroke-width": e.value.style.layout.grid.strokeWidth,
535
547
  "stroke-linecap": "round"
536
- }, null, 8, xt)
548
+ }, null, 8, mt)
537
549
  ])) : y("", !0),
538
- (i(!0), n(z, null, P($.value.right, (l, a) => (i(), n("g", null, [
539
- e.value.style.layout.grid.show ? (i(), n("line", {
550
+ (i(!0), r(z, null, P($.value.right, (l, a) => (i(), r("g", null, [
551
+ e.value.style.layout.grid.show ? (i(), r("line", {
540
552
  key: 0,
541
553
  x1: l.x,
542
554
  x2: l.x,
543
- y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
544
- y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
555
+ y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
556
+ y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
545
557
  stroke: e.value.style.layout.grid.stroke,
546
558
  "stroke-width": e.value.style.layout.grid.strokeWidth,
547
559
  "stroke-linecap": "round"
548
- }, null, 8, mt)) : y("", !0),
560
+ }, null, 8, wt)) : y("", !0),
549
561
  d("text", {
550
562
  x: l.x,
551
- y: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
563
+ y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
552
564
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
553
565
  fill: e.value.style.layout.dataLabels.xAxis.color,
554
566
  "text-anchor": "middle",
@@ -560,22 +572,22 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
560
572
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
561
573
  }),
562
574
  { datapoint: l, seriesIndex: a }
563
- )), 9, wt)
575
+ )), 9, kt)
564
576
  ]))), 256)),
565
- (i(!0), n(z, null, P($.value.left, (l, a) => (i(), n("g", null, [
566
- e.value.style.layout.grid.show ? (i(), n("line", {
577
+ (i(!0), r(z, null, P($.value.left, (l, a) => (i(), r("g", null, [
578
+ e.value.style.layout.grid.show ? (i(), r("line", {
567
579
  key: 0,
568
580
  x1: l.x,
569
581
  x2: l.x,
570
- y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
571
- y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
582
+ y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
583
+ y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 4,
572
584
  stroke: e.value.style.layout.grid.stroke,
573
585
  "stroke-width": e.value.style.layout.grid.strokeWidth,
574
586
  "stroke-linecap": "round"
575
- }, null, 8, kt)) : y("", !0),
587
+ }, null, 8, _t)) : y("", !0),
576
588
  d("text", {
577
589
  x: l.x,
578
- y: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
590
+ y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
579
591
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
580
592
  fill: e.value.style.layout.dataLabels.xAxis.color,
581
593
  "text-anchor": "middle",
@@ -587,37 +599,37 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
587
599
  v: l.value / e.value.style.layout.dataLabels.xAxis.scale
588
600
  }),
589
601
  { datapoint: l, seriesIndex: a }
590
- )), 9, _t)
602
+ )), 9, Ct)
591
603
  ]))), 256)),
592
604
  d("text", {
593
- x: s.value.right,
605
+ x: o.value.right,
594
606
  y: g.value.height,
595
607
  "text-anchor": "end",
596
608
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
597
609
  fill: e.value.style.layout.dataLabels.xAxis.color,
598
610
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
599
- }, w(e.value.style.layout.dataLabels.xAxis.translation), 9, Ct)
611
+ }, w(e.value.style.layout.dataLabels.xAxis.translation), 9, $t)
600
612
  ])) : y("", !0)
601
613
  ]),
602
- (i(!0), n(z, null, P(H.dataset, (l, a) => (i(), n("g", null, [
614
+ (i(!0), r(z, null, P(j.dataset, (l, a) => (i(), r("g", null, [
603
615
  d("rect", {
604
- x: s.value.left,
605
- y: s.value.top + s.value.height / T.value * a - e.value.style.layout.bars.gap / 2,
606
- width: s.value.width <= 0 ? 1e-4 : s.value.width,
607
- height: s.value.height / T.value <= 0 ? 1e-4 : s.value.height / T.value,
616
+ x: o.value.left,
617
+ y: o.value.top + o.value.height / T.value * a - e.value.style.layout.bars.gap / 2,
618
+ width: o.value.width <= 0 ? 1e-4 : o.value.width,
619
+ height: o.value.height / T.value <= 0 ? 1e-4 : o.value.height / T.value,
608
620
  fill: N.value !== null && N.value === a ? u(X)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
609
- onMouseover: (r) => Ce(a, l),
610
- onMouseleave: o[0] || (o[0] = (r) => {
621
+ onMouseover: (n) => Ce(a, l),
622
+ onMouseleave: s[0] || (s[0] = (n) => {
611
623
  N.value = null, G.value = !1;
612
624
  })
613
- }, null, 40, $t)
625
+ }, null, 40, Tt)
614
626
  ]))), 256)),
615
- f(t.$slots, "svg", { svg: g.value }, void 0, !0)
627
+ h(t.$slots, "svg", { svg: g.value }, void 0, !0)
616
628
  ], 14, et)) : y("", !0),
617
- t.$slots.watermark ? (i(), n("div", Tt, [
618
- f(t.$slots, "watermark", I(F({ isPrinting: u(oe) || u(se) })), void 0, !0)
629
+ t.$slots.watermark ? (i(), r("div", At, [
630
+ h(t.$slots, "watermark", I(F({ isPrinting: u(oe) || u(se) })), void 0, !0)
619
631
  ])) : y("", !0),
620
- M.value ? y("", !0) : (i(), S(Ye, {
632
+ M.value ? y("", !0) : (i(), S(He, {
621
633
  key: 6,
622
634
  config: {
623
635
  type: "pyramid",
@@ -629,14 +641,14 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
629
641
  }
630
642
  }
631
643
  }, null, 8, ["config"])),
632
- f(t.$slots, "legend", { legend: A.value }, void 0, !0),
633
- t.$slots.source ? (i(), n("div", {
644
+ h(t.$slots, "legend", { legend: A.value }, void 0, !0),
645
+ t.$slots.source ? (i(), r("div", {
634
646
  key: 7,
635
647
  ref_key: "source",
636
648
  ref: q,
637
649
  dir: "auto"
638
650
  }, [
639
- f(t.$slots, "source", {}, void 0, !0)
651
+ h(t.$slots, "source", {}, void 0, !0)
640
652
  ], 512)) : y("", !0),
641
653
  he(Xe, {
642
654
  show: m.value.showTooltip && G.value,
@@ -655,14 +667,14 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
655
667
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
656
668
  }, {
657
669
  "tooltip-before": p(() => [
658
- f(t.$slots, "tooltip-before", I(F({ ...V.value })), void 0, !0)
670
+ h(t.$slots, "tooltip-before", I(F({ ...E.value })), void 0, !0)
659
671
  ]),
660
672
  "tooltip-after": p(() => [
661
- f(t.$slots, "tooltip-after", I(F({ ...V.value })), void 0, !0)
673
+ h(t.$slots, "tooltip-after", I(F({ ...E.value })), void 0, !0)
662
674
  ]),
663
675
  _: 3
664
676
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
665
- M.value ? (i(), S(je, {
677
+ M.value ? (i(), S(Ye, {
666
678
  key: 8,
667
679
  hideDetails: "",
668
680
  config: {
@@ -679,14 +691,14 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
679
691
  }
680
692
  }, {
681
693
  content: p(() => [
682
- (i(), S(He, {
694
+ (i(), S(je, {
683
695
  key: `table_${Q.value}`,
684
696
  colNames: R.value.colNames,
685
697
  head: R.value.head,
686
698
  body: R.value.body,
687
699
  config: R.value.config,
688
700
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
689
- onClose: o[1] || (o[1] = (l) => m.value.showTable = !1)
701
+ onClose: s[1] || (s[1] = (l) => m.value.showTable = !1)
690
702
  }, {
691
703
  th: p(({ th: l }) => [
692
704
  fe(w(l), 1)
@@ -701,7 +713,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
701
713
  }, 8, ["config"])) : y("", !0)
702
714
  ], 46, Ze));
703
715
  }
704
- }, Vt = /* @__PURE__ */ Qe(At, [["__scopeId", "data-v-0b42a758"]]);
716
+ }, Vt = /* @__PURE__ */ Qe(Lt, [["__scopeId", "data-v-8fdd585f"]]);
705
717
  export {
706
718
  Vt as default
707
719
  };