vue-data-ui 2.4.57 → 2.4.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,12 +1,12 @@
1
- import { ref as d, computed as g, onMounted as de, watch as J, onBeforeUnmount as ge, openBlock as r, createElementBlock as n, normalizeClass as K, normalizeStyle as I, unref as u, createBlock as k, createCommentVNode as i, createSlots as fe, withCtx as w, renderSlot as y, normalizeProps as H, guardReactiveProps as M, createVNode as me, Fragment as T, renderList as U, createElementVNode as x, toDisplayString as L } from "vue";
2
- import { u as ye, o as pe, e as Q, g as be, c as ke, l as we, D as xe, d as _e, i as $, f as B, X as Ce, t as Le } from "./index-CI-N9klv.js";
3
- import { u as Z } from "./useNestedProp-D1eJ0dvv.js";
4
- import { _ as $e } from "./Title-DLjHHdyq.js";
5
- import { L as Be } from "./Legend-HooNAKB_.js";
6
- import { u as Ae, U as Oe } from "./usePrinter-CXc8xCKk.js";
7
- import { _ as Pe } from "./PackageVersion-S3SzpuwC.js";
8
- import { P as Fe } from "./PenAndPaper-v846FwcH.js";
9
- import Se from "./vue-ui-skeleton-owIhXtQF.js";
1
+ import { ref as d, computed as g, onMounted as de, watch as J, onBeforeUnmount as ge, openBlock as r, createElementBlock as o, normalizeClass as K, normalizeStyle as I, unref as u, createBlock as k, createCommentVNode as i, createSlots as fe, withCtx as w, renderSlot as f, normalizeProps as H, guardReactiveProps as M, createVNode as me, Fragment as T, renderList as U, createElementVNode as x, toDisplayString as L } from "vue";
2
+ import { u as ye, o as pe, e as Q, g as be, c as ke, l as we, D as xe, d as _e, i as $, f as B, X as Ce, t as Le } from "./index-B9RAElpI.js";
3
+ import { u as Z } from "./useNestedProp-DuruL3Nt.js";
4
+ import { _ as $e } from "./Title-zZtEcB9F.js";
5
+ import { L as Be } from "./Legend-f52bnttJ.js";
6
+ import { u as Oe, U as Ae } from "./usePrinter-CwTAwqtF.js";
7
+ import { _ as Pe } from "./PackageVersion-C_FFs0BP.js";
8
+ import { P as Fe } from "./PenAndPaper-Dx24BtRW.js";
9
+ import Se from "./vue-ui-skeleton-DVYD_VSe.js";
10
10
  import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const Me = ["id"], Te = {
@@ -14,17 +14,17 @@ const Me = ["id"], Te = {
14
14
  ref: "noTitle",
15
15
  class: "vue-data-ui-no-title-space",
16
16
  style: "height:36px; width: 100%;background:transparent"
17
- }, Ue = ["xmlns", "viewBox"], Ne = { key: 0 }, ze = ["x", "y", "height", "width", "fill", "stroke"], We = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ee = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], De = ["x", "y", "font-size", "font-weight", "fill"], Re = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ve = { key: 3 }, Ge = ["x", "y", "fill", "font-size", "font-weight"], je = { key: 4 }, qe = ["x1", "x2", "y1", "y2", "stroke"], Xe = {
17
+ }, Ue = ["xmlns", "viewBox"], Ne = ["width", "height"], ze = { key: 1 }, We = ["x", "y", "height", "width", "fill", "stroke"], Ee = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], De = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Re = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], je = { key: 3 }, Ge = ["x", "y", "fill", "font-size", "font-weight"], qe = { key: 4 }, Xe = ["x1", "x2", "y1", "y2", "stroke"], Ye = {
18
18
  key: 5,
19
19
  class: "vue-data-ui-watermark"
20
- }, Ye = {
20
+ }, Je = {
21
21
  class: "vue-ui-bullet-legend-item",
22
22
  dir: "auto"
23
- }, Je = { style: { "margin-right": "2px" } }, Ke = {
23
+ }, Ke = { style: { "margin-right": "2px" } }, Qe = {
24
24
  key: 7,
25
25
  ref: "source",
26
26
  dir: "auto"
27
- }, Qe = {
27
+ }, Ze = {
28
28
  __name: "vue-ui-bullet",
29
29
  props: {
30
30
  config: {
@@ -41,10 +41,10 @@ const Me = ["id"], Te = {
41
41
  }
42
42
  },
43
43
  setup(ee, { expose: te }) {
44
- const o = ee, { vue_ui_bullet: ae } = ye(), A = d(null), le = d(null), N = d(0), se = d(null), re = d(0), f = g({
45
- get: () => o.dataset.hasOwnProperty("value"),
44
+ const n = ee, { vue_ui_bullet: ae } = ye(), O = d(null), le = d(null), N = d(0), se = d(null), re = d(0), m = g({
45
+ get: () => n.dataset.hasOwnProperty("value"),
46
46
  set: (t) => t
47
- }), p = g(() => o.dataset.segments ? Array.isArray(o.dataset.segments) ? o.dataset.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
47
+ }), p = g(() => 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:
48
48
 
49
49
  segments: [
50
50
  {
@@ -55,7 +55,7 @@ segments: [
55
55
  },
56
56
  {...}
57
57
  ]
58
- `), f.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
58
+ `), m.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
59
59
 
60
60
  segments: [
61
61
  {
@@ -66,7 +66,7 @@ segments: [
66
66
  },
67
67
  {...}
68
68
  ]
69
- `), f.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
69
+ `), m.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
70
70
 
71
71
  segments: [
72
72
  {
@@ -77,35 +77,35 @@ segments: [
77
77
  },
78
78
  {...}
79
79
  ]
80
- `), f.value = !1, !1));
80
+ `), m.value = !1, !1));
81
81
  de(z);
82
82
  function z() {
83
- pe(o.dataset) ? Q({
83
+ pe(n.dataset) ? Q({
84
84
  componentName: "VueUiBullet",
85
85
  type: "dataset"
86
- }) : p.value ? o.dataset.segments.forEach((t, s) => {
86
+ }) : p.value ? n.dataset.segments.forEach((t, s) => {
87
87
  be({
88
88
  datasetObject: t,
89
89
  requiredAttributes: ["name", "from", "to"]
90
- }).forEach((a) => {
91
- f.value = !1, Q({
90
+ }).forEach((l) => {
91
+ m.value = !1, Q({
92
92
  componentName: "VueUiBullet segment",
93
93
  type: "datasetSerieAttribute",
94
- property: a,
94
+ property: l,
95
95
  index: s
96
96
  });
97
97
  });
98
- }) : f.value = !1, e.value.style.chart.animation.show && V(o.dataset.value || 0);
98
+ }) : m.value = !1, e.value.style.chart.animation.show && V(n.dataset.value || 0);
99
99
  }
100
- const O = d(ke());
100
+ const A = d(ke());
101
101
  function W() {
102
102
  const t = Z({
103
- userConfig: o.config,
103
+ userConfig: n.config,
104
104
  defaultConfig: ae
105
105
  });
106
106
  return t.theme ? {
107
107
  ...Z({
108
- userConfig: Le.vue_ui_bullet[t.theme] || o.config,
108
+ userConfig: Le.vue_ui_bullet[t.theme] || n.config,
109
109
  defaultConfig: t
110
110
  })
111
111
  } : t;
@@ -114,75 +114,75 @@ segments: [
114
114
  get: () => W(),
115
115
  set: (t) => t
116
116
  }), { userOptionsVisible: P, setUserOptionsVisibility: E, keepUserOptionState: D } = Ie({ config: e.value });
117
- J(() => o.config, (t) => {
117
+ J(() => n.config, (t) => {
118
118
  e.value = W(), P.value = !e.value.showOnChartHover, z(), N.value += 1;
119
119
  }, { deep: !0 });
120
- const l = g(() => {
121
- const t = e.value.style.chart.height, s = e.value.style.chart.width, a = e.value.style.chart.padding.left, m = s - e.value.style.chart.padding.right, C = e.value.style.chart.padding.top, v = t - e.value.style.chart.padding.bottom;
120
+ const a = g(() => {
121
+ const t = e.value.style.chart.height, s = e.value.style.chart.width, l = e.value.style.chart.padding.left, y = s - e.value.style.chart.padding.right, C = e.value.style.chart.padding.top, v = t - e.value.style.chart.padding.bottom;
122
122
  return {
123
123
  height: t,
124
124
  width: s,
125
- left: a,
126
- right: m,
125
+ left: l,
126
+ right: y,
127
127
  top: C,
128
128
  bottom: v,
129
- chartWidth: m - a,
129
+ chartWidth: y - l,
130
130
  chartHeight: v - C
131
131
  };
132
132
  }), oe = g(() => {
133
133
  if (!p.value) return [];
134
134
  const t = [];
135
- for (let s = 0; s < o.dataset.segments.length; s += 1)
136
- t.push(we(e.value.style.chart.segments.baseColor, s / o.dataset.segments.length));
135
+ for (let s = 0; s < n.dataset.segments.length; s += 1)
136
+ t.push(we(e.value.style.chart.segments.baseColor, s / n.dataset.segments.length));
137
137
  return t;
138
138
  }), F = g(() => p.value ? {
139
- min: Math.min(...o.dataset.segments.map((t) => t.from)),
140
- max: Math.max(...o.dataset.segments.map((t) => t.to))
141
- } : { min: 0, max: 1 }), c = d(ne());
142
- J(() => o.dataset, (t) => {
143
- e.value.style.chart.animation.show ? V(t.value || 0) : c.value = t.value || 0;
139
+ min: Math.min(...n.dataset.segments.map((t) => t.from)),
140
+ max: Math.max(...n.dataset.segments.map((t) => t.to))
141
+ } : { min: 0, max: 1 }), h = d(ne());
142
+ J(() => n.dataset, (t) => {
143
+ e.value.style.chart.animation.show ? V(t.value || 0) : h.value = t.value || 0;
144
144
  }, { deep: !0 });
145
145
  function ne() {
146
- return e.value.style.chart.animation.show ? F.value.min : o.dataset.value || 0;
146
+ return e.value.style.chart.animation.show ? F.value.min : n.dataset.value || 0;
147
147
  }
148
148
  const R = d(null);
149
149
  function V(t) {
150
- const s = Math.abs(t - c.value) / e.value.style.chart.animation.animationFrames;
151
- function a() {
152
- c.value < t ? c.value = Math.min(c.value + s, t) : c.value > t && (c.value = Math.max(c.value - s, t)), c.value !== t && (R.value = requestAnimationFrame(a));
150
+ const s = Math.abs(t - h.value) / e.value.style.chart.animation.animationFrames;
151
+ function l() {
152
+ h.value < t ? h.value = Math.min(h.value + s, t) : h.value > t && (h.value = Math.max(h.value - s, t)), h.value !== t && (R.value = requestAnimationFrame(l));
153
153
  }
154
- a();
154
+ l();
155
155
  }
156
156
  ge(() => {
157
157
  cancelAnimationFrame(R.value);
158
158
  });
159
- const h = g(() => {
159
+ const c = g(() => {
160
160
  if (!p.value)
161
161
  return [];
162
- const t = xe(F.value.min, F.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
163
- x: l.value.left + (o.dataset.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
164
- }, m = {
165
- width: (c.value + s) / (t.max + s) * l.value.chartWidth
162
+ const t = xe(F.value.min, F.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), l = {
163
+ x: a.value.left + (n.dataset.target + s) / (t.max + s) * a.value.chartWidth - e.value.style.chart.target.width / 2
164
+ }, y = {
165
+ width: (h.value + s) / (t.max + s) * a.value.chartWidth
166
166
  }, C = t.ticks.map((v) => ({
167
167
  value: v,
168
- y: l.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
169
- x: l.value.left + (v + s) / (t.max + s) * l.value.chartWidth
168
+ y: a.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
169
+ x: a.value.left + (v + s) / (t.max + s) * a.value.chartWidth
170
170
  }));
171
171
  return {
172
172
  scale: t,
173
- target: a,
174
- value: m,
173
+ target: l,
174
+ value: y,
175
175
  ticks: C,
176
- chunks: o.dataset.segments.map((v, ve) => ({
176
+ chunks: n.dataset.segments.map((v, ve) => ({
177
177
  ...v,
178
178
  color: v.color ? _e(v.color) : oe.value[ve],
179
- x: l.value.left + l.value.chartWidth * ((v.from + s) / (t.max + s)),
180
- y: l.value.top,
181
- height: l.value.chartHeight,
182
- width: l.value.chartWidth * (Math.abs(v.to - v.from) / (t.max + s))
179
+ x: a.value.left + a.value.chartWidth * ((v.from + s) / (t.max + s)),
180
+ y: a.value.top,
181
+ height: a.value.chartHeight,
182
+ width: a.value.chartWidth * (Math.abs(v.to - v.from) / (t.max + s))
183
183
  }))
184
184
  };
185
- }), G = g(() => !h.value || !h.value.chunks || !h.value.chunks.length ? [] : h.value.chunks.map((t) => {
185
+ }), j = g(() => !c.value || !c.value.chunks || !c.value.chunks.length ? [] : c.value.chunks.map((t) => {
186
186
  const s = $(
187
187
  e.value.style.chart.segments.dataLabels.formatter,
188
188
  t.from,
@@ -192,7 +192,7 @@ segments: [
192
192
  s: e.value.style.chart.segments.dataLabels.suffix,
193
193
  r: e.value.style.chart.segments.dataLabels.rounding
194
194
  })
195
- ), a = $(
195
+ ), l = $(
196
196
  e.value.style.chart.segments.dataLabels.formatter,
197
197
  t.to,
198
198
  B({
@@ -205,7 +205,7 @@ segments: [
205
205
  return {
206
206
  ...t,
207
207
  shape: "square",
208
- value: `${s} - ${a}`
208
+ value: `${s} - ${l}`
209
209
  };
210
210
  })), ue = g(() => ({
211
211
  cy: "bullet-div-legend",
@@ -214,44 +214,44 @@ segments: [
214
214
  fontSize: e.value.style.chart.legend.fontSize,
215
215
  paddingBottom: 6,
216
216
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
217
- })), { isPrinting: j, isImaging: q, generatePdf: X, generateImage: Y } = Ae({
218
- elementId: `bullet_${O.value}`,
217
+ })), { isPrinting: G, isImaging: q, generatePdf: X, generateImage: Y } = Oe({
218
+ elementId: `bullet_${A.value}`,
219
219
  fileName: e.value.style.chart.title.text || "vue-ui-bullet"
220
220
  }), ie = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), b = d(!1);
221
- function ce(t) {
221
+ function he(t) {
222
222
  b.value = t, re.value += 1;
223
223
  }
224
- function he() {
225
- return h.value;
224
+ function ce() {
225
+ return c.value;
226
226
  }
227
227
  const _ = d(!1);
228
228
  function S() {
229
229
  _.value = !_.value;
230
230
  }
231
231
  return te({
232
- getData: he,
232
+ getData: ce,
233
233
  generatePdf: X,
234
234
  generateImage: Y,
235
235
  toggleAnnotator: S
236
- }), (t, s) => (r(), n("div", {
236
+ }), (t, s) => (r(), o("div", {
237
237
  ref_key: "bulletChart",
238
- ref: A,
238
+ ref: O,
239
239
  class: K(`vue-ui-bullet ${b.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
240
240
  style: I(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
241
- id: `bullet_${O.value}`,
241
+ id: `bullet_${A.value}`,
242
242
  onMouseenter: s[0] || (s[0] = () => u(E)(!0)),
243
243
  onMouseleave: s[1] || (s[1] = () => u(E)(!1))
244
244
  }, [
245
245
  e.value.userOptions.buttons.annotator ? (r(), k(Fe, {
246
246
  key: 0,
247
- parent: A.value,
247
+ parent: O.value,
248
248
  backgroundColor: e.value.style.chart.backgroundColor,
249
249
  color: e.value.style.chart.color,
250
250
  active: _.value,
251
251
  onClose: S
252
252
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
253
- ie.value ? (r(), n("div", Te, null, 512)) : i("", !0),
254
- e.value.style.chart.title.text ? (r(), n("div", {
253
+ ie.value ? (r(), o("div", Te, null, 512)) : i("", !0),
254
+ e.value.style.chart.title.text ? (r(), o("div", {
255
255
  key: 2,
256
256
  ref_key: "chartTitle",
257
257
  ref: le,
@@ -272,14 +272,14 @@ segments: [
272
272
  }
273
273
  }, null, 8, ["config"]))
274
274
  ], 512)) : i("", !0),
275
- e.value.userOptions.show && f.value && (u(D) || u(P)) ? (r(), k(Oe, {
275
+ e.value.userOptions.show && m.value && (u(D) || u(P)) ? (r(), k(Ae, {
276
276
  key: 3,
277
277
  ref: "details",
278
278
  backgroundColor: e.value.style.chart.backgroundColor,
279
279
  color: e.value.style.chart.color,
280
- isPrinting: u(j),
280
+ isPrinting: u(G),
281
281
  isImaging: u(q),
282
- uid: O.value,
282
+ uid: A.value,
283
283
  hasTooltip: !1,
284
284
  hasPdf: e.value.userOptions.buttons.pdf,
285
285
  hasImg: e.value.userOptions.buttons.img,
@@ -288,12 +288,12 @@ segments: [
288
288
  hasLabel: !1,
289
289
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
290
290
  isFullscreen: b.value,
291
- chartElement: A.value,
291
+ chartElement: O.value,
292
292
  position: e.value.userOptions.position,
293
293
  titles: { ...e.value.userOptions.buttonTitles },
294
294
  hasAnnotator: e.value.userOptions.buttons.annotator,
295
295
  isAnnotation: _.value,
296
- onToggleFullscreen: ce,
296
+ onToggleFullscreen: he,
297
297
  onGeneratePdf: u(X),
298
298
  onGenerateImage: u(Y),
299
299
  onToggleAnnotator: S,
@@ -304,136 +304,148 @@ segments: [
304
304
  t.$slots.optionPdf ? {
305
305
  name: "optionPdf",
306
306
  fn: w(() => [
307
- y(t.$slots, "optionPdf", {}, void 0, !0)
307
+ f(t.$slots, "optionPdf", {}, void 0, !0)
308
308
  ]),
309
309
  key: "0"
310
310
  } : void 0,
311
311
  t.$slots.optionImg ? {
312
312
  name: "optionImg",
313
313
  fn: w(() => [
314
- y(t.$slots, "optionImg", {}, void 0, !0)
314
+ f(t.$slots, "optionImg", {}, void 0, !0)
315
315
  ]),
316
316
  key: "1"
317
317
  } : void 0,
318
318
  t.$slots.optionFullscreen ? {
319
319
  name: "optionFullscreen",
320
- fn: w(({ toggleFullscreen: a, isFullscreen: m }) => [
321
- y(t.$slots, "optionFullscreen", H(M({ toggleFullscreen: a, isFullscreen: m })), void 0, !0)
320
+ fn: w(({ toggleFullscreen: l, isFullscreen: y }) => [
321
+ f(t.$slots, "optionFullscreen", H(M({ toggleFullscreen: l, isFullscreen: y })), void 0, !0)
322
322
  ]),
323
323
  key: "2"
324
324
  } : void 0,
325
325
  t.$slots.optionAnnotator ? {
326
326
  name: "optionAnnotator",
327
- fn: w(({ toggleAnnotator: a, isAnnotator: m }) => [
328
- y(t.$slots, "optionAnnotator", H(M({ toggleAnnotator: a, isAnnotator: m })), void 0, !0)
327
+ fn: w(({ toggleAnnotator: l, isAnnotator: y }) => [
328
+ f(t.$slots, "optionAnnotator", H(M({ toggleAnnotator: l, isAnnotator: y })), void 0, !0)
329
329
  ]),
330
330
  key: "3"
331
331
  } : void 0
332
332
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
333
- f.value ? (r(), n("svg", {
333
+ m.value ? (r(), o("svg", {
334
334
  key: 4,
335
335
  xmlns: u(Ce),
336
336
  class: K({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value, "vue-ui-bullet-svg": !0 }),
337
- viewBox: `0 0 ${l.value.width} ${l.value.height}`,
337
+ viewBox: `0 0 ${a.value.width} ${a.value.height}`,
338
338
  style: I(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
339
339
  }, [
340
340
  me(Pe),
341
- p.value ? (r(), n("g", Ne, [
342
- (r(!0), n(T, null, U(h.value.chunks, (a) => (r(), n("rect", {
343
- x: a.x,
344
- y: a.y,
345
- height: a.height,
346
- width: a.width,
347
- fill: a.color,
341
+ t.$slots["chart-background"] ? (r(), o("foreignObject", {
342
+ key: 0,
343
+ x: 0,
344
+ y: 0,
345
+ width: a.value.width,
346
+ height: a.value.height,
347
+ style: {
348
+ pointerEvents: "none"
349
+ }
350
+ }, [
351
+ f(t.$slots, "chart-background", {}, void 0, !0)
352
+ ], 8, Ne)) : i("", !0),
353
+ p.value ? (r(), o("g", ze, [
354
+ (r(!0), o(T, null, U(c.value.chunks, (l) => (r(), o("rect", {
355
+ x: l.x,
356
+ y: l.y,
357
+ height: l.height,
358
+ width: l.width,
359
+ fill: l.color,
348
360
  "stroke-width": 1,
349
361
  stroke: e.value.style.chart.backgroundColor
350
- }, null, 8, ze))), 256)),
351
- e.value.style.chart.target.onTop ? i("", !0) : (r(), n("rect", {
362
+ }, null, 8, We))), 256)),
363
+ e.value.style.chart.target.onTop ? i("", !0) : (r(), o("rect", {
352
364
  key: 0,
353
- x: h.value.target.x,
354
- y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
355
- height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
365
+ x: c.value.target.x,
366
+ y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
367
+ height: a.value.chartHeight * e.value.style.chart.target.heightRatio,
356
368
  width: e.value.style.chart.target.width,
357
369
  rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
358
370
  fill: e.value.style.chart.target.color,
359
371
  stroke: e.value.style.chart.target.stroke,
360
372
  "stroke-width": e.value.style.chart.target.strokeWidth
361
- }, null, 8, We)),
373
+ }, null, 8, Ee)),
362
374
  x("rect", {
363
- x: l.value.left,
364
- y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
365
- height: l.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
366
- width: h.value.value.width,
375
+ x: a.value.left,
376
+ y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
377
+ height: a.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
378
+ width: c.value.value.width,
367
379
  fill: e.value.style.chart.valueBar.color,
368
380
  stroke: e.value.style.chart.valueBar.stroke,
369
381
  "stroke-width": e.value.style.chart.valueBar.strokeWidth
370
- }, null, 8, Ee),
371
- e.value.style.chart.valueBar.label.show ? (r(), n("text", {
382
+ }, null, 8, De),
383
+ e.value.style.chart.valueBar.label.show ? (r(), o("text", {
372
384
  key: 1,
373
- x: l.value.left + h.value.value.width,
374
- y: l.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
385
+ x: a.value.left + c.value.value.width,
386
+ y: a.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
375
387
  "font-size": e.value.style.chart.valueBar.label.fontSize,
376
388
  "font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
377
389
  fill: e.value.style.chart.valueBar.label.color,
378
390
  "text-anchor": "middle"
379
391
  }, L(u($)(
380
392
  e.value.style.chart.segments.dataLabels.formatter,
381
- c.value,
393
+ h.value,
382
394
  u(B)({
383
395
  p: e.value.style.chart.segments.dataLabels.prefix,
384
- v: c.value,
396
+ v: h.value,
385
397
  s: e.value.style.chart.segments.dataLabels.suffix,
386
398
  r: e.value.style.chart.segments.dataLabels.rounding
387
399
  })
388
- )), 9, De)) : i("", !0),
389
- e.value.style.chart.target.onTop ? (r(), n("rect", {
400
+ )), 9, Re)) : i("", !0),
401
+ e.value.style.chart.target.onTop ? (r(), o("rect", {
390
402
  key: 2,
391
- x: h.value.target.x,
392
- y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
393
- height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
403
+ x: c.value.target.x,
404
+ y: a.value.top + (a.value.chartHeight - a.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
405
+ height: a.value.chartHeight * e.value.style.chart.target.heightRatio,
394
406
  width: e.value.style.chart.target.width,
395
407
  rx: e.value.style.chart.target.rounded ? e.value.style.chart.target.width / 2 : 0,
396
408
  fill: e.value.style.chart.target.color,
397
409
  stroke: e.value.style.chart.target.stroke,
398
410
  "stroke-width": e.value.style.chart.target.strokeWidth
399
- }, null, 8, Re)) : i("", !0),
400
- e.value.style.chart.segments.dataLabels.show ? (r(), n("g", Ve, [
401
- (r(!0), n(T, null, U(h.value.ticks, (a) => (r(), n("text", {
402
- x: a.x,
403
- y: a.y,
411
+ }, null, 8, Ve)) : i("", !0),
412
+ e.value.style.chart.segments.dataLabels.show ? (r(), o("g", je, [
413
+ (r(!0), o(T, null, U(c.value.ticks, (l) => (r(), o("text", {
414
+ x: l.x,
415
+ y: l.y,
404
416
  "text-anchor": "middle",
405
417
  fill: e.value.style.chart.segments.dataLabels.color,
406
418
  "font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
407
419
  "font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
408
420
  }, L(u($)(
409
421
  e.value.style.chart.segments.dataLabels.formatter,
410
- a.value,
422
+ l.value,
411
423
  u(B)({
412
424
  p: e.value.style.chart.segments.dataLabels.prefix,
413
- v: a.value,
425
+ v: l.value,
414
426
  s: e.value.style.chart.segments.dataLabels.suffix,
415
427
  r: e.value.style.chart.segments.dataLabels.rounding
416
428
  })
417
429
  )), 9, Ge))), 256))
418
430
  ])) : i("", !0),
419
- e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(), n("g", je, [
420
- (r(!0), n(T, null, U(h.value.ticks, (a) => (r(), n("line", {
421
- x1: a.x,
422
- x2: a.x,
423
- y1: l.value.bottom,
424
- y2: l.value.bottom + 3,
431
+ e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(), o("g", qe, [
432
+ (r(!0), o(T, null, U(c.value.ticks, (l) => (r(), o("line", {
433
+ x1: l.x,
434
+ x2: l.x,
435
+ y1: a.value.bottom,
436
+ y2: a.value.bottom + 3,
425
437
  stroke: e.value.style.chart.segments.ticks.stroke,
426
438
  "stroke-width": 1,
427
439
  "stroke-linecap": "round"
428
- }, null, 8, qe))), 256))
440
+ }, null, 8, Xe))), 256))
429
441
  ])) : i("", !0)
430
442
  ])) : i("", !0),
431
- y(t.$slots, "svg", { svg: l.value }, void 0, !0)
443
+ f(t.$slots, "svg", { svg: a.value }, void 0, !0)
432
444
  ], 14, Ue)) : i("", !0),
433
- t.$slots.watermark ? (r(), n("div", Xe, [
434
- y(t.$slots, "watermark", H(M({ isPrinting: u(j) || u(q) })), void 0, !0)
445
+ t.$slots.watermark ? (r(), o("div", Ye, [
446
+ f(t.$slots, "watermark", H(M({ isPrinting: u(G) || u(q) })), void 0, !0)
435
447
  ])) : i("", !0),
436
- f.value ? i("", !0) : (r(), k(Se, {
448
+ m.value ? i("", !0) : (r(), k(Se, {
437
449
  key: 6,
438
450
  config: {
439
451
  type: "bullet",
@@ -452,25 +464,25 @@ segments: [
452
464
  e.value.style.chart.legend.show ? (r(), k(Be, {
453
465
  key: 0,
454
466
  clickable: !1,
455
- legendSet: G.value,
467
+ legendSet: j.value,
456
468
  config: ue.value
457
469
  }, {
458
- item: w(({ legend: a }) => [
459
- x("div", Ye, [
460
- x("span", Je, L(a.name) + ":", 1),
461
- x("span", null, L(a.value), 1)
470
+ item: w(({ legend: l }) => [
471
+ x("div", Je, [
472
+ x("span", Ke, L(l.name) + ":", 1),
473
+ x("span", null, L(l.value), 1)
462
474
  ])
463
475
  ]),
464
476
  _: 1
465
477
  }, 8, ["legendSet", "config"])) : i("", !0),
466
- y(t.$slots, "legend", { legend: G.value }, void 0, !0)
478
+ f(t.$slots, "legend", { legend: j.value }, void 0, !0)
467
479
  ], 512),
468
- t.$slots.source ? (r(), n("div", Ke, [
469
- y(t.$slots, "source", {}, void 0, !0)
480
+ t.$slots.source ? (r(), o("div", Qe, [
481
+ f(t.$slots, "source", {}, void 0, !0)
470
482
  ], 512)) : i("", !0)
471
483
  ], 46, Me));
472
484
  }
473
- }, ct = /* @__PURE__ */ He(Qe, [["__scopeId", "data-v-afb8783e"]]);
485
+ }, ct = /* @__PURE__ */ He(Ze, [["__scopeId", "data-v-f3c3067f"]]);
474
486
  export {
475
487
  ct as default
476
488
  };
@@ -0,0 +1,34 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DaDv7p0W.cjs"),A=require("./useNestedProp-DkpuL8Iv.cjs"),Y=require("./Title-CpfNWbUc.cjs"),J=require("./Legend-BYngLoV6.cjs"),F=require("./usePrinter-BIHu0O5X.cjs"),K=require("./PackageVersion-nr7f_VNw.cjs"),Q=require("./PenAndPaper-C9v0NXEg.cjs"),Z=require("./vue-ui-skeleton-B24XJJ2p.cjs"),ee=require("./useUserOptionState-BgepsfED.cjs"),te=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],le={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},re=["xmlns","viewBox"],oe=["width","height"],se={key:1},ne=["x","y","height","width","fill","stroke"],ue=["x","y","height","width","rx","fill","stroke","stroke-width"],ie=["x","y","height","width","fill","stroke","stroke-width"],ce=["x","y","font-size","font-weight","fill"],de=["x","y","height","width","rx","fill","stroke","stroke-width"],he={key:3},ve=["x","y","fill","font-size","font-weight"],me={key:4},ge=["x1","x2","y1","y2","stroke"],fe={key:5,class:"vue-data-ui-watermark"},ye={class:"vue-ui-bullet-legend-item",dir:"auto"},pe={style:{"margin-right":"2px"}},ke={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:I}){const n=z,{vue_ui_bullet:H}=s.useConfig(),y=e.ref(null),T=e.ref(null),B=e.ref(0),M=e.ref(null),U=e.ref(0),d=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
+ `),d.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
+ `),d.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
+ `),d.value=!1,!1));e.onMounted(x);function x(){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(r=>{d.value=!1,s.error({componentName:"VueUiBullet segment",type:"datasetSerieAttribute",property:r,index:o})})}):d.value=!1,t.value.style.chart.animation.show&&N(n.dataset.value||0)}const p=e.ref(s.createUid());function C(){const a=A.useNestedProp({userConfig:n.config,defaultConfig:H});return a.theme?{...A.useNestedProp({userConfig:s.themes.vue_ui_bullet[a.theme]||n.config,defaultConfig:a})}:a}const t=e.computed({get:()=>C(),set:a=>a}),{userOptionsVisible:k,setUserOptionsVisibility:_,keepUserOptionState:L}=ee.useUserOptionState({config:t.value});e.watch(()=>n.config,a=>{t.value=C(),k.value=!t.value.showOnChartHover,x(),B.value+=1},{deep:!0});const l=e.computed(()=>{const a=t.value.style.chart.height,o=t.value.style.chart.width,r=t.value.style.chart.padding.left,h=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:r,right:h,top:f,bottom:c,chartWidth:h-r,chartHeight:c-f}}),q=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}),b=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?N(a.value||0):u.value=a.value||0},{deep:!0});function D(){return t.value.style.chart.animation.show?b.value.min:n.dataset.value||0}const S=e.ref(null);function N(a){const o=Math.abs(a-u.value)/t.value.style.chart.animation.animationFrames;function r(){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&&(S.value=requestAnimationFrame(r))}r()}e.onBeforeUnmount(()=>{cancelAnimationFrame(S.value)});const i=e.computed(()=>{if(!v.value)return[];const a=s.calculateNiceScale(b.value.min,b.value.max,t.value.style.chart.segments.ticks.divisions),o=a.min>=0?0:Math.abs(a.min),r={x:l.value.left+(n.dataset.target+o)/(a.max+o)*l.value.chartWidth-t.value.style.chart.target.width/2},h={width:(u.value+o)/(a.max+o)*l.value.chartWidth},f=a.ticks.map(c=>({value:c,y:l.value.bottom+t.value.style.chart.segments.dataLabels.fontSize+3+t.value.style.chart.segments.dataLabels.offsetY,x:l.value.left+(c+o)/(a.max+o)*l.value.chartWidth}));return{scale:a,target:r,value:h,ticks:f,chunks:n.dataset.segments.map((c,X)=>({...c,color:c.color?s.convertColorToHex(c.color):q.value[X],x:l.value.left+l.value.chartWidth*((c.from+o)/(a.max+o)),y:l.value.top,height:l.value.chartHeight,width:l.value.chartWidth*(Math.abs(c.to-c.from)/(a.max+o))}))}}),P=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})),r=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} - ${r}`}})),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:E,isImaging:V,generatePdf:$,generateImage:O}=F.usePrinter({elementId:`bullet_${p.value}`,fileName:t.value.style.chart.title.text||"vue-ui-bullet"}),R=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),m=e.ref(!1);function j(a){m.value=a,U.value+=1}function G(){return i.value}const g=e.ref(!1);function w(){g.value=!g.value}return I({getData:G,generatePdf:$,generateImage:O,toggleAnnotator:w}),(a,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"bulletChart",ref:y,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_${p.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(Q.PenAndPaper,{key:0,parent:y.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:g.value,onClose:w},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),R.value?(e.openBlock(),e.createElementBlock("div",le,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:T,style:"width:100%;background:transparent;"},[(e.openBlock(),e.createBlock(Y._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&&d.value&&(e.unref(L)||e.unref(k))?(e.openBlock(),e.createBlock(F.UserOptions,{key:3,ref:"details",backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(E),isImaging:e.unref(V),uid:p.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:y.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:g.value,onToggleFullscreen:j,onGeneratePdf:e.unref($),onGenerateImage:e.unref(O),onToggleAnnotator:w,style:e.normalizeStyle({visibility:e.unref(L)?e.unref(k)?"visible":"hidden":"visible"})},e.createSlots({_:2},[a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:r,isFullscreen:h})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:r,isFullscreen:h})),void 0,!0)]),key:"2"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:r,isAnnotator:h})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:r,isAnnotator:h})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,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 ${l.value.width} ${l.value.height}`,style:e.normalizeStyle(`width: 100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(K._sfc_main),a.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:l.value.width,height:l.value.height,style:{pointerEvents:"none"}},[e.renderSlot(a.$slots,"chart-background",{},void 0,!0)],8,oe)):e.createCommentVNode("",!0),v.value?(e.openBlock(),e.createElementBlock("g",se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.chunks,r=>(e.openBlock(),e.createElementBlock("rect",{x:r.x,y:r.y,height:r.height,width:r.width,fill:r.color,"stroke-width":1,stroke:t.value.style.chart.backgroundColor},null,8,ne))),256)),t.value.style.chart.target.onTop?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("rect",{key:0,x:i.value.target.x,y:l.value.top+(l.value.chartHeight-l.value.chartHeight*t.value.style.chart.target.heightRatio)/2,height:l.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,ue)),e.createElementVNode("rect",{x:l.value.left,y:l.value.top+(l.value.chartHeight-l.value.chartHeight*t.value.style.chart.valueBar.heightRatio)/2,height:l.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,ie),t.value.style.chart.valueBar.label.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:l.value.left+i.value.value.width,y:l.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,ce)):e.createCommentVNode("",!0),t.value.style.chart.target.onTop?(e.openBlock(),e.createElementBlock("rect",{key:2,x:i.value.target.x,y:l.value.top+(l.value.chartHeight-l.value.chartHeight*t.value.style.chart.target.heightRatio)/2,height:l.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,de)):e.createCommentVNode("",!0),t.value.style.chart.segments.dataLabels.show?(e.openBlock(),e.createElementBlock("g",he,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.ticks,r=>(e.openBlock(),e.createElementBlock("text",{x:r.x,y:r.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,r.value,e.unref(s.dataLabel)({p:t.value.style.chart.segments.dataLabels.prefix,v:r.value,s:t.value.style.chart.segments.dataLabels.suffix,r:t.value.style.chart.segments.dataLabels.rounding}))),9,ve))),256))])):e.createCommentVNode("",!0),t.value.style.chart.segments.dataLabels.show&&t.value.style.chart.segments.ticks.show?(e.openBlock(),e.createElementBlock("g",me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.ticks,r=>(e.openBlock(),e.createElementBlock("line",{x1:r.x,x2:r.x,y1:l.value.bottom,y2:l.value.bottom+3,stroke:t.value.style.chart.segments.ticks.stroke,"stroke-width":1,"stroke-linecap":"round"},null,8,ge))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"svg",{svg:l.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",fe,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(E)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),d.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Z.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(J.Legend,{key:0,clickable:!1,legendSet:P.value,config:W.value},{item:e.withCtx(({legend:r})=>[e.createElementVNode("div",ye,[e.createElementVNode("span",pe,e.toDisplayString(r.name)+":",1),e.createElementVNode("span",null,e.toDisplayString(r.value),1)])]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"legend",{legend:P.value},void 0,!0)],512),a.$slots.source?(e.openBlock(),e.createElementBlock("div",ke,[e.renderSlot(a.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],46,ae))}},we=te._export_sfc(be,[["__scopeId","data-v-f3c3067f"]]);exports.default=we;