vue-data-ui 2.6.50 → 2.6.52-beta.0

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 (186) hide show
  1. package/README.md +1 -3
  2. package/dist/{Arrow-DgCzka34.js → Arrow-BrgzjEu9.js} +1 -1
  3. package/dist/{Arrow-Cj0UP9DN.cjs → Arrow-i892KlJJ.cjs} +1 -1
  4. package/dist/{BaseIcon-Dug6kYBB.js → BaseIcon-1Kh1hniD.js} +1 -1
  5. package/dist/{BaseIcon-BeRHKYU4.cjs → BaseIcon-OIGwOnCM.cjs} +1 -1
  6. package/dist/{ColorPicker-C-VVlvta.cjs → ColorPicker-C5fe9E7-.cjs} +1 -1
  7. package/dist/{ColorPicker-8EgjF14O.js → ColorPicker-Cxeiob9V.js} +3 -3
  8. package/dist/{DataTable-Qe7lM3JL.js → DataTable-C4Zf4XLF.js} +15 -15
  9. package/dist/DataTable-DJyyRRlW.cjs +1 -0
  10. package/dist/{Legend-lzTl1S1b.js → Legend-1pyX_J1z.js} +2 -2
  11. package/dist/{Legend-CjiKxR8b.cjs → Legend-Dx4tku_Q.cjs} +1 -1
  12. package/dist/{PackageVersion-DqsBfaeh.js → PackageVersion-BPpaTwrM.js} +1 -1
  13. package/dist/{PackageVersion-yiiAD1cf.cjs → PackageVersion-Di08b2vs.cjs} +1 -1
  14. package/dist/{PenAndPaper-AvORsvqF.js → PenAndPaper-B21RAf9P.js} +5 -5
  15. package/dist/PenAndPaper-C0I2pjPq.cjs +1 -0
  16. package/dist/{Shape-2KuBmTJV.cjs → Shape-Bn0OAR4-.cjs} +1 -1
  17. package/dist/{Shape-Jg6afnuk.js → Shape-BrtnGizi.js} +1 -1
  18. package/dist/{Slicer-DPPVa8zE.js → Slicer-BeRcAG--.js} +25 -25
  19. package/dist/Slicer-BrIoq1c-.cjs +1 -0
  20. package/dist/{Title-cjYd6IYr.cjs → Title-CcW9kRtT.cjs} +1 -1
  21. package/dist/{Title-DPXXRQ-w.js → Title-rbJs8Cs3.js} +1 -1
  22. package/dist/{Tooltip-YBqthQ_8.cjs → Tooltip-BzDUupFB.cjs} +1 -1
  23. package/dist/{Tooltip-C4H6zELy.js → Tooltip-DZGBhn8l.js} +1 -1
  24. package/dist/documentation/installation.md +0 -1
  25. package/dist/dom-to-png-BpstRczV.cjs +1 -0
  26. package/dist/dom-to-png-DFDQ3B5I.js +119 -0
  27. package/dist/img-DN4K4BLQ.cjs +1 -0
  28. package/dist/img-hntVQbmL.js +19 -0
  29. package/dist/index-CuIvJLJx.cjs +9 -0
  30. package/dist/{index-BdAppyf2.js → index-DYjLUPYr.js} +291 -349
  31. package/dist/pdf-BwewXrne.js +46 -0
  32. package/dist/pdf-ClzzT4YP.cjs +1 -0
  33. package/dist/style.css +1 -1
  34. package/dist/types/vue-data-ui.d.cts +0 -64
  35. package/dist/types/vue-data-ui.d.ts +0 -64
  36. package/dist/{useNestedProp-B3UWJnDQ.cjs → useNestedProp-B3OcLUMU.cjs} +1 -1
  37. package/dist/{useNestedProp-BGSJvQb3.js → useNestedProp-DPpLpUNG.js} +1 -1
  38. package/dist/usePanZoom-CUkkqW81.js +116 -0
  39. package/dist/usePanZoom-PXRi2Rwx.cjs +1 -0
  40. package/dist/usePrinter-BwwdT1Uh.cjs +1 -0
  41. package/dist/{usePrinter-Bvq0gUmP.js → usePrinter-GOjH1UQd.js} +5 -5
  42. package/dist/{vue-data-ui-B66itXhe.js → vue-data-ui-CgYIT4l6.js} +60 -62
  43. package/dist/vue-data-ui-XSn3UFqP.cjs +9 -0
  44. package/dist/vue-data-ui.cjs +1 -1
  45. package/dist/vue-data-ui.js +35 -36
  46. package/dist/{vue-ui-3d-bar-kESBThJe.js → vue-ui-3d-bar-BFA4GviN.js} +11 -11
  47. package/dist/{vue-ui-3d-bar-Bp1Qx_3s.cjs → vue-ui-3d-bar-d2lzwwD0.cjs} +2 -2
  48. package/dist/{vue-ui-accordion-Btv7fZHc.cjs → vue-ui-accordion-ZlcsLKVn.cjs} +1 -1
  49. package/dist/{vue-ui-accordion-dAJcVBnP.js → vue-ui-accordion-zFcofzrb.js} +3 -3
  50. package/dist/{vue-ui-age-pyramid-yogLIZ0-.cjs → vue-ui-age-pyramid-BrS-QXEl.cjs} +1 -1
  51. package/dist/{vue-ui-age-pyramid-DOf4u3G7.js → vue-ui-age-pyramid-HYnV6m7j.js} +10 -10
  52. package/dist/{vue-ui-annotator-CSE9-lNO.js → vue-ui-annotator-Bnl6xoGx.js} +84 -85
  53. package/dist/vue-ui-annotator-DpcBNv4G.cjs +371 -0
  54. package/dist/{vue-ui-bullet-CrO7QKNT.js → vue-ui-bullet-BMAoQg9X.js} +8 -8
  55. package/dist/{vue-ui-bullet-C12nLt5L.cjs → vue-ui-bullet-CUg-Tqm5.cjs} +1 -1
  56. package/dist/{vue-ui-candlestick-DdwcejCS.cjs → vue-ui-candlestick-BB_TlvHs.cjs} +1 -1
  57. package/dist/{vue-ui-candlestick-fZNnGqnR.js → vue-ui-candlestick-D99-OMzs.js} +11 -11
  58. package/dist/{vue-ui-carousel-table-Be2jjnQa.cjs → vue-ui-carousel-table-BLMby8AI.cjs} +1 -1
  59. package/dist/{vue-ui-carousel-table-D7TTErUh.js → vue-ui-carousel-table-Cj28UhyG.js} +4 -4
  60. package/dist/{vue-ui-chestnut-DXxpU3iH.js → vue-ui-chestnut-BcHI2rpx.js} +8 -8
  61. package/dist/{vue-ui-chestnut-OYsNRpL_.cjs → vue-ui-chestnut-CK_b_ta8.cjs} +1 -1
  62. package/dist/{vue-ui-circle-pack-i0GUh3ui.js → vue-ui-circle-pack-BYhg53UE.js} +9 -9
  63. package/dist/{vue-ui-circle-pack-CzGyZQx0.cjs → vue-ui-circle-pack-ClzkEDGg.cjs} +1 -1
  64. package/dist/vue-ui-cursor-B3u3ldcD.cjs +1 -0
  65. package/dist/{vue-ui-cursor-7vhZ073K.js → vue-ui-cursor-DkcChdeb.js} +4 -4
  66. package/dist/{vue-ui-dashboard-Z0ukqnTc.js → vue-ui-dashboard-BdnlFgl5.js} +8 -8
  67. package/dist/vue-ui-dashboard-Nt0DdH9L.cjs +1 -0
  68. package/dist/{vue-ui-digits-CnSmR9jO.js → vue-ui-digits-D_BKH_j3.js} +2 -2
  69. package/dist/{vue-ui-digits-er9gte-s.cjs → vue-ui-digits-LJ5NoBDi.cjs} +1 -1
  70. package/dist/{vue-ui-donut-DlBL_0yx.js → vue-ui-donut-DKIAm-ME.js} +12 -12
  71. package/dist/{vue-ui-donut-evolution-U0GNz2fp.js → vue-ui-donut-evolution-B_aFgOze.js} +14 -14
  72. package/dist/{vue-ui-donut-evolution-BDuXBSjv.cjs → vue-ui-donut-evolution-BtnTa4le.cjs} +1 -1
  73. package/dist/{vue-ui-donut-DVg5ro7B.cjs → vue-ui-donut-kRhrhvjt.cjs} +1 -1
  74. package/dist/{vue-ui-dumbbell-PioEuDZQ.cjs → vue-ui-dumbbell-BFYVlYa4.cjs} +1 -1
  75. package/dist/{vue-ui-dumbbell-aIYpaGN0.js → vue-ui-dumbbell-jzYimGnw.js} +10 -10
  76. package/dist/{vue-ui-flow-BOlMAhh0.cjs → vue-ui-flow-BuXSGu-i.cjs} +1 -1
  77. package/dist/{vue-ui-flow-BcaSo6z0.js → vue-ui-flow-CqihZo8O.js} +9 -9
  78. package/dist/{vue-ui-funnel-AgQn4mH5.js → vue-ui-funnel-B9OFgkeR.js} +9 -9
  79. package/dist/{vue-ui-funnel-DrkVJPw1.cjs → vue-ui-funnel-CpaBBSbU.cjs} +1 -1
  80. package/dist/{vue-ui-galaxy-D85_jVQh.cjs → vue-ui-galaxy-BCQr-U2u.cjs} +1 -1
  81. package/dist/{vue-ui-galaxy-DWSIn-eK.js → vue-ui-galaxy-FOIZdAZe.js} +11 -11
  82. package/dist/{vue-ui-gauge-8ULXCGzO.js → vue-ui-gauge-B42XWwB2.js} +7 -7
  83. package/dist/{vue-ui-gauge-BHj3D_VH.cjs → vue-ui-gauge-kZxueLp8.cjs} +1 -1
  84. package/dist/{vue-ui-gizmo-D1j6MDV_.js → vue-ui-gizmo-DNzFp5mg.js} +3 -3
  85. package/dist/{vue-ui-gizmo-CEsmiN_U.cjs → vue-ui-gizmo-DtQnmFnB.cjs} +1 -1
  86. package/dist/{vue-ui-heatmap-tMQOgzTJ.js → vue-ui-heatmap-CBahWBfm.js} +10 -10
  87. package/dist/{vue-ui-heatmap-Cww1BNvU.cjs → vue-ui-heatmap-DwTkeSCE.cjs} +1 -1
  88. package/dist/{vue-ui-history-plot-CrVMrU9H.cjs → vue-ui-history-plot-BLZfokqh.cjs} +1 -1
  89. package/dist/{vue-ui-history-plot-17Ayxmx8.js → vue-ui-history-plot-JF7Cxj70.js} +11 -11
  90. package/dist/{vue-ui-kpi-C9kltMQ9.js → vue-ui-kpi-Dd7_MpTH.js} +3 -3
  91. package/dist/{vue-ui-kpi-BALQ_M2s.cjs → vue-ui-kpi-DgYNzLPE.cjs} +1 -1
  92. package/dist/{vue-ui-mini-loader-DzObX7ZU.cjs → vue-ui-mini-loader-AnEvVAeN.cjs} +1 -1
  93. package/dist/{vue-ui-mini-loader-zkvcqGEg.js → vue-ui-mini-loader-CYlUH9YB.js} +2 -2
  94. package/dist/{vue-ui-molecule-C8d0BNOu.js → vue-ui-molecule-CwjSX0qp.js} +253 -226
  95. package/dist/vue-ui-molecule-DenzPBhZ.cjs +1 -0
  96. package/dist/{vue-ui-mood-radar-Bl-PDTeX.js → vue-ui-mood-radar-B_ZdNRq7.js} +11 -11
  97. package/dist/{vue-ui-mood-radar-B-I03OhG.cjs → vue-ui-mood-radar-oZi1r3t2.cjs} +1 -1
  98. package/dist/{vue-ui-nested-donuts-DnuV1MXZ.cjs → vue-ui-nested-donuts-1iw0Uhgn.cjs} +1 -1
  99. package/dist/{vue-ui-nested-donuts-BxTLEwZg.js → vue-ui-nested-donuts-u6o7Mo5w.js} +11 -11
  100. package/dist/{vue-ui-onion-ChlD0lEh.js → vue-ui-onion-BIgB8q-o.js} +11 -11
  101. package/dist/{vue-ui-onion-jrh-OYsj.cjs → vue-ui-onion-nSs841wa.cjs} +1 -1
  102. package/dist/{vue-ui-parallel-coordinate-plot-DEsxCUkG.cjs → vue-ui-parallel-coordinate-plot-CLZbLwv6.cjs} +1 -1
  103. package/dist/{vue-ui-parallel-coordinate-plot-DaQ5VVjw.js → vue-ui-parallel-coordinate-plot-CzdztQbb.js} +12 -12
  104. package/dist/{vue-ui-quadrant-BhwxemSE.cjs → vue-ui-quadrant-DVJk4jVY.cjs} +1 -1
  105. package/dist/{vue-ui-quadrant-DHwHNx0L.js → vue-ui-quadrant-Dqj0kKDK.js} +12 -12
  106. package/dist/{vue-ui-quick-chart-DCKBR3yK.js → vue-ui-quick-chart-C16V9Aae.js} +9 -9
  107. package/dist/{vue-ui-quick-chart-CKzMyPRh.cjs → vue-ui-quick-chart-DseczpPU.cjs} +1 -1
  108. package/dist/{vue-ui-radar-BKa6M5Wq.cjs → vue-ui-radar-BAeIHJpy.cjs} +1 -1
  109. package/dist/{vue-ui-radar-B5llyhiL.js → vue-ui-radar-Db7iB_Qj.js} +12 -12
  110. package/dist/{vue-ui-rating-ChPyKOUl.cjs → vue-ui-rating-D0Dx6ZXa.cjs} +1 -1
  111. package/dist/{vue-ui-rating-BLdhelA-.js → vue-ui-rating-JEdFnT3W.js} +2 -2
  112. package/dist/{vue-ui-relation-circle-CS8SHw7f.cjs → vue-ui-relation-circle-DQna8U5y.cjs} +1 -1
  113. package/dist/{vue-ui-relation-circle-CDhd8AAr.js → vue-ui-relation-circle-gakSZ4S6.js} +7 -7
  114. package/dist/{vue-ui-rings-bZCTJMWv.js → vue-ui-rings-D5n6DT_A.js} +12 -12
  115. package/dist/{vue-ui-rings-DJS0iOwC.cjs → vue-ui-rings-DtRyfbLl.cjs} +1 -1
  116. package/dist/{vue-ui-scatter-BP8fVV4q.cjs → vue-ui-scatter-Bi6D12HK.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-BKvtGb58.js → vue-ui-scatter-PREHAey0.js} +12 -12
  118. package/dist/{vue-ui-skeleton-CIPY7Xfo.cjs → vue-ui-skeleton-B3iHjtI-.cjs} +1 -1
  119. package/dist/{vue-ui-skeleton-BvIz3HzY.js → vue-ui-skeleton-Bvgys0sE.js} +3 -3
  120. package/dist/{vue-ui-smiley-CF97kVSw.js → vue-ui-smiley-Bbz2pMRt.js} +2 -2
  121. package/dist/{vue-ui-smiley-Dcw6DDUd.cjs → vue-ui-smiley-CPZZHQxU.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-H77En2yP.cjs → vue-ui-spark-trend-BQJgJLH1.cjs} +1 -1
  123. package/dist/{vue-ui-spark-trend-DDWZF8FE.js → vue-ui-spark-trend-OSzSYi-e.js} +5 -5
  124. package/dist/{vue-ui-sparkbar-D_J5RsQ7.cjs → vue-ui-sparkbar-CMXau9-B.cjs} +1 -1
  125. package/dist/{vue-ui-sparkbar-DS7rL1J8.js → vue-ui-sparkbar-CTBKE2AF.js} +4 -4
  126. package/dist/{vue-ui-sparkgauge-MSEo6cmu.js → vue-ui-sparkgauge-Cut-q8bg.js} +4 -4
  127. package/dist/{vue-ui-sparkgauge-lyri9BYV.cjs → vue-ui-sparkgauge-DXGiSj1v.cjs} +1 -1
  128. package/dist/{vue-ui-sparkhistogram-DZPn2dDv.js → vue-ui-sparkhistogram-Bc9284wI.js} +5 -5
  129. package/dist/{vue-ui-sparkhistogram-qNy_nXl3.cjs → vue-ui-sparkhistogram-D0JFcRmB.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-DhUWmLtU.cjs → vue-ui-sparkline-BjuntN3v.cjs} +1 -1
  131. package/dist/{vue-ui-sparkline-DmMQ2SZ_.js → vue-ui-sparkline-JtLdV2lv.js} +4 -4
  132. package/dist/{vue-ui-sparkstackbar-DgmKIPN-.js → vue-ui-sparkstackbar-Dnb7y-aL.js} +5 -5
  133. package/dist/{vue-ui-sparkstackbar-DSWq3rmC.cjs → vue-ui-sparkstackbar-UHMiNIcM.cjs} +1 -1
  134. package/dist/{vue-ui-stackbar-2RHJInUq.cjs → vue-ui-stackbar-B3tfGGNG.cjs} +2 -2
  135. package/dist/{vue-ui-stackbar-DYOgS1Qd.js → vue-ui-stackbar-Do4pbvT_.js} +15 -15
  136. package/dist/{vue-ui-strip-plot-6VO97qw1.cjs → vue-ui-strip-plot-BL_QIbRg.cjs} +1 -1
  137. package/dist/{vue-ui-strip-plot-Dt2b8qR2.js → vue-ui-strip-plot-DpEyBQVy.js} +11 -11
  138. package/dist/{vue-ui-table-DB16XLTw.cjs → vue-ui-table-Bo6YTb5z.cjs} +1 -1
  139. package/dist/{vue-ui-table-CUXgc62i.js → vue-ui-table-DOy0Vino.js} +1 -1
  140. package/dist/{vue-ui-table-heatmap-CCE1VZlG.js → vue-ui-table-heatmap-BBtNwXmc.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-Awh619At.cjs → vue-ui-table-heatmap-BEyXNXkX.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Cmmla_Dx.js → vue-ui-table-sparkline-CgMtPPVk.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-DYQYdZbN.cjs → vue-ui-table-sparkline-CjOt6yUn.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-DOwFD-a9.cjs → vue-ui-thermometer-DDzJGu-3.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-C-9ZCOYE.js → vue-ui-thermometer-mxQsDV23.js} +7 -7
  146. package/dist/{vue-ui-timer-DhmCBz29.cjs → vue-ui-timer-BoHc9W-g.cjs} +1 -1
  147. package/dist/{vue-ui-timer-BJWfxtwA.js → vue-ui-timer-py5C5kre.js} +5 -5
  148. package/dist/{vue-ui-tiremarks-C_fjzZx1.cjs → vue-ui-tiremarks-DfzjVsQy.cjs} +1 -1
  149. package/dist/{vue-ui-tiremarks-DWb36mmN.js → vue-ui-tiremarks-cOumsgMp.js} +7 -7
  150. package/dist/vue-ui-treemap-BapuAvm_.cjs +1 -0
  151. package/dist/{vue-ui-treemap-BvQ-fZ2Q.js → vue-ui-treemap-D52gL3aO.js} +185 -185
  152. package/dist/{vue-ui-vertical-bar-Bx-Hgjrl.js → vue-ui-vertical-bar-B7xGhcol.js} +12 -12
  153. package/dist/{vue-ui-vertical-bar-BX82g5XY.cjs → vue-ui-vertical-bar-tUOVTrhe.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-6bPlupZ9.cjs → vue-ui-waffle-D_eTTi3G.cjs} +1 -1
  155. package/dist/{vue-ui-waffle-XBYHZddH.js → vue-ui-waffle-Dl3103a6.js} +12 -12
  156. package/dist/{vue-ui-wheel-BAGyz9kV.cjs → vue-ui-wheel-BF-ixbP0.cjs} +1 -1
  157. package/dist/{vue-ui-wheel-B3opMdjn.js → vue-ui-wheel-j5qr7c2B.js} +7 -7
  158. package/dist/vue-ui-word-cloud-CDCHlEtX.js +628 -0
  159. package/dist/vue-ui-word-cloud-DzhX3V-T.cjs +1 -0
  160. package/dist/{vue-ui-xy-DCMV8GPA.js → vue-ui-xy-Cqd9LwBJ.js} +18 -18
  161. package/dist/vue-ui-xy-DXp678aj.cjs +3 -0
  162. package/dist/{vue-ui-xy-canvas-DKhymJYh.cjs → vue-ui-xy-canvas-DfYwxC06.cjs} +2 -2
  163. package/dist/{vue-ui-xy-canvas-DDf9P1hu.js → vue-ui-xy-canvas-byW5VmrH.js} +16 -16
  164. package/package.json +2 -3
  165. package/dist/DataTable-DtXoZKgy.cjs +0 -1
  166. package/dist/PenAndPaper-Btnlb4RH.cjs +0 -1
  167. package/dist/Slicer-BGrOB5Ac.cjs +0 -1
  168. package/dist/img-BIeSHu0f.js +0 -15
  169. package/dist/img-D6uvziU0.cjs +0 -1
  170. package/dist/index-BVYLM95-.cjs +0 -9
  171. package/dist/pdf-BpXLKlRx.cjs +0 -1
  172. package/dist/pdf-H8Iw_Wax.js +0 -44
  173. package/dist/usePanZoom-BI9ALAYy.cjs +0 -1
  174. package/dist/usePanZoom-D76xCBni.js +0 -97
  175. package/dist/usePrinter-CkJDEgjQ.cjs +0 -1
  176. package/dist/vue-data-ui-CgyB5G6z.cjs +0 -9
  177. package/dist/vue-ui-annotator-DVCxXtI-.cjs +0 -371
  178. package/dist/vue-ui-cursor-BjYOyMry.cjs +0 -1
  179. package/dist/vue-ui-dashboard-zYOnUnUa.cjs +0 -1
  180. package/dist/vue-ui-molecule-mDLCkrh8.cjs +0 -1
  181. package/dist/vue-ui-screenshot-BLvYddQy.cjs +0 -3
  182. package/dist/vue-ui-screenshot-CAciP-qg.js +0 -161
  183. package/dist/vue-ui-treemap-ksooFSp3.cjs +0 -1
  184. package/dist/vue-ui-word-cloud-1Lsf7r8k.cjs +0 -1
  185. package/dist/vue-ui-word-cloud-DJGCUigw.js +0 -571
  186. package/dist/vue-ui-xy-aSB6TWYQ.cjs +0 -3
@@ -1,571 +0,0 @@
1
- import { computed as O, ref as p, watch as re, onMounted as nt, onBeforeUnmount as st, createElementBlock as P, openBlock as C, unref as b, normalizeStyle as ue, createBlock as E, createCommentVNode as z, createVNode as _e, createSlots as rt, withCtx as S, renderSlot as x, normalizeProps as _, guardReactiveProps as I, normalizeClass as Ie, createElementVNode as Re, Fragment as ut, renderList as it, toDisplayString as We, createTextVNode as ct, nextTick as Ve } from "vue";
2
- import { u as dt, c as Ue, a6 as vt, v as ht, t as ft, p as Z, a as mt, o as pt, e as De, g as gt, f as yt, X as bt, q as wt, r as Ct, x as kt } from "./index-BdAppyf2.js";
3
- import { _ as $t } from "./Title-DPXXRQ-w.js";
4
- import { u as xt, U as Tt } from "./usePrinter-Bvq0gUmP.js";
5
- import { t as St, u as Mt, d as Ft } from "./useResponsive-Cw4oZ8sQ.js";
6
- import Pt from "./vue-ui-accordion-dAJcVBnP.js";
7
- import { D as zt } from "./DataTable-Qe7lM3JL.js";
8
- import { u as Be } from "./useNestedProp-BGSJvQb3.js";
9
- import { _ as Ot } from "./PackageVersion-DqsBfaeh.js";
10
- import { _ as At } from "./Tooltip-C4H6zELy.js";
11
- import { P as Nt } from "./PenAndPaper-AvORsvqF.js";
12
- import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
13
- import { u as It } from "./useChartAccessibility-BWojgys7.js";
14
- import { u as Rt } from "./usePanZoom-D76xCBni.js";
15
- import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Vt = ["id"], Ut = ["xmlns", "viewBox"], Dt = ["width", "height"], Bt = ["transform"], Et = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Gt = {
17
- key: 4,
18
- class: "vue-data-ui-watermark"
19
- }, Lt = ["innerHTML"], Ht = {
20
- __name: "vue-ui-word-cloud",
21
- props: {
22
- config: {
23
- type: Object,
24
- default() {
25
- return {};
26
- }
27
- },
28
- dataset: {
29
- type: [Array, String],
30
- default() {
31
- return [];
32
- }
33
- }
34
- },
35
- setup(Ee, { expose: Ge }) {
36
- const { vue_ui_word_cloud: Le } = dt(), M = Ee, G = O({
37
- get() {
38
- return !!M.dataset && M.dataset.length;
39
- },
40
- set(t) {
41
- return t;
42
- }
43
- }), J = p(Ue()), ie = p(0), R = p(null), ce = p(null), de = p(null), ve = p(0), he = p(0), K = p(!1), e = O({
44
- get: () => ge(),
45
- set: (t) => t
46
- }), A = p(fe());
47
- function fe() {
48
- return typeof M.dataset == "string" ? vt(M.dataset) : M.dataset.map((t, l) => ({
49
- ...t,
50
- value: ht(t.value)
51
- }));
52
- }
53
- re(() => M.dataset, () => {
54
- A.value = fe(), te();
55
- });
56
- const { userOptionsVisible: Q, setUserOptionsVisibility: me, keepUserOptionState: pe } = _t({ config: e.value }), { svgRef: ee } = It({ config: e.value.style.chart.title });
57
- function ge() {
58
- const t = Be({
59
- userConfig: M.config,
60
- defaultConfig: Le
61
- });
62
- return t.theme ? {
63
- ...Be({
64
- userConfig: mt.vue_ui_word_cloud[t.theme] || M.config,
65
- defaultConfig: t
66
- }),
67
- customPalette: ft[t.theme] || Z
68
- } : t;
69
- }
70
- re(() => M.config, (t) => {
71
- e.value = ge(), Q.value = !e.value.userOptions.showOnChartHover, ye(), ve.value += 1, he.value += 1, refreshSlicer(), k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
72
- }, { deep: !0 });
73
- const n = p({
74
- width: e.value.style.chart.width,
75
- height: e.value.style.chart.height,
76
- maxFontSize: e.value.style.chart.words.maxFontSize,
77
- minFontSize: e.value.style.chart.words.minFontSize
78
- }), He = Ft(() => {
79
- te();
80
- }, 10), je = St(() => {
81
- const { width: t, height: l } = Mt({
82
- chart: R.value,
83
- title: e.value.style.chart.title.text ? ce.value : null,
84
- source: de.value
85
- });
86
- requestAnimationFrame(() => {
87
- n.value.width = t, n.value.height = l, Ve(He);
88
- });
89
- }), L = p(null);
90
- nt(ye);
91
- function ye() {
92
- pt(M.dataset) ? De({
93
- componentName: "VueUiWordCloud",
94
- type: "dataset"
95
- }) : A.value.forEach((t, l) => {
96
- gt({
97
- datasetObject: t,
98
- requiredAttributes: ["name", "value"]
99
- }).forEach((o) => {
100
- G.value = !1, De({
101
- componentName: "VueUiWordCloud",
102
- type: "datasetSerieAttribute",
103
- property: o,
104
- index: l
105
- });
106
- });
107
- }), e.value.responsive && (L.value = new ResizeObserver(je), L.value.observe(R.value.parentNode));
108
- }
109
- st(() => {
110
- L.value && L.value.disconnect();
111
- });
112
- const { isPrinting: be, isImaging: we, generatePdf: Ce, generateImage: ke } = xt({
113
- elementId: `wordCloud_${J.value}`,
114
- fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
115
- options: e.value.userOptions.print
116
- }), k = p({
117
- showTable: e.value.table.show,
118
- showTooltip: e.value.style.chart.tooltip.show
119
- });
120
- function Xe(t, l, o = "Arial") {
121
- const a = document.createElement("canvas").getContext("2d");
122
- return a.font = `${l}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
123
- width: a.measureText(t).width + e.value.style.chart.words.proximity,
124
- height: l
125
- };
126
- }
127
- function qe(t, l, o) {
128
- const s = Math.round(l), a = Math.round(o), $ = 1, T = n.value.minFontSize, D = n.value.maxFontSize, Se = e.value.style.chart.words.proximity || 0, Me = t.map((h) => h.value), ne = Math.min(...Me), Fe = Math.max(...Me), Y = new Uint8Array(s * a), B = document.createElement("canvas"), F = B.getContext("2d", { willReadFrequently: !0 });
129
- B.width = s, B.height = a;
130
- function Pe(h, g, y) {
131
- F.save(), F.font = `${n.value.style && n.value.style.bold ? "bold " : ""}${g}px Arial`;
132
- const f = F.measureText(h.name), c = Math.ceil(f.width) + 2 + (y ? y * 2 : 0), r = Math.ceil(g) + 2 + (y ? y * 2 : 0);
133
- B.width = c, B.height = r, F.clearRect(0, 0, c, r), F.font = `${n.value.style && n.value.style.bold ? "bold " : ""}${g}px Arial`, F.textAlign = "center", F.textBaseline = "middle", F.fillStyle = "black", F.fillText(h.name, c / 2, r / 2);
134
- const i = F.getImageData(0, 0, c, r).data, d = [];
135
- for (let m = 0; m < r; m += 1)
136
- for (let v = 0; v < c; v += 1)
137
- i[(m * c + v) * 4 + 3] > 1 && d.push([v, m]);
138
- return F.restore(), { w: c, h: r, wordMask: d };
139
- }
140
- function ze(h, g, y, f, c, r) {
141
- for (let u = 0; u < r.length; u += 1) {
142
- const i = f + r[u][0], d = c + r[u][1];
143
- if (i < 0 || d < 0 || i >= g || d >= y || h[d * g + i]) return !1;
144
- }
145
- return !0;
146
- }
147
- function Oe(h, g, y, f, c, r) {
148
- for (let u = 0; u < r.length; u += 1) {
149
- const i = f + r[u][0], d = c + r[u][1];
150
- i >= 0 && d >= 0 && i < g && d < y && (h[d * g + i] = 1);
151
- }
152
- }
153
- const Qe = 6, et = 2, tt = 2, ot = 1, Ae = Math.floor(s / 2), Ne = Math.floor(a / 2), at = [...t].sort((h, g) => g.value - h.value), se = [];
154
- function lt(h, g, y, f = 1) {
155
- const c = new Set(h.map(([u, i]) => `${u},${i}`)), r = new Set(c);
156
- for (let [u, i] of h)
157
- for (let d = -f; d <= f; d += 1)
158
- for (let m = -f; m <= f; m += 1) {
159
- if (d === 0 && m === 0) continue;
160
- const v = u + d, w = i + m;
161
- v >= 0 && v < g && w >= 0 && w < y && r.add(`${v},${w}`);
162
- }
163
- return Array.from(r).map((u) => u.split(",").map(Number));
164
- }
165
- for (const h of at) {
166
- let g = T;
167
- Fe !== ne && (g = (h.value - ne) / (Fe - ne) * (D - T) + T), g = Math.max(T, Math.min(D, g));
168
- let y = !1, f = g;
169
- for (; !y && f >= $; ) {
170
- let { w: c, h: r, wordMask: u } = Pe(h, f, Se);
171
- u = lt(u, c, r, 2);
172
- let i = 0, d = 0;
173
- for (; i < Math.max(s, a) && !y && d < 1e4; ) {
174
- for (let m = 0; m < 360; m += Qe) {
175
- d += 1;
176
- const v = Math.round(Ae + i * Math.cos(m * Math.PI / 180) - c / 2), w = Math.round(Ne + i * Math.sin(m * Math.PI / 180) - r / 2);
177
- if (!(v < 0 || w < 0 || v + c > s || w + r > a) && ze(Y, s, a, v, w, u)) {
178
- se.push({ ...h, x: v - s / 2, y: w - a / 2, fontSize: f, width: c, height: r, angle: 0 }), Oe(Y, s, a, v, w, u), y = !0;
179
- break;
180
- }
181
- }
182
- i += et;
183
- }
184
- y || (f -= 1);
185
- }
186
- if (!y && f < $) {
187
- f = $;
188
- const { w: c, h: r, wordMask: u } = Pe(h, f, Se);
189
- let i = 0, d = 0;
190
- for (; i < Math.max(s, a) && !y && d < 25e3; ) {
191
- for (let m = 0; m < 360; m += tt) {
192
- d += 1;
193
- const v = Math.round(Ae + i * Math.cos(m * Math.PI / 180) - c / 2), w = Math.round(Ne + i * Math.sin(m * Math.PI / 180) - r / 2);
194
- if (!(v < 0 || w < 0 || v + c > s || w + r > a) && ze(Y, s, a, v, w, u)) {
195
- se.push({ ...h, x: v - s / 2, y: w - a / 2, fontSize: f, width: c, height: r, angle: 0 }), Oe(Y, s, a, v, w, u), y = !0;
196
- break;
197
- }
198
- }
199
- i += ot;
200
- }
201
- }
202
- }
203
- return se;
204
- }
205
- const W = p([]);
206
- re(() => M.dataset, te, { immediate: !0 }), O(() => Math.round(Math.min(...A.value.map((t) => t.value)))), O(() => Math.round(Math.max(...A.value.map((t) => t.value))));
207
- function te() {
208
- const t = [...A.value].map((a) => a.value), l = Math.max(...t), o = Math.min(...t), s = [...A.value].map((a, $) => {
209
- let T = (a.value - o) / (l - o) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize;
210
- T = isNaN(T) ? n.value.minFontSize : T;
211
- const D = Xe(a.name, T);
212
- return {
213
- ...a,
214
- id: Ue(),
215
- fontSize: T,
216
- width: D.width,
217
- height: D.height,
218
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[$] || e.value.customPalette[$ % e.value.customPalette.length] || Z[$] || Z[$ % Z.length] : e.value.style.chart.words.color
219
- };
220
- });
221
- W.value = qe(s, n.value.width, n.value.height).sort((a, $) => $.fontSize - a.fontSize);
222
- }
223
- const H = O(() => {
224
- const t = W.value.map((o) => ({
225
- name: o.name,
226
- color: o.color
227
- })), l = W.value.map((o) => o.value);
228
- return { head: t, body: l };
229
- });
230
- function $e() {
231
- Ve(() => {
232
- const t = H.value.head.map((s, a) => [[
233
- s.name
234
- ], [H.value.body[a]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = wt(l);
235
- Ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
236
- });
237
- }
238
- const j = O(() => {
239
- const t = [
240
- e.value.table.columnNames.series,
241
- e.value.table.columnNames.value
242
- ], l = H.value.head.map((a, $) => {
243
- const T = yt({ p: e.value.table.td.prefix, v: H.value.body[$], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
244
- return [
245
- {
246
- color: a.color,
247
- name: a.name
248
- },
249
- T
250
- ];
251
- }), o = {
252
- th: {
253
- backgroundColor: e.value.table.th.backgroundColor,
254
- color: e.value.table.th.color,
255
- outline: e.value.table.th.outline
256
- },
257
- td: {
258
- backgroundColor: e.value.table.td.backgroundColor,
259
- color: e.value.table.td.color,
260
- outline: e.value.table.td.outline
261
- },
262
- breakpoint: e.value.table.responsiveBreakpoint
263
- };
264
- return {
265
- colNames: [
266
- e.value.table.columnNames.series,
267
- e.value.table.columnNames.value
268
- ],
269
- head: t,
270
- body: l,
271
- config: o
272
- };
273
- }), X = p(!1);
274
- function Ye(t) {
275
- X.value = t, ie.value += 1;
276
- }
277
- function Ze() {
278
- return W.value;
279
- }
280
- function xe() {
281
- k.value.showTable = !k.value.showTable;
282
- }
283
- function Te() {
284
- k.value.showTooltip = !k.value.showTooltip;
285
- }
286
- const V = p(!1);
287
- function oe() {
288
- V.value = !V.value;
289
- }
290
- const Je = O(() => !V.value && e.value.style.chart.zoom.show), { viewBox: q } = Rt(ee, {
291
- x: 0,
292
- y: 0,
293
- width: n.value.width <= 0 ? 10 : n.value.width,
294
- height: n.value.height <= 0 ? 10 : n.value.height
295
- }, 1, Je);
296
- Ge({
297
- getData: Ze,
298
- generateCsv: $e,
299
- generatePdf: Ce,
300
- generateImage: ke,
301
- toggleTable: xe,
302
- toggleTooltip: Te,
303
- toggleAnnotator: oe
304
- });
305
- const N = p(null), U = p(!1), ae = p(""), le = p(null);
306
- function Ke(t) {
307
- if (!k.value.showTooltip) return;
308
- N.value = t.id, le.value = { datapoint: t, config: e.value };
309
- const l = e.value.style.chart.tooltip.customFormat;
310
- if (U.value = !1, kt(l))
311
- try {
312
- const o = l({
313
- datapoint: t,
314
- config: e.value
315
- });
316
- typeof o == "string" && (ae.value = o, U.value = !0);
317
- } catch {
318
- console.warn("Custom format cannot be applied."), U.value = !1;
319
- }
320
- if (!U.value) {
321
- let o = `<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${t.color}"/></svg><span>${t.name}:</span><b>${(t.value || 0).toFixed(e.value.style.chart.tooltip.roundingValue)}</b>`;
322
- ae.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
323
- }
324
- K.value = !0;
325
- }
326
- return (t, l) => (C(), P("div", {
327
- class: "vue-ui-word-cloud",
328
- ref_key: "wordCloudChart",
329
- ref: R,
330
- id: `wordCloud_${J.value}`,
331
- style: ue(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
332
- onMouseenter: l[2] || (l[2] = () => b(me)(!0)),
333
- onMouseleave: l[3] || (l[3] = () => b(me)(!1))
334
- }, [
335
- e.value.userOptions.buttons.annotator ? (C(), E(Nt, {
336
- key: 0,
337
- svgRef: b(ee),
338
- backgroundColor: e.value.style.chart.backgroundColor,
339
- color: e.value.style.chart.color,
340
- active: V.value,
341
- onClose: oe
342
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : z("", !0),
343
- e.value.style.chart.title.text ? (C(), P("div", {
344
- key: 1,
345
- ref_key: "chartTitle",
346
- ref: ce,
347
- style: "width:100%;background:transparent;padding-bottom:24px"
348
- }, [
349
- (C(), E($t, {
350
- key: `title_${ve.value}`,
351
- config: {
352
- title: {
353
- ...e.value.style.chart.title
354
- },
355
- subtitle: {
356
- ...e.value.style.chart.title.subtitle
357
- }
358
- }
359
- }, null, 8, ["config"]))
360
- ], 512)) : z("", !0),
361
- e.value.userOptions.show && G.value && (b(pe) || b(Q)) ? (C(), E(Tt, {
362
- ref: "details",
363
- key: `user_option_${ie.value}`,
364
- backgroundColor: e.value.style.chart.backgroundColor,
365
- color: e.value.style.chart.color,
366
- isPrinting: b(be),
367
- isImaging: b(we),
368
- uid: J.value,
369
- hasPdf: e.value.userOptions.buttons.pdf,
370
- hasXls: e.value.userOptions.buttons.csv,
371
- hasImg: e.value.userOptions.buttons.img,
372
- hasTable: e.value.userOptions.buttons.table,
373
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
374
- isFullscreen: X.value,
375
- titles: { ...e.value.userOptions.buttonTitles },
376
- chartElement: R.value,
377
- position: e.value.userOptions.position,
378
- hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
379
- isTooltip: k.value.showTooltip,
380
- hasAnnotator: e.value.userOptions.buttons.annotator,
381
- isAnnotation: V.value,
382
- onToggleFullscreen: Ye,
383
- onGeneratePdf: b(Ce),
384
- onGenerateCsv: $e,
385
- onGenerateImage: b(ke),
386
- onToggleTable: xe,
387
- onToggleTooltip: Te,
388
- onToggleAnnotator: oe,
389
- style: ue({
390
- visibility: b(pe) ? b(Q) ? "visible" : "hidden" : "visible"
391
- })
392
- }, rt({ _: 2 }, [
393
- t.$slots.menuIcon ? {
394
- name: "menuIcon",
395
- fn: S(({ isOpen: o, color: s }) => [
396
- x(t.$slots, "menuIcon", _(I({ isOpen: o, color: s })), void 0, !0)
397
- ]),
398
- key: "0"
399
- } : void 0,
400
- t.$slots.optionPdf ? {
401
- name: "optionPdf",
402
- fn: S(() => [
403
- x(t.$slots, "optionPdf", {}, void 0, !0)
404
- ]),
405
- key: "1"
406
- } : void 0,
407
- t.$slots.optionCsv ? {
408
- name: "optionCsv",
409
- fn: S(() => [
410
- x(t.$slots, "optionCsv", {}, void 0, !0)
411
- ]),
412
- key: "2"
413
- } : void 0,
414
- t.$slots.optionImg ? {
415
- name: "optionImg",
416
- fn: S(() => [
417
- x(t.$slots, "optionImg", {}, void 0, !0)
418
- ]),
419
- key: "3"
420
- } : void 0,
421
- t.$slots.optionTable ? {
422
- name: "optionTable",
423
- fn: S(() => [
424
- x(t.$slots, "optionTable", {}, void 0, !0)
425
- ]),
426
- key: "4"
427
- } : void 0,
428
- t.$slots.optionFullscreen ? {
429
- name: "optionFullscreen",
430
- fn: S(({ toggleFullscreen: o, isFullscreen: s }) => [
431
- x(t.$slots, "optionFullscreen", _(I({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
432
- ]),
433
- key: "5"
434
- } : void 0,
435
- t.$slots.optionAnnotator ? {
436
- name: "optionAnnotator",
437
- fn: S(({ toggleAnnotator: o, isAnnotator: s }) => [
438
- x(t.$slots, "optionAnnotator", _(I({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
439
- ]),
440
- key: "6"
441
- } : void 0
442
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : z("", !0),
443
- G.value ? (C(), P("svg", {
444
- key: 3,
445
- ref_key: "svgRef",
446
- ref: ee,
447
- class: Ie({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
448
- xmlns: b(bt),
449
- viewBox: `${b(q).x} ${b(q).y} ${b(q).width} ${b(q).height}`,
450
- style: "overflow:hidden;background:transparent;"
451
- }, [
452
- _e(Ot),
453
- t.$slots["chart-background"] ? (C(), P("foreignObject", {
454
- key: 0,
455
- x: 0,
456
- y: 0,
457
- width: n.value.width <= 0 ? 10 : n.value.width,
458
- height: n.value.height <= 0 ? 10 : n.value.height,
459
- style: {
460
- pointerEvents: "none"
461
- }
462
- }, [
463
- x(t.$slots, "chart-background", {}, void 0, !0)
464
- ], 8, Dt)) : z("", !0),
465
- Re("g", {
466
- transform: `translate(${(n.value.width <= 0 ? 10 : n.value.width) / 2}, ${(n.value.height <= 0 ? 10 : n.value.height) / 2})`
467
- }, [
468
- (C(!0), P(ut, null, it(W.value, (o, s) => (C(), P("g", null, [
469
- (C(), P("text", {
470
- fill: o.color,
471
- "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
472
- key: s,
473
- x: o.x,
474
- y: o.y,
475
- "font-size": o.fontSize,
476
- transform: `translate(${o.width / 2}, ${o.height / 2})`,
477
- class: Ie({ animated: e.value.useCssAnimation, "word-selected": N.value && N.value === o.id && k.value.showTooltip, "word-not-selected": N.value && N.value !== o.id && k.value.showTooltip }),
478
- "text-anchor": "middle",
479
- "dominant-baseline": "central",
480
- onMouseover: (a) => Ke(o),
481
- onMouseleave: l[0] || (l[0] = (a) => {
482
- N.value = null, K.value = !1;
483
- }),
484
- style: ue(`animation-delay:${s * e.value.animationDelayMs}ms !important;`)
485
- }, We(o.name), 47, Et))
486
- ]))), 256))
487
- ], 8, Bt),
488
- x(t.$slots, "svg", {
489
- svg: { height: n.value.height, width: n.value.width }
490
- }, void 0, !0)
491
- ], 10, Ut)) : z("", !0),
492
- t.$slots.watermark ? (C(), P("div", Gt, [
493
- x(t.$slots, "watermark", _(I({ isPrinting: b(be) || b(we) })), void 0, !0)
494
- ])) : z("", !0),
495
- _e(At, {
496
- show: k.value.showTooltip && K.value,
497
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
498
- color: e.value.style.chart.tooltip.color,
499
- fontSize: e.value.style.chart.tooltip.fontSize,
500
- borderRadius: e.value.style.chart.tooltip.borderRadius,
501
- borderColor: e.value.style.chart.tooltip.borderColor,
502
- borderWidth: e.value.style.chart.tooltip.borderWidth,
503
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
504
- position: e.value.style.chart.tooltip.position,
505
- offsetY: e.value.style.chart.tooltip.offsetY,
506
- parent: R.value,
507
- content: ae.value,
508
- isCustom: U.value
509
- }, {
510
- "tooltip-before": S(() => [
511
- x(t.$slots, "tooltip-before", _(I({ ...le.value })), void 0, !0)
512
- ]),
513
- "tooltip-after": S(() => [
514
- x(t.$slots, "tooltip-after", _(I({ ...le.value })), void 0, !0)
515
- ]),
516
- _: 3
517
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
518
- t.$slots.source ? (C(), P("div", {
519
- key: 5,
520
- ref_key: "source",
521
- ref: de,
522
- dir: "auto"
523
- }, [
524
- x(t.$slots, "source", {}, void 0, !0)
525
- ], 512)) : z("", !0),
526
- G.value ? (C(), E(Pt, {
527
- key: 6,
528
- hideDetails: "",
529
- config: {
530
- open: k.value.showTable,
531
- maxHeight: 1e4,
532
- body: {
533
- backgroundColor: e.value.style.chart.backgroundColor,
534
- color: e.value.style.chart.color
535
- },
536
- head: {
537
- backgroundColor: e.value.style.chart.backgroundColor,
538
- color: e.value.style.chart.color
539
- }
540
- }
541
- }, {
542
- content: S(() => [
543
- (C(), E(zt, {
544
- key: `table_${he.value}`,
545
- colNames: j.value.colNames,
546
- head: j.value.head,
547
- body: j.value.body,
548
- config: j.value.config,
549
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
550
- onClose: l[1] || (l[1] = (o) => k.value.showTable = !1)
551
- }, {
552
- th: S(({ th: o }) => [
553
- Re("div", {
554
- innerHTML: o,
555
- style: { display: "flex", "align-items": "center" }
556
- }, null, 8, Lt)
557
- ]),
558
- td: S(({ td: o }) => [
559
- ct(We(o.name || o), 1)
560
- ]),
561
- _: 1
562
- }, 8, ["colNames", "head", "body", "config", "title"]))
563
- ]),
564
- _: 1
565
- }, 8, ["config"])) : z("", !0)
566
- ], 44, Vt));
567
- }
568
- }, ro = /* @__PURE__ */ Wt(Ht, [["__scopeId", "data-v-a7ce3b3e"]]);
569
- export {
570
- ro as default
571
- };