vue-data-ui 2.4.86 → 2.4.88

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 (171) hide show
  1. package/dist/{Arrow-DpgbndsU.js → Arrow-D79KA6Cu.js} +1 -1
  2. package/dist/{Arrow-Bh7Ezbzf.cjs → Arrow-DMSM0MM1.cjs} +1 -1
  3. package/dist/{BaseIcon-CdPe2CAc.js → BaseIcon-B9BZgZsa.js} +1 -1
  4. package/dist/{BaseIcon-CaKclr1e.cjs → BaseIcon-CehmAXJH.cjs} +1 -1
  5. package/dist/{DataTable-BfiPjHpN.js → DataTable-Cnr3w23K.js} +2 -2
  6. package/dist/{DataTable-DuosyZ6d.cjs → DataTable-DVKGDaCB.cjs} +1 -1
  7. package/dist/{Legend-DiFDWEo2.js → Legend-Di7FMl12.js} +2 -2
  8. package/dist/{Legend-BnKYc6ZY.cjs → Legend-Uv0t6PIz.cjs} +1 -1
  9. package/dist/{PackageVersion-qom4AEUr.js → PackageVersion-BAKTtSRE.js} +1 -1
  10. package/dist/{PackageVersion-B5rBHZEb.cjs → PackageVersion-BgKxrHv-.cjs} +1 -1
  11. package/dist/{PenAndPaper-C-1AU46J.js → PenAndPaper-BUzmu0vi.js} +3 -3
  12. package/dist/{PenAndPaper-5OV7IAca.cjs → PenAndPaper-BYVZ33fz.cjs} +1 -1
  13. package/dist/{Shape-CmsIulaS.cjs → Shape-CNuTafzS.cjs} +1 -1
  14. package/dist/{Shape-Dmv7nCLC.js → Shape-DZz__S1P.js} +1 -1
  15. package/dist/{Slicer-CmBt4xoj.cjs → Slicer-BSQa-Zel.cjs} +1 -1
  16. package/dist/{Slicer-D4ugcR39.js → Slicer-Clpv-EOL.js} +2 -2
  17. package/dist/{Title-D3kX1BVl.cjs → Title-DcTKT_WK.cjs} +1 -1
  18. package/dist/{Title-ClQ27HaB.js → Title-Dt5mC-vb.js} +1 -1
  19. package/dist/{Tooltip-CGYgJoPR.js → Tooltip-CmKYX0H1.js} +1 -1
  20. package/dist/{Tooltip-CARCyQNT.cjs → Tooltip-y6Z9yhlE.cjs} +1 -1
  21. package/dist/{index-CXx0JV8R.js → index-DCHLGNvJ.js} +1 -1
  22. package/dist/{index-DqxDpUy0.cjs → index-xEXHnOtJ.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +1 -1
  25. package/dist/types/vue-data-ui.d.ts +1 -1
  26. package/dist/{useNestedProp-B-WAbP7E.js → useNestedProp-BPR7xHxr.js} +1 -1
  27. package/dist/{useNestedProp-DNWKDmdP.cjs → useNestedProp-LNEDZsGq.cjs} +1 -1
  28. package/dist/{usePrinter-Ctor1UK0.js → usePrinter-BvounINk.js} +1 -1
  29. package/dist/{usePrinter-BC7U4s0U.cjs → usePrinter-CjQvMB0_.cjs} +1 -1
  30. package/dist/{vue-data-ui-BpAZx3Va.js → vue-data-ui-BCZFdeNf.js} +60 -60
  31. package/dist/{vue-data-ui-DkgWwqtw.cjs → vue-data-ui-eNIOCbja.cjs} +1 -1
  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-1A6t1biQ.js → vue-ui-3d-bar-B0ZLxzL-.js} +38 -38
  35. package/dist/{vue-ui-3d-bar-ngD35pLb.cjs → vue-ui-3d-bar-DEZhX6d1.cjs} +11 -11
  36. package/dist/{vue-ui-accordion-XAEm2rxj.cjs → vue-ui-accordion-2c1jq56U.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-BljYKOXR.js → vue-ui-accordion-DEpeQHhr.js} +3 -3
  38. package/dist/vue-ui-age-pyramid-DlE41fIs.cjs +1 -0
  39. package/dist/{vue-ui-age-pyramid-qfVpUr52.js → vue-ui-age-pyramid-dewoEG3y.js} +29 -29
  40. package/dist/{vue-ui-annotator-pFybuGix.cjs → vue-ui-annotator-CG6CV-7_.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-CH9QWqAv.js → vue-ui-annotator-D9op3RMK.js} +1 -1
  42. package/dist/{vue-ui-bullet-BH7zmX0E.js → vue-ui-bullet-B6tijZFI.js} +8 -8
  43. package/dist/{vue-ui-bullet-C6y7Ddg-.cjs → vue-ui-bullet-Bt_2KhaH.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-RCtFAjEU.js → vue-ui-candlestick-B4DkRibE.js} +48 -48
  45. package/dist/{vue-ui-candlestick-DtCmxeo5.cjs → vue-ui-candlestick-DWDz2nFA.cjs} +2 -2
  46. package/dist/{vue-ui-carousel-table-BUL063mi.js → vue-ui-carousel-table-COAPDtuP.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-BeDenKJo.cjs → vue-ui-carousel-table-DZlh-CRi.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-xDD_4bz2.js → vue-ui-chestnut-DCk2Zbcz.js} +29 -29
  49. package/dist/{vue-ui-chestnut-B6EalNLT.cjs → vue-ui-chestnut-EyoKonrW.cjs} +2 -2
  50. package/dist/{vue-ui-cursor-DbV0HXHB.cjs → vue-ui-cursor-DR8hHWf7.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-D6Qndjnn.js → vue-ui-cursor-DSP_sXww.js} +2 -2
  52. package/dist/{vue-ui-dashboard-B_kj8L_A.cjs → vue-ui-dashboard-BJsyMU6X.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-B_4ot4bz.js → vue-ui-dashboard-BizVZE7w.js} +2 -2
  54. package/dist/{vue-ui-digits-BLI4lCZC.js → vue-ui-digits-BvVZ7uDf.js} +2 -2
  55. package/dist/{vue-ui-digits-DKs2fTGz.cjs → vue-ui-digits-vspu86yU.cjs} +1 -1
  56. package/dist/vue-ui-donut-BHJF4z2B.cjs +1 -0
  57. package/dist/{vue-ui-donut-wBZoPkru.js → vue-ui-donut-aFsq1d8c.js} +76 -76
  58. package/dist/{vue-ui-donut-evolution-ClOGDHiK.js → vue-ui-donut-evolution-BfS2WdBU.js} +66 -66
  59. package/dist/vue-ui-donut-evolution-DwVP-Zjn.cjs +1 -0
  60. package/dist/{vue-ui-dumbbell-PR9tHMvD.js → vue-ui-dumbbell-Bb5wHbQL.js} +28 -28
  61. package/dist/vue-ui-dumbbell-Bi-2LGtG.cjs +9 -0
  62. package/dist/{vue-ui-flow-CxW8g0NW.js → vue-ui-flow-DxNNh-WO.js} +31 -31
  63. package/dist/vue-ui-flow-RQWHqn22.cjs +1 -0
  64. package/dist/vue-ui-funnel-D-892HTK.cjs +1 -0
  65. package/dist/{vue-ui-funnel-BJNlWIq5.js → vue-ui-funnel-IVTzcHVm.js} +32 -32
  66. package/dist/{vue-ui-galaxy-DuGLDGzf.js → vue-ui-galaxy-039pCZpW.js} +81 -81
  67. package/dist/vue-ui-galaxy-BR-8c9Hn.cjs +1 -0
  68. package/dist/{vue-ui-gauge-Dpcxdegh.cjs → vue-ui-gauge-B4k-bq9l.cjs} +1 -1
  69. package/dist/{vue-ui-gauge-CBx84KCt.js → vue-ui-gauge-ZEMVvV-t.js} +7 -7
  70. package/dist/{vue-ui-gizmo-Djw5T_Vr.cjs → vue-ui-gizmo--XG8-JLk.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-BPIyNNkI.js → vue-ui-gizmo-DKzAWnI0.js} +3 -3
  72. package/dist/vue-ui-heatmap-Bia0Ekaw.cjs +1 -0
  73. package/dist/{vue-ui-heatmap-DI8gVwfM.js → vue-ui-heatmap-DXDpQL6T.js} +63 -63
  74. package/dist/vue-ui-history-plot-Cq9ZWdDn.cjs +1 -0
  75. package/dist/{vue-ui-history-plot-CWfWMwqw.js → vue-ui-history-plot-o1WosOjA.js} +69 -69
  76. package/dist/{vue-ui-kpi-CBJZp-nE.js → vue-ui-kpi-B01FpRQ0.js} +3 -3
  77. package/dist/{vue-ui-kpi-BjGIj-IQ.cjs → vue-ui-kpi-lWq7fZr1.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-DfeNWsJk.js → vue-ui-mini-loader-DLUYnvwS.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-Cafts_cp.cjs → vue-ui-mini-loader-jkxJpHFv.cjs} +1 -1
  80. package/dist/vue-ui-molecule-BBK9ofPv.cjs +1 -0
  81. package/dist/{vue-ui-molecule-BTO5WRuL.js → vue-ui-molecule-DyiuRZQM.js} +155 -155
  82. package/dist/vue-ui-mood-radar-Bx32tbYB.cjs +1 -0
  83. package/dist/{vue-ui-mood-radar-CKGwiCsd.js → vue-ui-mood-radar-DJI_fbFv.js} +33 -33
  84. package/dist/{vue-ui-nested-donuts-BvkJoiOT.cjs → vue-ui-nested-donuts-B6ZLkoIS.cjs} +5 -5
  85. package/dist/{vue-ui-nested-donuts-JGie_log.js → vue-ui-nested-donuts-B9gUqMTf.js} +147 -147
  86. package/dist/{vue-ui-onion-BWoVr0FT.cjs → vue-ui-onion-BnLW3as9.cjs} +2 -2
  87. package/dist/{vue-ui-onion-BXauNEVz.js → vue-ui-onion-D-OxG00N.js} +44 -44
  88. package/dist/{vue-ui-parallel-coordinate-plot-njogPtYo.js → vue-ui-parallel-coordinate-plot-DXc-b6rP.js} +79 -79
  89. package/dist/{vue-ui-parallel-coordinate-plot-BrvB0jer.cjs → vue-ui-parallel-coordinate-plot-wx4e_yuu.cjs} +3 -3
  90. package/dist/vue-ui-quadrant-BqaLRYQp.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-DnaOzxMc.js → vue-ui-quadrant-bakb0497.js} +108 -108
  92. package/dist/vue-ui-quick-chart-BZdsiGCz.cjs +15 -0
  93. package/dist/{vue-ui-quick-chart-kAG9Eaxb.js → vue-ui-quick-chart-BnH7-lmq.js} +212 -212
  94. package/dist/vue-ui-radar-D5IDgzwd.cjs +1 -0
  95. package/dist/{vue-ui-radar-DRmP5yb4.js → vue-ui-radar-DadvgLtC.js} +107 -107
  96. package/dist/{vue-ui-rating-BtLDJSwm.cjs → vue-ui-rating-B4yxkddt.cjs} +1 -1
  97. package/dist/{vue-ui-rating-De5IfgHJ.js → vue-ui-rating-CGojWinU.js} +2 -2
  98. package/dist/{vue-ui-relation-circle-DKQl7eWX.js → vue-ui-relation-circle-COC07h_K.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-B2l-2KnH.cjs → vue-ui-relation-circle-rmWirv-5.cjs} +1 -1
  100. package/dist/{vue-ui-rings-Dwyz2fEm.js → vue-ui-rings-CMk-sVvK.js} +66 -66
  101. package/dist/{vue-ui-rings-KQoMkv4v.cjs → vue-ui-rings-DO1cN4ly.cjs} +2 -2
  102. package/dist/vue-ui-scatter-C4QmHmq2.cjs +1 -0
  103. package/dist/{vue-ui-scatter-DeOrkD2Y.js → vue-ui-scatter-CPkly4JA.js} +85 -85
  104. package/dist/{vue-ui-screenshot-BLp1_Q6K.cjs → vue-ui-screenshot-BxFOMLiy.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-D1Ekbb27.js → vue-ui-screenshot-CzFhpFE4.js} +1 -1
  106. package/dist/{vue-ui-skeleton-qIxxRRaX.cjs → vue-ui-skeleton-Tse1D8cv.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-Cw0-Ac_0.js → vue-ui-skeleton-nTL-u4Yd.js} +3 -3
  108. package/dist/{vue-ui-smiley-D3oqt6Rg.js → vue-ui-smiley-Bu3bOukI.js} +2 -2
  109. package/dist/{vue-ui-smiley-D3WgXFhb.cjs → vue-ui-smiley-D-sS-77y.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-DyhcWMWz.js → vue-ui-spark-trend-Bh5gFFQf.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-CVyPm6ms.cjs → vue-ui-spark-trend-CF36oite.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-CRMMOv0T.cjs → vue-ui-sparkbar-CGIYeFjB.cjs} +1 -1
  113. package/dist/{vue-ui-sparkbar-C0av7SAn.js → vue-ui-sparkbar-DX2xrwR9.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-B3K4si6u.js → vue-ui-sparkgauge-CZ837K-0.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-BQnxP_8u.cjs → vue-ui-sparkgauge-D2NJVKww.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-Bo3pkA-I.js → vue-ui-sparkhistogram-2NcpXt-_.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-DVAas7L7.cjs → vue-ui-sparkhistogram-DIYvXyIB.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-CDqFBaPU.cjs → vue-ui-sparkline-BIj5WMUM.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-DIHKGu0H.js → vue-ui-sparkline-CuBFi324.js} +4 -4
  120. package/dist/{vue-ui-sparkstackbar-CC-OaMTb.cjs → vue-ui-sparkstackbar-BvcGQqmi.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DG87wFd5.js → vue-ui-sparkstackbar-bqD9-qmQ.js} +5 -5
  122. package/dist/{vue-ui-stackbar-fZKaRitE.js → vue-ui-stackbar-BG0olJr0.js} +51 -51
  123. package/dist/{vue-ui-stackbar-CVHKHNom.cjs → vue-ui-stackbar-Cbk-PfOC.cjs} +3 -3
  124. package/dist/vue-ui-strip-plot-Dm2ctnIx.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-WOMaN28I.js → vue-ui-strip-plot-mNsmytzE.js} +118 -118
  126. package/dist/{vue-ui-table-CTtYDZPd.cjs → vue-ui-table-BwuSG-oE.cjs} +1 -1
  127. package/dist/{vue-ui-table-a4m3lpRq.js → vue-ui-table-C8_8TJ2H.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-0vDMKYpV.js → vue-ui-table-heatmap-Bakns13v.js} +4 -4
  129. package/dist/{vue-ui-table-heatmap-i00aBLPq.cjs → vue-ui-table-heatmap-ZfohVD71.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-DW7t3xfB.cjs → vue-ui-table-sparkline-CC5hpyGe.cjs} +1 -1
  131. package/dist/{vue-ui-table-sparkline-D5lngzCM.js → vue-ui-table-sparkline-Du93NBKM.js} +5 -5
  132. package/dist/{vue-ui-thermometer-QtlVD4-S.cjs → vue-ui-thermometer-Cbe7bVeq.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-3aeRI-SM.js → vue-ui-thermometer-DZeTxVGM.js} +7 -7
  134. package/dist/{vue-ui-timer-B1nkj0WG.cjs → vue-ui-timer-B-guKc3A.cjs} +1 -1
  135. package/dist/{vue-ui-timer-mRaLpRHZ.js → vue-ui-timer-BwNbaMti.js} +5 -5
  136. package/dist/{vue-ui-tiremarks-xMuvEsN7.cjs → vue-ui-tiremarks-DNtBCjbs.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-Dv2O6FpS.js → vue-ui-tiremarks-sCXXGXiN.js} +7 -7
  138. package/dist/{vue-ui-treemap-D89aQanB.js → vue-ui-treemap-BQoajav9.js} +108 -108
  139. package/dist/vue-ui-treemap-CH_qGgmb.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-BpLIp4qR.js → vue-ui-vertical-bar-LWxKcXEf.js} +54 -54
  141. package/dist/{vue-ui-vertical-bar-CwHag6jq.cjs → vue-ui-vertical-bar-ytpJJBqm.cjs} +3 -3
  142. package/dist/vue-ui-waffle-CvHppO8v.cjs +1 -0
  143. package/dist/{vue-ui-waffle-sr2mWvpN.js → vue-ui-waffle-q-CgTerF.js} +99 -99
  144. package/dist/{vue-ui-wheel-C0KYRHGC.cjs → vue-ui-wheel-BoXkxGeh.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-B7DOHXW8.js → vue-ui-wheel-CPHOwOzy.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-BxMb7oCr.js → vue-ui-word-cloud-BargS03s.js} +81 -81
  147. package/dist/vue-ui-word-cloud-DFL3e0A2.cjs +1 -0
  148. package/dist/{vue-ui-xy-D5ROTNHD.cjs → vue-ui-xy-CgIp7caN.cjs} +2 -2
  149. package/dist/{vue-ui-xy-DlyUTKB5.js → vue-ui-xy-DC5y2PjZ.js} +24 -16
  150. package/dist/{vue-ui-xy-canvas-DHvkJKQH.js → vue-ui-xy-canvas-B4mqwnlS.js} +35 -35
  151. package/dist/{vue-ui-xy-canvas-BDMk6XVE.cjs → vue-ui-xy-canvas-D1jemBXQ.cjs} +3 -3
  152. package/package.json +1 -1
  153. package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +0 -1
  154. package/dist/vue-ui-donut-B1Cg4vpI.cjs +0 -1
  155. package/dist/vue-ui-donut-evolution-CgB_aexh.cjs +0 -1
  156. package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +0 -9
  157. package/dist/vue-ui-flow-CIkXePxd.cjs +0 -1
  158. package/dist/vue-ui-funnel-BLXk1z5r.cjs +0 -1
  159. package/dist/vue-ui-galaxy-C01Apc4E.cjs +0 -1
  160. package/dist/vue-ui-heatmap-DYPE1Efx.cjs +0 -1
  161. package/dist/vue-ui-history-plot-BeYYrq5_.cjs +0 -1
  162. package/dist/vue-ui-molecule-Ckh2JsOJ.cjs +0 -1
  163. package/dist/vue-ui-mood-radar-WHFk1KC1.cjs +0 -1
  164. package/dist/vue-ui-quadrant-D8krEYWV.cjs +0 -1
  165. package/dist/vue-ui-quick-chart-DTiell5S.cjs +0 -15
  166. package/dist/vue-ui-radar-DKB9rVav.cjs +0 -1
  167. package/dist/vue-ui-scatter-CDT3zyXP.cjs +0 -1
  168. package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +0 -1
  169. package/dist/vue-ui-treemap-BupfwSFa.cjs +0 -1
  170. package/dist/vue-ui-waffle-DuPI0NV4.cjs +0 -1
  171. package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +0 -1
@@ -1,12 +1,12 @@
1
1
  import { computed as p, ref as r, watch as H, onMounted as re, onBeforeUnmount as ue, openBlock as n, createElementBlock as c, normalizeStyle as x, unref as o, createBlock as w, createCommentVNode as v, createSlots as ie, withCtx as b, renderSlot as f, normalizeProps as I, guardReactiveProps as P, normalizeClass as Y, createVNode as ce, Fragment as ve, renderList as he, toDisplayString as de } from "vue";
2
- import { u as fe, c as ye, t as pe, o as ge, e as me, w as W, X as ke, i as we, v as q, f as be } from "./index-CXx0JV8R.js";
3
- import { _ as Ce } from "./Title-ClQ27HaB.js";
4
- import { u as _e, U as $e } from "./usePrinter-Ctor1UK0.js";
2
+ import { u as fe, c as ye, t as pe, o as ge, e as me, w as W, X as ke, i as we, v as q, f as be } from "./index-DCHLGNvJ.js";
3
+ import { _ as Ce } from "./Title-Dt5mC-vb.js";
4
+ import { u as _e, U as $e } from "./usePrinter-BvounINk.js";
5
5
  import { t as Oe, u as Ae } from "./useResponsive-CoxXLe23.js";
6
- import xe from "./vue-ui-skeleton-Cw0-Ac_0.js";
7
- import { u as V } from "./useNestedProp-B-WAbP7E.js";
8
- import { _ as Ie } from "./PackageVersion-qom4AEUr.js";
9
- import { P as Pe } from "./PenAndPaper-C-1AU46J.js";
6
+ import xe from "./vue-ui-skeleton-nTL-u4Yd.js";
7
+ import { u as V } from "./useNestedProp-BPR7xHxr.js";
8
+ import { _ as Ie } from "./PackageVersion-BAKTtSRE.js";
9
+ import { P as Pe } from "./PenAndPaper-BUzmu0vi.js";
10
10
  import { u as Fe } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const ze = ["id"], Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Te = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Ue = ["cx", "cy", "r", "stroke", "stroke-width"], Le = ["x", "y", "font-size", "fill", "font-weight"], Xe = {
@@ -1,16 +1,16 @@
1
- import { useCssVars as De, computed as g, openBlock as u, createElementBlock as h, createVNode as se, renderSlot as d, createElementVNode as S, normalizeStyle as j, pushScopeId as Ee, popScopeId as Ge, ref as n, watch as le, onMounted as Le, onBeforeUnmount as Xe, unref as v, createBlock as A, createCommentVNode as b, createSlots as je, withCtx as m, normalizeProps as O, guardReactiveProps as _, normalizeClass as ke, Fragment as qe, renderList as He, toDisplayString as we, createTextVNode as Ye, nextTick as $e } from "vue";
2
- import { u as Je, a3 as Ke, v as Qe, c as xe, t as Ze, a as et, p as X, o as tt, e as Se, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-CXx0JV8R.js";
3
- import { _ as ut } from "./Title-ClQ27HaB.js";
4
- import { u as it, U as ct } from "./usePrinter-Ctor1UK0.js";
1
+ import { useCssVars as De, computed as g, openBlock as u, createElementBlock as m, createVNode as se, renderSlot as d, createElementVNode as S, normalizeStyle as j, pushScopeId as Ee, popScopeId as Ge, ref as n, watch as le, onMounted as Le, onBeforeUnmount as Xe, unref as h, createBlock as A, createCommentVNode as y, createSlots as je, withCtx as p, normalizeProps as O, guardReactiveProps as _, normalizeClass as ke, Fragment as qe, renderList as He, toDisplayString as we, createTextVNode as Ye, nextTick as $e } from "vue";
2
+ import { u as Je, a3 as Ke, v as Qe, c as xe, t as Ze, a as et, p as X, o as tt, e as Se, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-DCHLGNvJ.js";
3
+ import { _ as ut } from "./Title-Dt5mC-vb.js";
4
+ import { u as it, U as ct } from "./usePrinter-BvounINk.js";
5
5
  import { d as dt, t as vt, u as ht } from "./useResponsive-CoxXLe23.js";
6
- import mt from "./vue-ui-accordion-BljYKOXR.js";
7
- import { D as pt } from "./DataTable-BfiPjHpN.js";
8
- import ft from "./BaseIcon-CdPe2CAc.js";
6
+ import mt from "./vue-ui-accordion-DEpeQHhr.js";
7
+ import { D as pt } from "./DataTable-Cnr3w23K.js";
8
+ import ft from "./BaseIcon-B9BZgZsa.js";
9
9
  import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as Te } from "./useNestedProp-B-WAbP7E.js";
11
- import { _ as gt } from "./PackageVersion-qom4AEUr.js";
12
- import { _ as yt } from "./Tooltip-CGYgJoPR.js";
13
- import { P as bt } from "./PenAndPaper-C-1AU46J.js";
10
+ import { u as Te } from "./useNestedProp-BPR7xHxr.js";
11
+ import { _ as gt } from "./PackageVersion-BAKTtSRE.js";
12
+ import { _ as bt } from "./Tooltip-CmKYX0H1.js";
13
+ import { P as yt } from "./PenAndPaper-BUzmu0vi.js";
14
14
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2canvas-ignore": "" }, $t = {
16
16
  key: 0,
@@ -84,12 +84,12 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
84
84
  background: r.selectColor
85
85
  };
86
86
  });
87
- return (x, k) => (u(), h("div", wt, [
88
- c.value !== c.source ? (u(), h("div", $t, [
87
+ return (x, k) => (u(), m("div", wt, [
88
+ c.value !== c.source ? (u(), m("div", $t, [
89
89
  c.useResetSlot ? d(x.$slots, "reset-action", {
90
90
  key: 1,
91
91
  reset: M
92
- }, void 0, !0) : (u(), h("button", {
92
+ }, void 0, !0) : (u(), m("button", {
93
93
  key: 0,
94
94
  "data-cy-reset": "",
95
95
  tabindex: "0",
@@ -102,7 +102,7 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
102
102
  stroke: c.textColor
103
103
  }, null, 8, ["stroke"])
104
104
  ]))
105
- ])) : (u(), h("div", xt)),
105
+ ])) : (u(), m("div", xt)),
106
106
  S("div", St, [
107
107
  Tt,
108
108
  S("div", {
@@ -167,7 +167,7 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
167
167
  } : t;
168
168
  }
169
169
  le(() => r.config, (t) => {
170
- e.value = ie(), Y.value = !e.value.showOnChartHover, de(), F.value += 1, ne.value += 1, J();
170
+ e.value = ie(), Y.value = !e.value.showOnChartHover, de(), F.value += 1, ne.value += 1, J(), v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
171
171
  }, { deep: !0 });
172
172
  const ce = n(null), N = n(0), s = n({
173
173
  width: e.value.style.chart.width,
@@ -222,7 +222,7 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
222
222
  const { isPrinting: ve, isImaging: he, generatePdf: me, generateImage: pe } = it({
223
223
  elementId: `wordCloud_${I.value}`,
224
224
  fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
225
- }), p = n({
225
+ }), v = n({
226
226
  showTable: e.value.table.show,
227
227
  showTooltip: e.value.style.chart.tooltip.show
228
228
  });
@@ -237,12 +237,12 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
237
237
  return t.x < a.x + a.width && t.x + t.width > a.x && t.y < a.y + a.height && t.y + t.height > a.y;
238
238
  }
239
239
  function Oe(t, a, o) {
240
- const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, f = 0, y = 0;
240
+ const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, f = 0, b = 0;
241
241
  return t.forEach((P) => {
242
242
  let oe = !1;
243
243
  for (let L = 0; L < Math.max(a, o) / 2 && !oe; L += e.value.style.chart.words.packingWeight)
244
244
  for (let ae = 0; ae < 360 && !oe; ae += e.value.style.chart.words.packingWeight) {
245
- const Ce = ae * Math.PI / 180, We = f + L * Math.cos(Ce) - P.width / 2, Re = y + L * Math.sin(Ce) - P.height / 2, w = { ...P, x: We, y: Re }, Ue = w.x >= l.x && w.y >= l.y && w.x + w.width <= l.x + l.width && w.y + w.height <= l.y + l.height, Ve = i.some((Be) => Ae(w, Be));
245
+ const Ce = ae * Math.PI / 180, We = f + L * Math.cos(Ce) - P.width / 2, Re = b + L * Math.sin(Ce) - P.height / 2, w = { ...P, x: We, y: Re }, Ue = w.x >= l.x && w.y >= l.y && w.x + w.width <= l.x + l.width && w.y + w.height <= l.y + l.height, Ve = i.some((Be) => Ae(w, Be));
246
246
  Ue && !Ve && (i.push(w), oe = !0);
247
247
  }
248
248
  }), i;
@@ -252,13 +252,13 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
252
252
  const K = g(() => Math.round(Math.min(...$.value.map((t) => t.value)))), fe = g(() => Math.round(Math.max(...$.value.map((t) => t.value))));
253
253
  function Q() {
254
254
  const t = [...$.value].filter((l) => l.value >= N.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), i = [...$.value].filter((l) => l.value >= N.value).map((l, f) => {
255
- let y = (l.value - o) / (a - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
256
- y = isNaN(y) ? s.value.minFontSize : y;
257
- const P = Pe(l.name, y);
255
+ let b = (l.value - o) / (a - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
256
+ b = isNaN(b) ? s.value.minFontSize : b;
257
+ const P = Pe(l.name, b);
258
258
  return {
259
259
  ...l,
260
260
  id: xe(),
261
- fontSize: y,
261
+ fontSize: b,
262
262
  width: P.width,
263
263
  height: P.height,
264
264
  color: e.value.style.chart.words.usePalette ? e.value.customPalette[f] || e.value.customPalette[f % e.value.customPalette.length] || X[f] || X[f % X.length] : e.value.style.chart.words.color
@@ -286,13 +286,13 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
286
286
  e.value.table.columnNames.series,
287
287
  e.value.table.columnNames.value
288
288
  ], a = B.value.head.map((l, f) => {
289
- const y = at({ p: e.value.table.td.prefix, v: B.value.body[f], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
289
+ const b = at({ p: e.value.table.td.prefix, v: B.value.body[f], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
290
290
  return [
291
291
  {
292
292
  color: l.color,
293
293
  name: l.name
294
294
  },
295
- y
295
+ b
296
296
  ];
297
297
  }), o = {
298
298
  th: {
@@ -323,11 +323,11 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
323
323
  function Ie() {
324
324
  return W.value;
325
325
  }
326
- function ye() {
327
- p.value.showTable = !p.value.showTable;
328
- }
329
326
  function be() {
330
- p.value.showTooltip = !p.value.showTooltip;
327
+ v.value.showTable = !v.value.showTable;
328
+ }
329
+ function ye() {
330
+ v.value.showTooltip = !v.value.showTooltip;
331
331
  }
332
332
  const G = n(!1);
333
333
  function Z() {
@@ -338,13 +338,13 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
338
338
  generateCsv: ge,
339
339
  generatePdf: me,
340
340
  generateImage: pe,
341
- toggleTable: ye,
342
- toggleTooltip: be,
341
+ toggleTable: be,
342
+ toggleTooltip: ye,
343
343
  toggleAnnotator: Z
344
344
  });
345
345
  const z = n(null), R = n(!1), ee = n(""), te = n(null);
346
346
  function Me(t) {
347
- if (!p.value.showTooltip) return;
347
+ if (!v.value.showTooltip) return;
348
348
  z.value = t.id, te.value = { datapoint: t, config: e.value };
349
349
  const a = e.value.style.chart.tooltip.customFormat;
350
350
  if (R.value = !1, rt(a))
@@ -363,24 +363,24 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
363
363
  }
364
364
  H.value = !0;
365
365
  }
366
- return (t, a) => (u(), h("div", {
366
+ return (t, a) => (u(), m("div", {
367
367
  class: "vue-ui-word-cloud",
368
368
  ref_key: "wordCloudChart",
369
369
  ref: C,
370
370
  id: `wordCloud_${I.value}`,
371
371
  style: j(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
372
- onMouseenter: a[3] || (a[3] = () => v(re)(!0)),
373
- onMouseleave: a[4] || (a[4] = () => v(re)(!1))
372
+ onMouseenter: a[3] || (a[3] = () => h(re)(!0)),
373
+ onMouseleave: a[4] || (a[4] = () => h(re)(!1))
374
374
  }, [
375
- e.value.userOptions.buttons.annotator ? (u(), A(bt, {
375
+ e.value.userOptions.buttons.annotator ? (u(), A(yt, {
376
376
  key: 0,
377
377
  parent: C.value,
378
378
  backgroundColor: e.value.style.chart.backgroundColor,
379
379
  color: e.value.style.chart.color,
380
380
  active: G.value,
381
381
  onClose: Z
382
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
383
- e.value.style.chart.title.text ? (u(), h("div", {
382
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
383
+ e.value.style.chart.title.text ? (u(), m("div", {
384
384
  key: 1,
385
385
  ref_key: "chartTitle",
386
386
  ref: x,
@@ -397,14 +397,14 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
397
397
  }
398
398
  }
399
399
  }, null, 8, ["config"]))
400
- ], 512)) : b("", !0),
401
- e.value.userOptions.show && T.value && (v(ue) || v(Y)) ? (u(), A(ct, {
400
+ ], 512)) : y("", !0),
401
+ e.value.userOptions.show && T.value && (h(ue) || h(Y)) ? (u(), A(ct, {
402
402
  ref: "details",
403
403
  key: `user_option_${M.value}`,
404
404
  backgroundColor: e.value.style.chart.backgroundColor,
405
405
  color: e.value.style.chart.color,
406
- isPrinting: v(ve),
407
- isImaging: v(he),
406
+ isPrinting: h(ve),
407
+ isImaging: h(he),
408
408
  uid: I.value,
409
409
  hasPdf: e.value.userOptions.buttons.pdf,
410
410
  hasXls: e.value.userOptions.buttons.csv,
@@ -416,72 +416,72 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
416
416
  chartElement: C.value,
417
417
  position: e.value.userOptions.position,
418
418
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
419
- isTooltip: p.value.showTooltip,
419
+ isTooltip: v.value.showTooltip,
420
420
  hasAnnotator: e.value.userOptions.buttons.annotator,
421
421
  isAnnotation: G.value,
422
422
  onToggleFullscreen: _e,
423
- onGeneratePdf: v(me),
423
+ onGeneratePdf: h(me),
424
424
  onGenerateCsv: ge,
425
- onGenerateImage: v(pe),
426
- onToggleTable: ye,
427
- onToggleTooltip: be,
425
+ onGenerateImage: h(pe),
426
+ onToggleTable: be,
427
+ onToggleTooltip: ye,
428
428
  onToggleAnnotator: Z,
429
429
  style: j({
430
- visibility: v(ue) ? v(Y) ? "visible" : "hidden" : "visible"
430
+ visibility: h(ue) ? h(Y) ? "visible" : "hidden" : "visible"
431
431
  })
432
432
  }, je({ _: 2 }, [
433
433
  t.$slots.optionPdf ? {
434
434
  name: "optionPdf",
435
- fn: m(() => [
435
+ fn: p(() => [
436
436
  d(t.$slots, "optionPdf", {}, void 0, !0)
437
437
  ]),
438
438
  key: "0"
439
439
  } : void 0,
440
440
  t.$slots.optionCsv ? {
441
441
  name: "optionCsv",
442
- fn: m(() => [
442
+ fn: p(() => [
443
443
  d(t.$slots, "optionCsv", {}, void 0, !0)
444
444
  ]),
445
445
  key: "1"
446
446
  } : void 0,
447
447
  t.$slots.optionImg ? {
448
448
  name: "optionImg",
449
- fn: m(() => [
449
+ fn: p(() => [
450
450
  d(t.$slots, "optionImg", {}, void 0, !0)
451
451
  ]),
452
452
  key: "2"
453
453
  } : void 0,
454
454
  t.$slots.optionTable ? {
455
455
  name: "optionTable",
456
- fn: m(() => [
456
+ fn: p(() => [
457
457
  d(t.$slots, "optionTable", {}, void 0, !0)
458
458
  ]),
459
459
  key: "3"
460
460
  } : void 0,
461
461
  t.$slots.optionFullscreen ? {
462
462
  name: "optionFullscreen",
463
- fn: m(({ toggleFullscreen: o, isFullscreen: i }) => [
463
+ fn: p(({ toggleFullscreen: o, isFullscreen: i }) => [
464
464
  d(t.$slots, "optionFullscreen", O(_({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
465
465
  ]),
466
466
  key: "4"
467
467
  } : void 0,
468
468
  t.$slots.optionAnnotator ? {
469
469
  name: "optionAnnotator",
470
- fn: m(({ toggleAnnotator: o, isAnnotator: i }) => [
470
+ fn: p(({ toggleAnnotator: o, isAnnotator: i }) => [
471
471
  d(t.$slots, "optionAnnotator", O(_({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
472
472
  ]),
473
473
  key: "5"
474
474
  } : void 0
475
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
476
- T.value ? (u(), h("svg", {
475
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
476
+ T.value ? (u(), m("svg", {
477
477
  key: 3,
478
478
  class: ke({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
479
- xmlns: v(lt),
479
+ xmlns: h(lt),
480
480
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
481
481
  style: "overflow:visible;background:transparent;"
482
482
  }, [
483
483
  se(gt),
484
- t.$slots["chart-background"] ? (u(), h("foreignObject", {
484
+ t.$slots["chart-background"] ? (u(), m("foreignObject", {
485
485
  key: 0,
486
486
  x: 0,
487
487
  y: 0,
@@ -492,12 +492,12 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
492
492
  }
493
493
  }, [
494
494
  d(t.$slots, "chart-background", {}, void 0, !0)
495
- ], 8, Ot)) : b("", !0),
495
+ ], 8, Ot)) : y("", !0),
496
496
  S("g", {
497
497
  transform: `translate(${(s.value.width <= 0 ? 10 : s.value.width) / 2}, ${(s.value.height <= 0 ? 10 : s.value.height) / 2})`
498
498
  }, [
499
- (u(!0), h(qe, null, He(W.value, (o, i) => (u(), h("g", null, [
500
- (u(), h("text", {
499
+ (u(!0), m(qe, null, He(W.value, (o, i) => (u(), m("g", null, [
500
+ (u(), m("text", {
501
501
  fill: o.color,
502
502
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
503
503
  key: i,
@@ -505,7 +505,7 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
505
505
  y: o.y,
506
506
  "font-size": o.fontSize,
507
507
  transform: `translate(${o.width / 2}, ${o.height / 2})`,
508
- class: ke({ animated: e.value.useCssAnimation, "word-selected": z.value && z.value === o.id && p.value.showTooltip, "word-not-selected": z.value && z.value !== o.id && p.value.showTooltip }),
508
+ class: ke({ animated: e.value.useCssAnimation, "word-selected": z.value && z.value === o.id && v.value.showTooltip, "word-not-selected": z.value && z.value !== o.id && v.value.showTooltip }),
509
509
  "text-anchor": "middle",
510
510
  "dominant-baseline": "central",
511
511
  onMouseover: (l) => Me(o),
@@ -519,12 +519,12 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
519
519
  d(t.$slots, "svg", {
520
520
  svg: { height: s.value.height, width: s.value.width }
521
521
  }, void 0, !0)
522
- ], 10, At)) : b("", !0),
523
- t.$slots.watermark ? (u(), h("div", Mt, [
524
- d(t.$slots, "watermark", O(_({ isPrinting: v(ve) || v(he) })), void 0, !0)
525
- ])) : b("", !0),
526
- se(yt, {
527
- show: p.value.showTooltip && H.value,
522
+ ], 10, At)) : y("", !0),
523
+ t.$slots.watermark ? (u(), m("div", Mt, [
524
+ d(t.$slots, "watermark", O(_({ isPrinting: h(ve) || h(he) })), void 0, !0)
525
+ ])) : y("", !0),
526
+ se(bt, {
527
+ show: v.value.showTooltip && H.value,
528
528
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
529
529
  color: e.value.style.chart.tooltip.color,
530
530
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -538,10 +538,10 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
538
538
  content: ee.value,
539
539
  isCustom: R.value
540
540
  }, {
541
- "tooltip-before": m(() => [
541
+ "tooltip-before": p(() => [
542
542
  d(t.$slots, "tooltip-before", O(_({ ...te.value })), void 0, !0)
543
543
  ]),
544
- "tooltip-after": m(() => [
544
+ "tooltip-after": p(() => [
545
545
  d(t.$slots, "tooltip-after", O(_({ ...te.value })), void 0, !0)
546
546
  ]),
547
547
  _: 3
@@ -567,25 +567,25 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
567
567
  source: e.value.style.chart.width,
568
568
  onReset: J
569
569
  }, {
570
- "reset-action": m(({ reset: o }) => [
570
+ "reset-action": p(({ reset: o }) => [
571
571
  d(t.$slots, "reset-action", O(_({ reset: o })), void 0, !0)
572
572
  ]),
573
573
  _: 3
574
- }, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : b("", !0)
574
+ }, 8, ["value", "min", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : y("", !0)
575
575
  ], 512),
576
- t.$slots.source ? (u(), h("div", {
576
+ t.$slots.source ? (u(), m("div", {
577
577
  key: 5,
578
578
  ref_key: "source",
579
579
  ref: k,
580
580
  dir: "auto"
581
581
  }, [
582
582
  d(t.$slots, "source", {}, void 0, !0)
583
- ], 512)) : b("", !0),
583
+ ], 512)) : y("", !0),
584
584
  T.value ? (u(), A(mt, {
585
585
  key: 6,
586
586
  hideDetails: "",
587
587
  config: {
588
- open: p.value.showTable,
588
+ open: v.value.showTable,
589
589
  maxHeight: 1e4,
590
590
  body: {
591
591
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -597,7 +597,7 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
597
597
  }
598
598
  }
599
599
  }, {
600
- content: m(() => [
600
+ content: p(() => [
601
601
  (u(), A(pt, {
602
602
  key: `table_${ne.value}`,
603
603
  colNames: D.value.colNames,
@@ -605,25 +605,25 @@ const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2c
605
605
  body: D.value.body,
606
606
  config: D.value.config,
607
607
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
608
- onClose: a[2] || (a[2] = (o) => p.value.showTable = !1)
608
+ onClose: a[2] || (a[2] = (o) => v.value.showTable = !1)
609
609
  }, {
610
- th: m(({ th: o }) => [
610
+ th: p(({ th: o }) => [
611
611
  S("div", {
612
612
  innerHTML: o,
613
613
  style: { display: "flex", "align-items": "center" }
614
614
  }, null, 8, Wt)
615
615
  ]),
616
- td: m(({ td: o }) => [
616
+ td: p(({ td: o }) => [
617
617
  Ye(we(o.name || o), 1)
618
618
  ]),
619
619
  _: 1
620
620
  }, 8, ["colNames", "head", "body", "config", "title"]))
621
621
  ]),
622
622
  _: 1
623
- }, 8, ["config"])) : b("", !0)
623
+ }, 8, ["config"])) : y("", !0)
624
624
  ], 44, Pt));
625
625
  }
626
- }, Qt = /* @__PURE__ */ Fe(Rt, [["__scopeId", "data-v-692610c0"]]);
626
+ }, Qt = /* @__PURE__ */ Fe(Rt, [["__scopeId", "data-v-0243cbf5"]]);
627
627
  export {
628
628
  Qt as default
629
629
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-xEXHnOtJ.cjs"),xe=require("./Title-DcTKT_WK.cjs"),ue=require("./usePrinter-CjQvMB0_.cjs"),j=require("./useResponsive-BJ7DTGpm.cjs"),$e=require("./vue-ui-accordion-2c1jq56U.cjs"),Te=require("./DataTable-DVKGDaCB.cjs"),Ne=require("./BaseIcon-CehmAXJH.cjs"),ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ie=require("./useNestedProp-LNEDZsGq.cjs"),Pe=require("./PackageVersion-BgKxrHv-.cjs"),Be=require("./Tooltip-y6Z9yhlE.cjs"),Fe=require("./PenAndPaper-BYVZ33fz.cjs"),ze=require("./useUserOptionState-BgepsfED.cjs"),Oe=c=>(e.pushScopeId("data-v-b4e6aee9"),c=c(),e.popScopeId(),c),Ae={"data-html2canvas-ignore":""},Ve={key:0,class:"reset-wrapper"},Ee={key:1,class:"reset-wrapper"},_e={class:"mono-slicer"},Me=Oe(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),Ie=["min","max","value"],Re={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(c,{emit:P}){const s=c;e.useCssVars(y=>({"782b8172":E.value,"102109e6":x.value,"642212d7":g.value,"1f5369d4":c.selectColor,"22b98ab8":b.value}));const E=e.computed(()=>s.inputColor),b=e.computed(()=>s.background),g=e.computed(()=>`${s.selectColor}33`),x=e.computed(()=>s.borderColor);function $(){P("reset")}const p=e.computed(()=>{const y=s.max-s.min,m=0,k=(s.value-s.min)/y*100;return{left:`${m}%`,width:`${k-m}%`,background:s.selectColor}});return(y,m)=>(e.openBlock(),e.createElementBlock("div",Ae,[c.value!==c.source?(e.openBlock(),e.createElementBlock("div",Ve,[c.useResetSlot?e.renderSlot(y.$slots,"reset-action",{key:1,reset:$},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:$},[e.createVNode(Ne.default,{name:"refresh",stroke:c.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",Ee)),e.createElementVNode("div",_e,[Me,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(p.value)},null,4),e.createElementVNode("input",{type:"range",min:c.min,max:c.max,value:Number(c.value),onInput:m[0]||(m[0]=k=>P("update:value",Number(k.target.value)))},null,40,Ie)])]))}},qe=ce._export_sfc(Re,[["__scopeId","data-v-b4e6aee9"]]),Ue=["id"],We=["xmlns","viewBox"],De=["width","height"],Ge=["transform"],Le=["fill","font-weight","x","y","font-size","transform","onMouseover"],je={key:4,class:"vue-data-ui-watermark"},He=["innerHTML"],Xe={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(c,{expose:P}){const s=c,{vue_ui_word_cloud:E}=u.useConfig(),b=e.computed({get(){return!!s.dataset&&s.dataset.length},set(o){return o}}),g=e.ref(typeof s.dataset=="string"?u.createWordCloudDatasetFromPlainText(s.dataset):s.dataset.map((o,a)=>({...o,value:u.checkNaN(o.value)}))),x=e.ref(u.createUid()),$=e.ref(0),p=e.ref(null),y=e.ref(null),m=e.ref(null),k=e.ref(0),H=e.ref(0),_=e.ref(!1),t=e.computed({get:()=>J(),set:o=>o}),{userOptionsVisible:M,setUserOptionsVisibility:X,keepUserOptionState:Y}=ze.useUserOptionState({config:t.value});function J(){const o=ie.useNestedProp({userConfig:s.config,defaultConfig:E});return o.theme?{...ie.useNestedProp({userConfig:u.themes.vue_ui_word_cloud[o.theme]||s.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}e.watch(()=>s.config,o=>{t.value=J(),M.value=!t.value.showOnChartHover,Q(),k.value+=1,H.value+=1,I(),d.value.showTable=t.value.table.show,d.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const K=e.ref(null),C=e.ref(0),r=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),de=j.throttle(()=>{const{width:o,height:a}=j.useResponsive({chart:p.value,title:t.value.style.chart.title.text?y.value:null,slicer:t.value.style.chart.zoom.show&&K.value,source:m.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=a,e.nextTick(q)})});e.watch(()=>C.value,()=>{ve()});const ve=j.debounce(()=>{q()},10);function I(){C.value=R.value}const B=e.ref(null);e.onMounted(()=>{Q(),I()});function Q(){u.objectIsEmpty(s.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):g.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{b.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(B.value=new ResizeObserver(de),B.value.observe(p.value.parentNode))}e.onBeforeUnmount(()=>{B.value&&B.value.disconnect()});const{isPrinting:Z,isImaging:ee,generatePdf:te,generateImage:oe}=ue.usePrinter({elementId:`wordCloud_${x.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),d=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function he(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function pe(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function me(o,a,l){const i=[],n={x:-a/2,y:-l/2,width:a,height:l},v=0,h=0;return o.forEach(S=>{let G=!1;for(let V=0;V<Math.max(a,l)/2&&!G;V+=t.value.style.chart.words.packingWeight)for(let L=0;L<360&&!G;L+=t.value.style.chart.words.packingWeight){const se=L*Math.PI/180,be=v+V*Math.cos(se)-S.width/2,ke=h+V*Math.sin(se)-S.height/2,f={...S,x:be,y:ke},Ce=f.x>=n.x&&f.y>=n.y&&f.x+f.width<=n.x+n.width&&f.y+f.height<=n.y+n.height,we=i.some(Se=>pe(f,Se));Ce&&!we&&(i.push(f),G=!0)}}),i}const T=e.ref([]);e.watch(()=>s.dataset,q,{immediate:!0});const R=e.computed(()=>Math.round(Math.min(...g.value.map(o=>o.value)))),le=e.computed(()=>Math.round(Math.max(...g.value.map(o=>o.value))));function q(){const o=[...g.value].filter(n=>n.value>=C.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),i=[...g.value].filter(n=>n.value>=C.value).map((n,v)=>{let h=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;h=isNaN(h)?r.value.minFontSize:h;const S=he(n.name,h);return{...n,id:u.createUid(),fontSize:h,width:S.width,height:S.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[v]||t.value.customPalette[v%t.value.customPalette.length]||u.palette[v]||u.palette[v%u.palette.length]:t.value.style.chart.words.color}});T.value=me(i,r.value.width,r.value.height).sort((n,v)=>v.fontSize-n.fontSize)}const F=e.computed(()=>{const o=T.value.map(l=>({name:l.name,color:l.color})),a=T.value.map(l=>l.value);return{head:o,body:a}});function ae(){e.nextTick(()=>{const o=F.value.head.map((i,n)=>[[i.name],[F.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=u.createCsvContent(a);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const z=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=F.value.head.map((n,v)=>{const h=u.dataLabel({p:t.value.table.td.prefix,v:F.value.body[v],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},h]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),O=e.ref(!1);function fe(o){O.value=o,$.value+=1}function ge(){return T.value}function ne(){d.value.showTable=!d.value.showTable}function re(){d.value.showTooltip=!d.value.showTooltip}const A=e.ref(!1);function U(){A.value=!A.value}P({getData:ge,generateCsv:ae,generatePdf:te,generateImage:oe,toggleTable:ne,toggleTooltip:re,toggleAnnotator:U});const w=e.ref(null),N=e.ref(!1),W=e.ref(""),D=e.ref(null);function ye(o){if(!d.value.showTooltip)return;w.value=o.id,D.value={datapoint:o,config:t.value};const a=t.value.style.chart.tooltip.customFormat;if(N.value=!1,u.isFunction(a))try{const l=a({datapoint:o,config:t.value});typeof l=="string"&&(W.value=l,N.value=!0)}catch{console.warn("Custom format cannot be applied."),N.value=!1}if(!N.value){let l=`<svg viewBox="0 0 10 10" height="${t.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${o.color}"/></svg><span>${o.name}:</span><b>${(o.value||0).toFixed(t.value.style.chart.tooltip.roundingValue)}</b>`;W.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${l}</div>`}_.value=!0}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:p,id:`wordCloud_${x.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[3]||(a[3]=()=>e.unref(X)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:p.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:A.value,onClose:U},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:y,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(xe._sfc_main,{key:`title_${k.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(Y)||e.unref(M))?(e.openBlock(),e.createBlock(ue.UserOptions,{ref:"details",key:`user_option_${$.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Z),isImaging:e.unref(ee),uid:x.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:O.value,titles:{...t.value.userOptions.buttonTitles},chartElement:p.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:d.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:A.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(te),onGenerateCsv:ae,onGenerateImage:e.unref(oe),onToggleTable:ne,onToggleTooltip:re,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(Y)?e.unref(M)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:i})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:i})),void 0,!0)]),key:"4"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:i})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:i})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasTooltip","isTooltip","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:3,class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),xmlns:e.unref(u.XMLNS),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(Pe._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,De)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(r.value.width<=0?10:r.value.width)/2}, ${(r.value.height<=0?10:r.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(l,i)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:i,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":w.value&&w.value===l.id&&d.value.showTooltip,"word-not-selected":w.value&&w.value!==l.id&&d.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>ye(l),onMouseleave:a[0]||(a[0]=n=>{w.value=null,_.value=!1}),style:e.normalizeStyle(`animation-delay:${i*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(l.name),47,Le))]))),256))],8,Ge),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,We)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",je,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Z)||e.unref(ee)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(Be._sfc_main,{show:d.value.showTooltip&&_.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:p.value,content:W.value,isCustom:N.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...D.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...D.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),e.createElementVNode("div",{ref_key:"chartSlicer",ref:K,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&R.value<le.value?(e.openBlock(),e.createBlock(qe,{key:0,value:C.value,"onUpdate:value":a[1]||(a[1]=l=>C.value=l),min:R.value,max:le.value,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:I},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","min","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:m,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createBlock($e.default,{key:6,hideDetails:"",config:{open:d.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Te.DataTable,{key:`table_${H.value}`,colNames:z.value.colNames,head:z.value.head,body:z.value.body,config:z.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=l=>d.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,He)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],44,Ue))}},Ye=ce._export_sfc(Xe,[["__scopeId","data-v-0243cbf5"]]);exports.default=Ye;