vue-data-ui 2.3.99 → 2.4.1

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 (157) hide show
  1. package/README.md +12 -10
  2. package/dist/{Arrow-Dyp57i2e.js → Arrow-BIs_9yK8.js} +1 -1
  3. package/dist/{Arrow-DwqF2Xky.cjs → Arrow-DpMf3yPs.cjs} +1 -1
  4. package/dist/{BaseIcon-DHB44s-g.js → BaseIcon-CXDdkPfN.js} +4 -3
  5. package/dist/{BaseIcon-BDeByyf-.cjs → BaseIcon-E7FmzMcY.cjs} +1 -1
  6. package/dist/{DataTable-CiVu-yQZ.cjs → DataTable-BTgMVOwp.cjs} +1 -1
  7. package/dist/{DataTable-Dv3mZD4M.js → DataTable-DL2agEJ3.js} +2 -2
  8. package/dist/{Legend-iUlykl4S.js → Legend-DXLiSLHd.js} +23 -17
  9. package/dist/Legend-Dj9KiaLv.cjs +1 -0
  10. package/dist/PackageVersion-D4D0WicU.cjs +1 -0
  11. package/dist/{PackageVersion-DWAqn7t0.js → PackageVersion-DtnhR89q.js} +1 -1
  12. package/dist/{Shape-D-cMBFx-.cjs → Shape-7EC2UKDK.cjs} +1 -1
  13. package/dist/{Shape-CDqrt_yL.js → Shape-CO_Ak9Zm.js} +1 -1
  14. package/dist/{Slicer-CQbVH6fI.js → Slicer-BZfUZr1J.js} +2 -2
  15. package/dist/{Slicer-iAp8x_Wq.cjs → Slicer-CLAVjSQP.cjs} +1 -1
  16. package/dist/Title-C-lm3Mkl.cjs +1 -0
  17. package/dist/{Title-CDfZWgra.js → Title-DYNLqCCT.js} +21 -17
  18. package/dist/{Tooltip-0-aPeOmA.js → Tooltip-CICAYyQj.js} +1 -1
  19. package/dist/{Tooltip-D-JR_3NK.cjs → Tooltip-t-3mVhcz.cjs} +1 -1
  20. package/dist/documentation/installation.md +10 -9
  21. package/dist/index-C7_6YjWN.cjs +9 -0
  22. package/dist/{index-COTjlcVF.js → index-DDXisDKy.js} +578 -378
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +90 -5
  25. package/dist/types/vue-data-ui.d.ts +90 -5
  26. package/dist/{useNestedProp-np0rM3ep.cjs → useNestedProp-CC9zGr7C.cjs} +1 -1
  27. package/dist/{useNestedProp-CcjyiBlC.js → useNestedProp-S1UXxUgm.js} +1 -1
  28. package/dist/{usePrinter-DuYSC89K.cjs → usePrinter-8EP4iaGm.cjs} +1 -1
  29. package/dist/{usePrinter-5XpNgqjh.js → usePrinter-8ofTb2MJ.js} +1 -1
  30. package/dist/vue-data-ui-4Yd255Ia.cjs +9 -0
  31. package/dist/{vue-data-ui-Bu3V-W6l.js → vue-data-ui-Cp7bO_tj.js} +68 -66
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +52 -51
  34. package/dist/{vue-ui-3d-bar-C3EecSgn.cjs → vue-ui-3d-bar-BeR2aBgQ.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-DmM70v1H.js → vue-ui-3d-bar-DcF1nyGW.js} +8 -8
  36. package/dist/{vue-ui-accordion-ZppPKpGK.cjs → vue-ui-accordion-Cc9958th.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CzKJYxd2.js → vue-ui-accordion-D_1fE5EF.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Bkyd3O37.js → vue-ui-age-pyramid-Oe_yHDL0.js} +9 -9
  39. package/dist/{vue-ui-age-pyramid-BhmOvXIW.cjs → vue-ui-age-pyramid-R-C4P4mI.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-rwo7Hm5A.cjs → vue-ui-annotator-Dbp6cWMr.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-Bmk4N4Co.js → vue-ui-annotator-Dix6_Gm6.js} +1 -1
  42. package/dist/vue-ui-bullet-CQKaC4wG.js +409 -0
  43. package/dist/vue-ui-bullet-DSZox236.cjs +23 -0
  44. package/dist/{vue-ui-candlestick-o8m1DAm8.js → vue-ui-candlestick-CRwzWF6j.js} +10 -10
  45. package/dist/{vue-ui-candlestick-CnYobq1k.cjs → vue-ui-candlestick-Dilozp3V.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-DAck3_R_.js → vue-ui-carousel-table-BHeEbRKY.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-DLQcAZx4.cjs → vue-ui-carousel-table-C0GDDSW9.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-BAQVvxrX.js → vue-ui-chestnut-CRk0RCB9.js} +7 -7
  49. package/dist/{vue-ui-chestnut-r6lsB6H0.cjs → vue-ui-chestnut-DdEcEI04.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-ucua7LYB.cjs → vue-ui-cursor-lU1rts1B.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-CYNxiijm.js → vue-ui-cursor-y0kdr0uA.js} +2 -2
  52. package/dist/{vue-ui-dashboard-DhLCwsFn.cjs → vue-ui-dashboard-BfC0jS-X.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-nnHIe25Y.js → vue-ui-dashboard-OyihaKdu.js} +2 -2
  54. package/dist/{vue-ui-digits-CEI69I0y.cjs → vue-ui-digits-BJfcAiq_.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BB3ZlyZ6.js → vue-ui-digits-IKt4qT2-.js} +2 -2
  56. package/dist/{vue-ui-donut-Ba9Qhfte.js → vue-ui-donut-DFaGk4fI.js} +362 -336
  57. package/dist/vue-ui-donut-DTSVlGMg.cjs +1 -0
  58. package/dist/{vue-ui-donut-evolution-BZaYmvPf.cjs → vue-ui-donut-evolution-BuUafabD.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-CJHa5S50.js → vue-ui-donut-evolution-Dd4o37RP.js} +10 -10
  60. package/dist/{vue-ui-dumbbell-D_reERJf.js → vue-ui-dumbbell-B7j1_JoQ.js} +9 -9
  61. package/dist/{vue-ui-dumbbell-D6Yu9qxX.cjs → vue-ui-dumbbell-CVfgnyKi.cjs} +1 -1
  62. package/dist/{vue-ui-flow-1HFdth8-.cjs → vue-ui-flow-C45dODaB.cjs} +1 -1
  63. package/dist/{vue-ui-flow-sBFdpbtF.js → vue-ui-flow-DkPTzNv9.js} +8 -8
  64. package/dist/{vue-ui-galaxy-ccP0yuQ3.js → vue-ui-galaxy-CH1BDtWl.js} +10 -10
  65. package/dist/{vue-ui-galaxy-DO1moKk6.cjs → vue-ui-galaxy-DlPavMK0.cjs} +1 -1
  66. package/dist/{vue-ui-gauge-CYjZx4Zz.js → vue-ui-gauge-BXiy515T.js} +6 -6
  67. package/dist/{vue-ui-gauge-CuFpl36r.cjs → vue-ui-gauge-vMFUYHYH.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-DNZwsdp9.js → vue-ui-gizmo-CKQcbe_7.js} +3 -3
  69. package/dist/{vue-ui-gizmo-C3dyTngy.cjs → vue-ui-gizmo-DVwQaEH1.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-0qNGXzdN.js → vue-ui-heatmap-B-zWMk0Y.js} +9 -9
  71. package/dist/{vue-ui-heatmap-CLjngS-G.cjs → vue-ui-heatmap-CMQqQnxc.cjs} +1 -1
  72. package/dist/{vue-ui-kpi-BiOt8Z9k.js → vue-ui-kpi-CghbfSdM.js} +3 -3
  73. package/dist/{vue-ui-kpi-iclD49Wb.cjs → vue-ui-kpi-CuY3xlVq.cjs} +1 -1
  74. package/dist/{vue-ui-mini-loader-CBPZAUuP.js → vue-ui-mini-loader-C7roqZ4p.js} +2 -2
  75. package/dist/{vue-ui-mini-loader-ASe27a1V.cjs → vue-ui-mini-loader-CH_PfeDc.cjs} +1 -1
  76. package/dist/{vue-ui-molecule-VqY8WZHi.js → vue-ui-molecule-BwmkMEVN.js} +10 -10
  77. package/dist/{vue-ui-molecule-uCEX5lMP.cjs → vue-ui-molecule-nOuD0hR5.cjs} +1 -1
  78. package/dist/{vue-ui-mood-radar-RYbB7jdY.cjs → vue-ui-mood-radar-Bof_C9Ae.cjs} +1 -1
  79. package/dist/{vue-ui-mood-radar-B0cjzFkt.js → vue-ui-mood-radar-DSznHxLS.js} +10 -10
  80. package/dist/{vue-ui-nested-donuts-DbBSbOjx.js → vue-ui-nested-donuts-CiE4DdEQ.js} +10 -10
  81. package/dist/{vue-ui-nested-donuts-Bfu90lZl.cjs → vue-ui-nested-donuts-DIb6YyWv.cjs} +1 -1
  82. package/dist/{vue-ui-onion-DJLGXvfr.js → vue-ui-onion-D9o6Rcgu.js} +10 -10
  83. package/dist/{vue-ui-onion-DK7lJvIH.cjs → vue-ui-onion-N3tRNc4u.cjs} +1 -1
  84. package/dist/{vue-ui-parallel-coordinate-plot-B0_1Uh7a.js → vue-ui-parallel-coordinate-plot-BcYrYXhG.js} +11 -11
  85. package/dist/{vue-ui-parallel-coordinate-plot-BaZ5niQk.cjs → vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs} +1 -1
  86. package/dist/{vue-ui-quadrant-CnAk8Np9.js → vue-ui-quadrant-Cs3A77us.js} +11 -11
  87. package/dist/{vue-ui-quadrant-BCadkOrx.cjs → vue-ui-quadrant-Do48rGrX.cjs} +1 -1
  88. package/dist/{vue-ui-quick-chart--4pkEtK0.cjs → vue-ui-quick-chart-BxU4d-sJ.cjs} +1 -1
  89. package/dist/{vue-ui-quick-chart-BrgtffFL.js → vue-ui-quick-chart-CiiSUexi.js} +8 -8
  90. package/dist/{vue-ui-radar-CDlE8jus.js → vue-ui-radar-CNSpiNrM.js} +11 -11
  91. package/dist/{vue-ui-radar-C68BFXPH.cjs → vue-ui-radar-CooAvwPA.cjs} +1 -1
  92. package/dist/vue-ui-rating-GoUNDOdZ.cjs +1 -0
  93. package/dist/vue-ui-rating-b_iYZWF8.js +323 -0
  94. package/dist/{vue-ui-relation-circle-_5UsoCBf.js → vue-ui-relation-circle-nRf1pvD0.js} +6 -6
  95. package/dist/{vue-ui-relation-circle-0OvmIoRR.cjs → vue-ui-relation-circle-uNgJni4x.cjs} +1 -1
  96. package/dist/{vue-ui-rings-BHVrR1L1.js → vue-ui-rings-BgRc1o4_.js} +10 -10
  97. package/dist/{vue-ui-rings-Duu-Dbns.cjs → vue-ui-rings-iIgQI9Ws.cjs} +1 -1
  98. package/dist/{vue-ui-scatter-CSfeAiML.js → vue-ui-scatter-CVuoW-cD.js} +11 -11
  99. package/dist/{vue-ui-scatter-azoiHq_a.cjs → vue-ui-scatter-CkrpmLxP.cjs} +1 -1
  100. package/dist/{vue-ui-screenshot-D2-GzcYt.cjs → vue-ui-screenshot-Co2o48d6.cjs} +1 -1
  101. package/dist/{vue-ui-screenshot-DhMpdJsm.js → vue-ui-screenshot-Csc0dQL9.js} +1 -1
  102. package/dist/{vue-ui-skeleton-CYgbDsKG.js → vue-ui-skeleton-B2sRnIXX.js} +3 -3
  103. package/dist/{vue-ui-skeleton-yOWIPVsZ.cjs → vue-ui-skeleton-CGV1dEUD.cjs} +1 -1
  104. package/dist/vue-ui-smiley-Ci3uMgVh.cjs +2 -0
  105. package/dist/{vue-ui-smiley-DDn0IZKJ.js → vue-ui-smiley-D4s-AdIE.js} +405 -320
  106. package/dist/{vue-ui-spark-trend-BMdLIhg7.cjs → vue-ui-spark-trend-BfoEoJEy.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-DxwmzstI.js → vue-ui-spark-trend-CHKQGMLs.js} +5 -5
  108. package/dist/{vue-ui-sparkbar-Dk8VLc5p.js → vue-ui-sparkbar-Bb1fq2GR.js} +4 -4
  109. package/dist/{vue-ui-sparkbar-yocSweJn.cjs → vue-ui-sparkbar-DB2DeXti.cjs} +1 -1
  110. package/dist/{vue-ui-sparkgauge-CdW6FTRw.cjs → vue-ui-sparkgauge-CJepIY2u.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-G7BowYq4.js → vue-ui-sparkgauge-DWuaAQbo.js} +4 -4
  112. package/dist/{vue-ui-sparkhistogram-BWulWwCi.cjs → vue-ui-sparkhistogram-B7B36LLT.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-CkkEGb0a.js → vue-ui-sparkhistogram-CjeJ3ch1.js} +5 -5
  114. package/dist/{vue-ui-sparkline-CaetICAe.cjs → vue-ui-sparkline-BcqmwDAb.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-LBi6ypp4.js → vue-ui-sparkline-DGJDBArr.js} +4 -4
  116. package/dist/{vue-ui-sparkstackbar-DxUkSfRG.js → vue-ui-sparkstackbar-B3ul3qUZ.js} +4 -4
  117. package/dist/{vue-ui-sparkstackbar-CAJaJ3ZQ.cjs → vue-ui-sparkstackbar-DT3aKNeV.cjs} +1 -1
  118. package/dist/{vue-ui-stackbar-BPyxp0m8.cjs → vue-ui-stackbar-CRcUugkl.cjs} +1 -1
  119. package/dist/{vue-ui-stackbar-BP1YHhjl.js → vue-ui-stackbar-DNROvZII.js} +11 -11
  120. package/dist/{vue-ui-strip-plot-BYJWkk2_.js → vue-ui-strip-plot-CIb2LSV8.js} +10 -10
  121. package/dist/{vue-ui-strip-plot-BJSzqxzi.cjs → vue-ui-strip-plot-Ck9Fmt_b.cjs} +1 -1
  122. package/dist/{vue-ui-table-C0-NQWi3.cjs → vue-ui-table-B_sFrAO9.cjs} +1 -1
  123. package/dist/{vue-ui-table-CWHUBpqz.js → vue-ui-table-CmVi0nv2.js} +1 -1
  124. package/dist/{vue-ui-table-heatmap-uYQph968.js → vue-ui-table-heatmap-CgFr38QT.js} +4 -4
  125. package/dist/{vue-ui-table-heatmap-9oVqDvLC.cjs → vue-ui-table-heatmap-Chvdf2Gi.cjs} +1 -1
  126. package/dist/{vue-ui-table-sparkline-BHJAP-Uh.cjs → vue-ui-table-sparkline-DUUYQ5dH.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-Bv39O2DT.js → vue-ui-table-sparkline-eg2Qd8ws.js} +5 -5
  128. package/dist/{vue-ui-thermometer-CqcNegd7.cjs → vue-ui-thermometer-BFfN4aat.cjs} +1 -1
  129. package/dist/{vue-ui-thermometer-JLaF8-hy.js → vue-ui-thermometer-BePmFiwy.js} +6 -6
  130. package/dist/{vue-ui-timer-B2ZQBIVg.js → vue-ui-timer-COSI3Q5T.js} +5 -5
  131. package/dist/{vue-ui-timer-fu2zcs6f.cjs → vue-ui-timer-DM1IStj1.cjs} +1 -1
  132. package/dist/{vue-ui-tiremarks-DzrCVTcA.cjs → vue-ui-tiremarks-BkYXzU3R.cjs} +1 -1
  133. package/dist/{vue-ui-tiremarks-CXuGp82M.js → vue-ui-tiremarks-d6TmSHY7.js} +6 -6
  134. package/dist/{vue-ui-treemap-DmEpWWkN.cjs → vue-ui-treemap-BgeZnbl3.cjs} +1 -1
  135. package/dist/{vue-ui-treemap-CubutXgp.js → vue-ui-treemap-Qg0858o6.js} +10 -10
  136. package/dist/{vue-ui-vertical-bar-Dqd4bZVC.js → vue-ui-vertical-bar-CieqHVD5.js} +10 -10
  137. package/dist/{vue-ui-vertical-bar-BpyY1mcc.cjs → vue-ui-vertical-bar-D3atbdvl.cjs} +1 -1
  138. package/dist/{vue-ui-waffle-DzbRkTbY.cjs → vue-ui-waffle-CD7C9Lu4.cjs} +1 -1
  139. package/dist/{vue-ui-waffle-D1n_ln-O.js → vue-ui-waffle-CjNhM-mV.js} +10 -10
  140. package/dist/{vue-ui-wheel-C-BFxhCO.js → vue-ui-wheel-B8mbO6ht.js} +6 -6
  141. package/dist/{vue-ui-wheel-BTJ9Ds5T.cjs → vue-ui-wheel-CYmM7J61.cjs} +1 -1
  142. package/dist/{vue-ui-word-cloud-DdbqYmZz.js → vue-ui-word-cloud-DMXrUmX5.js} +9 -9
  143. package/dist/{vue-ui-word-cloud-BZLUTH8A.cjs → vue-ui-word-cloud-Dm9yZ1zQ.cjs} +1 -1
  144. package/dist/{vue-ui-xy-BEB7zD0E.cjs → vue-ui-xy-DoWnidom.cjs} +1 -1
  145. package/dist/{vue-ui-xy-canvas-DE1jTXbE.js → vue-ui-xy-canvas-BYdTxzi6.js} +10 -10
  146. package/dist/{vue-ui-xy-canvas-CJHNw8ek.cjs → vue-ui-xy-canvas-DHs5sb3t.cjs} +1 -1
  147. package/dist/{vue-ui-xy-CLJaG6lQ.js → vue-ui-xy-x8KEsGV-.js} +13 -13
  148. package/package.json +1 -1
  149. package/dist/Legend-ComtyeZF.cjs +0 -1
  150. package/dist/PackageVersion-BqVp7cHC.cjs +0 -1
  151. package/dist/Title-Bpx2Ub4Z.cjs +0 -1
  152. package/dist/index-DQRLTu78.cjs +0 -9
  153. package/dist/vue-data-ui-D3zaRZjl.cjs +0 -9
  154. package/dist/vue-ui-donut-Cruh6AlQ.cjs +0 -1
  155. package/dist/vue-ui-rating-DV3d_vAO.cjs +0 -1
  156. package/dist/vue-ui-rating-DwTC908t.js +0 -271
  157. package/dist/vue-ui-smiley-BXV9UMjs.cjs +0 -2
@@ -1,5 +1,5 @@
1
- import { toRefs as q, defineAsyncComponent as t, computed as c, ref as o, onMounted as J, watch as B, shallowReactive as Y, openBlock as O, createElementBlock as Z, createElementVNode as R, createVNode as w, createTextVNode as ee, toDisplayString as te, unref as oe, createBlock as ie, resolveDynamicComponent as ae, mergeProps as ne, toHandlers as re, createSlots as le, renderList as se, withCtx as ue, renderSlot as ce, normalizeProps as ge, guardReactiveProps as pe } from "vue";
2
- import me from "./BaseIcon-DHB44s-g.js";
1
+ import { toRefs as q, defineAsyncComponent as t, computed as c, ref as o, onMounted as J, watch as H, shallowReactive as Y, openBlock as O, createElementBlock as Z, createElementVNode as R, createVNode as w, createTextVNode as ee, toDisplayString as te, unref as oe, createBlock as ie, resolveDynamicComponent as ae, mergeProps as ne, toHandlers as re, createSlots as le, renderList as se, withCtx as ue, renderSlot as ce, normalizeProps as ge, guardReactiveProps as pe } from "vue";
2
+ import me from "./BaseIcon-CXDdkPfN.js";
3
3
  const de = {
4
4
  key: 0,
5
5
  style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
@@ -36,62 +36,63 @@ const de = {
36
36
  ],
37
37
  setup(N, { expose: F, emit: G }) {
38
38
  const n = N, { component: M, dataset: W, config: X } = q(n), s = {
39
- VueUi3dBar: t(() => import("./vue-ui-3d-bar-DmM70v1H.js")),
40
- VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-Bkyd3O37.js")),
41
- VueUiAnnotator: t(() => import("./vue-ui-annotator-Bmk4N4Co.js")),
42
- VueUiCandlestick: t(() => import("./vue-ui-candlestick-o8m1DAm8.js")),
43
- VueUiChestnut: t(() => import("./vue-ui-chestnut-BAQVvxrX.js")),
44
- VueUiDashboard: t(() => import("./vue-ui-dashboard-nnHIe25Y.js")),
45
- VueUiDigits: t(() => import("./vue-ui-digits-BB3ZlyZ6.js")),
46
- VueUiDonut: t(() => import("./vue-ui-donut-Ba9Qhfte.js")),
47
- VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-CJHa5S50.js")),
48
- VueUiGalaxy: t(() => import("./vue-ui-galaxy-ccP0yuQ3.js")),
49
- VueUiGauge: t(() => import("./vue-ui-gauge-CYjZx4Zz.js")),
50
- VueUiHeatmap: t(() => import("./vue-ui-heatmap-0qNGXzdN.js")),
51
- VueUiKpi: t(() => import("./vue-ui-kpi-BiOt8Z9k.js")),
52
- VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-CBPZAUuP.js")),
53
- VueUiMolecule: t(() => import("./vue-ui-molecule-VqY8WZHi.js")),
54
- VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-B0cjzFkt.js")),
55
- VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-DbBSbOjx.js")),
56
- VueUiOnion: t(() => import("./vue-ui-onion-DJLGXvfr.js")),
57
- VueUiQuadrant: t(() => import("./vue-ui-quadrant-CnAk8Np9.js")),
58
- VueUiRadar: t(() => import("./vue-ui-radar-CDlE8jus.js")),
59
- VueUiRating: t(() => import("./vue-ui-rating-DwTC908t.js")),
60
- VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-_5UsoCBf.js")),
61
- VueUiRings: t(() => import("./vue-ui-rings-BHVrR1L1.js")),
62
- VueUiScatter: t(() => import("./vue-ui-scatter-CSfeAiML.js")),
63
- VueUiScreenshot: t(() => import("./vue-ui-screenshot-DhMpdJsm.js")),
64
- VueUiSkeleton: t(() => import("./vue-ui-skeleton-CYgbDsKG.js")),
65
- VueUiSmiley: t(() => import("./vue-ui-smiley-DDn0IZKJ.js")),
66
- VueUiSparkbar: t(() => import("./vue-ui-sparkbar-Dk8VLc5p.js")),
67
- VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-G7BowYq4.js")),
68
- VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-CkkEGb0a.js")),
69
- VueUiSparkline: t(() => import("./vue-ui-sparkline-LBi6ypp4.js")),
70
- VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-DxUkSfRG.js")),
71
- VueUiTable: t(() => import("./vue-ui-table-CWHUBpqz.js")),
72
- VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-Bv39O2DT.js")),
73
- VueUiThermometer: t(() => import("./vue-ui-thermometer-JLaF8-hy.js")),
74
- VueUiTiremarks: t(() => import("./vue-ui-tiremarks-CXuGp82M.js")),
75
- VueUiTreemap: t(() => import("./vue-ui-treemap-CubutXgp.js")),
76
- VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-Dqd4bZVC.js")),
77
- VueUiWaffle: t(() => import("./vue-ui-waffle-D1n_ln-O.js")),
78
- VueUiWheel: t(() => import("./vue-ui-wheel-C-BFxhCO.js")),
79
- VueUiXy: t(() => import("./vue-ui-xy-CLJaG6lQ.js")),
80
- VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-uYQph968.js")),
81
- VueUiAccordion: t(() => import("./vue-ui-accordion-CzKJYxd2.js")),
82
- VueUiQuickChart: t(() => import("./vue-ui-quick-chart-BrgtffFL.js")),
83
- VueUiCursor: t(() => import("./vue-ui-cursor-CYNxiijm.js")),
84
- VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DxwmzstI.js")),
85
- VueUiStripPlot: t(() => import("./vue-ui-strip-plot-BYJWkk2_.js")),
86
- VueUiDumbbell: t(() => import("./vue-ui-dumbbell-D_reERJf.js")),
87
- VueUiWordCloud: t(() => import("./vue-ui-word-cloud-DdbqYmZz.js")),
88
- VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-DE1jTXbE.js")),
89
- VueUiFlow: t(() => import("./vue-ui-flow-sBFdpbtF.js")),
90
- VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-B0_1Uh7a.js")),
91
- VueUiTimer: t(() => import("./vue-ui-timer-B2ZQBIVg.js")),
92
- VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-DAck3_R_.js")),
93
- VueUiGizmo: t(() => import("./vue-ui-gizmo-DNZwsdp9.js")),
94
- VueUiStackbar: t(() => import("./vue-ui-stackbar-BP1YHhjl.js"))
39
+ VueUi3dBar: t(() => import("./vue-ui-3d-bar-DcF1nyGW.js")),
40
+ VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-Oe_yHDL0.js")),
41
+ VueUiAnnotator: t(() => import("./vue-ui-annotator-Dix6_Gm6.js")),
42
+ VueUiCandlestick: t(() => import("./vue-ui-candlestick-CRwzWF6j.js")),
43
+ VueUiChestnut: t(() => import("./vue-ui-chestnut-CRk0RCB9.js")),
44
+ VueUiDashboard: t(() => import("./vue-ui-dashboard-OyihaKdu.js")),
45
+ VueUiDigits: t(() => import("./vue-ui-digits-IKt4qT2-.js")),
46
+ VueUiDonut: t(() => import("./vue-ui-donut-DFaGk4fI.js")),
47
+ VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-Dd4o37RP.js")),
48
+ VueUiGalaxy: t(() => import("./vue-ui-galaxy-CH1BDtWl.js")),
49
+ VueUiGauge: t(() => import("./vue-ui-gauge-BXiy515T.js")),
50
+ VueUiHeatmap: t(() => import("./vue-ui-heatmap-B-zWMk0Y.js")),
51
+ VueUiKpi: t(() => import("./vue-ui-kpi-CghbfSdM.js")),
52
+ VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-C7roqZ4p.js")),
53
+ VueUiMolecule: t(() => import("./vue-ui-molecule-BwmkMEVN.js")),
54
+ VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DSznHxLS.js")),
55
+ VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-CiE4DdEQ.js")),
56
+ VueUiOnion: t(() => import("./vue-ui-onion-D9o6Rcgu.js")),
57
+ VueUiQuadrant: t(() => import("./vue-ui-quadrant-Cs3A77us.js")),
58
+ VueUiRadar: t(() => import("./vue-ui-radar-CNSpiNrM.js")),
59
+ VueUiRating: t(() => import("./vue-ui-rating-b_iYZWF8.js")),
60
+ VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-nRf1pvD0.js")),
61
+ VueUiRings: t(() => import("./vue-ui-rings-BgRc1o4_.js")),
62
+ VueUiScatter: t(() => import("./vue-ui-scatter-CVuoW-cD.js")),
63
+ VueUiScreenshot: t(() => import("./vue-ui-screenshot-Csc0dQL9.js")),
64
+ VueUiSkeleton: t(() => import("./vue-ui-skeleton-B2sRnIXX.js")),
65
+ VueUiSmiley: t(() => import("./vue-ui-smiley-D4s-AdIE.js")),
66
+ VueUiSparkbar: t(() => import("./vue-ui-sparkbar-Bb1fq2GR.js")),
67
+ VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DWuaAQbo.js")),
68
+ VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-CjeJ3ch1.js")),
69
+ VueUiSparkline: t(() => import("./vue-ui-sparkline-DGJDBArr.js")),
70
+ VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-B3ul3qUZ.js")),
71
+ VueUiTable: t(() => import("./vue-ui-table-CmVi0nv2.js")),
72
+ VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-eg2Qd8ws.js")),
73
+ VueUiThermometer: t(() => import("./vue-ui-thermometer-BePmFiwy.js")),
74
+ VueUiTiremarks: t(() => import("./vue-ui-tiremarks-d6TmSHY7.js")),
75
+ VueUiTreemap: t(() => import("./vue-ui-treemap-Qg0858o6.js")),
76
+ VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-CieqHVD5.js")),
77
+ VueUiWaffle: t(() => import("./vue-ui-waffle-CjNhM-mV.js")),
78
+ VueUiWheel: t(() => import("./vue-ui-wheel-B8mbO6ht.js")),
79
+ VueUiXy: t(() => import("./vue-ui-xy-x8KEsGV-.js")),
80
+ VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-CgFr38QT.js")),
81
+ VueUiAccordion: t(() => import("./vue-ui-accordion-D_1fE5EF.js")),
82
+ VueUiQuickChart: t(() => import("./vue-ui-quick-chart-CiiSUexi.js")),
83
+ VueUiCursor: t(() => import("./vue-ui-cursor-y0kdr0uA.js")),
84
+ VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-CHKQGMLs.js")),
85
+ VueUiStripPlot: t(() => import("./vue-ui-strip-plot-CIb2LSV8.js")),
86
+ VueUiDumbbell: t(() => import("./vue-ui-dumbbell-B7j1_JoQ.js")),
87
+ VueUiWordCloud: t(() => import("./vue-ui-word-cloud-DMXrUmX5.js")),
88
+ VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-BYdTxzi6.js")),
89
+ VueUiFlow: t(() => import("./vue-ui-flow-DkPTzNv9.js")),
90
+ VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-BcYrYXhG.js")),
91
+ VueUiTimer: t(() => import("./vue-ui-timer-COSI3Q5T.js")),
92
+ VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-BHeEbRKY.js")),
93
+ VueUiGizmo: t(() => import("./vue-ui-gizmo-CKQcbe_7.js")),
94
+ VueUiStackbar: t(() => import("./vue-ui-stackbar-DNROvZII.js")),
95
+ VueUiBullet: t(() => import("./vue-ui-bullet-CQKaC4wG.js"))
95
96
  }, Q = {
96
97
  VueUi3dBar: ["config", "dataset"],
97
98
  VueUiAgePyramid: ["config", "dataset"],
@@ -148,11 +149,12 @@ const de = {
148
149
  VueUiTimer: ["config"],
149
150
  VueUiCarouselTable: ["config", "dataset"],
150
151
  VueUiGizmo: ["config", "dataset"],
151
- VueUiStackbar: ["config", "dataset"]
152
+ VueUiStackbar: ["config", "dataset"],
153
+ VueUiBullet: ["config", "dataset"]
152
154
  }, g = c(() => !s[n.component]), $ = c(() => s[n.component] || null), i = o(null), j = c(() => {
153
155
  const e = Q[n.component] || [], a = {};
154
156
  return e.includes("config") && (a.config = X.value), e.includes("dataset") && (a.dataset = W.value), a;
155
- }), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), b = o(() => null), y = o(() => null), T = o(() => null), C = o(() => null), A = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), _ = o(() => null), I = o(() => null), E = o(() => null), H = o(() => null);
157
+ }), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), b = o(() => null), y = o(() => null), T = o(() => null), C = o(() => null), A = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), _ = o(() => null), B = o(() => null), I = o(() => null), E = o(() => null);
156
158
  J(() => {
157
159
  if (g.value)
158
160
  throw new Error(`
@@ -164,8 +166,8 @@ Available components:
164
166
 
165
167
  ${Object.keys(s).map((e) => `. ${e}
166
168
  `).join("")}`);
167
- }), B(i, async (e) => {
168
- e && (e.generatePdf && (p.value = e.generatePdf), e.generateImage && (d.value = e.generateImage), e.generateCsv && (m.value = e.generateCsv), e.getItemsPositions && (V.value = e.getItemsPositions), e.toggleReadonly && (U.value = e.toggleReadonly), e.shoot && (f.value = e.shoot), e.close && (v.value = e.close), e.restoreOrder && (h.value = e.restoreOrder), e.recalculateHeight && (k.value = e.recalculateHeight), e.toggleLock && (S.value = e.toggleLock), e.toggleTable && (b.value = e.toggleTable), e.toggleLabels && (y.value = e.toggleLabels), e.toggleSort && (T.value = e.toggleSort), e.toggleStack && (C.value = e.toggleStack), e.toggleTooltip && (A.value = e.toggleTooltip), e.start && (P.value = e.start), e.pause && (D.value = e.pause), e.reset && (x.value = e.reset), e.restart && (L.value = e.restart), e.lap && (_.value = e.lap), e.toggleAnimation && (I.value = e.toggleAnimation), e.pauseAnimation && (E.value = e.pauseAnimation), e.resumeAnimation && (H.value = e.resumeAnimation));
169
+ }), H(i, async (e) => {
170
+ e && (e.generatePdf && (p.value = e.generatePdf), e.generateImage && (d.value = e.generateImage), e.generateCsv && (m.value = e.generateCsv), e.getItemsPositions && (V.value = e.getItemsPositions), e.toggleReadonly && (U.value = e.toggleReadonly), e.shoot && (f.value = e.shoot), e.close && (v.value = e.close), e.restoreOrder && (h.value = e.restoreOrder), e.recalculateHeight && (k.value = e.recalculateHeight), e.toggleLock && (S.value = e.toggleLock), e.toggleTable && (b.value = e.toggleTable), e.toggleLabels && (y.value = e.toggleLabels), e.toggleSort && (T.value = e.toggleSort), e.toggleStack && (C.value = e.toggleStack), e.toggleTooltip && (A.value = e.toggleTooltip), e.start && (P.value = e.start), e.pause && (D.value = e.pause), e.reset && (x.value = e.reset), e.restart && (L.value = e.restart), e.lap && (_.value = e.lap), e.toggleAnimation && (B.value = e.toggleAnimation), e.pauseAnimation && (I.value = e.pauseAnimation), e.resumeAnimation && (E.value = e.resumeAnimation));
169
171
  });
170
172
  const z = () => {
171
173
  const e = [
@@ -198,7 +200,7 @@ ${Object.keys(s).map((e) => `. ${e}
198
200
  a[u] = (...l) => G(u, ...l);
199
201
  }), a;
200
202
  }, r = Y([]);
201
- return B([r, i], () => {
203
+ return H([r, i], () => {
202
204
  if (i.value)
203
205
  for (; r.length; ) {
204
206
  const [e, ...a] = r.shift();
@@ -226,9 +228,9 @@ ${Object.keys(s).map((e) => `. ${e}
226
228
  reset: x,
227
229
  restart: L,
228
230
  lap: _,
229
- pauseAnimation: E,
230
- resumeAnimation: H,
231
- toggleAnimation: I
231
+ pauseAnimation: I,
232
+ resumeAnimation: E,
233
+ toggleAnimation: B
232
234
  }), (e, a) => g.value ? (O(), Z("div", de, [
233
235
  R("div", Ve, [
234
236
  w(me, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-DQRLTu78.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-C7_6YjWN.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, ab as o, aZ as l, ac as n, ad as d, ae as m, af as p, ag as S, ah as b, ai as c, aj as g, ak as k, al as C, a_ as T, am as D, an as h, ao as P, ap as f, aq as y, ar as R, as as A, at as W, au as x, av as G, aw as H, ax as M, ay as v, az as w, aA as B, aB as F, aC as Q, aD as X, aE as z, aF as E, aG as I, aH as K, aI as L, aJ as N, aK as O, a$ as _, aL as j, aM as q, aN as J, aO as Y, aP as Z, aQ as $, aR as aa, aS as ea, aT as ia, aU as sa, aV as ua, aW as Va, aX as Ua, aY as ra, _ as ta, b0 as oa, b1 as la, b2 as na } from "./index-COTjlcVF.js";
2
+ import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, b0 as o, ab as l, aZ as n, ac as d, ad as m, ae as b, af as p, ag as S, ah as c, ai as g, aj as k, ak as C, al as T, a_ as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as B, av as G, aw as H, ax as M, ay as v, az as w, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, aK as _, a$ as j, aL as q, aM as J, aN as Y, aO as Z, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, aY as ta, _ as oa, b1 as la, b2 as na, b3 as da } from "./index-DDXisDKy.js";
3
3
  export {
4
4
  s as Arrow,
5
5
  u as VueDataUi,
@@ -7,61 +7,62 @@ export {
7
7
  U as VueUiAccordion,
8
8
  r as VueUiAgePyramid,
9
9
  t as VueUiAnnotator,
10
- o as VueUiCandlestick,
11
- l as VueUiCarouselTable,
12
- n as VueUiChestnut,
13
- d as VueUiCursor,
14
- m as VueUiDashboard,
10
+ o as VueUiBullet,
11
+ l as VueUiCandlestick,
12
+ n as VueUiCarouselTable,
13
+ d as VueUiChestnut,
14
+ m as VueUiCursor,
15
+ b as VueUiDashboard,
15
16
  p as VueUiDigits,
16
17
  S as VueUiDonut,
17
- b as VueUiDonutEvolution,
18
- c as VueUiDumbbell,
19
- g as VueUiFlow,
20
- k as VueUiGalaxy,
21
- C as VueUiGauge,
22
- T as VueUiGizmo,
23
- D as VueUiHeatmap,
24
- h as VueUiIcon,
25
- P as VueUiKpi,
26
- f as VueUiMiniLoader,
27
- y as VueUiMolecule,
28
- R as VueUiMoodRadar,
29
- A as VueUiNestedDonuts,
30
- W as VueUiOnion,
31
- x as VueUiParallelCoordinatePlot,
18
+ c as VueUiDonutEvolution,
19
+ g as VueUiDumbbell,
20
+ k as VueUiFlow,
21
+ C as VueUiGalaxy,
22
+ T as VueUiGauge,
23
+ D as VueUiGizmo,
24
+ h as VueUiHeatmap,
25
+ P as VueUiIcon,
26
+ f as VueUiKpi,
27
+ y as VueUiMiniLoader,
28
+ R as VueUiMolecule,
29
+ A as VueUiMoodRadar,
30
+ W as VueUiNestedDonuts,
31
+ x as VueUiOnion,
32
+ B as VueUiParallelCoordinatePlot,
32
33
  G as VueUiQuadrant,
33
34
  H as VueUiQuickChart,
34
35
  M as VueUiRadar,
35
36
  v as VueUiRating,
36
37
  w as VueUiRelationCircle,
37
- B as VueUiRings,
38
- F as VueUiScatter,
39
- Q as VueUiScreenshot,
40
- X as VueUiSkeleton,
41
- z as VueUiSmiley,
42
- E as VueUiSparkHistogram,
43
- I as VueUiSparkStackbar,
44
- K as VueUiSparkTrend,
45
- L as VueUiSparkbar,
46
- N as VueUiSparkgauge,
47
- O as VueUiSparkline,
48
- _ as VueUiStackbar,
49
- j as VueUiStripPlot,
50
- q as VueUiTable,
51
- J as VueUiTableHeatmap,
52
- Y as VueUiTableSparkline,
53
- Z as VueUiThermometer,
54
- $ as VueUiTimer,
55
- aa as VueUiTiremarks,
56
- ea as VueUiTreemap,
57
- ia as VueUiVerticalBar,
58
- sa as VueUiWaffle,
59
- ua as VueUiWheel,
60
- Va as VueUiWordCloud,
61
- Ua as VueUiXy,
62
- ra as VueUiXyCanvas,
63
- ta as createWordCloudDatasetFromPlainText,
64
- oa as getPalette,
65
- la as getThemeConfig,
66
- na as getVueDataUiConfig
38
+ F as VueUiRings,
39
+ Q as VueUiScatter,
40
+ X as VueUiScreenshot,
41
+ z as VueUiSkeleton,
42
+ E as VueUiSmiley,
43
+ I as VueUiSparkHistogram,
44
+ K as VueUiSparkStackbar,
45
+ L as VueUiSparkTrend,
46
+ N as VueUiSparkbar,
47
+ O as VueUiSparkgauge,
48
+ _ as VueUiSparkline,
49
+ j as VueUiStackbar,
50
+ q as VueUiStripPlot,
51
+ J as VueUiTable,
52
+ Y as VueUiTableHeatmap,
53
+ Z as VueUiTableSparkline,
54
+ $ as VueUiThermometer,
55
+ aa as VueUiTimer,
56
+ ea as VueUiTiremarks,
57
+ ia as VueUiTreemap,
58
+ sa as VueUiVerticalBar,
59
+ ua as VueUiWaffle,
60
+ Va as VueUiWheel,
61
+ Ua as VueUiWordCloud,
62
+ ra as VueUiXy,
63
+ ta as VueUiXyCanvas,
64
+ oa as createWordCloudDatasetFromPlainText,
65
+ la as getPalette,
66
+ na as getThemeConfig,
67
+ da as getVueDataUiConfig
67
68
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-DQRLTu78.cjs"),de=require("./Title-Bpx2Ub4Z.cjs"),Q=require("./usePrinter-DuYSC89K.cjs"),he=require("./vue-ui-skeleton-yOWIPVsZ.cjs"),ve=require("./DataTable-CiVu-yQZ.cjs"),pe=require("./vue-ui-accordion-ZppPKpGK.cjs"),ee=require("./useNestedProp-np0rM3ep.cjs"),fe=require("./PackageVersion-BqVp7cHC.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-8a60c7c5"),N=N(),e.popScopeId(),N),me=["id"],ye={key:0,style:"width:100%;background:transparent"},ge=["xmlns","viewBox"],$e=["id"],_e=["stop-color"],Be=["stop-color"],xe=["id"],be=["stop-color"],Ee=["stop-color"],Ce=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["stop-color"],Pe={key:0},Le=["id"],Oe=["stop-color"],De=["stop-color"],ze=["id"],Te=["stop-color"],je=["stop-color"],Ie=["id"],We=["stop-color"],Ge=["stop-color"],He=["id"],Ae=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),qe=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ue=[Ae,qe],Xe=["x","y","font-size","font-weight","fill"],Re=["x","y"],Ze=["d","stroke"],Ye=["d","stroke"],Je={key:3},Ke={key:0},Qe=["stroke-dasharray","d","stroke","stroke-width"],et=["stroke-dasharray","d","stroke","stroke-width"],tt=["stroke-dasharray","d","stroke","stroke-width"],lt=["stroke-dasharray","d","stroke","stroke-width"],ot={key:1},at=["d","stroke","stroke-width","fill"],nt=["d","stroke","stroke-width","fill"],rt=["d","stroke","stroke-width","fill"],st={key:2},ut=["d","fill","onMouseenter","onClick"],it=["d","fill","onMouseenter","onClick"],ct=["d","fill","onMouseenter","onClick"],dt=["d","onMouseenter","onClick"],ht=["d"],vt=["d","stroke"],pt=["onClick"],ft=["stroke","d"],kt=["cx","cy","fill","stroke"],mt=["x","y","width","height"],yt={key:1},gt=["d","stroke"],$t=["d","fill","stroke"],_t=["id"],Bt=["stop-color"],xt=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),bt=["stop-color"],Et=["cx","cy","fill"],Ct=["cx","cy","fill"],wt={key:0},Nt=["text-anchor","x","y","fill","font-size"],Vt=["text-anchor","x","y","fill","font-size"],Ft={key:2},St=["d","fill","stroke"],Mt={key:4},Pt={key:0},Lt=["stroke-dasharray","d","stroke","stroke-width"],Ot=["stroke-dasharray","d","stroke","stroke-width"],Dt=["stroke-dasharray","d","stroke","stroke-width"],zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["d","stroke","stroke-width","fill"],jt=["d","stroke","stroke-width","fill"],It={key:1},Wt=["onClick"],Gt=["id"],Ht=["stop-color"],At=["stop-color"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["stop-color"],Zt=["stop-color"],Yt=["stop-color"],Jt=["onMouseenter","onClick","d","fill"],Kt=["onMouseenter","onClick","d"],Qt=["onMouseenter","onClick","d","fill"],el=["onClick"],tl=["stroke","d"],ll=["cx","cy","fill","stroke"],ol=["x","y","width","height"],al={key:1},nl=["d","stroke"],rl=["d","fill","stroke"],sl=["id"],ul=["stop-color"],il=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),cl=["stop-color"],dl=["cx","cy","fill"],hl=["cx","cy","fill"],vl={key:0},pl=["text-anchor","x","y","fill","font-size"],fl=["text-anchor","x","y","fill","font-size"],kl={key:2},ml=["d","fill","stroke"],yl={key:3,class:"vue-data-ui-watermark"},gl=["innerHTML"],$l={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:te,emit:F}){const f=N,{vue_ui_3d_bar:le}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),oe=e.ref(null),z=e.ref(null),b=e.ref(!1),T=e.ref(0),j=e.ref(0),l=e.computed({get:()=>I(),set:s=>s});function I(){const s=ee.useNestedProp({userConfig:f.config,defaultConfig:le});return s.theme?{...ee.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=I(),q(),T.value+=1,j.value+=1},{deep:!0});const{isPrinting:W,isImaging:G,generatePdf:H,generateImage:A}=Q.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ae=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),a=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),n=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||ae.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<n.length;o+=1)t.push({...n[o],fill:ne(c,n[o].proportion,n[o].breakdown,n[o].color)}),c+=n[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${a.value.width/2},${a.value.top} ${a.value.width-a.value.right}, ${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,left:`M${a.value.width/2},${a.value.top} ${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,side:`M${a.value.width/2},${a.value.height-a.value.bottom} ${a.value.width/2},${a.value.top+a.value.perspective*2}`,topSides:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.width/2},${a.value.top+a.value.perspective*2} ${a.value.width-a.value.right},${a.value.top+a.value.perspective}`,tubeTop:`M${a.value.left},${a.value.top+a.value.perspective} C ${a.value.left},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top+a.value.perspective} C ${a.value.width-a.value.right},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective}`,tubeLeft:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`,tubeRight:`M${a.value.width-a.value.right},${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective}`,tubeBottom:`M${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} C ${a.value.width-a.value.right},${a.value.height} ${a.value.left},${a.value.height} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`})),C=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{q();let s=0,n=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){C.value+=n+s,s+=t,C.value<f.dataset.percentage?requestAnimationFrame(c):C.value=f.dataset.percentage}l.value.style.chart.animation.use&&(C.value=0,c())});function q(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,n)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:n})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${n} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function ne(s,n,t,c){const o=a.value.height-a.value.bottom-a.value.top-a.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=a.value,d=p+o*s,D=i-d-v-o*n/2,ue=D>a.value.height/2?"top":"bottom",Z=64,ie=!!t;let Y=null,J=null;return ie&&(t=t.map((K,ce)=>({...K,value:K.value||0,color:r.lightenHexColor(c,ce/t.length)})),Y=r.makeDonut({series:t},u+a.value.absoluteWidth/4-14,ue==="top"?D-Z:D+Z,28,28,1.99999,2,1,360,105.25,14),J=r.makeDonut({series:t},u-y+20,i-d-v-o*n/2,6,6,1.99999,2,1,360,105.25,6)),{donut:Y,miniDonut:J,sidePointer:{x:u-y,y:i-d-v-o*n/2,topY:i-d-v-o*n,height:o*n},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*n,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${h}, ${i-d-v-o*n} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*n} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n}`,liningTopShade:`M${h},${i-d-v-o*n-.5} ${u/2},${i-d-o*n-.5} ${u-y},${i-d-v-o*n-.5}`,top:`M${u/2},${i-d-o*n} ${h},${i-d-v-o*n} ${u/2},${i-d-v*2-o*n} ${u-y},${i-d-v-o*n} Z`,tubeTop:`M${h},${i-d-o*n-v} C ${h},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v} C ${u-y},${i-d-o*n+v/2} ${h},${i-d-o*n+v/2} ${h},${i-d-o*n-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-C7_6YjWN.cjs"),de=require("./Title-C-lm3Mkl.cjs"),Q=require("./usePrinter-8EP4iaGm.cjs"),he=require("./vue-ui-skeleton-CGV1dEUD.cjs"),ve=require("./DataTable-BTgMVOwp.cjs"),pe=require("./vue-ui-accordion-Cc9958th.cjs"),ee=require("./useNestedProp-CC9zGr7C.cjs"),fe=require("./PackageVersion-D4D0WicU.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-8a60c7c5"),N=N(),e.popScopeId(),N),me=["id"],ye={key:0,style:"width:100%;background:transparent"},ge=["xmlns","viewBox"],$e=["id"],_e=["stop-color"],Be=["stop-color"],xe=["id"],be=["stop-color"],Ee=["stop-color"],Ce=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["stop-color"],Pe={key:0},Le=["id"],Oe=["stop-color"],De=["stop-color"],ze=["id"],Te=["stop-color"],je=["stop-color"],Ie=["id"],We=["stop-color"],Ge=["stop-color"],He=["id"],Ae=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),qe=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ue=[Ae,qe],Xe=["x","y","font-size","font-weight","fill"],Re=["x","y"],Ze=["d","stroke"],Ye=["d","stroke"],Je={key:3},Ke={key:0},Qe=["stroke-dasharray","d","stroke","stroke-width"],et=["stroke-dasharray","d","stroke","stroke-width"],tt=["stroke-dasharray","d","stroke","stroke-width"],lt=["stroke-dasharray","d","stroke","stroke-width"],ot={key:1},at=["d","stroke","stroke-width","fill"],nt=["d","stroke","stroke-width","fill"],rt=["d","stroke","stroke-width","fill"],st={key:2},ut=["d","fill","onMouseenter","onClick"],it=["d","fill","onMouseenter","onClick"],ct=["d","fill","onMouseenter","onClick"],dt=["d","onMouseenter","onClick"],ht=["d"],vt=["d","stroke"],pt=["onClick"],ft=["stroke","d"],kt=["cx","cy","fill","stroke"],mt=["x","y","width","height"],yt={key:1},gt=["d","stroke"],$t=["d","fill","stroke"],_t=["id"],Bt=["stop-color"],xt=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),bt=["stop-color"],Et=["cx","cy","fill"],Ct=["cx","cy","fill"],wt={key:0},Nt=["text-anchor","x","y","fill","font-size"],Vt=["text-anchor","x","y","fill","font-size"],Ft={key:2},St=["d","fill","stroke"],Mt={key:4},Pt={key:0},Lt=["stroke-dasharray","d","stroke","stroke-width"],Ot=["stroke-dasharray","d","stroke","stroke-width"],Dt=["stroke-dasharray","d","stroke","stroke-width"],zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["d","stroke","stroke-width","fill"],jt=["d","stroke","stroke-width","fill"],It={key:1},Wt=["onClick"],Gt=["id"],Ht=["stop-color"],At=["stop-color"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["stop-color"],Zt=["stop-color"],Yt=["stop-color"],Jt=["onMouseenter","onClick","d","fill"],Kt=["onMouseenter","onClick","d"],Qt=["onMouseenter","onClick","d","fill"],el=["onClick"],tl=["stroke","d"],ll=["cx","cy","fill","stroke"],ol=["x","y","width","height"],al={key:1},nl=["d","stroke"],rl=["d","fill","stroke"],sl=["id"],ul=["stop-color"],il=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),cl=["stop-color"],dl=["cx","cy","fill"],hl=["cx","cy","fill"],vl={key:0},pl=["text-anchor","x","y","fill","font-size"],fl=["text-anchor","x","y","fill","font-size"],kl={key:2},ml=["d","fill","stroke"],yl={key:3,class:"vue-data-ui-watermark"},gl=["innerHTML"],$l={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:te,emit:F}){const f=N,{vue_ui_3d_bar:le}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),oe=e.ref(null),z=e.ref(null),b=e.ref(!1),T=e.ref(0),j=e.ref(0),l=e.computed({get:()=>I(),set:s=>s});function I(){const s=ee.useNestedProp({userConfig:f.config,defaultConfig:le});return s.theme?{...ee.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=I(),q(),T.value+=1,j.value+=1},{deep:!0});const{isPrinting:W,isImaging:G,generatePdf:H,generateImage:A}=Q.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ae=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),a=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),n=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||ae.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<n.length;o+=1)t.push({...n[o],fill:ne(c,n[o].proportion,n[o].breakdown,n[o].color)}),c+=n[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${a.value.width/2},${a.value.top} ${a.value.width-a.value.right}, ${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,left:`M${a.value.width/2},${a.value.top} ${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,side:`M${a.value.width/2},${a.value.height-a.value.bottom} ${a.value.width/2},${a.value.top+a.value.perspective*2}`,topSides:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.width/2},${a.value.top+a.value.perspective*2} ${a.value.width-a.value.right},${a.value.top+a.value.perspective}`,tubeTop:`M${a.value.left},${a.value.top+a.value.perspective} C ${a.value.left},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top+a.value.perspective} C ${a.value.width-a.value.right},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective}`,tubeLeft:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`,tubeRight:`M${a.value.width-a.value.right},${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective}`,tubeBottom:`M${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} C ${a.value.width-a.value.right},${a.value.height} ${a.value.left},${a.value.height} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`})),C=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{q();let s=0,n=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){C.value+=n+s,s+=t,C.value<f.dataset.percentage?requestAnimationFrame(c):C.value=f.dataset.percentage}l.value.style.chart.animation.use&&(C.value=0,c())});function q(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,n)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:n})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${n} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function ne(s,n,t,c){const o=a.value.height-a.value.bottom-a.value.top-a.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=a.value,d=p+o*s,D=i-d-v-o*n/2,ue=D>a.value.height/2?"top":"bottom",Z=64,ie=!!t;let Y=null,J=null;return ie&&(t=t.map((K,ce)=>({...K,value:K.value||0,color:r.lightenHexColor(c,ce/t.length)})),Y=r.makeDonut({series:t},u+a.value.absoluteWidth/4-14,ue==="top"?D-Z:D+Z,28,28,1.99999,2,1,360,105.25,14),J=r.makeDonut({series:t},u-y+20,i-d-v-o*n/2,6,6,1.99999,2,1,360,105.25,6)),{donut:Y,miniDonut:J,sidePointer:{x:u-y,y:i-d-v-o*n/2,topY:i-d-v-o*n,height:o*n},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*n,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${h}, ${i-d-v-o*n} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*n} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n}`,liningTopShade:`M${h},${i-d-v-o*n-.5} ${u/2},${i-d-o*n-.5} ${u-y},${i-d-v-o*n-.5}`,top:`M${u/2},${i-d-o*n} ${h},${i-d-v-o*n} ${u/2},${i-d-v*2-o*n} ${u-y},${i-d-v-o*n} Z`,tubeTop:`M${h},${i-d-o*n-v} C ${h},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v} C ${u-y},${i-d-o*n+v/2} ${h},${i-d-o*n+v/2} ${h},${i-d-o*n-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
2
2
  ${h},${i-d-o*n-v}
3
3
  C ${h},${i-d-o*n+v/2}
4
4
  ${u-y},${i-d-o*n+v/2}
@@ -1,12 +1,12 @@
1
1
  import { computed as S, ref as j, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as B, createBlock as H, createCommentVNode as y, unref as c, createSlots as Ge, withCtx as I, renderSlot as z, normalizeProps as Y, guardReactiveProps as J, createVNode as Ve, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ae, nextTick as Ue, pushScopeId as Ee, popScopeId as He } from "vue";
2
- import { u as Ze, c as we, t as qe, a as Xe, p as K, b as Re, d as Ye, o as Je, e as Q, g as ne, l as A, m as Ce, f as T, X as Ke, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Qe, r as et } from "./index-COTjlcVF.js";
3
- import { _ as tt } from "./Title-CDfZWgra.js";
4
- import { u as lt, U as ot } from "./usePrinter-5XpNgqjh.js";
5
- import st from "./vue-ui-skeleton-CYgbDsKG.js";
6
- import { D as at } from "./DataTable-Dv3mZD4M.js";
7
- import nt from "./vue-ui-accordion-CzKJYxd2.js";
8
- import { u as Me } from "./useNestedProp-CcjyiBlC.js";
9
- import { _ as rt } from "./PackageVersion-DWAqn7t0.js";
2
+ import { u as Ze, c as we, t as qe, a as Xe, p as K, b as Re, d as Ye, o as Je, e as Q, g as ne, l as A, m as Ce, f as T, X as Ke, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Qe, r as et } from "./index-DDXisDKy.js";
3
+ import { _ as tt } from "./Title-DYNLqCCT.js";
4
+ import { u as lt, U as ot } from "./usePrinter-8ofTb2MJ.js";
5
+ import st from "./vue-ui-skeleton-B2sRnIXX.js";
6
+ import { D as at } from "./DataTable-DL2agEJ3.js";
7
+ import nt from "./vue-ui-accordion-D_1fE5EF.js";
8
+ import { u as Me } from "./useNestedProp-S1UXxUgm.js";
9
+ import { _ as rt } from "./PackageVersion-DtnhR89q.js";
10
10
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const oe = (U) => (Ee("data-v-8a60c7c5"), U = U(), He(), U), it = ["id"], dt = {
12
12
  key: 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-BDeByyf-.cjs"),g=require("./useNestedProp-np0rM3ep.cjs"),u=require("./index-DQRLTu78.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-E7FmzMcY.cjs"),g=require("./useNestedProp-CC9zGr7C.cjs"),u=require("./index-C7_6YjWN.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, openBlock as u, createElementBlock as v, createElementVNode as n, normalizeClass as $, normalizeStyle as p, renderSlot as c, normalizeProps as i, mergeProps as O, createBlock as D, createCommentVNode as N, guardReactiveProps as m } from "vue";
2
- import w from "./BaseIcon-DHB44s-g.js";
3
- import { u as x } from "./useNestedProp-CcjyiBlC.js";
4
- import { u as B, c as I } from "./index-COTjlcVF.js";
2
+ import w from "./BaseIcon-CXDdkPfN.js";
3
+ import { u as x } from "./useNestedProp-S1UXxUgm.js";
4
+ import { u as B, c as I } from "./index-DDXisDKy.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,
@@ -1,14 +1,14 @@
1
1
  import { computed as b, ref as v, watch as be, onMounted as xe, openBlock as i, createElementBlock as r, normalizeClass as oe, normalizeStyle as se, createBlock as I, createCommentVNode as h, unref as d, createSlots as me, withCtx as g, renderSlot as p, normalizeProps as N, guardReactiveProps as R, createVNode as ie, createElementVNode as n, Fragment as L, renderList as O, toDisplayString as w, createTextVNode as ue, nextTick as we } from "vue";
2
- import { u as _e, c as ke, t as Ce, o as $e, e as Te, v as y, X as Le, s as E, w as re, i as _, f as k, x as Ae, y as Se, q as ze, r as Ie } from "./index-COTjlcVF.js";
2
+ import { u as _e, c as ke, t as Ce, o as $e, e as Te, v as y, X as Le, s as E, w as re, i as _, f as k, x as Ae, y as Se, q as ze, r as Ie } from "./index-DDXisDKy.js";
3
3
  import { t as Oe, u as Fe } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Me } from "./Title-CDfZWgra.js";
5
- import { u as Pe, U as Ne } from "./usePrinter-5XpNgqjh.js";
6
- import { _ as Re } from "./Tooltip-0-aPeOmA.js";
7
- import { D as De } from "./DataTable-Dv3mZD4M.js";
8
- import Ge from "./vue-ui-skeleton-CYgbDsKG.js";
9
- import Be from "./vue-ui-accordion-CzKJYxd2.js";
10
- import { u as ne } from "./useNestedProp-CcjyiBlC.js";
11
- import { _ as Ee } from "./PackageVersion-DWAqn7t0.js";
4
+ import { _ as Me } from "./Title-DYNLqCCT.js";
5
+ import { u as Pe, U as Ne } from "./usePrinter-8ofTb2MJ.js";
6
+ import { _ as Re } from "./Tooltip-CICAYyQj.js";
7
+ import { D as De } from "./DataTable-DL2agEJ3.js";
8
+ import Ge from "./vue-ui-skeleton-B2sRnIXX.js";
9
+ import Be from "./vue-ui-accordion-D_1fE5EF.js";
10
+ import { u as ne } from "./useNestedProp-S1UXxUgm.js";
11
+ import { _ as Ee } from "./PackageVersion-DtnhR89q.js";
12
12
  import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const Xe = ["id"], Ue = ["xmlns", "viewBox"], Ve = ["id"], Ye = ["stop-color"], je = ["stop-color"], He = ["id"], qe = ["stop-color"], Je = ["stop-color"], Ke = ["x", "y", "width", "height", "fill", "rx"], Qe = ["x", "y", "width", "height", "fill", "rx"], Ze = ["x", "y", "width", "height", "fill", "rx"], et = ["x", "y", "width", "height", "fill", "rx"], tt = { key: 0 }, lt = ["x", "y", "fill", "font-size", "font-weight"], at = ["x", "y", "fill", "font-size", "font-weight"], ot = { key: 1 }, st = ["x", "y", "font-size", "fill", "font-weight"], it = { key: 2 }, ut = { key: 0 }, rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vt = ["x", "y", "font-size", "fill", "font-weight"], yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "font-size", "fill", "font-weight"], ct = ["x", "y", "width", "height", "fill", "onMouseover"], gt = {
14
14
  key: 3,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DQRLTu78.cjs"),R=require("./useResponsive-B3TrDDIG.cjs"),Q=require("./Title-Bpx2Ub4Z.cjs"),q=require("./usePrinter-DuYSC89K.cjs"),Z=require("./Tooltip-D-JR_3NK.cjs"),ee=require("./DataTable-CiVu-yQZ.cjs"),te=require("./vue-ui-skeleton-yOWIPVsZ.cjs"),le=require("./vue-ui-accordion-ZppPKpGK.cjs"),G=require("./useNestedProp-np0rM3ep.cjs"),ae=require("./PackageVersion-BqVp7cHC.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),se=["id"],ie=["xmlns","viewBox"],re=["id"],ue=["stop-color"],ne=["stop-color"],de=["id"],ce=["stop-color"],ve=["stop-color"],ye=["x","y","width","height","fill","rx"],he=["x","y","width","height","fill","rx"],fe=["x","y","width","height","fill","rx"],ge=["x","y","width","height","fill","rx"],pe={key:0},be=["x","y","fill","font-size","font-weight"],xe=["x","y","fill","font-size","font-weight"],me={key:1},ke=["x","y","font-size","fill","font-weight"],we={key:2},Ce={key:0},_e=["x1","x2","y1","y2","stroke","stroke-width"],Ne=["x1","x2","y1","y2","stroke","stroke-width"],Le=["x1","x2","y1","y2","stroke","stroke-width"],Se=["x","y","font-size","fill","font-weight"],Te=["x1","x2","y1","y2","stroke","stroke-width"],Be=["x","y","font-size","fill","font-weight"],$e=["x","y","font-size","fill","font-weight"],Ae=["x","y","width","height","fill","onMouseover"],Ee={key:3,class:"vue-data-ui-watermark"},ze={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(N,{expose:U}){const n=N,{vue_ui_age_pyramid:W}=s.useConfig(),x=e.computed(()=>!!n.dataset&&n.dataset.length),c=e.ref(s.createUid()),H=e.ref(null),w=e.ref(!1),C=e.ref(""),m=e.ref(null),L=e.ref(0),g=e.ref(null),S=e.ref(null),T=e.ref(0),B=e.ref(0),t=e.computed({get:()=>$(),set:l=>l});function $(){const l=G.useNestedProp({userConfig:n.config,defaultConfig:W});return l.theme?{...G.useNestedProp({userConfig:s.themes.vue_ui_age_pyramid[l.theme]||n.config,defaultConfig:l})}:l}e.watch(()=>n.config,l=>{t.value=$(),E(),T.value+=1,B.value+=1},{deep:!0});const A=e.ref(null);e.onMounted(()=>{E()});function E(){if(s.objectIsEmpty(n.dataset)&&s.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=R.throttle(()=>{const{width:r,height:a}=R.useResponsive({chart:g.value,title:t.value.style.title.text?S.value:null});d.value.width=r,d.value.height=a});A.value=new ResizeObserver(l),A.value.observe(g.value.parentNode)}}const{isPrinting:z,isImaging:V,generatePdf:P,generateImage:I}=q.usePrinter({elementId:`vue-ui-age-pyramid_${c.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid"}),v=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),i=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,r=t.value.style.layout.padding.left,a=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:r,right:a,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:r+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:r+l/2+t.value.style.layout.centerSlit.width}}}),X=e.computed(()=>n.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=j(p.value/5),r=[],a=[];for(let o=0;o<=5;o+=1){const u=l*o,M=l*(o-5);r.push({value:u,x:i.value.left+i.value.width/2+t.value.style.layout.centerSlit.width+u/p.value*i.value.leftChart.width}),a.push({value:Math.abs(M),x:i.value.left+i.value.width/2+M/p.value*i.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:r,left:a}});function j(l){if(l===0)return 0;const a=10**Math.floor(Math.log10(Math.abs(l)));let o;return l<0,o=Math.round(l/a)*a,o}const p=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.slice(-2).map(r=>s.checkNaN(r))))),h=e.computed(()=>n.dataset.length),Y=e.computed(()=>n.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/p.value},right:{value:l[3],proportionToMax:l[3]/p.value}}))),f=e.computed(()=>Y.value.map((l,r)=>{const a=i.value.top+i.value.height/h.value*r,o=i.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:a,color:t.value.style.layout.bars.left.color,x:i.value.leftChart.right-l.left.proportionToMax*i.value.leftChart.width,width:s.checkNaN(l.left.proportionToMax*i.value.leftChart.width),height:o},right:{...l.right,y:a,color:t.value.style.layout.bars.right.color,x:i.value.rightChart.left,width:s.checkNaN(l.right.proportionToMax*i.value.rightChart.width),height:o}}})),_=e.ref(null);function J(l,r){m.value=l,_.value={datapoint:r,seriesIndex:l,series:f.value,config:t.value};const a=t.value.style.tooltip.customFormat;if(s.isFunction(a)&&s.functionReturnsString(()=>a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value})))C.value=a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value});else{let o="";const u=f.value[l];o+=`<div><b>${u.segment}</b></div>`,o+=`<div>${t.value.translations.age}: ${s.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,s.checkNaN(u.age),s.dataLabel({v:s.checkNaN(u.age)}),{datapoint:r,seriesIndex:l})}</div>`,o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,o+='<div style="display:flex; flex-direction:row;gap:12px">',o+=`<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="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+=`<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="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value),s.dataLabel({v:s.checkNaN(u.right.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value)+s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.right.value)+s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",C.value=`<div>${o}</div>`}w.value=!0}function F(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(u=>[u[0],u[1],u[2],u[3],u[2]+u[3]]),a=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(r),o=s.createCsvContent(a);s.downloadCsv({csvContent:o,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(o=>[o[0],o[1],o[2].toLocaleString(),o[3].toLocaleString(),(o[2]+o[3]).toLocaleString()]),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{head:l,body:r,config:a,colNames:l}}),b=e.ref(!1);function K(l){b.value=l,L.value+=1}function O(){v.value.showTable=!v.value.showTable}function D(){v.value.showTooltip=!v.value.showTooltip}return U({generatePdf:P,generateCsv:F,generateImage:I,toggleTable:O,toggleTooltip:D}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${b.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${c.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.title.text?"":"padding-top:36px"};background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:S,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${T.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value?(e.openBlock(),e.createBlock(q.UserOptions,{ref_key:"details",ref:H,key:`user_options_${L.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(V),isPrinting:e.unref(z),uid:c.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:b.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,onToggleFullscreen:K,onGeneratePdf:e.unref(P),onGenerateCsv:F,onGenerateImage:e.unref(I),onToggleTable:O,onToggleTooltip:D},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:o})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:o})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":b.value,"vue-data-ui-fulscreen--off":!b.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ae._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,ue),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,ne)],8,re),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,ce),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,ve)],8,de)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:e.unref(s.checkNaN)(a.left.width<=0?1e-4:a.left.width),height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,ye),e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:a.left.width<=0?1e-4:a.left.width,height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:a.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,he),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,fe),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:a.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,ge)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",pe,[e.createElementVNode("text",{x:i.value.left,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,be),e.createElementVNode("text",{x:i.value.right,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,xe)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(X.value,(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.value.centerX,y:i.value.top+i.value.height/h.value*o+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,a,e.unref(s.dataLabel)({v:a}),{datapoint:a,seriesIndex:o})),9,ke)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",we,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Ce,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,_e),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ne)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Le)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Se)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Te)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Be)]))),256)),e.createElementVNode("text",{x:i.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,$e)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.dataset,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:i.value.left,y:i.value.top+i.value.height/h.value*o-t.value.style.layout.bars.gap/2,width:i.value.width<=0?1e-4:i.value.width,height:i.value.height/h.value<=0?1e-4:i.value.height/h.value,fill:m.value!==null&&m.value===o?e.unref(s.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:u=>J(o,a),onMouseleave:r[0]||(r[0]=u=>{m.value=null,w.value=!1})},null,40,Ae)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ee,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(z)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(te.default,{key:4,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:f.value},void 0,!0),e.createVNode(Z._sfc_main,{show:v.value.showTooltip&&w.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:g.value,content:C.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),x.value?(e.openBlock(),e.createBlock(le.default,{key:5,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ee.DataTable,{key:`table_${B.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:r[1]||(r[1]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,se))}},Ve=oe._export_sfc(ze,[["__scopeId","data-v-c8be6835"]]);exports.default=Ve;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-C7_6YjWN.cjs"),R=require("./useResponsive-B3TrDDIG.cjs"),Q=require("./Title-C-lm3Mkl.cjs"),q=require("./usePrinter-8EP4iaGm.cjs"),Z=require("./Tooltip-t-3mVhcz.cjs"),ee=require("./DataTable-BTgMVOwp.cjs"),te=require("./vue-ui-skeleton-CGV1dEUD.cjs"),le=require("./vue-ui-accordion-Cc9958th.cjs"),G=require("./useNestedProp-CC9zGr7C.cjs"),ae=require("./PackageVersion-D4D0WicU.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),se=["id"],ie=["xmlns","viewBox"],re=["id"],ue=["stop-color"],ne=["stop-color"],de=["id"],ce=["stop-color"],ve=["stop-color"],ye=["x","y","width","height","fill","rx"],he=["x","y","width","height","fill","rx"],fe=["x","y","width","height","fill","rx"],ge=["x","y","width","height","fill","rx"],pe={key:0},be=["x","y","fill","font-size","font-weight"],xe=["x","y","fill","font-size","font-weight"],me={key:1},ke=["x","y","font-size","fill","font-weight"],we={key:2},Ce={key:0},_e=["x1","x2","y1","y2","stroke","stroke-width"],Ne=["x1","x2","y1","y2","stroke","stroke-width"],Le=["x1","x2","y1","y2","stroke","stroke-width"],Se=["x","y","font-size","fill","font-weight"],Te=["x1","x2","y1","y2","stroke","stroke-width"],Be=["x","y","font-size","fill","font-weight"],$e=["x","y","font-size","fill","font-weight"],Ae=["x","y","width","height","fill","onMouseover"],Ee={key:3,class:"vue-data-ui-watermark"},ze={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(N,{expose:U}){const n=N,{vue_ui_age_pyramid:W}=s.useConfig(),x=e.computed(()=>!!n.dataset&&n.dataset.length),c=e.ref(s.createUid()),H=e.ref(null),w=e.ref(!1),C=e.ref(""),m=e.ref(null),L=e.ref(0),g=e.ref(null),S=e.ref(null),T=e.ref(0),B=e.ref(0),t=e.computed({get:()=>$(),set:l=>l});function $(){const l=G.useNestedProp({userConfig:n.config,defaultConfig:W});return l.theme?{...G.useNestedProp({userConfig:s.themes.vue_ui_age_pyramid[l.theme]||n.config,defaultConfig:l})}:l}e.watch(()=>n.config,l=>{t.value=$(),E(),T.value+=1,B.value+=1},{deep:!0});const A=e.ref(null);e.onMounted(()=>{E()});function E(){if(s.objectIsEmpty(n.dataset)&&s.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=R.throttle(()=>{const{width:r,height:a}=R.useResponsive({chart:g.value,title:t.value.style.title.text?S.value:null});d.value.width=r,d.value.height=a});A.value=new ResizeObserver(l),A.value.observe(g.value.parentNode)}}const{isPrinting:z,isImaging:V,generatePdf:P,generateImage:I}=q.usePrinter({elementId:`vue-ui-age-pyramid_${c.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid"}),v=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),i=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,r=t.value.style.layout.padding.left,a=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:r,right:a,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:r+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:r+l/2+t.value.style.layout.centerSlit.width}}}),X=e.computed(()=>n.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=j(p.value/5),r=[],a=[];for(let o=0;o<=5;o+=1){const u=l*o,M=l*(o-5);r.push({value:u,x:i.value.left+i.value.width/2+t.value.style.layout.centerSlit.width+u/p.value*i.value.leftChart.width}),a.push({value:Math.abs(M),x:i.value.left+i.value.width/2+M/p.value*i.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:r,left:a}});function j(l){if(l===0)return 0;const a=10**Math.floor(Math.log10(Math.abs(l)));let o;return l<0,o=Math.round(l/a)*a,o}const p=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.slice(-2).map(r=>s.checkNaN(r))))),h=e.computed(()=>n.dataset.length),Y=e.computed(()=>n.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/p.value},right:{value:l[3],proportionToMax:l[3]/p.value}}))),f=e.computed(()=>Y.value.map((l,r)=>{const a=i.value.top+i.value.height/h.value*r,o=i.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:a,color:t.value.style.layout.bars.left.color,x:i.value.leftChart.right-l.left.proportionToMax*i.value.leftChart.width,width:s.checkNaN(l.left.proportionToMax*i.value.leftChart.width),height:o},right:{...l.right,y:a,color:t.value.style.layout.bars.right.color,x:i.value.rightChart.left,width:s.checkNaN(l.right.proportionToMax*i.value.rightChart.width),height:o}}})),_=e.ref(null);function J(l,r){m.value=l,_.value={datapoint:r,seriesIndex:l,series:f.value,config:t.value};const a=t.value.style.tooltip.customFormat;if(s.isFunction(a)&&s.functionReturnsString(()=>a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value})))C.value=a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value});else{let o="";const u=f.value[l];o+=`<div><b>${u.segment}</b></div>`,o+=`<div>${t.value.translations.age}: ${s.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,s.checkNaN(u.age),s.dataLabel({v:s.checkNaN(u.age)}),{datapoint:r,seriesIndex:l})}</div>`,o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,o+='<div style="display:flex; flex-direction:row;gap:12px">',o+=`<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="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+=`<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="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value),s.dataLabel({v:s.checkNaN(u.right.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value)+s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.right.value)+s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",C.value=`<div>${o}</div>`}w.value=!0}function F(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(u=>[u[0],u[1],u[2],u[3],u[2]+u[3]]),a=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(r),o=s.createCsvContent(a);s.downloadCsv({csvContent:o,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(o=>[o[0],o[1],o[2].toLocaleString(),o[3].toLocaleString(),(o[2]+o[3]).toLocaleString()]),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{head:l,body:r,config:a,colNames:l}}),b=e.ref(!1);function K(l){b.value=l,L.value+=1}function O(){v.value.showTable=!v.value.showTable}function D(){v.value.showTooltip=!v.value.showTooltip}return U({generatePdf:P,generateCsv:F,generateImage:I,toggleTable:O,toggleTooltip:D}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${b.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${c.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.title.text?"":"padding-top:36px"};background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:S,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${T.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value?(e.openBlock(),e.createBlock(q.UserOptions,{ref_key:"details",ref:H,key:`user_options_${L.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(V),isPrinting:e.unref(z),uid:c.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:b.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,onToggleFullscreen:K,onGeneratePdf:e.unref(P),onGenerateCsv:F,onGenerateImage:e.unref(I),onToggleTable:O,onToggleTooltip:D},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:o})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:o})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":b.value,"vue-data-ui-fulscreen--off":!b.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ae._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,ue),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,ne)],8,re),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,ce),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,ve)],8,de)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:e.unref(s.checkNaN)(a.left.width<=0?1e-4:a.left.width),height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,ye),e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:a.left.width<=0?1e-4:a.left.width,height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:a.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,he),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,fe),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:a.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,ge)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",pe,[e.createElementVNode("text",{x:i.value.left,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,be),e.createElementVNode("text",{x:i.value.right,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,xe)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(X.value,(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.value.centerX,y:i.value.top+i.value.height/h.value*o+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,a,e.unref(s.dataLabel)({v:a}),{datapoint:a,seriesIndex:o})),9,ke)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",we,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Ce,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,_e),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ne)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Le)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Se)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Te)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Be)]))),256)),e.createElementVNode("text",{x:i.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,$e)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.dataset,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:i.value.left,y:i.value.top+i.value.height/h.value*o-t.value.style.layout.bars.gap/2,width:i.value.width<=0?1e-4:i.value.width,height:i.value.height/h.value<=0?1e-4:i.value.height/h.value,fill:m.value!==null&&m.value===o?e.unref(s.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:u=>J(o,a),onMouseleave:r[0]||(r[0]=u=>{m.value=null,w.value=!1})},null,40,Ae)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ee,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(z)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(te.default,{key:4,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:f.value},void 0,!0),e.createVNode(Z._sfc_main,{show:v.value.showTooltip&&w.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:g.value,content:C.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),x.value?(e.openBlock(),e.createBlock(le.default,{key:5,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ee.DataTable,{key:`table_${B.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:r[1]||(r[1]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,se))}},Ve=oe._export_sfc(ze,[["__scopeId","data-v-c8be6835"]]);exports.default=Ve;