vue-data-ui 2.6.41 → 2.6.42

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 (199) hide show
  1. package/dist/{Arrow-j4Npojhv.cjs → Arrow-C6-3JiKs.cjs} +1 -1
  2. package/dist/{Arrow-CzwnuhQC.js → Arrow-i50QW7Eq.js} +1 -1
  3. package/dist/{BaseIcon-DyOT6PYJ.js → BaseIcon-BYl8WVrn.js} +1 -1
  4. package/dist/{BaseIcon-lwGFy7CI.cjs → BaseIcon-CGjwy6WD.cjs} +1 -1
  5. package/dist/{ColorPicker-BiTtlEx1.cjs → ColorPicker-Cpi--TbY.cjs} +1 -1
  6. package/dist/{ColorPicker-DHXRDP2o.js → ColorPicker-rv2BDrXO.js} +3 -3
  7. package/dist/{DataTable-B8Vnlflz.js → DataTable-B_PZ5EQ5.js} +2 -2
  8. package/dist/{DataTable-CX-Mdafj.cjs → DataTable-Dp7g_Ei4.cjs} +1 -1
  9. package/dist/{Legend-Bw9vX_fW.js → Legend-BB51QBPV.js} +2 -2
  10. package/dist/{Legend-DgyuPw1G.cjs → Legend-BB6S3gBp.cjs} +1 -1
  11. package/dist/{PackageVersion-C6hdi5vE.js → PackageVersion-Cz-oD7U6.js} +1 -1
  12. package/dist/{PackageVersion-CvpIoiav.cjs → PackageVersion-Dj3KQ8Ax.cjs} +1 -1
  13. package/dist/{PenAndPaper-DBNdemyU.js → PenAndPaper-DOTH2X_u.js} +3 -3
  14. package/dist/{PenAndPaper-5L5c2K-j.cjs → PenAndPaper-OCjAJH70.cjs} +1 -1
  15. package/dist/{Shape-CcQr04tT.js → Shape-CGBgd_EH.js} +1 -1
  16. package/dist/{Shape-my_oX1r-.cjs → Shape-DCTTj5cs.cjs} +1 -1
  17. package/dist/{Slicer-Dpuspld0.cjs → Slicer-BHKFOTCG.cjs} +1 -1
  18. package/dist/{Slicer-CJT21pOl.js → Slicer-Dhto2Wym.js} +2 -2
  19. package/dist/{Title-CnyZaLp0.cjs → Title-BkwZ_rBI.cjs} +1 -1
  20. package/dist/{Title-Dfjx2pT6.js → Title-y0r2c8bY.js} +1 -1
  21. package/dist/{Tooltip-C3kzKkai.js → Tooltip-CbWEnMUw.js} +1 -1
  22. package/dist/{Tooltip-V6vr6k8X.cjs → Tooltip-DhhX9jKQ.cjs} +1 -1
  23. package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
  24. package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
  25. package/dist/img-BIeSHu0f.js +15 -0
  26. package/dist/img-D6uvziU0.cjs +1 -0
  27. package/dist/index-Crz6y51C.cjs +9 -0
  28. package/dist/{index-BAPUY6BW.js → index-DWsIpwzs.js} +17 -2
  29. package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
  30. package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
  31. package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
  32. package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
  33. package/dist/pdf-BpXLKlRx.cjs +1 -0
  34. package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
  35. package/dist/style.css +1 -1
  36. package/dist/types/vue-data-ui.d.cts +15 -0
  37. package/dist/types/vue-data-ui.d.ts +15 -0
  38. package/dist/{useNestedProp-Ch_Tbu0f.cjs → useNestedProp-B8CE091o.cjs} +1 -1
  39. package/dist/{useNestedProp-X5u-cjpn.js → useNestedProp-Bole8bsm.js} +1 -1
  40. package/dist/{usePrinter-BsXYrX84.js → usePrinter-B8LELMkA.js} +125 -122
  41. package/dist/{usePrinter-BJ8ChcXf.cjs → usePrinter-Cqxw0sR7.cjs} +1 -1
  42. package/dist/{vue-data-ui-OBrcs0EY.js → vue-data-ui-BHNNKB7k.js} +61 -61
  43. package/dist/{vue-data-ui-CZG3ODq3.cjs → vue-data-ui-Dizs9qYs.cjs} +1 -1
  44. package/dist/vue-data-ui.cjs +1 -1
  45. package/dist/vue-data-ui.js +1 -1
  46. package/dist/{vue-ui-3d-bar-BOUSglv4.cjs → vue-ui-3d-bar-D-jstByg.cjs} +8 -8
  47. package/dist/{vue-ui-3d-bar-BRhfbpJd.js → vue-ui-3d-bar-D1DTuPTJ.js} +55 -54
  48. package/dist/{vue-ui-accordion-BS_katXk.cjs → vue-ui-accordion-10T9IdE-.cjs} +1 -1
  49. package/dist/{vue-ui-accordion-Dm7ZlylJ.js → vue-ui-accordion-WrimcQK1.js} +3 -3
  50. package/dist/vue-ui-age-pyramid-0uO95dEL.cjs +1 -0
  51. package/dist/{vue-ui-age-pyramid-CBtPdObD.js → vue-ui-age-pyramid-vSOQxYMZ.js} +13 -12
  52. package/dist/{vue-ui-annotator-B8HvCy1u.cjs → vue-ui-annotator-CzqmXArP.cjs} +1 -1
  53. package/dist/{vue-ui-annotator-Rb7-Ig4d.js → vue-ui-annotator-DuX2lvw8.js} +3 -3
  54. package/dist/vue-ui-bullet-hJsuFbdK.cjs +34 -0
  55. package/dist/{vue-ui-bullet-C7ftUjYQ.js → vue-ui-bullet-ni1A0wmE.js} +11 -10
  56. package/dist/{vue-ui-candlestick-D_osh2qN.js → vue-ui-candlestick-CtFOtkuX.js} +14 -13
  57. package/dist/{vue-ui-candlestick-DY4EKJPX.cjs → vue-ui-candlestick-JSYKg3QU.cjs} +2 -2
  58. package/dist/vue-ui-carousel-table-BJsBlOAu.cjs +1 -0
  59. package/dist/{vue-ui-carousel-table-M72bzy85.js → vue-ui-carousel-table-Bc8SG-3_.js} +7 -6
  60. package/dist/{vue-ui-chestnut-BdHd-Juu.cjs → vue-ui-chestnut-EPeVQvs_.cjs} +2 -2
  61. package/dist/{vue-ui-chestnut-i7EtBpLY.js → vue-ui-chestnut-VR_UxBpO.js} +37 -36
  62. package/dist/{vue-ui-circle-pack-BC1uScHe.js → vue-ui-circle-pack-ECXVp4H4.js} +14 -13
  63. package/dist/vue-ui-circle-pack-NstojV4G.cjs +1 -0
  64. package/dist/{vue-ui-cursor-eJ2ExkFm.js → vue-ui-cursor-DRP_eOrg.js} +2 -2
  65. package/dist/{vue-ui-cursor-B06MWQUK.cjs → vue-ui-cursor-IZ28NWCv.cjs} +1 -1
  66. package/dist/{vue-ui-dashboard-m-sB4TXH.cjs → vue-ui-dashboard-BVoasjGP.cjs} +1 -1
  67. package/dist/{vue-ui-dashboard-BAwwet8B.js → vue-ui-dashboard-Bg4eu3bx.js} +3 -3
  68. package/dist/{vue-ui-digits-B6ivU7b9.js → vue-ui-digits-B2qzXXO6.js} +2 -2
  69. package/dist/{vue-ui-digits-C5jmpiTL.cjs → vue-ui-digits-BKR62-KQ.cjs} +1 -1
  70. package/dist/{vue-ui-donut-DtZ-n8vd.js → vue-ui-donut-BWbLJHC5.js} +15 -14
  71. package/dist/vue-ui-donut-Bnc5n4vE.cjs +1 -0
  72. package/dist/{vue-ui-donut-evolution-VJpinb_g.js → vue-ui-donut-evolution-Cpmdg9Na.js} +45 -44
  73. package/dist/vue-ui-donut-evolution-DyQPblkZ.cjs +1 -0
  74. package/dist/vue-ui-dumbbell-BjGLUyTB.cjs +9 -0
  75. package/dist/{vue-ui-dumbbell-EoH10k2D.js → vue-ui-dumbbell-kOEJnUNy.js} +43 -42
  76. package/dist/vue-ui-flow-BxqHFumu.cjs +1 -0
  77. package/dist/{vue-ui-flow-B-xWkgVv.js → vue-ui-flow-DVvxwHKl.js} +53 -52
  78. package/dist/vue-ui-funnel-CPGQJsTE.cjs +1 -0
  79. package/dist/{vue-ui-funnel-hdajl9CD.js → vue-ui-funnel-Dh9Zio3k.js} +13 -12
  80. package/dist/{vue-ui-galaxy-CeqCjd4V.js → vue-ui-galaxy-DBrUSx1b.js} +31 -30
  81. package/dist/vue-ui-galaxy-S4L3B76T.cjs +1 -0
  82. package/dist/vue-ui-gauge-Cs-ypQfN.cjs +1 -0
  83. package/dist/{vue-ui-gauge-BSuGWZEY.js → vue-ui-gauge-tZvlIU-S.js} +36 -35
  84. package/dist/{vue-ui-gizmo-D_J2R5JU.cjs → vue-ui-gizmo-CCSsG2_b.cjs} +1 -1
  85. package/dist/{vue-ui-gizmo-VFwChXXf.js → vue-ui-gizmo-Dci5soUk.js} +3 -3
  86. package/dist/vue-ui-heatmap-DJ7wdUPo.cjs +1 -0
  87. package/dist/{vue-ui-heatmap-DAeCu-iM.js → vue-ui-heatmap-DOcrZCVa.js} +73 -72
  88. package/dist/vue-ui-history-plot-Cdbru79N.cjs +1 -0
  89. package/dist/{vue-ui-history-plot-Caty-SWt.js → vue-ui-history-plot-qtdp25Sg.js} +33 -32
  90. package/dist/{vue-ui-kpi-B2WcjLWP.js → vue-ui-kpi-DTXy_HfT.js} +3 -3
  91. package/dist/{vue-ui-kpi-Bu24xnG8.cjs → vue-ui-kpi-vLsne_Vi.cjs} +1 -1
  92. package/dist/{vue-ui-mini-loader-B8QzxySW.js → vue-ui-mini-loader-B1MEbk8x.js} +2 -2
  93. package/dist/{vue-ui-mini-loader-BgW5M00P.cjs → vue-ui-mini-loader-CuWWrNo9.cjs} +1 -1
  94. package/dist/{vue-ui-molecule-Ds0uou9B.js → vue-ui-molecule-BwO_9sCz.js} +13 -12
  95. package/dist/vue-ui-molecule-huq_1VnO.cjs +1 -0
  96. package/dist/vue-ui-mood-radar-B4k3k2q7.cjs +1 -0
  97. package/dist/{vue-ui-mood-radar-DMrAwNQa.js → vue-ui-mood-radar-CLiiGRyR.js} +14 -13
  98. package/dist/{vue-ui-nested-donuts-FSCi4a9f.js → vue-ui-nested-donuts-CxAFaOns.js} +14 -13
  99. package/dist/{vue-ui-nested-donuts-3orKF1Fi.cjs → vue-ui-nested-donuts-t_TWJrWV.cjs} +2 -2
  100. package/dist/{vue-ui-onion-CiXgGubD.cjs → vue-ui-onion-DIQLewG_.cjs} +2 -2
  101. package/dist/{vue-ui-onion-YWVe7eaq.js → vue-ui-onion-gweww1Nd.js} +14 -13
  102. package/dist/{vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs → vue-ui-parallel-coordinate-plot-B48BZpEc.cjs} +2 -2
  103. package/dist/{vue-ui-parallel-coordinate-plot-C8vxLtTa.js → vue-ui-parallel-coordinate-plot-Dos2dhCW.js} +35 -34
  104. package/dist/vue-ui-quadrant-BYDJYypD.cjs +1 -0
  105. package/dist/{vue-ui-quadrant-DmDoysAq.js → vue-ui-quadrant-fXKeOjn-.js} +15 -14
  106. package/dist/{vue-ui-quick-chart-BgSeWNxv.cjs → vue-ui-quick-chart-BVVVrJyc.cjs} +2 -2
  107. package/dist/{vue-ui-quick-chart-CwJe7rJt.js → vue-ui-quick-chart-BojZdQHp.js} +12 -11
  108. package/dist/vue-ui-radar-C5mA8lGM.cjs +1 -0
  109. package/dist/{vue-ui-radar-Bo9SbfBN.js → vue-ui-radar-D4mB15zr.js} +15 -14
  110. package/dist/{vue-ui-rating-DPs6BKf1.js → vue-ui-rating-BG_CF73W.js} +2 -2
  111. package/dist/{vue-ui-rating-CqY6A4WX.cjs → vue-ui-rating-P9KkC2lE.cjs} +1 -1
  112. package/dist/vue-ui-relation-circle-CfNGeO3G.cjs +1 -0
  113. package/dist/{vue-ui-relation-circle-3Al_2yf1.js → vue-ui-relation-circle-xYqp0Vj9.js} +13 -12
  114. package/dist/{vue-ui-rings-DOlqslSN.cjs → vue-ui-rings-Ba7xV0bh.cjs} +2 -2
  115. package/dist/{vue-ui-rings-D9_ClLdg.js → vue-ui-rings-CTw5Guq9.js} +15 -14
  116. package/dist/{vue-ui-scatter-DFDHrRyc.js → vue-ui-scatter-CMhOzUfw.js} +15 -14
  117. package/dist/vue-ui-scatter-UeHQSMn_.cjs +1 -0
  118. package/dist/{vue-ui-screenshot-R1IzXCqt.js → vue-ui-screenshot-DkB1LMw4.js} +2 -2
  119. package/dist/{vue-ui-screenshot-BWVTxKN_.cjs → vue-ui-screenshot-Dqiqn0Tt.cjs} +1 -1
  120. package/dist/{vue-ui-skeleton-Dn9J8aVW.cjs → vue-ui-skeleton-BZsFiqo5.cjs} +1 -1
  121. package/dist/{vue-ui-skeleton-DBfQG5lC.js → vue-ui-skeleton-DDZb9FFJ.js} +3 -3
  122. package/dist/{vue-ui-smiley-CLv8dmnr.js → vue-ui-smiley-BgS5Przf.js} +2 -2
  123. package/dist/{vue-ui-smiley-DQ7I4CcQ.cjs → vue-ui-smiley-CUmfLZx6.cjs} +1 -1
  124. package/dist/{vue-ui-spark-trend-B0qbQaxj.js → vue-ui-spark-trend-NRIFklnc.js} +5 -5
  125. package/dist/{vue-ui-spark-trend-Drp1E7DH.cjs → vue-ui-spark-trend-w10yXsJZ.cjs} +1 -1
  126. package/dist/{vue-ui-sparkbar-DYW_BgkY.cjs → vue-ui-sparkbar-aigBoTy2.cjs} +1 -1
  127. package/dist/{vue-ui-sparkbar-Bz_QHNKp.js → vue-ui-sparkbar-ejr7X72c.js} +4 -4
  128. package/dist/{vue-ui-sparkgauge-5EIHFUiW.js → vue-ui-sparkgauge-BOf5aBj9.js} +4 -4
  129. package/dist/{vue-ui-sparkgauge-C6tB0nl4.cjs → vue-ui-sparkgauge-CkefH_Q3.cjs} +1 -1
  130. package/dist/{vue-ui-sparkhistogram-COdCqBiI.js → vue-ui-sparkhistogram-C64SJzGD.js} +5 -5
  131. package/dist/{vue-ui-sparkhistogram-KIw7nvKd.cjs → vue-ui-sparkhistogram-Dtn7OLFq.cjs} +1 -1
  132. package/dist/{vue-ui-sparkline-CXIdKGso.cjs → vue-ui-sparkline-BKGLvlLw.cjs} +1 -1
  133. package/dist/{vue-ui-sparkline-DgUc7CMn.js → vue-ui-sparkline-POZCJkr9.js} +4 -4
  134. package/dist/{vue-ui-sparkstackbar-MrQzEVeh.cjs → vue-ui-sparkstackbar-BxeVbtHZ.cjs} +1 -1
  135. package/dist/{vue-ui-sparkstackbar-BUqauQMd.js → vue-ui-sparkstackbar-C7v5flng.js} +5 -5
  136. package/dist/{vue-ui-stackbar-C-i36fcc.js → vue-ui-stackbar-DUvKoTiT.js} +16 -15
  137. package/dist/{vue-ui-stackbar-BUJpFyA3.cjs → vue-ui-stackbar-OS-G2tRA.cjs} +2 -2
  138. package/dist/{vue-ui-strip-plot-Dc82V8Qo.js → vue-ui-strip-plot-DvQPyqtk.js} +14 -13
  139. package/dist/vue-ui-strip-plot-IcTvmihM.cjs +1 -0
  140. package/dist/{vue-ui-table-0E7zmWIW.cjs → vue-ui-table-Bo5KWUa-.cjs} +2 -2
  141. package/dist/{vue-ui-table-DnAzCFyM.js → vue-ui-table-C8zG8WTp.js} +1 -1
  142. package/dist/vue-ui-table-heatmap-DvRBb7Za.cjs +1 -0
  143. package/dist/{vue-ui-table-heatmap-CzwyhRmp.js → vue-ui-table-heatmap-N2a-kKWJ.js} +9 -8
  144. package/dist/{vue-ui-table-sparkline-BU4he5wL.js → vue-ui-table-sparkline-DOYmxyiy.js} +9 -8
  145. package/dist/vue-ui-table-sparkline-DVhyXHjb.cjs +1 -0
  146. package/dist/vue-ui-thermometer-CshBwaty.cjs +1 -0
  147. package/dist/{vue-ui-thermometer-uShXro0_.js → vue-ui-thermometer-DsFTU7hy.js} +26 -25
  148. package/dist/{vue-ui-timer-D6L29mt9.js → vue-ui-timer-BazkEbRz.js} +5 -5
  149. package/dist/{vue-ui-timer-C8qXGSrQ.cjs → vue-ui-timer-b4eSKrHr.cjs} +1 -1
  150. package/dist/{vue-ui-tiremarks-BcjGqJn-.js → vue-ui-tiremarks-LjeTpuwu.js} +20 -19
  151. package/dist/vue-ui-tiremarks-tCyisBN-.cjs +1 -0
  152. package/dist/{vue-ui-treemap-BpB4ofIX.js → vue-ui-treemap-CkPWe6se.js} +14 -13
  153. package/dist/vue-ui-treemap-o4rsDy3h.cjs +1 -0
  154. package/dist/{vue-ui-vertical-bar-Q5ArQTC0.cjs → vue-ui-vertical-bar-D3vjiqvq.cjs} +3 -3
  155. package/dist/{vue-ui-vertical-bar-CEIg-_SG.js → vue-ui-vertical-bar-ViFIMQc9.js} +16 -15
  156. package/dist/vue-ui-waffle-4Wpu2k9B.cjs +1 -0
  157. package/dist/{vue-ui-waffle-h8UbPcuC.js → vue-ui-waffle-D8uQiqvC.js} +15 -14
  158. package/dist/{vue-ui-wheel-BhLEyhW_.js → vue-ui-wheel-DgJ52HhJ.js} +10 -9
  159. package/dist/vue-ui-wheel-Wkp_TkAj.cjs +1 -0
  160. package/dist/{vue-ui-word-cloud-oa6Tnt3L.js → vue-ui-word-cloud-BmX0SdIe.js} +39 -38
  161. package/dist/vue-ui-word-cloud-CtR6FmsK.cjs +1 -0
  162. package/dist/vue-ui-xy-B68466-C.cjs +3 -0
  163. package/dist/{vue-ui-xy-CXY00bkP.js → vue-ui-xy-CnNugA_v.js} +21 -19
  164. package/dist/{vue-ui-xy-canvas-Ce4kC0Xz.cjs → vue-ui-xy-canvas-D7IJkVz1.cjs} +2 -2
  165. package/dist/{vue-ui-xy-canvas-DapzRtyI.js → vue-ui-xy-canvas-DRbFpLFp.js} +111 -110
  166. package/package.json +2 -2
  167. package/dist/img-BPGizWpM.cjs +0 -1
  168. package/dist/img-itj0Vdmx.js +0 -15
  169. package/dist/index-CVZp-EFm.cjs +0 -9
  170. package/dist/pdf-DSkQT5iH.cjs +0 -1
  171. package/dist/vue-ui-age-pyramid-Bt_wuZiO.cjs +0 -1
  172. package/dist/vue-ui-bullet-BlYz0H5Q.cjs +0 -34
  173. package/dist/vue-ui-carousel-table-DHN5NuUS.cjs +0 -1
  174. package/dist/vue-ui-circle-pack-rf-DQQuM.cjs +0 -1
  175. package/dist/vue-ui-donut-GBs-eAbp.cjs +0 -1
  176. package/dist/vue-ui-donut-evolution-DdDVkeuH.cjs +0 -1
  177. package/dist/vue-ui-dumbbell-94nsg3t1.cjs +0 -9
  178. package/dist/vue-ui-flow-Ddn2S7NR.cjs +0 -1
  179. package/dist/vue-ui-funnel-Iawza5lZ.cjs +0 -1
  180. package/dist/vue-ui-galaxy-BoiBmzst.cjs +0 -1
  181. package/dist/vue-ui-gauge-B4aBDTfP.cjs +0 -1
  182. package/dist/vue-ui-heatmap-BNlBRWi1.cjs +0 -1
  183. package/dist/vue-ui-history-plot-BcjI3J96.cjs +0 -1
  184. package/dist/vue-ui-molecule-WPdx8i08.cjs +0 -1
  185. package/dist/vue-ui-mood-radar-D45uj8xo.cjs +0 -1
  186. package/dist/vue-ui-quadrant-LTIGWJiO.cjs +0 -1
  187. package/dist/vue-ui-radar-CblS9X1n.cjs +0 -1
  188. package/dist/vue-ui-relation-circle-COYe9dsQ.cjs +0 -1
  189. package/dist/vue-ui-scatter-DQhoY0TK.cjs +0 -1
  190. package/dist/vue-ui-strip-plot-BLECfP0D.cjs +0 -1
  191. package/dist/vue-ui-table-heatmap-BHSksmMn.cjs +0 -1
  192. package/dist/vue-ui-table-sparkline-BoVrzVok.cjs +0 -1
  193. package/dist/vue-ui-thermometer-DeJpqEix.cjs +0 -1
  194. package/dist/vue-ui-tiremarks-CQ4yESxv.cjs +0 -1
  195. package/dist/vue-ui-treemap-DbTCrAmK.cjs +0 -1
  196. package/dist/vue-ui-waffle-B61yE93N.cjs +0 -1
  197. package/dist/vue-ui-wheel-Chc9pVEu.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-Cq6mmJVo.cjs +0 -1
  199. package/dist/vue-ui-xy-Brt11wmo.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { computed as S, ref as T, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as O, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as z, renderSlot as j, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
2
- import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as A, q as st, r as at } from "./index-BAPUY6BW.js";
3
- import { _ as nt } from "./Title-Dfjx2pT6.js";
4
- import { u as rt, U as ut } from "./usePrinter-BsXYrX84.js";
5
- import it from "./vue-ui-skeleton-DBfQG5lC.js";
6
- import { D as dt } from "./DataTable-B8Vnlflz.js";
7
- import ct from "./vue-ui-accordion-Dm7ZlylJ.js";
8
- import { u as ze } from "./useNestedProp-X5u-cjpn.js";
9
- import { _ as ht } from "./PackageVersion-C6hdi5vE.js";
10
- import { P as vt } from "./PenAndPaper-DBNdemyU.js";
1
+ import { computed as S, ref as T, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as D, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as O, renderSlot as j, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
2
+ import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as z, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as A, q as st, r as at } from "./index-DWsIpwzs.js";
3
+ import { _ as nt } from "./Title-y0r2c8bY.js";
4
+ import { u as rt, U as ut } from "./usePrinter-B8LELMkA.js";
5
+ import it from "./vue-ui-skeleton-DDZb9FFJ.js";
6
+ import { D as dt } from "./DataTable-B_PZ5EQ5.js";
7
+ import ct from "./vue-ui-accordion-WrimcQK1.js";
8
+ import { u as Oe } from "./useNestedProp-Bole8bsm.js";
9
+ import { _ as ht } from "./PackageVersion-Cz-oD7U6.js";
10
+ import { P as vt } from "./PenAndPaper-DOTH2X_u.js";
11
11
  import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
12
12
  import { u as pt } from "./useChartAccessibility-BWojgys7.js";
13
13
  import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const kt = ["id"], gt = {
15
15
  key: 1,
16
16
  style: "width:100%;background:transparent"
17
- }, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], zt = ["stop-color"], Dt = ["stop-color"], Ot = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], At = ["stop-color"], It = ["id"], Lt = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y"], Zt = ["d", "stroke"], qt = ["d", "stroke"], Xt = { key: 4 }, Yt = { key: 0 }, Jt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = { key: 2 }, nl = ["d", "fill", "onMouseenter", "onClick"], rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "onMouseenter", "onClick"], dl = ["d"], cl = ["d", "stroke"], hl = ["onClick"], vl = ["stroke", "d"], fl = ["cx", "cy", "fill", "stroke"], pl = ["x", "y", "width", "height"], yl = { key: 1 }, kl = ["d", "stroke"], gl = ["d", "fill", "stroke"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["cx", "cy", "fill"], xl = ["cx", "cy", "fill"], wl = { key: 0 }, Cl = ["text-anchor", "x", "y", "fill", "font-size"], Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = { key: 2 }, Pl = ["d", "fill", "stroke"], jl = { key: 5 }, Tl = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width", "fill"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = { key: 1 }, Il = ["onClick"], Ll = ["id"], Wl = ["stop-color"], Vl = ["stop-color"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["onMouseenter", "onClick", "d", "fill"], Xl = ["onMouseenter", "onClick", "d"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onClick"], Kl = ["stroke", "d"], Ql = ["cx", "cy", "fill", "stroke"], eo = ["x", "y", "width", "height"], to = { key: 1 }, lo = ["d", "stroke"], oo = ["d", "fill", "stroke"], so = ["id"], ao = ["stop-color"], no = ["stop-color"], ro = ["cx", "cy", "fill"], uo = ["cx", "cy", "fill"], io = { key: 0 }, co = ["text-anchor", "x", "y", "fill", "font-size"], ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = { key: 2 }, fo = ["d", "fill", "stroke"], po = {
17
+ }, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], Ot = ["stop-color"], zt = ["stop-color"], Dt = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], At = ["stop-color"], It = ["id"], Lt = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y"], Zt = ["d", "stroke"], qt = ["d", "stroke"], Xt = { key: 4 }, Yt = { key: 0 }, Jt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = { key: 2 }, nl = ["d", "fill", "onMouseenter", "onClick"], rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "onMouseenter", "onClick"], dl = ["d"], cl = ["d", "stroke"], hl = ["onClick"], vl = ["stroke", "d"], fl = ["cx", "cy", "fill", "stroke"], pl = ["x", "y", "width", "height"], yl = { key: 1 }, kl = ["d", "stroke"], gl = ["d", "fill", "stroke"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["cx", "cy", "fill"], xl = ["cx", "cy", "fill"], wl = { key: 0 }, Cl = ["text-anchor", "x", "y", "fill", "font-size"], Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = { key: 2 }, Pl = ["d", "fill", "stroke"], jl = { key: 5 }, Tl = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width", "fill"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = { key: 1 }, Il = ["onClick"], Ll = ["id"], Wl = ["stop-color"], Vl = ["stop-color"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["onMouseenter", "onClick", "d", "fill"], Xl = ["onMouseenter", "onClick", "d"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onClick"], Kl = ["stroke", "d"], Ql = ["cx", "cy", "fill", "stroke"], eo = ["x", "y", "width", "height"], to = { key: 1 }, lo = ["d", "stroke"], oo = ["d", "fill", "stroke"], so = ["id"], ao = ["stop-color"], no = ["stop-color"], ro = ["cx", "cy", "fill"], uo = ["cx", "cy", "fill"], io = { key: 0 }, co = ["text-anchor", "x", "y", "fill", "font-size"], ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = { key: 2 }, fo = ["d", "fill", "stroke"], po = {
18
18
  key: 4,
19
19
  class: "vue-data-ui-watermark"
20
20
  }, yo = {
@@ -38,18 +38,18 @@ const kt = ["id"], gt = {
38
38
  }
39
39
  },
40
40
  emits: ["selectDatapoint"],
41
- setup(De, { expose: Oe, emit: Ne }) {
42
- const { vue_ui_3d_bar: Be } = Je(), $ = De, R = Ne, Z = S(() => !!$.dataset && Object.keys($.dataset).length), b = T(je()), Ae = T(null), ue = T(null), I = T(!1), ie = T(0), de = T(0), t = S({
41
+ setup(ze, { expose: De, emit: Ne }) {
42
+ const { vue_ui_3d_bar: Be } = Je(), $ = ze, R = Ne, Z = S(() => !!$.dataset && Object.keys($.dataset).length), b = T(je()), Ae = T(null), ue = T(null), I = T(!1), ie = T(0), de = T(0), t = S({
43
43
  get: () => fe(),
44
44
  set: (a) => a
45
45
  }), { userOptionsVisible: oe, setUserOptionsVisibility: ce, keepUserOptionState: he } = ft({ config: t.value }), { svgRef: ve } = pt({ config: t.value.style.chart.title });
46
46
  function fe() {
47
- const a = ze({
47
+ const a = Oe({
48
48
  userConfig: $.config,
49
49
  defaultConfig: Be
50
50
  });
51
51
  return a.theme ? {
52
- ...ze({
52
+ ...Oe({
53
53
  userConfig: Qe.vue_ui_3d_bar[a.theme] || $.config,
54
54
  defaultConfig: a
55
55
  }),
@@ -61,7 +61,8 @@ const kt = ["id"], gt = {
61
61
  }, { deep: !0 });
62
62
  const { isPrinting: pe, isImaging: ye, generatePdf: ke, generateImage: ge } = rt({
63
63
  elementId: `3d_bar_${b.value}`,
64
- fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
64
+ fileName: t.value.style.chart.title.text || "vue-ui-3d-bar",
65
+ options: t.value.userOptions.print
65
66
  }), Ie = S(() => et(t.value.customPalette)), E = T({
66
67
  showTable: t.value.table.show
67
68
  }), F = S(() => $.dataset.series && $.dataset.series.length), o = S(() => ({
@@ -276,17 +277,17 @@ const kt = ["id"], gt = {
276
277
  const q = S(() => {
277
278
  const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
278
279
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
279
- D({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
280
+ z({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
280
281
  "100%"
281
282
  ], e = B.value.head.map((r, c) => {
282
- const k = D({ p: t.value.style.chart.legend.prefix, v: B.value.body[c], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
283
+ const k = z({ p: t.value.style.chart.legend.prefix, v: B.value.body[c], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
283
284
  return [
284
285
  {
285
286
  color: r.color,
286
287
  name: r.name
287
288
  },
288
289
  k,
289
- isNaN(B.value.body[c] / a) ? "-" : D({
290
+ isNaN(B.value.body[c] / a) ? "-" : z({
290
291
  v: B.value.body[c] / a * 100,
291
292
  s: "%",
292
293
  r: t.value.table.td.roundingPercentage
@@ -324,7 +325,7 @@ const kt = ["id"], gt = {
324
325
  function ae() {
325
326
  X.value = !X.value;
326
327
  }
327
- return Oe({
328
+ return De({
328
329
  generateCsv: me,
329
330
  generatePdf: ke,
330
331
  generateImage: ge,
@@ -335,7 +336,7 @@ const kt = ["id"], gt = {
335
336
  ref_key: "bar3dChart",
336
337
  ref: ue,
337
338
  class: Me("vue-ui-3d-bar"),
338
- style: O(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
339
+ style: D(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
339
340
  id: `3d_bar_${b.value}`,
340
341
  onMouseenter: s[2] || (s[2] = () => d(ce)(!0)),
341
342
  onMouseleave: s[3] || (s[3] = () => d(ce)(!1))
@@ -388,55 +389,55 @@ const kt = ["id"], gt = {
388
389
  onGenerateImage: d(ge),
389
390
  onToggleTable: be,
390
391
  onToggleAnnotator: ae,
391
- style: O({
392
+ style: D({
392
393
  visibility: d(he) ? d(oe) ? "visible" : "hidden" : "visible"
393
394
  })
394
395
  }, Ze({ _: 2 }, [
395
396
  a.$slots.menuIcon ? {
396
397
  name: "menuIcon",
397
- fn: z(({ isOpen: e, color: h }) => [
398
+ fn: O(({ isOpen: e, color: h }) => [
398
399
  j(a.$slots, "menuIcon", Y(J({ isOpen: e, color: h })), void 0, !0)
399
400
  ]),
400
401
  key: "0"
401
402
  } : void 0,
402
403
  a.$slots.optionPdf ? {
403
404
  name: "optionPdf",
404
- fn: z(() => [
405
+ fn: O(() => [
405
406
  j(a.$slots, "optionPdf", {}, void 0, !0)
406
407
  ]),
407
408
  key: "1"
408
409
  } : void 0,
409
410
  a.$slots.optionCsv ? {
410
411
  name: "optionCsv",
411
- fn: z(() => [
412
+ fn: O(() => [
412
413
  j(a.$slots, "optionCsv", {}, void 0, !0)
413
414
  ]),
414
415
  key: "2"
415
416
  } : void 0,
416
417
  a.$slots.optionImg ? {
417
418
  name: "optionImg",
418
- fn: z(() => [
419
+ fn: O(() => [
419
420
  j(a.$slots, "optionImg", {}, void 0, !0)
420
421
  ]),
421
422
  key: "3"
422
423
  } : void 0,
423
424
  a.$slots.optionTable ? {
424
425
  name: "optionTable",
425
- fn: z(() => [
426
+ fn: O(() => [
426
427
  j(a.$slots, "optionTable", {}, void 0, !0)
427
428
  ]),
428
429
  key: "4"
429
430
  } : void 0,
430
431
  a.$slots.optionFullscreen ? {
431
432
  name: "optionFullscreen",
432
- fn: z(({ toggleFullscreen: e, isFullscreen: h }) => [
433
+ fn: O(({ toggleFullscreen: e, isFullscreen: h }) => [
433
434
  j(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
434
435
  ]),
435
436
  key: "5"
436
437
  } : void 0,
437
438
  a.$slots.optionAnnotator ? {
438
439
  name: "optionAnnotator",
439
- fn: z(({ toggleAnnotator: e, isAnnotator: h }) => [
440
+ fn: O(({ toggleAnnotator: e, isAnnotator: h }) => [
440
441
  j(a.$slots, "optionAnnotator", Y(J({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
441
442
  ]),
442
443
  key: "6"
@@ -449,7 +450,7 @@ const kt = ["id"], gt = {
449
450
  xmlns: d(ot),
450
451
  class: Me({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
451
452
  viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
452
- style: O(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
453
+ style: D(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
453
454
  }, [
454
455
  qe(ht),
455
456
  a.$slots["chart-background"] ? (n(), i("foreignObject", {
@@ -515,14 +516,14 @@ const kt = ["id"], gt = {
515
516
  u("stop", {
516
517
  offset: "75%",
517
518
  "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
518
- }, null, 8, zt),
519
+ }, null, 8, Ot),
519
520
  u("stop", {
520
521
  offset: "100%",
521
522
  "stop-color": d(g)(t.value.style.chart.bar.color, 40)
522
- }, null, 8, Dt)
523
+ }, null, 8, zt)
523
524
  ], 8, Tt)
524
525
  ]),
525
- F.value ? (n(), i("defs", Ot, [
526
+ F.value ? (n(), i("defs", Dt, [
526
527
  (n(!0), i(_, null, m(C.value, (e) => (n(), i("radialGradient", {
527
528
  id: `grad_top_${e.id}`
528
529
  }, [
@@ -584,7 +585,7 @@ const kt = ["id"], gt = {
584
585
  "font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
585
586
  fill: t.value.style.chart.dataLabel.color,
586
587
  "text-anchor": "middle"
587
- }, P(d(D)({
588
+ }, P(d(z)({
588
589
  v: W.value,
589
590
  s: "%",
590
591
  r: t.value.style.chart.dataLabel.rounding
@@ -684,7 +685,7 @@ const kt = ["id"], gt = {
684
685
  ])),
685
686
  F.value ? (n(), i("g", al, [
686
687
  (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
687
- style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
688
+ style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
688
689
  class: "vue-ui-3d-bar-stack"
689
690
  }, [
690
691
  u("path", {
@@ -737,7 +738,7 @@ const kt = ["id"], gt = {
737
738
  }, null, 8, cl)) : y("", !0)
738
739
  ]))), 256)),
739
740
  (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
740
- style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
741
+ style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
741
742
  onClick: (l) => R("selectDatapoint", e)
742
743
  }, [
743
744
  u("path", {
@@ -764,11 +765,11 @@ const kt = ["id"], gt = {
764
765
  }, [
765
766
  t.value.style.chart.legend.showDefault ? (n(), i("div", {
766
767
  key: 0,
767
- style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
768
- }, P(e.name) + ": " + P(d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
768
+ style: D(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
769
+ }, P(e.name) + ": " + P(d(z)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
769
770
  t.value.style.chart.dataLabel.formatter,
770
771
  e.value,
771
- d(D)({
772
+ d(z)({
772
773
  p: t.value.style.chart.legend.prefix,
773
774
  v: e.value,
774
775
  s: t.value.style.chart.legend.suffix,
@@ -841,7 +842,7 @@ const kt = ["id"], gt = {
841
842
  }, P(V(l, e.fill.donut)) + " (" + P(d(te)(
842
843
  t.value.style.chart.dataLabel.formatter,
843
844
  l.value,
844
- d(D)({
845
+ d(z)({
845
846
  p: t.value.style.chart.legend.prefix,
846
847
  v: l.value,
847
848
  s: t.value.style.chart.legend.suffix,
@@ -890,7 +891,7 @@ const kt = ["id"], gt = {
890
891
  "stroke-linejoin": "round",
891
892
  "stroke-linecap": "round",
892
893
  fill: "none"
893
- }, null, 8, zl),
894
+ }, null, 8, Ol),
894
895
  u("path", {
895
896
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
896
897
  d: N.value.tubeRight,
@@ -899,7 +900,7 @@ const kt = ["id"], gt = {
899
900
  "stroke-linejoin": "round",
900
901
  "stroke-linecap": "round",
901
902
  fill: "none"
902
- }, null, 8, Dl),
903
+ }, null, 8, zl),
903
904
  u("path", {
904
905
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
905
906
  d: N.value.tubeBottom,
@@ -908,7 +909,7 @@ const kt = ["id"], gt = {
908
909
  "stroke-linejoin": "round",
909
910
  "stroke-linecap": "round",
910
911
  fill: "none"
911
- }, null, 8, Ol),
912
+ }, null, 8, Dl),
912
913
  u("path", {
913
914
  d: H.value.tubeTop,
914
915
  stroke: t.value.style.chart.bar.stroke,
@@ -928,7 +929,7 @@ const kt = ["id"], gt = {
928
929
  ])),
929
930
  F.value ? (n(), i("g", Al, [
930
931
  (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
931
- style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
932
+ style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
932
933
  class: "vue-ui-3d-bar-stack",
933
934
  onClick: (l) => R("selectDatapoint", e)
934
935
  }, [
@@ -1012,7 +1013,7 @@ const kt = ["id"], gt = {
1012
1013
  }, null, 40, Yl)
1013
1014
  ], 12, Il))), 256)),
1014
1015
  (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
1015
- style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1016
+ style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1016
1017
  onClick: (l) => R("selectDatapoint", e)
1017
1018
  }, [
1018
1019
  u("path", {
@@ -1039,11 +1040,11 @@ const kt = ["id"], gt = {
1039
1040
  }, [
1040
1041
  t.value.style.chart.legend.showDefault ? (n(), i("div", {
1041
1042
  key: 0,
1042
- style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
1043
- }, P(e.name) + ": " + P(d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
1043
+ style: D(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
1044
+ }, P(e.name) + ": " + P(d(z)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
1044
1045
  t.value.style.chart.dataLabel.formatter,
1045
1046
  e.value,
1046
- d(D)({
1047
+ d(z)({
1047
1048
  p: t.value.style.chart.legend.prefix,
1048
1049
  v: e.value,
1049
1050
  s: t.value.style.chart.legend.suffix,
@@ -1116,7 +1117,7 @@ const kt = ["id"], gt = {
1116
1117
  }, P(V(l, e.fill.donut)) + " (" + P(d(te)(
1117
1118
  t.value.style.chart.dataLabel.formatter,
1118
1119
  l.value,
1119
- d(D)({
1120
+ d(z)({
1120
1121
  p: t.value.style.chart.legend.prefix,
1121
1122
  v: l.value,
1122
1123
  s: t.value.style.chart.legend.suffix,
@@ -1182,7 +1183,7 @@ const kt = ["id"], gt = {
1182
1183
  }
1183
1184
  }
1184
1185
  }, {
1185
- content: z(() => [
1186
+ content: O(() => [
1186
1187
  (n(), G(dt, {
1187
1188
  key: `table_${de.value}`,
1188
1189
  colNames: q.value.colNames,
@@ -1192,13 +1193,13 @@ const kt = ["id"], gt = {
1192
1193
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1193
1194
  onClose: s[1] || (s[1] = (e) => E.value.showTable = !1)
1194
1195
  }, {
1195
- th: z(({ th: e }) => [
1196
+ th: O(({ th: e }) => [
1196
1197
  u("div", {
1197
1198
  innerHTML: e,
1198
1199
  style: { display: "flex", "align-items": "center" }
1199
1200
  }, null, 8, ko)
1200
1201
  ]),
1201
- td: z(({ td: e }) => [
1202
+ td: O(({ td: e }) => [
1202
1203
  Xe(P(e.name || e), 1)
1203
1204
  ]),
1204
1205
  _: 1
@@ -1208,7 +1209,7 @@ const kt = ["id"], gt = {
1208
1209
  }, 8, ["config"])) : y("", !0)
1209
1210
  ], 44, kt));
1210
1211
  }
1211
- }, zo = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-55e8e233"]]);
1212
+ }, Oo = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-6294a8dd"]]);
1212
1213
  export {
1213
- zo as default
1214
+ Oo as default
1214
1215
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-lwGFy7CI.cjs"),g=require("./useNestedProp-Ch_Tbu0f.cjs"),u=require("./index-CVZp-EFm.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){e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:c}=u.useConfig(),d=l,o=e.computed(()=>g.useNestedProp({userConfig:d.config,defaultConfig:c})),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-CGjwy6WD.cjs"),g=require("./useNestedProp-B8CE091o.cjs"),u=require("./index-Crz6y51C.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){e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:c}=u.useConfig(),d=l,o=e.computed(()=>g.useNestedProp({userConfig:d.config,defaultConfig:c})),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 _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
2
- import w from "./BaseIcon-DyOT6PYJ.js";
3
- import { u as x } from "./useNestedProp-X5u-cjpn.js";
4
- import { u as B, c as I } from "./index-BAPUY6BW.js";
2
+ import w from "./BaseIcon-BYl8WVrn.js";
3
+ import { u as x } from "./useNestedProp-Bole8bsm.js";
4
+ import { u as B, c as I } from "./index-DWsIpwzs.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-Crz6y51C.cjs"),Y=require("./useResponsive-N8jl0-aC.cjs"),ie=require("./Title-BkwZ_rBI.cjs"),J=require("./usePrinter-Cqxw0sR7.cjs"),ne=require("./Tooltip-DhhX9jKQ.cjs"),ue=require("./DataTable-Dp7g_Ei4.cjs"),de=require("./vue-ui-skeleton-BZsFiqo5.cjs"),ce=require("./vue-ui-accordion-10T9IdE-.cjs"),K=require("./useNestedProp-B8CE091o.cjs"),ve=require("./PackageVersion-Dj3KQ8Ax.cjs"),ye=require("./PenAndPaper-OCjAJH70.cjs"),he=require("./useUserOptionState-BgepsfED.cjs"),fe=require("./useChartAccessibility-Cm7nkzTG.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ge=["id"],be=["xmlns","viewBox"],me=["x","y","width","height"],xe=["id"],ke=["stop-color"],we=["stop-color"],Ce=["id"],Ne=["stop-color"],_e=["stop-color"],Se=["x","y","width","height","fill","rx"],Le=["x","y","width","height","fill","rx"],Te=["x","y","width","height","fill","rx"],Be=["x","y","width","height","fill","rx"],Ae={key:0},$e=["x","y","fill","font-size","font-weight"],Ee=["x","y","fill","font-size","font-weight"],Ve={key:1},ze=["x","y","font-size","fill","font-weight"],Pe={key:2},Oe={key:0},Ie=["x1","x2","y1","y2","stroke","stroke-width"],Fe=["x1","x2","y1","y2","stroke","stroke-width"],Re=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","font-size","fill","font-weight"],Me=["x1","x2","y1","y2","stroke","stroke-width"],qe=["x","y","font-size","fill","font-weight"],Ue=["x","y","font-size","fill","font-weight"],Ge=["x","y","width","height","fill","onMouseover"],He={key:5,class:"vue-data-ui-watermark"},We={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(T,{expose:Q}){const{vue_ui_age_pyramid:Z}=r.useConfig(),u=T,m=e.computed(()=>!!u.dataset&&u.dataset.length),v=e.ref(r.createUid()),ee=e.ref(null),C=e.ref(!1),N=e.ref(""),x=e.ref(null),B=e.ref(0),g=e.ref(null),A=e.ref(null),$=e.ref(null),E=e.ref(null),V=e.ref(0),z=e.ref(0),t=e.computed({get:()=>F(),set:l=>l}),{userOptionsVisible:_,setUserOptionsVisibility:P,keepUserOptionState:O}=he.useUserOptionState({config:t.value}),{svgRef:I}=fe.useChartAccessibility({config:t.value.style.title});function F(){const l=K.useNestedProp({userConfig:u.config,defaultConfig:Z});return l.theme?{...K.useNestedProp({userConfig:r.themes.vue_ui_age_pyramid[l.theme]||u.config,defaultConfig:l})}:l}e.watch(()=>u.config,l=>{t.value=F(),_.value=!t.value.userOptions.showOnChartHover,D(),V.value+=1,z.value+=1,c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.tooltip.show},{deep:!0});const R=e.ref(null);e.onMounted(()=>{D()});function D(){if(r.objectIsEmpty(u.dataset)&&r.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=Y.throttle(()=>{const{width:i,height:o}=Y.useResponsive({chart:g.value,title:t.value.style.title.text?A.value:null,source:$.value,noTitle:E.value});requestAnimationFrame(()=>{d.value.width=i,d.value.height=o})});R.value=new ResizeObserver(l),R.value.observe(g.value.parentNode)}}const{isPrinting:M,isImaging:q,generatePdf:U,generateImage:G}=J.usePrinter({elementId:`vue-ui-age-pyramid_${v.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid",options:t.value.userOptions.print}),te=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),c=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}),s=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,i=t.value.style.layout.padding.left,o=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:i,right:o,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:i+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:i+l/2+t.value.style.layout.centerSlit.width}}}),le=e.computed(()=>u.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=oe(b.value/5),i=[],o=[];for(let a=0;a<=5;a+=1){const n=l*a,X=l*(a-5);i.push({value:n,x:s.value.left+s.value.width/2+t.value.style.layout.centerSlit.width+n/b.value*s.value.leftChart.width}),o.push({value:Math.abs(X),x:s.value.left+s.value.width/2+X/b.value*s.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:i,left:o}});function oe(l){if(l===0)return 0;const o=10**Math.floor(Math.log10(Math.abs(l)));let a;return l<0,a=Math.round(l/o)*o,a}const b=e.computed(()=>Math.max(...u.dataset.flatMap(l=>l.slice(-2).map(i=>r.checkNaN(i))))),h=e.computed(()=>u.dataset.length),ae=e.computed(()=>u.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/b.value},right:{value:l[3],proportionToMax:l[3]/b.value}}))),f=e.computed(()=>ae.value.map((l,i)=>{const o=s.value.top+s.value.height/h.value*i,a=s.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:o,color:t.value.style.layout.bars.left.color,x:s.value.leftChart.right-l.left.proportionToMax*s.value.leftChart.width,width:r.checkNaN(l.left.proportionToMax*s.value.leftChart.width),height:a},right:{...l.right,y:o,color:t.value.style.layout.bars.right.color,x:s.value.rightChart.left,width:r.checkNaN(l.right.proportionToMax*s.value.rightChart.width),height:a}}})),S=e.ref(null);function se(l,i){x.value=l,S.value={datapoint:i,seriesIndex:l,series:f.value,config:t.value};const o=t.value.style.tooltip.customFormat;if(r.isFunction(o)&&r.functionReturnsString(()=>o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value})))N.value=o({seriesIndex:l,datapoint:{segment:i[0],index:i[1],left:i[2],right:i[3]},series:f.value,config:t.value});else{let a="";const n=f.value[l];a+=`<div><b>${n.segment}</b></div>`,a+=`<div>${t.value.translations.age}: ${r.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,r.checkNaN(n.age),r.dataLabel({v:r.checkNaN(n.age)}),{datapoint:i,seriesIndex:l})}</div>`,a+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,a+='<div style="display:flex; flex-direction:row;gap:12px">',a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${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_${v.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${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_${v.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value),r.dataLabel({v:r.checkNaN(n.right.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",a+=`<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>${r.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,r.checkNaN(n.right.value)+r.checkNaN(n.left.value),r.dataLabel({v:r.checkNaN(n.right.value)+r.checkNaN(n.left.value)}),{datapoint:i,seriesIndex:l})}</b></div></div>`,a+="</div>",N.value=`<div>${a}</div>`}C.value=!0}function H(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],i=u.dataset.map(n=>[n[0],n[1],n[2],n[3],n[2]+n[3]]),o=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(i),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,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],i=u.dataset.map(a=>[a[0],a[1],a[2].toLocaleString(),a[3].toLocaleString(),(a[2]+a[3]).toLocaleString()]),o={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:i,config:o,colNames:l}}),p=e.ref(!1);function re(l){p.value=l,B.value+=1}function W(){c.value.showTable=!c.value.showTable}function j(){c.value.showTooltip=!c.value.showTooltip}const w=e.ref(!1);function L(){w.value=!w.value}return Q({generatePdf:U,generateCsv:H,generateImage:G,toggleTable:W,toggleTooltip:j,toggleAnnotator:L}),(l,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${p.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${v.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[2]||(i[2]=()=>e.unref(P)(!0)),onMouseleave:i[3]||(i[3]=()=>e.unref(P)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ye.PenAndPaper,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:w.value,onClose:L},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),te.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:E,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:A,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${V.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&&m.value&&(e.unref(O)||e.unref(_))?(e.openBlock(),e.createBlock(J.UserOptions,{ref_key:"details",ref:ee,key:`user_options_${B.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(q),isPrinting:e.unref(M),uid:v.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:p.value,isTooltip:c.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:re,onGeneratePdf:e.unref(U),onGenerateCsv:H,onGenerateImage:e.unref(G),onToggleTable:W,onToggleTooltip:j,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(O)?e.unref(_)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:a})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:a})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:a})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:a})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:a})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:a})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":p.value,"vue-data-ui-fulscreen--off":!p.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(ve._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:s.value.left,y:s.value.top,width:s.value.width,height:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,me)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${v.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,ke),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.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,we)],8,xe),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${v.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.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,Ne),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,_e)],8,Ce)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:e.unref(r.checkNaN)(o.left.width<=0?1e-4:o.left.width),height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Se),e.createElementVNode("rect",{x:o.left.x,y:o.left.y,width:o.left.width<=0?1e-4:o.left.width,height:o.left.height<=0?1e-4:o.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${v.value})`:o.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,Le),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,Te),e.createElementVNode("rect",{x:o.right.x,y:o.right.y,width:o.right.width<=0?1e-4:o.right.width,height:o.right.height<=0?1e-4:o.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${v.value})`:o.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,Be)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",Ae,[e.createElementVNode("text",{x:s.value.left,y:s.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,$e),e.createElementVNode("text",{x:s.value.right,y:s.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,Ee)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Ve,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.value.centerX,y:s.value.top+s.value.height/h.value*a+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(r.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,o,e.unref(r.dataLabel)({v:o}),{datapoint:o,seriesIndex:a})),9,ze)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Pe,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Oe,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.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,Ie),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.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,Fe)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.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,Re)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.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(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,De)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:s.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:s.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,Me)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:o.x,y:s.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(r.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,o.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(r.dataLabel)({v:o.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:o,seriesIndex:a})),9,qe)]))),256)),e.createElementVNode("text",{x:s.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,Ue)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.dataset,(o,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:s.value.left,y:s.value.top+s.value.height/h.value*a-t.value.style.layout.bars.gap/2,width:s.value.width<=0?1e-4:s.value.width,height:s.value.height/h.value<=0?1e-4:s.value.height/h.value,fill:x.value!==null&&x.value===a?e.unref(r.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:n=>se(a,o),onMouseleave:i[0]||(i[0]=n=>{x.value=null,C.value=!1})},null,40,Ge)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,be)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(M)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(de.default,{key:6,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),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:$,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ne._sfc_main,{show:c.value.showTooltip&&C.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:N.value,isFullscreen:p.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({...S.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...S.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),m.value?(e.openBlock(),e.createBlock(ce.default,{key:8,hideDetails:"",config:{open:c.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(ue.DataTable,{key:`table_${z.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:i[1]||(i[1]=o=>c.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ge))}},je=pe._export_sfc(We,[["__scopeId","data-v-beb1c78c"]]);exports.default=je;
@@ -1,15 +1,15 @@
1
1
  import { computed as b, ref as v, watch as Ae, onMounted as Le, createElementBlock as r, openBlock as i, unref as u, normalizeStyle as W, normalizeClass as he, createBlock as L, createCommentVNode as y, renderSlot as h, createVNode as fe, createSlots as Se, withCtx as c, normalizeProps as S, guardReactiveProps as z, createElementVNode as d, Fragment as O, renderList as P, toDisplayString as w, createTextVNode as ce, nextTick as ze } from "vue";
2
- import { u as Oe, c as Ie, a as Fe, o as Pe, e as Me, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-BAPUY6BW.js";
2
+ import { u as Oe, c as Ie, a as Fe, o as Pe, e as Me, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-DWsIpwzs.js";
3
3
  import { t as Be, u as Ee } from "./useResponsive-vZgZwV-S.js";
4
- import { _ as Ve } from "./Title-Dfjx2pT6.js";
5
- import { u as We, U as Xe } from "./usePrinter-BsXYrX84.js";
6
- import { _ as je } from "./Tooltip-C3kzKkai.js";
7
- import { D as He } from "./DataTable-B8Vnlflz.js";
8
- import Ye from "./vue-ui-skeleton-DBfQG5lC.js";
9
- import qe from "./vue-ui-accordion-Dm7ZlylJ.js";
10
- import { u as pe } from "./useNestedProp-X5u-cjpn.js";
11
- import { _ as Je } from "./PackageVersion-C6hdi5vE.js";
12
- import { P as Ke } from "./PenAndPaper-DBNdemyU.js";
4
+ import { _ as Ve } from "./Title-y0r2c8bY.js";
5
+ import { u as We, U as Xe } from "./usePrinter-B8LELMkA.js";
6
+ import { _ as je } from "./Tooltip-CbWEnMUw.js";
7
+ import { D as He } from "./DataTable-B_PZ5EQ5.js";
8
+ import Ye from "./vue-ui-skeleton-DDZb9FFJ.js";
9
+ import qe from "./vue-ui-accordion-WrimcQK1.js";
10
+ import { u as pe } from "./useNestedProp-Bole8bsm.js";
11
+ import { _ as Je } from "./PackageVersion-Cz-oD7U6.js";
12
+ import { P as Ke } from "./PenAndPaper-DOTH2X_u.js";
13
13
  import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { u as Ze } from "./useChartAccessibility-BWojgys7.js";
15
15
  import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -77,7 +77,8 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
77
77
  }
78
78
  const { isPrinting: se, isImaging: ie, generatePdf: ue, generateImage: re } = We({
79
79
  elementId: `vue-ui-age-pyramid_${m.value}`,
80
- fileName: e.value.style.title.text || "vue-ui-age-pyramid"
80
+ fileName: e.value.style.title.text || "vue-ui-age-pyramid",
81
+ options: e.value.userOptions.print
81
82
  }), we = b(() => e.value.userOptions.show && !e.value.style.title.text), x = v({
82
83
  showTable: e.value.table.show,
83
84
  showTooltip: e.value.style.tooltip.show
@@ -725,7 +726,7 @@ const tt = ["id"], lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height"]
725
726
  }, 8, ["config"])) : y("", !0)
726
727
  ], 46, tt));
727
728
  }
728
- }, jt = /* @__PURE__ */ et(zt, [["__scopeId", "data-v-fe3a06a3"]]);
729
+ }, jt = /* @__PURE__ */ et(zt, [["__scopeId", "data-v-beb1c78c"]]);
729
730
  export {
730
731
  jt as default
731
732
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./html2canvas.esm-D53btDlk.cjs"),b=require("./jspdf.es.min-Rw70uifz.cjs"),h=require("./index-CVZp-EFm.cjs"),o=require("vue"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F={props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{shapes:[],lastSelectedShape:void 0}}}},data(){return{activeShape:void 0,strokeSize:1,currentPointer:{start:{x:0,y:0},end:{x:0,end:0}},currentTarget:void 0,hoveredShapeId:void 0,isBold:!1,isBulletTextMode:!1,isDash:!1,isDeleteMode:!1,isDrawing:!1,isDrawingNewShape:!0,isDrawMode:!1,isItalic:!1,isMouseDown:!1,isMoveMode:!1,isPrinting:!1,isResizeMode:!1,isSelectMode:!1,isSummaryOpen:!1,isTextMode:!1,isUnderline:!1,isWriting:!1,lastSelectedShape:this.dataset.lastSelectedShape,pointerDownId:-1,pointerPosition:{x:0,y:0},preventEdit:!0,selectedGroup:[],shapes:this.dataset.shapes?this.dataset.shapes:[],shapesOrder:[],step:Math.round(Math.random())*1e5,svgHeight:1e3,svgWidth:1e3,options:{arrow:{color:"grey",filled:!0},circle:{color:"grey",filled:!1,radius:3,strokeWidth:2},rect:{color:"grey",filled:!1,strokeWidth:2,height:12,width:12}},selectedColor:"#000000",showCaret:!1,sizeRatio:1,slottedSvg:void 0,sourceWidth:1,sourceHeight:1,textAlign:"start",textFont:20,transparency:100,transparencyCodes:h.opacity}},watch:{shapes:{handler(e){e.length===0&&(this.lastSelectedShape=void 0)}}},computed:{FINAL_CONFIG(){const e=h.useConfig().vue_ui_annotator;if(!Object.keys(this.config||{}).length)return e;const i=this.treeShake({defaultConfig:e,userConfig:this.config});return this.convertConfigColors(i)},canSelect(){return this.shapes.filter(e=>!["line","group"].includes(e.type)).length>1},colorTransparency(){return this.transparencyCodes[this.transparency>98?98:this.transparency]},cursorClass(){switch(!0){case this.isDeleteMode:return"default";case this.isMoveMode:return"move";case this.isTextMode:return"text";case this.isResizeMode:return"se-resize";default:return""}},records(){return this.shapes},userShapes(){return this.records.map(e=>{switch(!0){case(e&&e.type==="arrow"):const i=e.strokeWidth>3?5:10,s=e.strokeWidth>3?2.5:5;return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./html2canvas.esm-BA_v9SIU.cjs"),b=require("./jspdf.es.min-C518mmma.cjs"),h=require("./index-Crz6y51C.cjs"),o=require("vue"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F={props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{shapes:[],lastSelectedShape:void 0}}}},data(){return{activeShape:void 0,strokeSize:1,currentPointer:{start:{x:0,y:0},end:{x:0,end:0}},currentTarget:void 0,hoveredShapeId:void 0,isBold:!1,isBulletTextMode:!1,isDash:!1,isDeleteMode:!1,isDrawing:!1,isDrawingNewShape:!0,isDrawMode:!1,isItalic:!1,isMouseDown:!1,isMoveMode:!1,isPrinting:!1,isResizeMode:!1,isSelectMode:!1,isSummaryOpen:!1,isTextMode:!1,isUnderline:!1,isWriting:!1,lastSelectedShape:this.dataset.lastSelectedShape,pointerDownId:-1,pointerPosition:{x:0,y:0},preventEdit:!0,selectedGroup:[],shapes:this.dataset.shapes?this.dataset.shapes:[],shapesOrder:[],step:Math.round(Math.random())*1e5,svgHeight:1e3,svgWidth:1e3,options:{arrow:{color:"grey",filled:!0},circle:{color:"grey",filled:!1,radius:3,strokeWidth:2},rect:{color:"grey",filled:!1,strokeWidth:2,height:12,width:12}},selectedColor:"#000000",showCaret:!1,sizeRatio:1,slottedSvg:void 0,sourceWidth:1,sourceHeight:1,textAlign:"start",textFont:20,transparency:100,transparencyCodes:h.opacity}},watch:{shapes:{handler(e){e.length===0&&(this.lastSelectedShape=void 0)}}},computed:{FINAL_CONFIG(){const e=h.useConfig().vue_ui_annotator;if(!Object.keys(this.config||{}).length)return e;const i=this.treeShake({defaultConfig:e,userConfig:this.config});return this.convertConfigColors(i)},canSelect(){return this.shapes.filter(e=>!["line","group"].includes(e.type)).length>1},colorTransparency(){return this.transparencyCodes[this.transparency>98?98:this.transparency]},cursorClass(){switch(!0){case this.isDeleteMode:return"default";case this.isMoveMode:return"move";case this.isTextMode:return"text";case this.isResizeMode:return"se-resize";default:return""}},records(){return this.shapes},userShapes(){return this.records.map(e=>{switch(!0){case(e&&e.type==="arrow"):const i=e.strokeWidth>3?5:10,s=e.strokeWidth>3?2.5:5;return`
2
2
  <defs>
3
3
  <marker
4
4
  id="${e.id}"
@@ -1,6 +1,6 @@
1
- import k from "./html2canvas.esm-Dr4iCOK6.js";
2
- import { E as p } from "./jspdf.es.min-eTA26cmm.js";
3
- import { z as v, A, u as w, B as M } from "./index-BAPUY6BW.js";
1
+ import k from "./html2canvas.esm-DgdJBc_o.js";
2
+ import { E as p } from "./jspdf.es.min-t_OLULUR.js";
3
+ import { z as v, A, u as w, B as M } from "./index-DWsIpwzs.js";
4
4
  import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as C, vModelText as x, renderSlot as O, Fragment as L, renderList as G } from "vue";
5
5
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const m = {
@@ -0,0 +1,34 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Crz6y51C.cjs"),F=require("./useNestedProp-B8CE091o.cjs"),J=require("./Title-BkwZ_rBI.cjs"),K=require("./Legend-BB6S3gBp.cjs"),I=require("./usePrinter-Cqxw0sR7.cjs"),Q=require("./PackageVersion-Dj3KQ8Ax.cjs"),Z=require("./PenAndPaper-OCjAJH70.cjs"),ee=require("./vue-ui-skeleton-BZsFiqo5.cjs"),te=require("./useUserOptionState-BgepsfED.cjs"),ae=require("./useChartAccessibility-Cm7nkzTG.cjs"),le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),re=["id"],oe={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},se=["xmlns","viewBox"],ne=["width","height"],ue={key:1},ie=["x","y","height","width","fill","stroke"],ce=["x","y","height","width","rx","fill","stroke","stroke-width"],de=["x","y","height","width","fill","stroke","stroke-width"],he=["x","y","font-size","font-weight","fill"],ve=["x","y","height","width","rx","fill","stroke","stroke-width"],me={key:3},ge=["x","y","fill","font-size","font-weight"],fe={key:4},ye=["x1","x2","y1","y2","stroke"],pe={key:5,class:"vue-data-ui-watermark"},ke={class:"vue-ui-bullet-legend-item",dir:"auto"},be={style:{"margin-right":"2px"}},we={key:7,ref:"source",dir:"auto"},Be={__name:"vue-ui-bullet",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(z,{expose:H}){const{vue_ui_bullet:T}=s.useConfig(),n=z,w=e.ref(null),q=e.ref(null),B=e.ref(0),M=e.ref(null),U=e.ref(0),h=e.computed({get:()=>n.dataset.hasOwnProperty("value"),set:a=>a}),v=e.computed(()=>n.dataset.segments?Array.isArray(n.dataset.segments)?n.dataset.segments.length?!0:(console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
2
+
3
+ segments: [
4
+ {
5
+ name: string;
6
+ from: number;
7
+ to: number;
8
+ color?: string;
9
+ },
10
+ {...}
11
+ ]
12
+ `),h.value=!1,!1):(console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
13
+
14
+ segments: [
15
+ {
16
+ name: string;
17
+ from: number;
18
+ to: number;
19
+ color?: string;
20
+ },
21
+ {...}
22
+ ]
23
+ `),h.value=!1,!1):(console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
24
+
25
+ segments: [
26
+ {
27
+ name: string;
28
+ from: number;
29
+ to: number;
30
+ color?: string;
31
+ },
32
+ {...}
33
+ ]
34
+ `),h.value=!1,!1));e.onMounted(C);function C(){s.objectIsEmpty(n.dataset)?s.error({componentName:"VueUiBullet",type:"dataset"}):v.value?n.dataset.segments.forEach((a,o)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","from","to"]}).forEach(l=>{h.value=!1,s.error({componentName:"VueUiBullet segment",type:"datasetSerieAttribute",property:l,index:o})})}):h.value=!1,t.value.style.chart.animation.show&&P(n.dataset.value||0)}const y=e.ref(s.createUid());function x(){const a=F.useNestedProp({userConfig:n.config,defaultConfig:T});return a.theme?{...F.useNestedProp({userConfig:s.themes.vue_ui_bullet[a.theme]||n.config,defaultConfig:a})}:a}const t=e.computed({get:()=>x(),set:a=>a}),{userOptionsVisible:p,setUserOptionsVisibility:_,keepUserOptionState:L}=te.useUserOptionState({config:t.value}),{svgRef:S}=ae.useChartAccessibility({config:t.value.style.chart.title});e.watch(()=>n.config,a=>{t.value=x(),p.value=!t.value.userOptions.showOnChartHover,C(),B.value+=1},{deep:!0});const r=e.computed(()=>{const a=t.value.style.chart.height,o=t.value.style.chart.width,l=t.value.style.chart.padding.left,d=o-t.value.style.chart.padding.right,f=t.value.style.chart.padding.top,c=a-t.value.style.chart.padding.bottom;return{height:a,width:o,left:l,right:d,top:f,bottom:c,chartWidth:d-l,chartHeight:c-f}}),R=e.computed(()=>{if(!v.value)return[];const a=[];for(let o=0;o<n.dataset.segments.length;o+=1)a.push(s.lightenHexColor(t.value.style.chart.segments.baseColor,o/n.dataset.segments.length));return a}),k=e.computed(()=>v.value?{min:Math.min(...n.dataset.segments.map(a=>a.from)),max:Math.max(...n.dataset.segments.map(a=>a.to))}:{min:0,max:1}),u=e.ref(D());e.watch(()=>n.dataset,a=>{t.value.style.chart.animation.show?P(a.value||0):u.value=a.value||0},{deep:!0});function D(){return t.value.style.chart.animation.show?k.value.min:n.dataset.value||0}const N=e.ref(null);function P(a){const o=Math.abs(a-u.value)/t.value.style.chart.animation.animationFrames;function l(){u.value<a?u.value=Math.min(u.value+o,a):u.value>a&&(u.value=Math.max(u.value-o,a)),u.value!==a&&(N.value=requestAnimationFrame(l))}l()}e.onBeforeUnmount(()=>{cancelAnimationFrame(N.value)});const i=e.computed(()=>{if(!v.value)return[];const a=s.calculateNiceScale(k.value.min,k.value.max,t.value.style.chart.segments.ticks.divisions),o=a.min>=0?0:Math.abs(a.min),l={x:r.value.left+(n.dataset.target+o)/(a.max+o)*r.value.chartWidth-t.value.style.chart.target.width/2},d={width:(u.value+o)/(a.max+o)*r.value.chartWidth},f=a.ticks.map(c=>({value:c,y:r.value.bottom+t.value.style.chart.segments.dataLabels.fontSize+3+t.value.style.chart.segments.dataLabels.offsetY,x:r.value.left+(c+o)/(a.max+o)*r.value.chartWidth}));return{scale:a,target:l,value:d,ticks:f,chunks:n.dataset.segments.map((c,Y)=>({...c,color:c.color?s.convertColorToHex(c.color):R.value[Y],x:r.value.left+r.value.chartWidth*((c.from+o)/(a.max+o)),y:r.value.top,height:r.value.chartHeight,width:r.value.chartWidth*(Math.abs(c.to-c.from)/(a.max+o))}))}}),E=e.computed(()=>!i.value||!i.value.chunks||!i.value.chunks.length?[]:i.value.chunks.map(a=>{const o=s.applyDataLabel(t.value.style.chart.segments.dataLabels.formatter,a.from,s.dataLabel({p:t.value.style.chart.segments.dataLabels.prefix,v:a.from,s:t.value.style.chart.segments.dataLabels.suffix,r:t.value.style.chart.segments.dataLabels.rounding})),l=s.applyDataLabel(t.value.style.chart.segments.dataLabels.formatter,a.to,s.dataLabel({p:t.value.style.chart.segments.dataLabels.prefix,v:a.to,s:t.value.style.chart.segments.dataLabels.suffix,r:t.value.style.chart.segments.dataLabels.rounding}));return{...a,shape:"square",value:`${o} - ${l}`}})),W=e.computed(()=>({cy:"bullet-div-legend",backgroundColor:"transparent",color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:6,fontWeight:t.value.style.chart.legend.bold?"bold":""})),{isPrinting:$,isImaging:V,generatePdf:O,generateImage:A}=I.usePrinter({elementId:`bullet_${y.value}`,fileName:t.value.style.chart.title.text||"vue-ui-bullet",options:t.value.userOptions.print}),j=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),m=e.ref(!1);function G(a){m.value=a,U.value+=1}function X(){return i.value}const g=e.ref(!1);function b(){g.value=!g.value}return H({getData:X,generatePdf:O,generateImage:A,toggleAnnotator:b}),(a,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"bulletChart",ref:w,class:e.normalizeClass(`vue-ui-bullet ${m.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%;background:${t.value.style.chart.backgroundColor}`),id:`bullet_${y.value}`,onMouseenter:o[0]||(o[0]=()=>e.unref(_)(!0)),onMouseleave:o[1]||(o[1]=()=>e.unref(_)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Z.PenAndPaper,{key:0,svgRef:e.unref(S),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:g.value,onClose:b},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),j.value?(e.openBlock(),e.createElementBlock("div",oe,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:q,style:"width:100%;background:transparent;"},[(e.openBlock(),e.createBlock(J._sfc_main,{lineHeight:"1.3rem",key:`title_${B.value}`,config:{title:{cy:"bullet-div-title",...t.value.style.chart.title},subtitle:{cy:"bullet-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&h.value&&(e.unref(L)||e.unref(p))?(e.openBlock(),e.createBlock(I.UserOptions,{key:3,ref:"details",backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref($),isImaging:e.unref(V),uid:y.value,hasTooltip:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:!1,hasTable:!1,hasLabel:!1,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:m.value,chartElement:w.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:g.value,onToggleFullscreen:G,onGeneratePdf:e.unref(O),onGenerateImage:e.unref(A),onToggleAnnotator:b,style:e.normalizeStyle({visibility:e.unref(L)?e.unref(p)?"visible":"hidden":"visible"})},e.createSlots({_:2},[a.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:d})=>[e.renderSlot(a.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:d})),void 0,!0)]),key:"0"}:void 0,a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:d})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:d})),void 0,!0)]),key:"3"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:d})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:d})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:S,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":m.value,"vue-data-ui-fulscreen--off":!m.value,"vue-ui-bullet-svg":!0}),viewBox:`0 0 ${r.value.width} ${r.value.height}`,style:e.normalizeStyle(`width: 100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Q._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width,height:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background",{},void 0,!0)],8,ne)):e.createCommentVNode("",!0),v.value?(e.openBlock(),e.createElementBlock("g",ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.chunks,l=>(e.openBlock(),e.createElementBlock("rect",{x:l.x,y:l.y,height:l.height,width:l.width,fill:l.color,"stroke-width":1,stroke:t.value.style.chart.backgroundColor},null,8,ie))),256)),t.value.style.chart.target.onTop?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("rect",{key:0,x:i.value.target.x,y:r.value.top+(r.value.chartHeight-r.value.chartHeight*t.value.style.chart.target.heightRatio)/2,height:r.value.chartHeight*t.value.style.chart.target.heightRatio,width:t.value.style.chart.target.width,rx:t.value.style.chart.target.rounded?t.value.style.chart.target.width/2:0,fill:t.value.style.chart.target.color,stroke:t.value.style.chart.target.stroke,"stroke-width":t.value.style.chart.target.strokeWidth},null,8,ce)),e.createElementVNode("rect",{x:r.value.left,y:r.value.top+(r.value.chartHeight-r.value.chartHeight*t.value.style.chart.valueBar.heightRatio)/2,height:r.value.chartHeight*t.value.style.chart.valueBar.heightRatio,width:i.value.value.width,fill:t.value.style.chart.valueBar.color,stroke:t.value.style.chart.valueBar.stroke,"stroke-width":t.value.style.chart.valueBar.strokeWidth},null,8,de),t.value.style.chart.valueBar.label.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:r.value.left+i.value.value.width,y:r.value.top-6+t.value.style.chart.valueBar.label.offsetY,"font-size":t.value.style.chart.valueBar.label.fontSize,"font-weight":t.value.style.chart.valueBar.label.bold?"bold":"normal",fill:t.value.style.chart.valueBar.label.color,"text-anchor":"middle"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.segments.dataLabels.formatter,u.value,e.unref(s.dataLabel)({p:t.value.style.chart.segments.dataLabels.prefix,v:u.value,s:t.value.style.chart.segments.dataLabels.suffix,r:t.value.style.chart.segments.dataLabels.rounding}))),9,he)):e.createCommentVNode("",!0),t.value.style.chart.target.onTop?(e.openBlock(),e.createElementBlock("rect",{key:2,x:i.value.target.x,y:r.value.top+(r.value.chartHeight-r.value.chartHeight*t.value.style.chart.target.heightRatio)/2,height:r.value.chartHeight*t.value.style.chart.target.heightRatio,width:t.value.style.chart.target.width,rx:t.value.style.chart.target.rounded?t.value.style.chart.target.width/2:0,fill:t.value.style.chart.target.color,stroke:t.value.style.chart.target.stroke,"stroke-width":t.value.style.chart.target.strokeWidth},null,8,ve)):e.createCommentVNode("",!0),t.value.style.chart.segments.dataLabels.show?(e.openBlock(),e.createElementBlock("g",me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.ticks,l=>(e.openBlock(),e.createElementBlock("text",{x:l.x,y:l.y,"text-anchor":"middle",fill:t.value.style.chart.segments.dataLabels.color,"font-size":t.value.style.chart.segments.dataLabels.fontSize+"px","font-weight":t.value.style.chart.segments.dataLabels.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.segments.dataLabels.formatter,l.value,e.unref(s.dataLabel)({p:t.value.style.chart.segments.dataLabels.prefix,v:l.value,s:t.value.style.chart.segments.dataLabels.suffix,r:t.value.style.chart.segments.dataLabels.rounding}))),9,ge))),256))])):e.createCommentVNode("",!0),t.value.style.chart.segments.dataLabels.show&&t.value.style.chart.segments.ticks.show?(e.openBlock(),e.createElementBlock("g",fe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.ticks,l=>(e.openBlock(),e.createElementBlock("line",{x1:l.x,x2:l.x,y1:r.value.bottom,y2:r.value.bottom+3,stroke:t.value.style.chart.segments.ticks.stroke,"stroke-width":1,"stroke-linecap":"round"},null,8,ye))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"svg",{svg:r.value},void 0,!0)],14,se)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",pe,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref($)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ee.default,{key:6,config:{type:"bullet",style:{backgroundColor:t.value.style.chart.backgroundColor,bullet:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:M},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(K.Legend,{key:0,clickable:!1,legendSet:E.value,config:W.value},{item:e.withCtx(({legend:l})=>[e.createElementVNode("div",ke,[e.createElementVNode("span",be,e.toDisplayString(l.name)+":",1),e.createElementVNode("span",null,e.toDisplayString(l.value),1)])]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"legend",{legend:E.value},void 0,!0)],512),a.$slots.source?(e.openBlock(),e.createElementBlock("div",we,[e.renderSlot(a.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],46,re))}},Ce=le._export_sfc(Be,[["__scopeId","data-v-e444b500"]]);exports.default=Ce;