vue-data-ui 2.3.28 → 2.3.30

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 (180) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
  19. package/dist/index-hKWfT7Wa.cjs +4 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +66 -0
  22. package/dist/types/vue-data-ui.d.ts +66 -0
  23. package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
  24. package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  25. package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
  26. package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  27. package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  28. package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  29. package/dist/vue-data-ui.cjs +1 -1
  30. package/dist/vue-data-ui.js +6 -6
  31. package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  32. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  33. package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  36. package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  37. package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  38. package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  41. package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  43. package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  44. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  45. package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  46. package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  49. package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  50. package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  51. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  52. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  53. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  55. package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  56. package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  57. package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  58. package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  59. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  60. package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  61. package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
  63. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  64. package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  65. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  66. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  67. package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  68. package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  70. package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  74. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  75. package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  76. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  77. package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  78. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  80. package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  81. package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  82. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  83. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  84. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  85. package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  86. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  87. package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  88. package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
  89. package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  90. package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  91. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  92. package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  93. package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  94. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  95. package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  97. package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  98. package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  101. package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  102. package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  103. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  104. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  105. package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  107. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  108. package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  109. package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  111. package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  112. package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  113. package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  114. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  115. package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  116. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  117. package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  118. package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
  119. package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  121. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  122. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  123. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  124. package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  125. package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  126. package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  127. package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  128. package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  130. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  131. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  132. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  133. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  134. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  135. package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  137. package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
  138. package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
  139. package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  140. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  141. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  142. package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  143. package/package.json +1 -1
  144. package/dist/DataTable-B4_9ynlY.cjs +0 -1
  145. package/dist/index-Y23HeR26.cjs +0 -4
  146. package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
  148. package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
  149. package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
  150. package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
  151. package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
  152. package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
  153. package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
  154. package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
  155. package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
  156. package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
  157. package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
  158. package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
  159. package/dist/vue-ui-onion-DiychUul.cjs +0 -1
  160. package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
  162. package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
  163. package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
  164. package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
  165. package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
  166. package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
  167. package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
  168. package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
  169. package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
  170. package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
  171. package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
  173. package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
  174. package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
  175. package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
  176. package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
  177. package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
  178. package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
  179. package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
  180. package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
@@ -1,18 +1,18 @@
1
- import { computed as p, ref as d, onMounted as ve, openBlock as i, createElementBlock as u, normalizeClass as Z, normalizeStyle as R, createVNode as D, createCommentVNode as v, createBlock as G, unref as h, createSlots as ye, withCtx as f, renderSlot as g, normalizeProps as I, guardReactiveProps as M, createElementVNode as r, Fragment as $, renderList as S, toDisplayString as m, createTextVNode as ee, nextTick as he } from "vue";
2
- import { u as ce, c as fe, t as ge, o as pe, e as be, X as xe, s as te, r as B, v as me, w as we, n as ke, q as _e } from "./index-BhCM2QF1.js";
3
- import { t as $e, u as Ce } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Te } from "./Title-CtWGLaoz.js";
5
- import { u as Le, U as Se } from "./usePrinter-B75HLwzw.js";
6
- import { _ as ze } from "./Tooltip-D6BUVHr1.js";
7
- import { D as Ae } from "./DataTable-bEXuvNn5.js";
8
- import Fe from "./vue-ui-skeleton-_VMQ594N.js";
9
- import Ie from "./vue-ui-accordion-CSZdj7wA.js";
10
- import { u as le } from "./useNestedProp-CH3PVhvc.js";
11
- import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"], De = ["stop-color"], Ge = ["id"], Be = ["stop-color"], Ee = ["stop-color"], We = ["x", "y", "width", "height", "fill", "rx"], Xe = ["x", "y", "width", "height", "fill", "rx"], Ue = ["x", "y", "width", "height", "fill", "rx"], Ve = ["x", "y", "width", "height", "fill", "rx"], Ye = { key: 0 }, je = ["x", "y", "fill", "font-size", "font-weight"], He = ["x", "y", "fill", "font-size", "font-weight"], qe = { key: 1 }, Je = ["x", "y", "font-size", "fill", "font-weight"], Ke = { key: 2 }, Qe = { key: 0 }, Ze = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], lt = ["x", "y", "font-size", "fill", "font-weight"], at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ot = ["x", "y", "font-size", "fill", "font-weight"], st = ["x", "y", "font-size", "fill", "font-weight"], it = ["x", "y", "width", "height", "fill", "onMouseover"], ut = {
1
+ import { computed as p, ref as v, onMounted as he, openBlock as i, createElementBlock as r, normalizeClass as te, normalizeStyle as G, createVNode as B, createCommentVNode as y, createBlock as E, unref as d, createSlots as fe, withCtx as c, renderSlot as g, normalizeProps as O, guardReactiveProps as P, createElementVNode as n, Fragment as T, renderList as z, toDisplayString as m, createTextVNode as le, nextTick as ce } from "vue";
2
+ import { u as ge, c as pe, t as be, o as xe, e as me, X as we, s as ae, v as W, i as w, f as k, w as ke, x as _e, q as $e, r as Ce } from "./index-BlXzlBwZ.js";
3
+ import { t as Te, u as Le } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Ae } from "./Title-eBTH8iGJ.js";
5
+ import { u as Se, U as ze } from "./usePrinter-CZ8F5Cth.js";
6
+ import { _ as Ie } from "./Tooltip-B11OahTD.js";
7
+ import { D as Fe } from "./DataTable-CsPidn0_.js";
8
+ import Me from "./vue-ui-skeleton-CJ2R5R6u.js";
9
+ import Oe from "./vue-ui-accordion-wHRG3nXl.js";
10
+ import { u as oe } from "./useNestedProp-BoNl5H_z.js";
11
+ import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Ne = ["id"], Re = ["xmlns", "viewBox"], De = ["id"], Ge = ["stop-color"], Be = ["stop-color"], Ee = ["id"], We = ["stop-color"], Xe = ["stop-color"], Ue = ["x", "y", "width", "height", "fill", "rx"], Ve = ["x", "y", "width", "height", "fill", "rx"], Ye = ["x", "y", "width", "height", "fill", "rx"], je = ["x", "y", "width", "height", "fill", "rx"], He = { key: 0 }, qe = ["x", "y", "fill", "font-size", "font-weight"], Je = ["x", "y", "fill", "font-size", "font-weight"], Ke = { key: 1 }, Qe = ["x", "y", "font-size", "fill", "font-weight"], Ze = { key: 2 }, et = { key: 0 }, tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], at = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ot = ["x", "y", "font-size", "fill", "font-weight"], st = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], it = ["x", "y", "font-size", "fill", "font-weight"], ut = ["x", "y", "font-size", "fill", "font-weight"], rt = ["x", "y", "width", "height", "fill", "onMouseover"], nt = {
13
13
  key: 3,
14
14
  class: "vue-data-ui-watermark"
15
- }, rt = {
15
+ }, dt = {
16
16
  __name: "vue-ui-age-pyramid",
17
17
  props: {
18
18
  config: {
@@ -28,52 +28,52 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
28
28
  }
29
29
  }
30
30
  },
31
- setup(E, { expose: ae }) {
32
- const c = E, { vue_ui_age_pyramid: oe } = ce(), z = p(() => !!c.dataset && c.dataset.length), b = d(fe()), se = d(null), O = d(!1), P = d(""), A = d(null), W = d(0), C = d(null), X = d(null), e = p(() => {
33
- const t = le({
34
- userConfig: c.config,
35
- defaultConfig: oe
31
+ setup(X, { expose: se }) {
32
+ const f = X, { vue_ui_age_pyramid: ie } = ge(), I = p(() => !!f.dataset && f.dataset.length), b = v(pe()), ue = v(null), N = v(!1), R = v(""), F = v(null), U = v(0), L = v(null), V = v(null), e = p(() => {
33
+ const t = oe({
34
+ userConfig: f.config,
35
+ defaultConfig: ie
36
36
  });
37
37
  return t.theme ? {
38
- ...le({
39
- userConfig: ge.vue_ui_age_pyramid[t.theme] || c.config,
38
+ ...oe({
39
+ userConfig: be.vue_ui_age_pyramid[t.theme] || f.config,
40
40
  defaultConfig: t
41
41
  })
42
42
  } : t;
43
- }), U = d(null);
44
- ve(() => {
45
- if (pe(c.dataset) && be({
43
+ }), Y = v(null);
44
+ he(() => {
45
+ if (xe(f.dataset) && me({
46
46
  componentName: "VueUiAgePyramid",
47
47
  type: "dataset"
48
48
  }), e.value.responsive) {
49
- const t = $e(() => {
50
- const { width: s, height: l } = Ce({
51
- chart: C.value,
52
- title: e.value.style.title.text ? X.value : null
49
+ const t = Te(() => {
50
+ const { width: s, height: l } = Le({
51
+ chart: L.value,
52
+ title: e.value.style.title.text ? V.value : null
53
53
  });
54
- y.value.width = s, y.value.height = l;
54
+ h.value.width = s, h.value.height = l;
55
55
  });
56
- U.value = new ResizeObserver(t), U.value.observe(C.value.parentNode);
56
+ Y.value = new ResizeObserver(t), Y.value.observe(L.value.parentNode);
57
57
  }
58
58
  });
59
- const { isPrinting: V, isImaging: Y, generatePdf: j, generateImage: H } = Le({
59
+ const { isPrinting: j, isImaging: H, generatePdf: q, generateImage: J } = Se({
60
60
  elementId: `vue-ui-age-pyramid_${b.value}`,
61
61
  fileName: e.value.style.title.text || "vue-ui-age-pyramid"
62
- }), x = d({
62
+ }), x = v({
63
63
  showTable: e.value.table.show,
64
64
  showTooltip: e.value.style.tooltip.show
65
- }), y = d({
65
+ }), h = v({
66
66
  height: e.value.style.height,
67
67
  width: e.value.style.width
68
68
  }), o = p(() => {
69
- const t = y.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = y.value.width - e.value.style.layout.padding.right;
69
+ const t = h.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, s = e.value.style.layout.padding.left, l = h.value.width - e.value.style.layout.padding.right;
70
70
  return {
71
71
  top: e.value.style.layout.padding.top,
72
72
  left: s,
73
73
  right: l,
74
- bottom: y.value.height - e.value.style.layout.padding.bottom,
74
+ bottom: h.value.height - e.value.style.layout.padding.bottom,
75
75
  width: t,
76
- height: y.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
76
+ height: h.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
77
77
  centerX: e.value.style.layout.padding.left + t / 2,
78
78
  leftChart: {
79
79
  width: t / 2 - e.value.style.layout.centerSlit.width,
@@ -84,16 +84,16 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
84
84
  left: s + t / 2 + e.value.style.layout.centerSlit.width
85
85
  }
86
86
  };
87
- }), ie = p(() => c.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), w = p(() => {
88
- const t = ue(T.value / 5), s = [], l = [];
87
+ }), re = p(() => f.dataset.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), _ = p(() => {
88
+ const t = ne(A.value / 5), s = [], l = [];
89
89
  for (let a = 0; a <= 5; a += 1) {
90
- const n = t * a, Q = t * (a - 5);
90
+ const u = t * a, ee = t * (a - 5);
91
91
  s.push({
92
- value: n,
93
- x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + n / T.value * o.value.leftChart.width
92
+ value: u,
93
+ x: o.value.left + o.value.width / 2 + e.value.style.layout.centerSlit.width + u / A.value * o.value.leftChart.width
94
94
  }), l.push({
95
- value: Math.abs(Q),
96
- x: o.value.left + o.value.width / 2 + Q / T.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
95
+ value: Math.abs(ee),
96
+ x: o.value.left + o.value.width / 2 + ee / A.value * o.value.leftChart.width - e.value.style.layout.centerSlit.width
97
97
  });
98
98
  }
99
99
  return {
@@ -101,25 +101,25 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
101
101
  left: l
102
102
  };
103
103
  });
104
- function ue(t) {
104
+ function ne(t) {
105
105
  if (t === 0) return 0;
106
106
  const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
107
107
  let a;
108
108
  return t < 0, a = Math.round(t / l) * l, a;
109
109
  }
110
- const T = p(() => Math.max(...c.dataset.flatMap((t) => t.slice(-2)))), k = p(() => c.dataset.length), re = p(() => c.dataset.map((t) => ({
110
+ const A = p(() => Math.max(...f.dataset.flatMap((t) => t.slice(-2)))), $ = p(() => f.dataset.length), de = p(() => f.dataset.map((t) => ({
111
111
  segment: t[0],
112
112
  age: t[1],
113
113
  left: {
114
114
  value: t[2],
115
- proportionToMax: t[2] / T.value
115
+ proportionToMax: t[2] / A.value
116
116
  },
117
117
  right: {
118
118
  value: t[3],
119
- proportionToMax: t[3] / T.value
119
+ proportionToMax: t[3] / A.value
120
120
  }
121
- }))), _ = p(() => re.value.map((t, s) => {
122
- const l = o.value.top + o.value.height / k.value * s, a = o.value.height / k.value - e.value.style.layout.bars.gap;
121
+ }))), C = p(() => de.value.map((t, s) => {
122
+ const l = o.value.top + o.value.height / $.value * s, a = o.value.height / $.value - e.value.style.layout.bars.gap;
123
123
  return {
124
124
  segment: t.segment,
125
125
  age: t.age,
@@ -140,16 +140,16 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
140
140
  height: a
141
141
  }
142
142
  };
143
- })), N = d(null);
144
- function ne(t, s) {
145
- A.value = t, N.value = {
143
+ })), D = v(null);
144
+ function ve(t, s) {
145
+ F.value = t, D.value = {
146
146
  datapoint: s,
147
147
  seriesIndex: t,
148
- series: _.value,
148
+ series: C.value,
149
149
  config: e.value
150
150
  };
151
151
  const l = e.value.style.tooltip.customFormat;
152
- if (me(l) && we(() => l({
152
+ if (ke(l) && _e(() => l({
153
153
  seriesIndex: t,
154
154
  datapoint: {
155
155
  segment: s[0],
@@ -157,10 +157,10 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
157
157
  left: s[2],
158
158
  right: s[3]
159
159
  },
160
- series: _.value,
160
+ series: C.value,
161
161
  config: e.value
162
162
  })))
163
- P.value = l({
163
+ R.value = l({
164
164
  seriesIndex: t,
165
165
  datapoint: {
166
166
  segment: s[0],
@@ -168,36 +168,56 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
168
168
  left: s[2],
169
169
  right: s[3]
170
170
  },
171
- series: _.value,
171
+ series: C.value,
172
172
  config: e.value
173
173
  });
174
174
  else {
175
175
  let a = "";
176
- const n = _.value[t];
177
- a += `<div><b>${n.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${n.age}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${b.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${n.left.value.toLocaleString()}</b></div></div>`, a += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${b.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${n.right.value.toLocaleString()}</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>${(n.left.value + n.right.value).toLocaleString()}</b></div></div>`, a += "</div>", P.value = `<div>${a}</div>`;
176
+ const u = C.value[t];
177
+ a += `<div><b>${u.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${w(
178
+ e.value.style.layout.dataLabels.yAxis.formatter,
179
+ u.age,
180
+ k({ v: u.age }),
181
+ { datapoint: s, seriesIndex: t }
182
+ )}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${b.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${w(
183
+ e.value.style.layout.dataLabels.xAxis.formatter,
184
+ u.left.value,
185
+ k({ v: u.left.value }),
186
+ { datapoint: s, seriesIndex: t }
187
+ )}</b></div></div>`, a += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${b.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${w(
188
+ e.value.style.layout.dataLabels.xAxis.formatter,
189
+ u.right.value,
190
+ k({ v: u.right.value }),
191
+ { datapoint: s, seriesIndex: t }
192
+ )}</b></div></div>`, a += "</div>", a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${w(
193
+ e.value.style.layout.dataLabels.xAxis.formatter,
194
+ u.right.value + u.left.value,
195
+ k({ v: u.right.value + u.left.value }),
196
+ { datapoint: s, seriesIndex: t }
197
+ )}</b></div></div>`, a += "</div>", R.value = `<div>${a}</div>`;
178
198
  }
179
- O.value = !0;
199
+ N.value = !0;
180
200
  }
181
- function q() {
182
- he(() => {
183
- 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) => [
184
- n[0],
185
- n[1],
186
- n[2],
187
- n[3],
188
- n[2] + n[3]
189
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = ke(l);
190
- _e({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
201
+ function K() {
202
+ ce(() => {
203
+ const t = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], s = f.dataset.map((u) => [
204
+ u[0],
205
+ u[1],
206
+ u[2],
207
+ u[3],
208
+ u[2] + u[3]
209
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(s), a = $e(l);
210
+ Ce({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
191
211
  });
192
212
  }
193
- const F = p(() => {
213
+ const M = p(() => {
194
214
  const t = [
195
215
  e.value.translations.year,
196
216
  e.value.translations.age,
197
217
  e.value.translations.female,
198
218
  e.value.translations.male,
199
219
  e.value.translations.total
200
- ], s = c.dataset.map((a) => [
220
+ ], s = f.dataset.map((a) => [
201
221
  a[0],
202
222
  a[1],
203
223
  a[2].toLocaleString(),
@@ -217,36 +237,36 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
217
237
  breakpoint: e.value.table.responsiveBreakpoint
218
238
  };
219
239
  return { head: t, body: s, config: l, colNames: t };
220
- }), L = d(!1);
221
- function de(t) {
222
- L.value = t, W.value += 1;
240
+ }), S = v(!1);
241
+ function ye(t) {
242
+ S.value = t, U.value += 1;
223
243
  }
224
- function J() {
244
+ function Q() {
225
245
  x.value.showTable = !x.value.showTable;
226
246
  }
227
- function K() {
247
+ function Z() {
228
248
  x.value.showTooltip = !x.value.showTooltip;
229
249
  }
230
- return ae({
231
- generatePdf: j,
232
- generateCsv: q,
233
- generateImage: H,
234
- toggleTable: J,
235
- toggleTooltip: K
236
- }), (t, s) => (i(), u("div", {
237
- class: Z(`vue-ui-age-pyramid ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
250
+ return se({
251
+ generatePdf: q,
252
+ generateCsv: K,
253
+ generateImage: J,
254
+ toggleTable: Q,
255
+ toggleTooltip: Z
256
+ }), (t, s) => (i(), r("div", {
257
+ class: te(`vue-ui-age-pyramid ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
238
258
  ref_key: "agePyramid",
239
- ref: C,
259
+ ref: L,
240
260
  id: `vue-ui-age-pyramid_${b.value}`,
241
- style: R(`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%" : ""}`)
261
+ style: G(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
242
262
  }, [
243
- e.value.style.title.text ? (i(), u("div", {
263
+ e.value.style.title.text ? (i(), r("div", {
244
264
  key: 0,
245
265
  ref_key: "chartTitle",
246
- ref: X,
247
- style: R(`width:100%;background:${e.value.style.backgroundColor}`)
266
+ ref: V,
267
+ style: G(`width:100%;background:${e.value.style.backgroundColor}`)
248
268
  }, [
249
- D(Te, {
269
+ B(Ae, {
250
270
  config: {
251
271
  title: {
252
272
  cy: "pyramid-div-title",
@@ -258,15 +278,15 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
258
278
  }
259
279
  }
260
280
  }, null, 8, ["config"])
261
- ], 4)) : v("", !0),
262
- e.value.userOptions.show && z.value ? (i(), G(Se, {
281
+ ], 4)) : y("", !0),
282
+ e.value.userOptions.show && I.value ? (i(), E(ze, {
263
283
  ref_key: "details",
264
- ref: se,
265
- key: `user_options_${W.value}`,
284
+ ref: ue,
285
+ key: `user_options_${U.value}`,
266
286
  backgroundColor: e.value.style.backgroundColor,
267
287
  color: e.value.style.color,
268
- isImaging: h(Y),
269
- isPrinting: h(V),
288
+ isImaging: d(H),
289
+ isPrinting: d(j),
270
290
  uid: b.value,
271
291
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
272
292
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -274,190 +294,195 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
274
294
  hasImg: e.value.userOptions.buttons.img,
275
295
  hasTable: e.value.userOptions.buttons.table,
276
296
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
277
- isFullscreen: L.value,
297
+ isFullscreen: S.value,
278
298
  isTooltip: x.value.showTooltip,
279
299
  titles: { ...e.value.userOptions.buttonTitles },
280
- chartElement: C.value,
281
- onToggleFullscreen: de,
282
- onGeneratePdf: h(j),
283
- onGenerateCsv: q,
284
- onGenerateImage: h(H),
285
- onToggleTable: J,
286
- onToggleTooltip: K
287
- }, ye({ _: 2 }, [
300
+ chartElement: L.value,
301
+ onToggleFullscreen: ye,
302
+ onGeneratePdf: d(q),
303
+ onGenerateCsv: K,
304
+ onGenerateImage: d(J),
305
+ onToggleTable: Q,
306
+ onToggleTooltip: Z
307
+ }, fe({ _: 2 }, [
288
308
  t.$slots.optionTooltip ? {
289
309
  name: "optionTooltip",
290
- fn: f(() => [
310
+ fn: c(() => [
291
311
  g(t.$slots, "optionTooltip", {}, void 0, !0)
292
312
  ]),
293
313
  key: "0"
294
314
  } : void 0,
295
315
  t.$slots.optionPdf ? {
296
316
  name: "optionPdf",
297
- fn: f(() => [
317
+ fn: c(() => [
298
318
  g(t.$slots, "optionPdf", {}, void 0, !0)
299
319
  ]),
300
320
  key: "1"
301
321
  } : void 0,
302
322
  t.$slots.optionCsv ? {
303
323
  name: "optionCsv",
304
- fn: f(() => [
324
+ fn: c(() => [
305
325
  g(t.$slots, "optionCsv", {}, void 0, !0)
306
326
  ]),
307
327
  key: "2"
308
328
  } : void 0,
309
329
  t.$slots.optionImg ? {
310
330
  name: "optionImg",
311
- fn: f(() => [
331
+ fn: c(() => [
312
332
  g(t.$slots, "optionImg", {}, void 0, !0)
313
333
  ]),
314
334
  key: "3"
315
335
  } : void 0,
316
336
  t.$slots.optionTable ? {
317
337
  name: "optionTable",
318
- fn: f(() => [
338
+ fn: c(() => [
319
339
  g(t.$slots, "optionTable", {}, void 0, !0)
320
340
  ]),
321
341
  key: "4"
322
342
  } : void 0,
323
343
  t.$slots.optionFullscreen ? {
324
344
  name: "optionFullscreen",
325
- fn: f(({ toggleFullscreen: l, isFullscreen: a }) => [
326
- g(t.$slots, "optionFullscreen", I(M({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
345
+ fn: c(({ toggleFullscreen: l, isFullscreen: a }) => [
346
+ g(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
327
347
  ]),
328
348
  key: "5"
329
349
  } : void 0
330
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
331
- z.value ? (i(), u("svg", {
350
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
351
+ I.value ? (i(), r("svg", {
332
352
  key: 2,
333
- xmlns: h(xe),
334
- class: Z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
335
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${y.value.height <= 0 ? 10 : y.value.height}`,
336
- style: R(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
353
+ xmlns: d(we),
354
+ class: te({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
355
+ viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
356
+ style: G(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
337
357
  }, [
338
- r("defs", null, [
339
- r("linearGradient", {
358
+ n("defs", null, [
359
+ n("linearGradient", {
340
360
  id: `age_pyramid_left_${b.value}`,
341
361
  x1: "0%",
342
362
  y1: "0%",
343
363
  x2: "100%",
344
364
  y2: "0%"
345
365
  }, [
346
- r("stop", {
366
+ n("stop", {
347
367
  offset: "0%",
348
368
  "stop-color": e.value.style.layout.bars.left.color
349
- }, null, 8, Re),
350
- r("stop", {
369
+ }, null, 8, Ge),
370
+ n("stop", {
351
371
  offset: "100%",
352
- "stop-color": `${h(te)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue)}${h(B)[100 - e.value.style.layout.bars.gradient.intensity]}`
353
- }, null, 8, De)
354
- ], 8, Ne),
355
- r("linearGradient", {
372
+ "stop-color": `${d(ae)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
373
+ }, null, 8, Be)
374
+ ], 8, De),
375
+ n("linearGradient", {
356
376
  id: `age_pyramid_right_${b.value}`,
357
377
  x1: "0%",
358
378
  y1: "0%",
359
379
  x2: "100%",
360
380
  y2: "0%"
361
381
  }, [
362
- r("stop", {
382
+ n("stop", {
363
383
  offset: "0%",
364
- "stop-color": `${h(te)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue)}${h(B)[100 - e.value.style.layout.bars.gradient.intensity]}`
365
- }, null, 8, Be),
366
- r("stop", {
384
+ "stop-color": `${d(ae)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue)}${d(W)[100 - e.value.style.layout.bars.gradient.intensity]}`
385
+ }, null, 8, We),
386
+ n("stop", {
367
387
  offset: "100%",
368
388
  "stop-color": e.value.style.layout.bars.right.color
369
- }, null, 8, Ee)
370
- ], 8, Ge)
389
+ }, null, 8, Xe)
390
+ ], 8, Ee)
371
391
  ]),
372
- (i(!0), u($, null, S(_.value, (l, a) => (i(), u("g", null, [
373
- r("rect", {
392
+ (i(!0), r(T, null, z(C.value, (l, a) => (i(), r("g", null, [
393
+ n("rect", {
374
394
  x: l.left.x,
375
395
  y: l.left.y,
376
396
  width: l.left.width <= 0 ? 1e-4 : l.left.width,
377
397
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
378
398
  fill: e.value.style.layout.bars.gradient.underlayer,
379
399
  rx: e.value.style.layout.bars.borderRadius
380
- }, null, 8, We),
381
- r("rect", {
400
+ }, null, 8, Ue),
401
+ n("rect", {
382
402
  x: l.left.x,
383
403
  y: l.left.y,
384
404
  width: l.left.width <= 0 ? 1e-4 : l.left.width,
385
405
  height: l.left.height <= 0 ? 1e-4 : l.left.height,
386
406
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${b.value})` : l.left.color,
387
407
  rx: e.value.style.layout.bars.borderRadius
388
- }, null, 8, Xe),
389
- r("rect", {
408
+ }, null, 8, Ve),
409
+ n("rect", {
390
410
  x: l.right.x,
391
411
  y: l.right.y,
392
412
  width: l.right.width <= 0 ? 1e-4 : l.right.width,
393
413
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
394
414
  fill: e.value.style.layout.bars.gradient.underlayer,
395
415
  rx: e.value.style.layout.bars.borderRadius
396
- }, null, 8, Ue),
397
- r("rect", {
416
+ }, null, 8, Ye),
417
+ n("rect", {
398
418
  x: l.right.x,
399
419
  y: l.right.y,
400
420
  width: l.right.width <= 0 ? 1e-4 : l.right.width,
401
421
  height: l.right.height <= 0 ? 1e-4 : l.right.height,
402
422
  fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${b.value})` : l.right.color,
403
423
  rx: e.value.style.layout.bars.borderRadius
404
- }, null, 8, Ve)
424
+ }, null, 8, je)
405
425
  ]))), 256)),
406
- r("g", null, [
407
- e.value.style.layout.dataLabels.sideTitles.show ? (i(), u("g", Ye, [
408
- r("text", {
426
+ n("g", null, [
427
+ e.value.style.layout.dataLabels.sideTitles.show ? (i(), r("g", He, [
428
+ n("text", {
409
429
  x: o.value.left,
410
430
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
411
431
  fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.left.color : e.value.style.layout.dataLabels.sideTitles.color,
412
432
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
413
433
  "text-anchor": "start",
414
434
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
415
- }, m(e.value.translations.female), 9, je),
416
- r("text", {
435
+ }, m(e.value.translations.female), 9, qe),
436
+ n("text", {
417
437
  x: o.value.right,
418
438
  y: o.value.top + e.value.style.layout.dataLabels.sideTitles.offsetY,
419
439
  fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.right.color : e.value.style.layout.dataLabels.sideTitles.color,
420
440
  "font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
421
441
  "text-anchor": "end",
422
442
  "font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
423
- }, m(e.value.translations.male), 9, He)
424
- ])) : v("", !0),
425
- e.value.style.layout.dataLabels.yAxis.show ? (i(), u("g", qe, [
426
- (i(!0), u($, null, S(ie.value, (l, a) => (i(), u($, null, [
427
- a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), u("text", {
443
+ }, m(e.value.translations.male), 9, Je)
444
+ ])) : y("", !0),
445
+ e.value.style.layout.dataLabels.yAxis.show ? (i(), r("g", Ke, [
446
+ (i(!0), r(T, null, z(re.value, (l, a) => (i(), r(T, null, [
447
+ a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), r("text", {
428
448
  key: 0,
429
449
  x: o.value.centerX,
430
- y: o.value.top + o.value.height / k.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
450
+ y: o.value.top + o.value.height / $.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
431
451
  "text-anchor": "middle",
432
452
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
433
453
  fill: e.value.style.layout.dataLabels.yAxis.color,
434
454
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
435
- }, m(l), 9, Je)) : v("", !0)
455
+ }, m(d(w)(
456
+ e.value.style.layout.dataLabels.yAxis.formatter,
457
+ l,
458
+ d(k)({ v: l }),
459
+ { datapoint: l, seriesIndex: a }
460
+ )), 9, Qe)) : y("", !0)
436
461
  ], 64))), 256))
437
- ])) : v("", !0),
438
- e.value.style.layout.dataLabels.xAxis.show ? (i(), u("g", Ke, [
439
- e.value.style.layout.grid.show ? (i(), u("g", Qe, [
440
- r("line", {
441
- x1: w.value.right[0].x,
442
- x2: w.value.right.at(-1).x,
462
+ ])) : y("", !0),
463
+ e.value.style.layout.dataLabels.xAxis.show ? (i(), r("g", Ze, [
464
+ e.value.style.layout.grid.show ? (i(), r("g", et, [
465
+ n("line", {
466
+ x1: _.value.right[0].x,
467
+ x2: _.value.right.at(-1).x,
443
468
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
444
469
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
445
470
  stroke: e.value.style.layout.grid.stroke,
446
471
  "stroke-width": e.value.style.layout.grid.strokeWidth,
447
472
  "stroke-linecap": "round"
448
- }, null, 8, Ze),
449
- r("line", {
450
- x1: w.value.left[0].x,
451
- x2: w.value.left.at(-1).x,
473
+ }, null, 8, tt),
474
+ n("line", {
475
+ x1: _.value.left[0].x,
476
+ x2: _.value.left.at(-1).x,
452
477
  y1: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
453
478
  y2: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
454
479
  stroke: e.value.style.layout.grid.stroke,
455
480
  "stroke-width": e.value.style.layout.grid.strokeWidth,
456
481
  "stroke-linecap": "round"
457
- }, null, 8, et)
458
- ])) : v("", !0),
459
- (i(!0), u($, null, S(w.value.right, (l) => (i(), u("g", null, [
460
- e.value.style.layout.grid.show ? (i(), u("line", {
482
+ }, null, 8, lt)
483
+ ])) : y("", !0),
484
+ (i(!0), r(T, null, z(_.value.right, (l, a) => (i(), r("g", null, [
485
+ e.value.style.layout.grid.show ? (i(), r("line", {
461
486
  key: 0,
462
487
  x1: l.x,
463
488
  x2: l.x,
@@ -466,18 +491,25 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
466
491
  stroke: e.value.style.layout.grid.stroke,
467
492
  "stroke-width": e.value.style.layout.grid.strokeWidth,
468
493
  "stroke-linecap": "round"
469
- }, null, 8, tt)) : v("", !0),
470
- r("text", {
494
+ }, null, 8, at)) : y("", !0),
495
+ n("text", {
471
496
  x: l.x,
472
497
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
473
498
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
474
499
  fill: e.value.style.layout.dataLabels.xAxis.color,
475
500
  "text-anchor": "middle",
476
501
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
477
- }, m(Number((l.value / e.value.style.layout.dataLabels.xAxis.scale).toFixed(0)).toLocaleString()), 9, lt)
502
+ }, m(d(w)(
503
+ e.value.style.layout.dataLabels.xAxis.formatter,
504
+ l.value / e.value.style.layout.dataLabels.xAxis.scale,
505
+ d(k)({
506
+ v: l.value / e.value.style.layout.dataLabels.xAxis.scale
507
+ }),
508
+ { datapoint: l, seriesIndex: a }
509
+ )), 9, ot)
478
510
  ]))), 256)),
479
- (i(!0), u($, null, S(w.value.left, (l) => (i(), u("g", null, [
480
- e.value.style.layout.grid.show ? (i(), u("line", {
511
+ (i(!0), r(T, null, z(_.value.left, (l, a) => (i(), r("g", null, [
512
+ e.value.style.layout.grid.show ? (i(), r("line", {
481
513
  key: 0,
482
514
  x1: l.x,
483
515
  x2: l.x,
@@ -486,45 +518,52 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
486
518
  stroke: e.value.style.layout.grid.stroke,
487
519
  "stroke-width": e.value.style.layout.grid.strokeWidth,
488
520
  "stroke-linecap": "round"
489
- }, null, 8, at)) : v("", !0),
490
- r("text", {
521
+ }, null, 8, st)) : y("", !0),
522
+ n("text", {
491
523
  x: l.x,
492
524
  y: o.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2,
493
525
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
494
526
  fill: e.value.style.layout.dataLabels.xAxis.color,
495
527
  "text-anchor": "middle",
496
528
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
497
- }, m(Number((l.value / e.value.style.layout.dataLabels.xAxis.scale).toFixed(0)).toLocaleString()), 9, ot)
529
+ }, m(d(w)(
530
+ e.value.style.layout.dataLabels.xAxis.formatter,
531
+ l.value / e.value.style.layout.dataLabels.xAxis.scale,
532
+ d(k)({
533
+ v: l.value / e.value.style.layout.dataLabels.xAxis.scale
534
+ }),
535
+ { datapoint: l, seriesIndex: a }
536
+ )), 9, it)
498
537
  ]))), 256)),
499
- r("text", {
538
+ n("text", {
500
539
  x: o.value.right,
501
- y: y.value.height,
540
+ y: h.value.height,
502
541
  "text-anchor": "end",
503
542
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
504
543
  fill: e.value.style.layout.dataLabels.xAxis.color,
505
544
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
506
- }, m(e.value.style.layout.dataLabels.xAxis.translation), 9, st)
507
- ])) : v("", !0)
545
+ }, m(e.value.style.layout.dataLabels.xAxis.translation), 9, ut)
546
+ ])) : y("", !0)
508
547
  ]),
509
- (i(!0), u($, null, S(E.dataset, (l, a) => (i(), u("g", null, [
510
- r("rect", {
548
+ (i(!0), r(T, null, z(X.dataset, (l, a) => (i(), r("g", null, [
549
+ n("rect", {
511
550
  x: o.value.left,
512
- y: o.value.top + o.value.height / k.value * a - e.value.style.layout.bars.gap / 2,
551
+ y: o.value.top + o.value.height / $.value * a - e.value.style.layout.bars.gap / 2,
513
552
  width: o.value.width <= 0 ? 1e-4 : o.value.width,
514
- height: o.value.height / k.value <= 0 ? 1e-4 : o.value.height / k.value,
515
- fill: A.value !== null && A.value === a ? `${e.value.style.highlighter.color}${h(B)[e.value.style.highlighter.opacity]}` : "transparent",
516
- onMouseover: (n) => ne(a, l),
517
- onMouseleave: s[0] || (s[0] = (n) => {
518
- A.value = null, O.value = !1;
553
+ height: o.value.height / $.value <= 0 ? 1e-4 : o.value.height / $.value,
554
+ fill: F.value !== null && F.value === a ? `${e.value.style.highlighter.color}${d(W)[e.value.style.highlighter.opacity]}` : "transparent",
555
+ onMouseover: (u) => ve(a, l),
556
+ onMouseleave: s[0] || (s[0] = (u) => {
557
+ F.value = null, N.value = !1;
519
558
  })
520
- }, null, 40, it)
559
+ }, null, 40, rt)
521
560
  ]))), 256)),
522
- g(t.$slots, "svg", { svg: y.value }, void 0, !0)
523
- ], 14, Pe)) : v("", !0),
524
- t.$slots.watermark ? (i(), u("div", ut, [
525
- g(t.$slots, "watermark", I(M({ isPrinting: h(V) || h(Y) })), void 0, !0)
526
- ])) : v("", !0),
527
- z.value ? v("", !0) : (i(), G(Fe, {
561
+ g(t.$slots, "svg", { svg: h.value }, void 0, !0)
562
+ ], 14, Re)) : y("", !0),
563
+ t.$slots.watermark ? (i(), r("div", nt, [
564
+ g(t.$slots, "watermark", O(P({ isPrinting: d(j) || d(H) })), void 0, !0)
565
+ ])) : y("", !0),
566
+ I.value ? y("", !0) : (i(), E(Me, {
528
567
  key: 4,
529
568
  config: {
530
569
  type: "pyramid",
@@ -536,9 +575,9 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
536
575
  }
537
576
  }
538
577
  }, null, 8, ["config"])),
539
- g(t.$slots, "legend", { legend: _.value }, void 0, !0),
540
- D(ze, {
541
- show: x.value.showTooltip && O.value,
578
+ g(t.$slots, "legend", { legend: C.value }, void 0, !0),
579
+ B(Ie, {
580
+ show: x.value.showTooltip && N.value,
542
581
  backgroundColor: e.value.style.tooltip.backgroundColor,
543
582
  color: e.value.style.tooltip.color,
544
583
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -548,19 +587,19 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
548
587
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
549
588
  position: e.value.style.tooltip.position,
550
589
  offsetY: e.value.style.tooltip.offsetY,
551
- parent: C.value,
552
- content: P.value,
590
+ parent: L.value,
591
+ content: R.value,
553
592
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
554
593
  }, {
555
- "tooltip-before": f(() => [
556
- g(t.$slots, "tooltip-before", I(M({ ...N.value })), void 0, !0)
594
+ "tooltip-before": c(() => [
595
+ g(t.$slots, "tooltip-before", O(P({ ...D.value })), void 0, !0)
557
596
  ]),
558
- "tooltip-after": f(() => [
559
- g(t.$slots, "tooltip-after", I(M({ ...N.value })), void 0, !0)
597
+ "tooltip-after": c(() => [
598
+ g(t.$slots, "tooltip-after", O(P({ ...D.value })), void 0, !0)
560
599
  ]),
561
600
  _: 3
562
601
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
563
- z.value ? (i(), G(Ie, {
602
+ I.value ? (i(), E(Oe, {
564
603
  key: 5,
565
604
  hideDetails: "",
566
605
  config: {
@@ -576,29 +615,29 @@ const Oe = ["id"], Pe = ["xmlns", "viewBox"], Ne = ["id"], Re = ["stop-color"],
576
615
  }
577
616
  }
578
617
  }, {
579
- content: f(() => [
580
- D(Ae, {
581
- colNames: F.value.colNames,
582
- head: F.value.head,
583
- body: F.value.body,
584
- config: F.value.config,
618
+ content: c(() => [
619
+ B(Fe, {
620
+ colNames: M.value.colNames,
621
+ head: M.value.head,
622
+ body: M.value.body,
623
+ config: M.value.config,
585
624
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
586
625
  onClose: s[1] || (s[1] = (l) => x.value.showTable = !1)
587
626
  }, {
588
- th: f(({ th: l }) => [
589
- ee(m(l), 1)
627
+ th: c(({ th: l }) => [
628
+ le(m(l), 1)
590
629
  ]),
591
- td: f(({ td: l }) => [
592
- ee(m(l), 1)
630
+ td: c(({ td: l }) => [
631
+ le(m(l), 1)
593
632
  ]),
594
633
  _: 1
595
634
  }, 8, ["colNames", "head", "body", "config", "title"])
596
635
  ]),
597
636
  _: 1
598
- }, 8, ["config"])) : v("", !0)
599
- ], 14, Oe));
637
+ }, 8, ["config"])) : y("", !0)
638
+ ], 14, Ne));
600
639
  }
601
- }, mt = /* @__PURE__ */ Me(rt, [["__scopeId", "data-v-c27f85b0"]]);
640
+ }, kt = /* @__PURE__ */ Pe(dt, [["__scopeId", "data-v-2386706e"]]);
602
641
  export {
603
- mt as default
642
+ kt as default
604
643
  };