vue-data-ui 2.4.74 → 2.4.76

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 (151) hide show
  1. package/dist/{Arrow-Mxl3cE0a.cjs → Arrow-BEL6nGJ5.cjs} +1 -1
  2. package/dist/{Arrow-f8DrP940.js → Arrow-SYMRLSHC.js} +1 -1
  3. package/dist/{BaseIcon-gX2bfcgU.cjs → BaseIcon-Udj2sWh1.cjs} +1 -1
  4. package/dist/{BaseIcon-CkORyrSo.js → BaseIcon-wfQ35Ioa.js} +1 -1
  5. package/dist/{DataTable-DLDlPv_3.js → DataTable-CC3rD9iV.js} +2 -2
  6. package/dist/{DataTable-BBUJJu-a.cjs → DataTable-RY8EUwF3.cjs} +1 -1
  7. package/dist/{Legend-DGRS4QbF.js → Legend-BBFx9L7u.js} +2 -2
  8. package/dist/{Legend-gbTs_R5j.cjs → Legend-CZrlsh2W.cjs} +1 -1
  9. package/dist/{PackageVersion-CKTJ6FRx.cjs → PackageVersion-C1zaH_aJ.cjs} +1 -1
  10. package/dist/{PackageVersion-BN4d5Mju.js → PackageVersion-Cc8-1SRE.js} +1 -1
  11. package/dist/{PenAndPaper-CXPVm0x2.js → PenAndPaper-BKX-8o1h.js} +3 -3
  12. package/dist/{PenAndPaper-D0ovdUpL.cjs → PenAndPaper-Bv8oV7l0.cjs} +1 -1
  13. package/dist/{Shape-BL37b4be.js → Shape-CSj0rOyf.js} +1 -1
  14. package/dist/{Shape-CJanTg1E.cjs → Shape-CuDuYYKF.cjs} +1 -1
  15. package/dist/{Slicer-BV8oAJSi.js → Slicer-4vVJHlL9.js} +86 -89
  16. package/dist/Slicer-De-C8OB8.cjs +1 -0
  17. package/dist/{Title-BxMjvERL.js → Title-CmyP_ypC.js} +1 -1
  18. package/dist/{Title-pZYqvru0.cjs → Title-m5N0oN0G.cjs} +1 -1
  19. package/dist/{Tooltip-BdS8OwyH.cjs → Tooltip-Dq7633oz.cjs} +1 -1
  20. package/dist/{Tooltip-VA-KbJNH.js → Tooltip-Dz6sXvS2.js} +1 -1
  21. package/dist/{index-DXdrUwnE.cjs → index-CH3YkGpv.cjs} +1 -1
  22. package/dist/{index-BU-qdyPq.js → index-CpNLsWVB.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-Dq1Hv5-T.cjs → useNestedProp-2TBYsJKg.cjs} +1 -1
  25. package/dist/{useNestedProp-CWSJ5eBm.js → useNestedProp-C14snYQ3.js} +1 -1
  26. package/dist/{usePrinter-BaRMqUmy.cjs → usePrinter-A1_US3Dh.cjs} +1 -1
  27. package/dist/{usePrinter-CIccmyRB.js → usePrinter-D76t2otk.js} +1 -1
  28. package/dist/{vue-data-ui-C8XrgRJI.js → vue-data-ui-0qqDFsDV.js} +60 -60
  29. package/dist/{vue-data-ui-6KXT0ciT.cjs → vue-data-ui-C3B3pxcE.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-okEBsdwr.cjs → vue-ui-3d-bar-DsPyvRtf.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-DRN43xXL.js → vue-ui-3d-bar-vXI86Ftg.js} +9 -9
  34. package/dist/{vue-ui-accordion-CrpdF6x_.js → vue-ui-accordion-7RGF7sa1.js} +3 -3
  35. package/dist/{vue-ui-accordion-DTreR2ia.cjs → vue-ui-accordion-_LFrGkGx.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-FBgwGDWm.js → vue-ui-age-pyramid-CotXvsaD.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-Bw1lrQYU.cjs → vue-ui-age-pyramid-ac5bW1yE.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-zYiopESW.js → vue-ui-annotator-C1RLefPu.js} +1 -1
  39. package/dist/{vue-ui-annotator-CkZcyLxZ.cjs → vue-ui-annotator-LO2QBLr-.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-_MP7ORsc.cjs → vue-ui-bullet-CngMCn0G.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-DLxUYT0j.js → vue-ui-bullet-DZknfpTt.js} +8 -8
  42. package/dist/{vue-ui-candlestick-CE8l0E99.js → vue-ui-candlestick-BIhS1XvX.js} +11 -11
  43. package/dist/{vue-ui-candlestick-HoWXPs7Q.cjs → vue-ui-candlestick-BrHsZWBD.cjs} +1 -1
  44. package/dist/{vue-ui-carousel-table-Ci5W6-bg.cjs → vue-ui-carousel-table-CEYvDVp-.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-DmOO2PA_.js → vue-ui-carousel-table-DQOyjYrs.js} +4 -4
  46. package/dist/{vue-ui-chestnut-BlfviIgB.cjs → vue-ui-chestnut-Ck7UKhm3.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-ByXqVTnh.js → vue-ui-chestnut-DOB6e1ur.js} +8 -8
  48. package/dist/{vue-ui-cursor-NoqkcW0L.js → vue-ui-cursor-BaFPplLP.js} +2 -2
  49. package/dist/{vue-ui-cursor-rIjH2zyf.cjs → vue-ui-cursor-DbR8dGQz.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-CgBPME45.cjs → vue-ui-dashboard-BiYrjIXc.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-BoaY7cXL.js → vue-ui-dashboard-CU1IswIu.js} +2 -2
  52. package/dist/{vue-ui-digits-B71jvXr9.js → vue-ui-digits-Ccu0VX39.js} +2 -2
  53. package/dist/{vue-ui-digits-nYTnd2Ic.cjs → vue-ui-digits-LLkWsjVe.cjs} +1 -1
  54. package/dist/{vue-ui-donut-ChHP1PpF.js → vue-ui-donut-BZbOZXBY.js} +12 -12
  55. package/dist/{vue-ui-donut-WBtSyY9a.cjs → vue-ui-donut-DzqE2EQ1.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-VMmH1IA9.cjs → vue-ui-donut-evolution-BDBugP7m.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-DokwtS8l.js → vue-ui-donut-evolution-DtgcRiGo.js} +11 -11
  58. package/dist/{vue-ui-dumbbell-DlCsDwQc.js → vue-ui-dumbbell-CeWOqVMa.js} +10 -10
  59. package/dist/{vue-ui-dumbbell-Coj5MhHG.cjs → vue-ui-dumbbell-Dg6X5Vj5.cjs} +1 -1
  60. package/dist/{vue-ui-flow-QuV3KlvH.js → vue-ui-flow-CjG35xEC.js} +9 -9
  61. package/dist/{vue-ui-flow-D8N1A4yB.cjs → vue-ui-flow-CoAgjhdm.cjs} +1 -1
  62. package/dist/{vue-ui-funnel-Dd8Ugq8D.js → vue-ui-funnel-D8c4Gp8b.js} +9 -9
  63. package/dist/{vue-ui-funnel-DxiTZ2to.cjs → vue-ui-funnel-hjZrLAhZ.cjs} +1 -1
  64. package/dist/{vue-ui-galaxy-CC2zkvaK.js → vue-ui-galaxy-2WU_lJvz.js} +11 -11
  65. package/dist/{vue-ui-galaxy-CBODDw5-.cjs → vue-ui-galaxy-DfTXwfQR.cjs} +1 -1
  66. package/dist/{vue-ui-gauge-5AmstOj6.js → vue-ui-gauge-Bj4H5esH.js} +7 -7
  67. package/dist/{vue-ui-gauge-CZCvxqnk.cjs → vue-ui-gauge-C_IgZirr.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-ki8VB6Il.js → vue-ui-gizmo-CFUkIE1e.js} +3 -3
  69. package/dist/{vue-ui-gizmo-C9hXRs45.cjs → vue-ui-gizmo-Dbsg9oG_.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-Xrd0iBR9.cjs → vue-ui-heatmap-DECng1-9.cjs} +1 -1
  71. package/dist/{vue-ui-heatmap-BobomFtt.js → vue-ui-heatmap-Df4woeNc.js} +10 -10
  72. package/dist/{vue-ui-history-plot-CvpOjW5M.cjs → vue-ui-history-plot-C0X1_s96.cjs} +1 -1
  73. package/dist/{vue-ui-history-plot-BMmox8vC.js → vue-ui-history-plot-DHUuanXy.js} +11 -11
  74. package/dist/{vue-ui-kpi-D9BefH7y.cjs → vue-ui-kpi-CGrN8rrL.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-C3D-wJxM.js → vue-ui-kpi-d5eW2MQ3.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-DquA0CGg.cjs → vue-ui-mini-loader-C2-zQHTF.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-DJMxt_Yu.js → vue-ui-mini-loader-DRUBgzI9.js} +2 -2
  78. package/dist/{vue-ui-molecule-DxSJsN7o.cjs → vue-ui-molecule-Bst8lERC.cjs} +1 -1
  79. package/dist/{vue-ui-molecule-Bbnf1oQV.js → vue-ui-molecule-CqQBdd27.js} +11 -11
  80. package/dist/{vue-ui-mood-radar-j2q_SJKg.cjs → vue-ui-mood-radar-BM7pbHlc.cjs} +1 -1
  81. package/dist/{vue-ui-mood-radar-L5L5doFl.js → vue-ui-mood-radar-oB1S4QFm.js} +11 -11
  82. package/dist/{vue-ui-nested-donuts-C_jjyYj4.cjs → vue-ui-nested-donuts-BUcrd4TR.cjs} +1 -1
  83. package/dist/{vue-ui-nested-donuts-vADHGx-l.js → vue-ui-nested-donuts-DdgoTSGG.js} +11 -11
  84. package/dist/{vue-ui-onion-CSGIE3Qt.js → vue-ui-onion-BD4CSF0A.js} +11 -11
  85. package/dist/{vue-ui-onion-C5QYPmHs.cjs → vue-ui-onion-RimU8400.cjs} +1 -1
  86. package/dist/{vue-ui-parallel-coordinate-plot-CmZjVGQC.js → vue-ui-parallel-coordinate-plot-CTUm9M3z.js} +12 -12
  87. package/dist/{vue-ui-parallel-coordinate-plot-Br51qLaK.cjs → vue-ui-parallel-coordinate-plot-Cj8VtclE.cjs} +1 -1
  88. package/dist/{vue-ui-quadrant-BlHrFXK8.js → vue-ui-quadrant-DKrkCfAn.js} +12 -12
  89. package/dist/{vue-ui-quadrant-BbeKu161.cjs → vue-ui-quadrant-DjsY0y5B.cjs} +1 -1
  90. package/dist/{vue-ui-quick-chart-DBVrQP8_.js → vue-ui-quick-chart-BBCjtI-7.js} +9 -9
  91. package/dist/{vue-ui-quick-chart-BS952vkw.cjs → vue-ui-quick-chart-Dy7EL7ta.cjs} +1 -1
  92. package/dist/{vue-ui-radar-CiBjheSp.cjs → vue-ui-radar-B3SwUPOg.cjs} +1 -1
  93. package/dist/{vue-ui-radar-CidLKYZF.js → vue-ui-radar-D5ufpNKc.js} +12 -12
  94. package/dist/{vue-ui-rating-DgKSGsMB.js → vue-ui-rating-D4G-LFWR.js} +2 -2
  95. package/dist/{vue-ui-rating-2o13jgI8.cjs → vue-ui-rating-DzjVC24x.cjs} +1 -1
  96. package/dist/{vue-ui-relation-circle-PlvwrPkI.cjs → vue-ui-relation-circle-1pWCHVnC.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-CzF-iYhR.js → vue-ui-relation-circle-WkD_rUnu.js} +7 -7
  98. package/dist/{vue-ui-rings-wKriCocs.js → vue-ui-rings-C8ty4dWD.js} +12 -12
  99. package/dist/{vue-ui-rings-CJz4x9z1.cjs → vue-ui-rings-CTYnhWv8.cjs} +1 -1
  100. package/dist/{vue-ui-scatter-u7bWFG0l.cjs → vue-ui-scatter-BQVPLg6A.cjs} +1 -1
  101. package/dist/{vue-ui-scatter-o43JXJk8.js → vue-ui-scatter-DfeNfnMl.js} +12 -12
  102. package/dist/{vue-ui-screenshot-DmfAnkcd.cjs → vue-ui-screenshot-C7lsivHN.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-Di3ghAes.js → vue-ui-screenshot-D03-LKwV.js} +1 -1
  104. package/dist/{vue-ui-skeleton-CpFbwUa0.js → vue-ui-skeleton-CIp8lMA6.js} +3 -3
  105. package/dist/{vue-ui-skeleton-CGcQKCRb.cjs → vue-ui-skeleton-DwmP0u2B.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-BHGZIIT5.cjs → vue-ui-smiley-Bp-UbI5r.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-C22iFSfg.js → vue-ui-smiley-_J08wXf9.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-DN724wXO.cjs → vue-ui-spark-trend-UX4dEhft.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-4RyTO6KO.js → vue-ui-spark-trend-iXsvKant.js} +5 -5
  110. package/dist/{vue-ui-sparkbar-CAeIw03m.cjs → vue-ui-sparkbar-BJ_rGX_Y.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-BMlgQWPa.js → vue-ui-sparkbar-JQ4SIcqX.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-gqoNDivm.js → vue-ui-sparkgauge-Ci5Jx-i_.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-4vhb5HHM.cjs → vue-ui-sparkgauge-YQBQjjX1.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-RlG3RXcP.cjs → vue-ui-sparkhistogram-C5UeFik2.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-DwK5zbX7.js → vue-ui-sparkhistogram-D1VEZIa5.js} +5 -5
  116. package/dist/{vue-ui-sparkline-DFsuQ0EZ.js → vue-ui-sparkline-CRFYizW3.js} +4 -4
  117. package/dist/{vue-ui-sparkline-BLr009Hj.cjs → vue-ui-sparkline-fF9WenrE.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-DyCg09cM.js → vue-ui-sparkstackbar-CWa5ELhE.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-C19VkwTY.cjs → vue-ui-sparkstackbar-CynLB9us.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-nRMzIu4T.js → vue-ui-stackbar-DSammmJH.js} +13 -13
  121. package/dist/{vue-ui-stackbar-DLCS_VQY.cjs → vue-ui-stackbar-jQdQH0Pu.cjs} +1 -1
  122. package/dist/{vue-ui-strip-plot-DAmWiEPY.js → vue-ui-strip-plot-PxONzaXd.js} +11 -11
  123. package/dist/{vue-ui-strip-plot-BmQaPAOF.cjs → vue-ui-strip-plot-yE9w6drR.cjs} +1 -1
  124. package/dist/{vue-ui-table-72syvQe_.js → vue-ui-table-BskwuS44.js} +1 -1
  125. package/dist/{vue-ui-table-B3LNl3t-.cjs → vue-ui-table-DG5RXhLE.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-B4WDy_Pn.js → vue-ui-table-heatmap-CzxnV1-0.js} +4 -4
  127. package/dist/{vue-ui-table-heatmap-l_nKDJyv.cjs → vue-ui-table-heatmap-D9W-4tm9.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-ah9fkFGz.js → vue-ui-table-sparkline-BlQy5f88.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-D7_vOyHb.cjs → vue-ui-table-sparkline-DT8VzRHY.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-C9ibNBJH.js → vue-ui-thermometer-BBvQ4tYx.js} +7 -7
  131. package/dist/{vue-ui-thermometer-Yw0k4M4C.cjs → vue-ui-thermometer-CkJBESoa.cjs} +1 -1
  132. package/dist/{vue-ui-timer-wJ2ninrP.cjs → vue-ui-timer-CNp59qFF.cjs} +1 -1
  133. package/dist/{vue-ui-timer-C2HzHfH3.js → vue-ui-timer-DFvFQF6d.js} +5 -5
  134. package/dist/{vue-ui-tiremarks-BzUzmDhY.cjs → vue-ui-tiremarks-Cf1637KV.cjs} +1 -1
  135. package/dist/{vue-ui-tiremarks-QU7Chn0l.js → vue-ui-tiremarks-D4_LO9A5.js} +7 -7
  136. package/dist/{vue-ui-treemap-BnIhuhmM.js → vue-ui-treemap-CWoi0iKf.js} +11 -11
  137. package/dist/{vue-ui-treemap-B4WQ8w_w.cjs → vue-ui-treemap-Dnq85nnj.cjs} +1 -1
  138. package/dist/{vue-ui-vertical-bar-M-nqa4Xm.js → vue-ui-vertical-bar-DgfIA9-H.js} +12 -12
  139. package/dist/{vue-ui-vertical-bar-Da6Z_DL0.cjs → vue-ui-vertical-bar-pyVFnVaF.cjs} +1 -1
  140. package/dist/{vue-ui-waffle-C5Zoz6na.cjs → vue-ui-waffle-DGeQNIVJ.cjs} +1 -1
  141. package/dist/{vue-ui-waffle-DfQJjqlk.js → vue-ui-waffle-DQbEdVDN.js} +12 -12
  142. package/dist/{vue-ui-wheel-V0mjyb9G.js → vue-ui-wheel-B0vgQ4Ps.js} +7 -7
  143. package/dist/{vue-ui-wheel-CaelJ82w.cjs → vue-ui-wheel-Bhmjjfqi.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-C7zTaiqX.js → vue-ui-word-cloud-XrUyNMpH.js} +10 -10
  145. package/dist/{vue-ui-word-cloud-BtdYYTox.cjs → vue-ui-word-cloud-hcJsrwPF.cjs} +1 -1
  146. package/dist/{vue-ui-xy-DQV_6n-g.js → vue-ui-xy--QLh9NlZ.js} +54 -54
  147. package/dist/{vue-ui-xy-CgmEtC0p.cjs → vue-ui-xy-B8WkCl69.cjs} +2 -2
  148. package/dist/{vue-ui-xy-canvas-C_Qbfc1s.cjs → vue-ui-xy-canvas-DO3kaKEf.cjs} +1 -1
  149. package/dist/{vue-ui-xy-canvas-BWFJ6yrJ.js → vue-ui-xy-canvas-mtxLsToQ.js} +11 -11
  150. package/package.json +1 -1
  151. package/dist/Slicer-C_yCrY6L.cjs +0 -1
@@ -1,16 +1,16 @@
1
1
  import { useCssVars as De, computed as g, openBlock as u, createElementBlock as h, createVNode as le, renderSlot as d, createElementVNode as x, normalizeStyle as j, pushScopeId as Ee, popScopeId as Ge, ref as n, watch as ae, onMounted as Le, onBeforeUnmount as Xe, unref as v, createBlock as O, createCommentVNode as y, createSlots as je, withCtx as m, normalizeProps as A, guardReactiveProps as _, normalizeClass as Ce, Fragment as He, renderList as Ye, toDisplayString as ke, createTextVNode as qe, nextTick as we } from "vue";
2
- import { u as Je, a3 as Ke, v as Qe, c as $e, t as Ze, a as et, p as X, o as tt, e as xe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-BU-qdyPq.js";
3
- import { _ as ut } from "./Title-BxMjvERL.js";
4
- import { u as it, U as ct } from "./usePrinter-CIccmyRB.js";
2
+ import { u as Je, a3 as Ke, v as Qe, c as $e, t as Ze, a as et, p as X, o as tt, e as xe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-CpNLsWVB.js";
3
+ import { _ as ut } from "./Title-CmyP_ypC.js";
4
+ import { u as it, U as ct } from "./usePrinter-D76t2otk.js";
5
5
  import { d as dt, t as vt, u as ht } from "./useResponsive-CoxXLe23.js";
6
- import mt from "./vue-ui-accordion-CrpdF6x_.js";
7
- import { D as pt } from "./DataTable-DLDlPv_3.js";
8
- import ft from "./BaseIcon-CkORyrSo.js";
6
+ import mt from "./vue-ui-accordion-7RGF7sa1.js";
7
+ import { D as pt } from "./DataTable-CC3rD9iV.js";
8
+ import ft from "./BaseIcon-wfQ35Ioa.js";
9
9
  import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as Se } from "./useNestedProp-CWSJ5eBm.js";
11
- import { _ as gt } from "./PackageVersion-BN4d5Mju.js";
12
- import { _ as yt } from "./Tooltip-VA-KbJNH.js";
13
- import { P as bt } from "./PenAndPaper-CXPVm0x2.js";
10
+ import { u as Se } from "./useNestedProp-C14snYQ3.js";
11
+ import { _ as gt } from "./PackageVersion-Cc8-1SRE.js";
12
+ import { _ as yt } from "./Tooltip-Dz6sXvS2.js";
13
+ import { P as bt } from "./PenAndPaper-BKX-8o1h.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,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-DXdrUwnE.cjs"),xe=require("./Title-pZYqvru0.cjs"),se=require("./usePrinter-BaRMqUmy.cjs"),L=require("./useResponsive-BJ7DTGpm.cjs"),$e=require("./vue-ui-accordion-DTreR2ia.cjs"),Te=require("./DataTable-BBUJJu-a.cjs"),Ne=require("./BaseIcon-gX2bfcgU.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ue=require("./useNestedProp-Dq1Hv5-T.cjs"),Pe=require("./PackageVersion-CKTJ6FRx.cjs"),Be=require("./Tooltip-BdS8OwyH.cjs"),Fe=require("./PenAndPaper-D0ovdUpL.cjs"),ze=require("./useUserOptionState-BgepsfED.cjs"),Oe=c=>(e.pushScopeId("data-v-b4e6aee9"),c=c(),e.popScopeId(),c),Ve={"data-html2canvas-ignore":""},Ae={key:0,class:"reset-wrapper"},Ee={key:1,class:"reset-wrapper"},_e={class:"mono-slicer"},Ie=Oe(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),Me=["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(g=>({"782b8172":E.value,"102109e6":x.value,"642212d7":f.value,"1f5369d4":c.selectColor,"22b98ab8":y.value}));const E=e.computed(()=>s.inputColor),y=e.computed(()=>s.background),f=e.computed(()=>`${s.selectColor}33`),x=e.computed(()=>s.borderColor);function $(){P("reset")}const h=e.computed(()=>{const g=s.max-s.min,p=0,b=(s.value-s.min)/g*100;return{left:`${p}%`,width:`${b-p}%`,background:s.selectColor}});return(g,p)=>(e.openBlock(),e.createElementBlock("div",Ve,[c.value!==c.source?(e.openBlock(),e.createElementBlock("div",Ae,[c.useResetSlot?e.renderSlot(g.$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,[Ie,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(h.value)},null,4),e.createElementVNode("input",{type:"range",min:c.min,max:c.max,value:Number(c.value),onInput:p[0]||(p[0]=b=>P("update:value",Number(b.target.value)))},null,40,Me)])]))}},qe=ie._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(),y=e.computed({get(){return!!s.dataset&&s.dataset.length},set(o){return o}}),f=e.ref(typeof s.dataset=="string"?u.createWordCloudDatasetFromPlainText(s.dataset):s.dataset.map(o=>({...o,value:u.checkNaN(o.value)}))),x=e.ref(u.createUid()),$=e.ref(0),h=e.ref(null),g=e.ref(null),p=e.ref(null),b=e.ref(0),j=e.ref(0),_=e.ref(!1),t=e.computed({get:()=>Y(),set:o=>o}),{userOptionsVisible:I,setUserOptionsVisibility:H,keepUserOptionState:X}=ze.useUserOptionState({config:t.value});function Y(){const o=ue.useNestedProp({userConfig:s.config,defaultConfig:E});return o.theme?{...ue.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=Y(),I.value=!t.value.showOnChartHover,K(),b.value+=1,j.value+=1,M()},{deep:!0});const J=e.ref(null),k=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}),ce=L.throttle(()=>{const{width:o,height:a}=L.useResponsive({chart:h.value,title:t.value.style.chart.title.text?g.value:null,slicer:t.value.style.chart.zoom.show&&J.value,source:p.value});r.value.width=o,r.value.height=a,e.nextTick(R)});e.watch(()=>k.value,()=>{de()});const de=L.debounce(()=>{R()},10);function M(){k.value=oe.value}const B=e.ref(null);e.onMounted(()=>{K(),M()});function K(){u.objectIsEmpty(s.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):f.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{y.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(B.value=new ResizeObserver(ce),B.value.observe(h.value.parentNode))}e.onBeforeUnmount(()=>{B.value&&B.value.disconnect()});const{isPrinting:Q,isImaging:Z,generatePdf:ee,generateImage:te}=se.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 ve(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 he(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 pe(o,a,l){const i=[],n={x:-a/2,y:-l/2,width:a,height:l},v=0,w=0;return o.forEach(S=>{let D=!1;for(let A=0;A<Math.max(a,l)/2&&!D;A+=t.value.style.chart.words.packingWeight)for(let G=0;G<360&&!D;G+=t.value.style.chart.words.packingWeight){const re=G*Math.PI/180,be=v+A*Math.cos(re)-S.width/2,ke=w+A*Math.sin(re)-S.height/2,m={...S,x:be,y:ke},Ce=m.x>=n.x&&m.y>=n.y&&m.x+m.width<=n.x+n.width&&m.y+m.height<=n.y+n.height,we=i.some(Se=>he(m,Se));Ce&&!we&&(i.push(m),D=!0)}}),i}const T=e.ref([]);e.watch(()=>s.dataset,R,{immediate:!0});const oe=e.computed(()=>Math.min(...f.value.map(o=>o.value))),me=e.computed(()=>Math.max(...f.value.map(o=>o.value)));function R(){const o=[...f.value].filter(n=>n.value>=k.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),i=[...f.value].filter(n=>n.value>=k.value).map((n,v)=>{const w=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize,S=ve(n.name,w);return{...n,id:u.createUid(),fontSize:w,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=pe(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 le(){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 w=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},w]}),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 ae(){d.value.showTable=!d.value.showTable}function ne(){d.value.showTooltip=!d.value.showTooltip}const V=e.ref(!1);function q(){V.value=!V.value}P({getData:ge,generateCsv:le,generatePdf:ee,generateImage:te,toggleTable:ae,toggleTooltip:ne,toggleAnnotator:q});const C=e.ref(null),N=e.ref(!1),U=e.ref(""),W=e.ref(null);function ye(o){if(!d.value.showTooltip)return;C.value=o.id,W.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"&&(U.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>`;U.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:h,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(H)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(H)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:h.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:V.value,onClose:q},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:g,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(xe._sfc_main,{key:`title_${b.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&&y.value&&(e.unref(X)||e.unref(I))?(e.openBlock(),e.createBlock(se.UserOptions,{ref:"details",key:`user_option_${$.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Q),isImaging:e.unref(Z),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:h.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:V.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(ee),onGenerateCsv:le,onGenerateImage:e.unref(te),onToggleTable:ae,onToggleTooltip:ne,onToggleAnnotator:q,style:e.normalizeStyle({visibility:e.unref(X)?e.unref(I)?"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),y.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":C.value&&C.value===l.id&&d.value.showTooltip,"word-not-selected":C.value&&C.value!==l.id&&d.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>ye(l),onMouseleave:a[0]||(a[0]=n=>{C.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(Q)||e.unref(Z)})),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:h.value,content:U.value,isCustom:N.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...W.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...W.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:J,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(qe,{key:0,value:k.value,"onUpdate:value":a[1]||(a[1]=l=>k.value=l),min:oe.value,max:me.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:M},{"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:p,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),y.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_${j.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=ie._export_sfc(Xe,[["__scopeId","data-v-cd6ced56"]]);exports.default=Ye;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CH3YkGpv.cjs"),xe=require("./Title-m5N0oN0G.cjs"),se=require("./usePrinter-A1_US3Dh.cjs"),L=require("./useResponsive-BJ7DTGpm.cjs"),$e=require("./vue-ui-accordion-_LFrGkGx.cjs"),Te=require("./DataTable-RY8EUwF3.cjs"),Ne=require("./BaseIcon-Udj2sWh1.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ue=require("./useNestedProp-2TBYsJKg.cjs"),Pe=require("./PackageVersion-C1zaH_aJ.cjs"),Be=require("./Tooltip-Dq7633oz.cjs"),Fe=require("./PenAndPaper-Bv8oV7l0.cjs"),ze=require("./useUserOptionState-BgepsfED.cjs"),Oe=c=>(e.pushScopeId("data-v-b4e6aee9"),c=c(),e.popScopeId(),c),Ve={"data-html2canvas-ignore":""},Ae={key:0,class:"reset-wrapper"},Ee={key:1,class:"reset-wrapper"},_e={class:"mono-slicer"},Ie=Oe(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),Me=["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(g=>({"782b8172":E.value,"102109e6":x.value,"642212d7":f.value,"1f5369d4":c.selectColor,"22b98ab8":y.value}));const E=e.computed(()=>s.inputColor),y=e.computed(()=>s.background),f=e.computed(()=>`${s.selectColor}33`),x=e.computed(()=>s.borderColor);function $(){P("reset")}const h=e.computed(()=>{const g=s.max-s.min,p=0,b=(s.value-s.min)/g*100;return{left:`${p}%`,width:`${b-p}%`,background:s.selectColor}});return(g,p)=>(e.openBlock(),e.createElementBlock("div",Ve,[c.value!==c.source?(e.openBlock(),e.createElementBlock("div",Ae,[c.useResetSlot?e.renderSlot(g.$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,[Ie,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(h.value)},null,4),e.createElementVNode("input",{type:"range",min:c.min,max:c.max,value:Number(c.value),onInput:p[0]||(p[0]=b=>P("update:value",Number(b.target.value)))},null,40,Me)])]))}},qe=ie._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(),y=e.computed({get(){return!!s.dataset&&s.dataset.length},set(o){return o}}),f=e.ref(typeof s.dataset=="string"?u.createWordCloudDatasetFromPlainText(s.dataset):s.dataset.map(o=>({...o,value:u.checkNaN(o.value)}))),x=e.ref(u.createUid()),$=e.ref(0),h=e.ref(null),g=e.ref(null),p=e.ref(null),b=e.ref(0),j=e.ref(0),_=e.ref(!1),t=e.computed({get:()=>Y(),set:o=>o}),{userOptionsVisible:I,setUserOptionsVisibility:H,keepUserOptionState:X}=ze.useUserOptionState({config:t.value});function Y(){const o=ue.useNestedProp({userConfig:s.config,defaultConfig:E});return o.theme?{...ue.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=Y(),I.value=!t.value.showOnChartHover,K(),b.value+=1,j.value+=1,M()},{deep:!0});const J=e.ref(null),k=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}),ce=L.throttle(()=>{const{width:o,height:a}=L.useResponsive({chart:h.value,title:t.value.style.chart.title.text?g.value:null,slicer:t.value.style.chart.zoom.show&&J.value,source:p.value});r.value.width=o,r.value.height=a,e.nextTick(R)});e.watch(()=>k.value,()=>{de()});const de=L.debounce(()=>{R()},10);function M(){k.value=oe.value}const B=e.ref(null);e.onMounted(()=>{K(),M()});function K(){u.objectIsEmpty(s.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):f.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{y.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(B.value=new ResizeObserver(ce),B.value.observe(h.value.parentNode))}e.onBeforeUnmount(()=>{B.value&&B.value.disconnect()});const{isPrinting:Q,isImaging:Z,generatePdf:ee,generateImage:te}=se.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 ve(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 he(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 pe(o,a,l){const i=[],n={x:-a/2,y:-l/2,width:a,height:l},v=0,w=0;return o.forEach(S=>{let D=!1;for(let A=0;A<Math.max(a,l)/2&&!D;A+=t.value.style.chart.words.packingWeight)for(let G=0;G<360&&!D;G+=t.value.style.chart.words.packingWeight){const re=G*Math.PI/180,be=v+A*Math.cos(re)-S.width/2,ke=w+A*Math.sin(re)-S.height/2,m={...S,x:be,y:ke},Ce=m.x>=n.x&&m.y>=n.y&&m.x+m.width<=n.x+n.width&&m.y+m.height<=n.y+n.height,we=i.some(Se=>he(m,Se));Ce&&!we&&(i.push(m),D=!0)}}),i}const T=e.ref([]);e.watch(()=>s.dataset,R,{immediate:!0});const oe=e.computed(()=>Math.min(...f.value.map(o=>o.value))),me=e.computed(()=>Math.max(...f.value.map(o=>o.value)));function R(){const o=[...f.value].filter(n=>n.value>=k.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),i=[...f.value].filter(n=>n.value>=k.value).map((n,v)=>{const w=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize,S=ve(n.name,w);return{...n,id:u.createUid(),fontSize:w,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=pe(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 le(){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 w=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},w]}),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 ae(){d.value.showTable=!d.value.showTable}function ne(){d.value.showTooltip=!d.value.showTooltip}const V=e.ref(!1);function q(){V.value=!V.value}P({getData:ge,generateCsv:le,generatePdf:ee,generateImage:te,toggleTable:ae,toggleTooltip:ne,toggleAnnotator:q});const C=e.ref(null),N=e.ref(!1),U=e.ref(""),W=e.ref(null);function ye(o){if(!d.value.showTooltip)return;C.value=o.id,W.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"&&(U.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>`;U.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:h,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(H)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(H)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:h.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:V.value,onClose:q},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:g,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(xe._sfc_main,{key:`title_${b.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&&y.value&&(e.unref(X)||e.unref(I))?(e.openBlock(),e.createBlock(se.UserOptions,{ref:"details",key:`user_option_${$.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Q),isImaging:e.unref(Z),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:h.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:V.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(ee),onGenerateCsv:le,onGenerateImage:e.unref(te),onToggleTable:ae,onToggleTooltip:ne,onToggleAnnotator:q,style:e.normalizeStyle({visibility:e.unref(X)?e.unref(I)?"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),y.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":C.value&&C.value===l.id&&d.value.showTooltip,"word-not-selected":C.value&&C.value!==l.id&&d.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>ye(l),onMouseleave:a[0]||(a[0]=n=>{C.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(Q)||e.unref(Z)})),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:h.value,content:U.value,isCustom:N.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...W.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...W.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:J,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(qe,{key:0,value:k.value,"onUpdate:value":a[1]||(a[1]=l=>k.value=l),min:oe.value,max:me.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:M},{"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:p,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),y.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_${j.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=ie._export_sfc(Xe,[["__scopeId","data-v-cd6ced56"]]);exports.default=Ye;
@@ -1,18 +1,18 @@
1
- import { c as J, a as K, t as Q, z as j, p as $, V as X, O as R, f as U, L as ee, G as te, i as re, a4 as ae, a1 as le, a5 as ie, v as se, a6 as ne, d as he, B as oe, b as ce, q as de, R as ue, a7 as ge, r as fe, e as Ie, a2 as me, y as Ne, C as xe, x as be, a8 as Fe, Z as _e, o as Ae, s as ye, w as Le, F as Ce, A as Se, u as ke } from "./index-BU-qdyPq.js";
2
- import { D as we } from "./DataTable-DLDlPv_3.js";
3
- import { _ as Oe } from "./Title-BxMjvERL.js";
4
- import { _ as Ge, u as ve } from "./Tooltip-VA-KbJNH.js";
5
- import { U as ze } from "./usePrinter-CIccmyRB.js";
6
- import { _ as pe } from "./Shape-BL37b4be.js";
7
- import Me from "./BaseIcon-CkORyrSo.js";
8
- import Ve from "./vue-ui-table-sparkline-ah9fkFGz.js";
9
- import Te from "./vue-ui-skeleton-CpFbwUa0.js";
10
- import { S as Pe } from "./Slicer-BV8oAJSi.js";
11
- import Re from "./vue-ui-accordion-CrpdF6x_.js";
12
- import { u as Z } from "./useNestedProp-CWSJ5eBm.js";
13
- import { _ as De } from "./PackageVersion-BN4d5Mju.js";
14
- import { P as He } from "./PenAndPaper-CXPVm0x2.js";
15
- import { resolveComponent as T, openBlock as l, createElementBlock as i, normalizeClass as P, normalizeStyle as L, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as M, renderSlot as S, normalizeProps as H, guardReactiveProps as B, createVNode as q, createElementVNode as f, Fragment as I, renderList as m, toDisplayString as k, mergeProps as We, withDirectives as Ee, vModelCheckbox as Ye, createTextVNode as qe } from "vue";
1
+ import { c as J, a as K, t as Q, z as j, p as $, V as X, O as R, f as U, L as ee, G as te, i as re, a4 as ae, a1 as le, a5 as ie, v as se, a6 as ne, d as he, B as oe, b as ce, q as de, R as ue, a7 as ge, r as fe, e as Ie, a2 as me, y as Ne, C as xe, x as be, a8 as Fe, Z as _e, o as Ae, s as ye, w as Le, F as Ce, A as Se, u as ke } from "./index-CpNLsWVB.js";
2
+ import { D as we } from "./DataTable-CC3rD9iV.js";
3
+ import { _ as Oe } from "./Title-CmyP_ypC.js";
4
+ import { _ as Ge, u as ve } from "./Tooltip-Dz6sXvS2.js";
5
+ import { U as ze } from "./usePrinter-D76t2otk.js";
6
+ import { _ as Me } from "./Shape-CSj0rOyf.js";
7
+ import pe from "./BaseIcon-wfQ35Ioa.js";
8
+ import Ve from "./vue-ui-table-sparkline-BlQy5f88.js";
9
+ import Te from "./vue-ui-skeleton-CIp8lMA6.js";
10
+ import { S as Pe } from "./Slicer-4vVJHlL9.js";
11
+ import Re from "./vue-ui-accordion-7RGF7sa1.js";
12
+ import { u as Z } from "./useNestedProp-C14snYQ3.js";
13
+ import { _ as De } from "./PackageVersion-Cc8-1SRE.js";
14
+ import { P as He } from "./PenAndPaper-BKX-8o1h.js";
15
+ import { resolveComponent as T, openBlock as l, createElementBlock as i, normalizeClass as P, normalizeStyle as L, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as p, renderSlot as S, normalizeProps as H, guardReactiveProps as B, createVNode as q, createElementVNode as f, Fragment as I, renderList as m, toDisplayString as k, mergeProps as We, withDirectives as Ee, vModelCheckbox as Ye, createTextVNode as qe } from "vue";
16
16
  import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Ue = J(), Ze = {
18
18
  name: "vue-ui-xy",
@@ -32,11 +32,11 @@ const Ue = J(), Ze = {
32
32
  },
33
33
  components: {
34
34
  DataTable: we,
35
- Shape: pe,
35
+ Shape: Me,
36
36
  Title: Oe,
37
37
  Tooltip: Ge,
38
38
  UserOptions: ze,
39
- BaseIcon: Me,
39
+ BaseIcon: pe,
40
40
  TableSparkline: Ve,
41
41
  Skeleton: Te,
42
42
  Slicer: Pe,
@@ -344,7 +344,7 @@ const Ue = J(), Ze = {
344
344
  }, x = {
345
345
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
346
346
  min: r.scaleMin || Math.min(...r.absoluteValues.filter((g) => ![void 0, null].includes(g))) > 0 ? 0 : Math.min(...r.absoluteValues.filter((g) => ![null, void 0].includes(g)))
347
- }, A = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * w : x.max, A), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * w : e.valueMax, A), V = N.min >= 0 ? 0 : Math.abs(N.min), v = 0, z = N.max + V, O = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, p = this.drawingArea.bottom - _ - C * V / z, a = this.drawingArea.bottom - _ - C * v / O, h = this.absoluteDataset.filter((g) => g.type === "bar").filter((g) => !this.segregatedSeries.includes(g.id)).length, n = r.series.map((g, F) => {
347
+ }, A = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * w : x.max, A), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * w : e.valueMax, A), V = N.min >= 0 ? 0 : Math.abs(N.min), v = 0, z = N.max + V, O = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, M = this.drawingArea.bottom - _ - C * V / z, a = this.drawingArea.bottom - _ - C * v / O, h = this.absoluteDataset.filter((g) => g.type === "bar").filter((g) => !this.segregatedSeries.includes(g.id)).length, n = r.series.map((g, F) => {
348
348
  const E = this.mutableConfig.useIndividualScale ? (r.absoluteValues[F] + V) / z : this.ratioToMax(g), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * h - this.barSlot / 2 - s * this.barPeriodGap;
349
349
  return {
350
350
  yOffset: this.checkNaN(_),
@@ -352,7 +352,7 @@ const Ue = J(), Ze = {
352
352
  x: this.checkNaN(Y),
353
353
  y: this.drawingArea.bottom - _ - C * E,
354
354
  value: r.absoluteValues[F],
355
- zeroPosition: this.checkNaN(p),
355
+ zeroPosition: this.checkNaN(M),
356
356
  individualMax: this.checkNaN(z),
357
357
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
358
358
  };
@@ -364,12 +364,12 @@ const Ue = J(), Ze = {
364
364
  x: this.checkNaN(E),
365
365
  y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(C) * d[F] || 0)),
366
366
  value: r.absoluteValues[F],
367
- zeroPosition: this.checkNaN(p),
367
+ zeroPosition: this.checkNaN(M),
368
368
  individualMax: this.checkNaN(z),
369
369
  comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
370
370
  };
371
371
  }), y = N.ticks.map((g) => ({
372
- y: g >= 0 ? p - C * (g / z) : p + C * Math.abs(g) / z,
372
+ y: g >= 0 ? M - C * (g / z) : M + C * Math.abs(g) / z,
373
373
  value: g,
374
374
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
375
375
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -392,7 +392,7 @@ const Ue = J(), Ze = {
392
392
  scaleYLabels: r.autoScaling ? G : y,
393
393
  individualScale: r.autoScaling ? b : N,
394
394
  individualMax: r.autoScaling ? O : z,
395
- zeroPosition: r.autoScaling ? a : p,
395
+ zeroPosition: r.autoScaling ? a : M,
396
396
  plots: r.autoScaling ? W : n
397
397
  };
398
398
  });
@@ -413,7 +413,7 @@ const Ue = J(), Ze = {
413
413
  }, e = {
414
414
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
415
415
  min: r.scaleMin || (Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues))
416
- }, x = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + Math.abs(b), z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, p = this.drawingArea.bottom - O - _ * V / z, a = r.series.map((g, F) => {
416
+ }, x = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + Math.abs(b), z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, M = this.drawingArea.bottom - O - _ * V / z, a = r.series.map((g, F) => {
417
417
  const E = this.mutableConfig.useIndividualScale ? (r.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(g);
418
418
  return {
419
419
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
@@ -440,7 +440,7 @@ const Ue = J(), Ze = {
440
440
  })), G = N.ticks.map((g) => {
441
441
  const F = (g - N.min) / (N.max - N.min);
442
442
  return {
443
- y: g >= 0 ? p - _ * F : p + _ * F,
443
+ y: g >= 0 ? M - _ * F : M + _ * F,
444
444
  value: g,
445
445
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
446
446
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -455,10 +455,10 @@ const Ue = J(), Ze = {
455
455
  scaleYLabels: r.autoScaling ? G : y,
456
456
  individualScale: r.autoScaling ? N : w,
457
457
  individualMax: r.autoScaling ? z : v,
458
- zeroPosition: r.autoScaling ? p : C,
458
+ zeroPosition: r.autoScaling ? M : C,
459
459
  curve: r.autoScaling ? W : d,
460
460
  plots: r.autoScaling ? n : a,
461
- area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? n : a, r.autoScaling ? p : C) : this.createArea(a) : ""
461
+ area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? n : a, r.autoScaling ? M : C) : this.createArea(a) : ""
462
462
  };
463
463
  });
464
464
  },
@@ -472,7 +472,7 @@ const Ue = J(), Ze = {
472
472
  }, e = {
473
473
  max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
474
474
  min: r.scaleMin || Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues)
475
- }, x = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + b, z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, p = this.drawingArea.bottom - O - _ * V / z, a = r.series.map((y, G) => {
475
+ }, x = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + b, z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, M = this.drawingArea.bottom - O - _ * V / z, a = r.series.map((y, G) => {
476
476
  const g = this.mutableConfig.useIndividualScale ? (r.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(y);
477
477
  return {
478
478
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
@@ -494,7 +494,7 @@ const Ue = J(), Ze = {
494
494
  })), W = N.ticks.map((y) => {
495
495
  const G = (y - N.min) / (N.max - N.min);
496
496
  return {
497
- y: y >= 0 ? p - _ * G : p + _ * G,
497
+ y: y >= 0 ? M - _ * G : M + _ * G,
498
498
  value: y,
499
499
  prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
500
500
  suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -509,7 +509,7 @@ const Ue = J(), Ze = {
509
509
  scaleYLabels: r.autoScaling ? W : d,
510
510
  individualScale: r.autoScaling ? N : w,
511
511
  individualMax: r.autoScaling ? z : v,
512
- zeroPosition: r.autoScaling ? p : C,
512
+ zeroPosition: r.autoScaling ? M : C,
513
513
  plots: r.autoScaling ? n : a
514
514
  };
515
515
  });
@@ -1080,7 +1080,7 @@ const Ue = J(), Ze = {
1080
1080
  ref: "noTitle",
1081
1081
  class: "vue-data-ui-no-title-space",
1082
1082
  style: "height:36px; width: 100%; background:transparent"
1083
- }, Qe = ["viewBox"], je = ["x", "y", "width", "height"], $e = { key: 1 }, et = { class: "vue-ui-xy-grid" }, tt = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], at = { key: 1 }, lt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke"], nt = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ot = ["id"], ct = ["stop-color"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], It = ["stop-color"], mt = ["stop-color"], Nt = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["x", "y", "height", "width", "fill"], kt = ["x", "y", "width"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Gt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], vt = ["width", "x", "y"], zt = { key: 0 }, pt = ["id"], Mt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Tt = ["x", "y", "font-size", "fill"], Pt = ["stroke", "x1", "x2", "y1", "y2"], Rt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ht = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Bt = { key: 4 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["fill", "font-size", "transform"], Yt = ["x1", "x2", "y1", "y2", "stroke"], qt = ["x", "y", "font-size", "fill"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["width", "x", "y"], Jt = { style: { width: "100%" } }, Kt = { key: 0 }, Qt = ["id"], jt = ["fill"], $t = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], er = ["x", "y", "font-size", "fill"], tr = ["d", "stroke", "stroke-width", "stroke-dasharray"], rr = { key: 1 }, ar = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], lr = { key: 5 }, ir = { key: 0 }, sr = ["d", "fill"], nr = ["d", "fill"], hr = ["d", "fill"], or = ["d", "fill"], cr = ["d", "stroke", "stroke-width", "stroke-dasharray"], dr = { key: 2 }, ur = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gr = ["width", "x", "y"], fr = { style: { width: "100%" } }, Ir = { key: 3 }, mr = ["id"], Nr = ["fill"], xr = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], br = ["x", "y", "font-size", "fill"], Fr = { key: 6 }, _r = ["x", "y", "font-size", "fill"], Ar = ["x", "y", "font-size", "fill", "font-weight"], yr = { key: 7 }, Lr = ["x", "y", "font-size", "fill"], Cr = ["x", "y"], Sr = ["x", "y"], kr = { key: 8 }, wr = ["x", "y", "font-size", "fill"], Or = ["x", "y"], Gr = ["x", "y"], vr = ["x", "y", "font-size", "fill", "innerHTML"], zr = ["x", "y", "font-size", "fill", "innerHTML"], pr = ["x", "y", "font-size", "fill", "innerHTML"], Mr = ["x", "y", "font-size", "fill", "innerHTML"], Vr = ["x", "y", "width", "height", "fill", "onMouseenter"], Tr = ["font-size", "fill", "transform"], Pr = ["x", "y", "font-size", "fill"], Rr = { key: 10 }, Dr = ["text-anchor", "font-size", "fill", "transform", "onClick"], Hr = ["x", "y", "height", "width", "onMouseenter", "onClick"], Br = { key: 11 }, Wr = ["x", "y"], Er = ["cx", "cy", "r", "fill"], Yr = {
1083
+ }, Qe = ["viewBox"], je = ["x", "y", "width", "height"], $e = { key: 1 }, et = { class: "vue-ui-xy-grid" }, tt = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], at = { key: 1 }, lt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke"], nt = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ot = ["id"], ct = ["stop-color"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], It = ["stop-color"], mt = ["stop-color"], Nt = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["x", "y", "height", "width", "fill"], kt = ["x", "y", "width"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Gt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], vt = ["width", "x", "y"], zt = { key: 0 }, Mt = ["id"], pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Tt = ["x", "y", "font-size", "fill"], Pt = ["stroke", "x1", "x2", "y1", "y2"], Rt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ht = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Bt = { key: 4 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["fill", "font-size", "transform"], Yt = ["x1", "x2", "y1", "y2", "stroke"], qt = ["x", "y", "font-size", "fill"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["width", "x", "y"], Jt = { style: { width: "100%" } }, Kt = { key: 0 }, Qt = ["id"], jt = ["fill"], $t = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], er = ["x", "y", "font-size", "fill"], tr = ["d", "stroke", "stroke-width", "stroke-dasharray"], rr = { key: 1 }, ar = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], lr = { key: 5 }, ir = { key: 0 }, sr = ["d", "fill"], nr = ["d", "fill"], hr = ["d", "fill"], or = ["d", "fill"], cr = ["d", "stroke", "stroke-width", "stroke-dasharray"], dr = { key: 2 }, ur = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gr = ["width", "x", "y"], fr = { style: { width: "100%" } }, Ir = { key: 3 }, mr = ["id"], Nr = ["fill"], xr = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], br = ["x", "y", "font-size", "fill"], Fr = { key: 6 }, _r = ["x", "y", "font-size", "fill"], Ar = ["x", "y", "font-size", "fill", "font-weight"], yr = { key: 7 }, Lr = ["x", "y", "font-size", "fill"], Cr = ["x", "y"], Sr = ["x", "y"], kr = { key: 8 }, wr = ["x", "y", "font-size", "fill"], Or = ["x", "y"], Gr = ["x", "y"], vr = ["x", "y", "font-size", "fill", "innerHTML"], zr = ["x", "y", "font-size", "fill", "innerHTML"], Mr = ["x", "y", "font-size", "fill", "innerHTML"], pr = ["x", "y", "font-size", "fill", "innerHTML"], Vr = ["x", "y", "width", "height", "fill", "onMouseenter"], Tr = ["font-size", "fill", "transform"], Pr = ["x", "y", "font-size", "fill"], Rr = { key: 10 }, Dr = ["text-anchor", "font-size", "fill", "transform", "onClick"], Hr = ["x", "y", "height", "width", "onMouseenter", "onClick"], Br = { key: 11 }, Wr = ["x", "y"], Er = ["cx", "cy", "r", "fill"], Yr = {
1084
1084
  key: 5,
1085
1085
  class: "vue-data-ui-watermark"
1086
1086
  }, qr = ["onClick"], Xr = {
@@ -1110,7 +1110,7 @@ const Ue = J(), Ze = {
1110
1110
  "data-html2canvas-ignore": ""
1111
1111
  }, ta = ["innerHTML"];
1112
1112
  function ra(r, s, o, u, t, e) {
1113
- const x = T("PenAndPaper"), A = T("Title"), w = T("UserOptions"), N = T("PackageVersion"), b = T("Shape"), V = T("Skeleton"), v = T("Slicer"), z = T("Tooltip"), O = T("BaseIcon"), _ = T("TableSparkline"), C = T("DataTable"), p = T("Accordion");
1113
+ const x = T("PenAndPaper"), A = T("Title"), w = T("UserOptions"), N = T("PackageVersion"), b = T("Shape"), V = T("Skeleton"), v = T("Slicer"), z = T("Tooltip"), O = T("BaseIcon"), _ = T("TableSparkline"), C = T("DataTable"), M = T("Accordion");
1114
1114
  return l(), i("div", {
1115
1115
  id: `vue-ui-xy_${t.uniqueId}`,
1116
1116
  class: P(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1187,63 +1187,63 @@ function ra(r, s, o, u, t, e) {
1187
1187
  }, Be({ _: 2 }, [
1188
1188
  r.$slots.optionTooltip ? {
1189
1189
  name: "optionTooltip",
1190
- fn: M(() => [
1190
+ fn: p(() => [
1191
1191
  S(r.$slots, "optionTooltip", {}, void 0, !0)
1192
1192
  ]),
1193
1193
  key: "0"
1194
1194
  } : void 0,
1195
1195
  r.$slots.optionPdf ? {
1196
1196
  name: "optionPdf",
1197
- fn: M(() => [
1197
+ fn: p(() => [
1198
1198
  S(r.$slots, "optionPdf", {}, void 0, !0)
1199
1199
  ]),
1200
1200
  key: "1"
1201
1201
  } : void 0,
1202
1202
  r.$slots.optionCsv ? {
1203
1203
  name: "optionCsv",
1204
- fn: M(() => [
1204
+ fn: p(() => [
1205
1205
  S(r.$slots, "optionCsv", {}, void 0, !0)
1206
1206
  ]),
1207
1207
  key: "2"
1208
1208
  } : void 0,
1209
1209
  r.$slots.optionImg ? {
1210
1210
  name: "optionImg",
1211
- fn: M(() => [
1211
+ fn: p(() => [
1212
1212
  S(r.$slots, "optionImg", {}, void 0, !0)
1213
1213
  ]),
1214
1214
  key: "3"
1215
1215
  } : void 0,
1216
1216
  r.$slots.optionTable ? {
1217
1217
  name: "optionTable",
1218
- fn: M(() => [
1218
+ fn: p(() => [
1219
1219
  S(r.$slots, "optionTable", {}, void 0, !0)
1220
1220
  ]),
1221
1221
  key: "4"
1222
1222
  } : void 0,
1223
1223
  r.$slots.optionLabels ? {
1224
1224
  name: "optionLabels",
1225
- fn: M(() => [
1225
+ fn: p(() => [
1226
1226
  S(r.$slots, "optionLabels", {}, void 0, !0)
1227
1227
  ]),
1228
1228
  key: "5"
1229
1229
  } : void 0,
1230
1230
  r.$slots.optionStack ? {
1231
1231
  name: "optionStack",
1232
- fn: M(() => [
1232
+ fn: p(() => [
1233
1233
  S(r.$slots, "optionStack", {}, void 0, !0)
1234
1234
  ]),
1235
1235
  key: "6"
1236
1236
  } : void 0,
1237
1237
  r.$slots.optionFullscreen ? {
1238
1238
  name: "optionFullscreen",
1239
- fn: M(({ toggleFullscreen: a, isFullscreen: h }) => [
1239
+ fn: p(({ toggleFullscreen: a, isFullscreen: h }) => [
1240
1240
  S(r.$slots, "optionFullscreen", H(B({ toggleFullscreen: a, isFullscreen: h })), void 0, !0)
1241
1241
  ]),
1242
1242
  key: "7"
1243
1243
  } : void 0,
1244
1244
  r.$slots.optionAnnotator ? {
1245
1245
  name: "optionAnnotator",
1246
- fn: M(({ toggleAnnotator: a, isAnnotator: h }) => [
1246
+ fn: p(({ toggleAnnotator: a, isAnnotator: h }) => [
1247
1247
  S(r.$slots, "optionAnnotator", H(B({ toggleAnnotator: a, isAnnotator: h })), void 0, !0)
1248
1248
  ]),
1249
1249
  key: "8"
@@ -1532,8 +1532,8 @@ function ra(r, s, o, u, t, e) {
1532
1532
  f("polygon", {
1533
1533
  points: `0 0, 7 ${7 / 2}, 0 7`,
1534
1534
  fill: a.color
1535
- }, null, 8, Mt)
1536
- ], 8, pt)
1535
+ }, null, 8, pt)
1536
+ ], 8, Mt)
1537
1537
  ]),
1538
1538
  a.plots.length > 1 ? (l(), i("line", {
1539
1539
  key: 0,
@@ -1618,7 +1618,7 @@ function ra(r, s, o, u, t, e) {
1618
1618
  fill: a.color,
1619
1619
  "font-size": t.fontSizes.dataLabels,
1620
1620
  "text-anchor": "middle",
1621
- transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1621
+ transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1622
1622
  }, k(a.name) + " " + k(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Et),
1623
1623
  (l(!0), i(I, null, m(a.yLabels, (h, n) => (l(), i("line", {
1624
1624
  x1: a.x - 3 + e.xPadding,
@@ -2130,7 +2130,7 @@ function ra(r, s, o, u, t, e) {
2130
2130
  y: n.y,
2131
2131
  maxWords: 2
2132
2132
  })
2133
- }, null, 8, pr)) : c("", !0),
2133
+ }, null, 8, Mr)) : c("", !0),
2134
2134
  n && d === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), i("text", {
2135
2135
  key: 1,
2136
2136
  x: n.x + t.fontSizes.plotLabels,
@@ -2146,11 +2146,11 @@ function ra(r, s, o, u, t, e) {
2146
2146
  y: n.y,
2147
2147
  maxWords: 2
2148
2148
  })
2149
- }, null, 8, Mr)) : c("", !0)
2149
+ }, null, 8, pr)) : c("", !0)
2150
2150
  ]))), 128))
2151
2151
  ], 6))), 128)),
2152
2152
  t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), i(I, { key: 9 }, m(e.allScales, (a) => (l(), i("rect", {
2153
- x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2153
+ x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2154
2154
  y: e.drawingArea.top,
2155
2155
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2156
2156
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
@@ -2304,7 +2304,7 @@ function ra(r, s, o, u, t, e) {
2304
2304
  onReset: e.refreshSlicer,
2305
2305
  onTrapMouse: e.selectMinimapIndex
2306
2306
  }, {
2307
- "reset-action": M(({ reset: a }) => [
2307
+ "reset-action": p(({ reset: a }) => [
2308
2308
  S(r.$slots, "reset-action", H(B({ reset: a })), void 0, !0)
2309
2309
  ]),
2310
2310
  _: 3
@@ -2394,15 +2394,15 @@ function ra(r, s, o, u, t, e) {
2394
2394
  isFullscreen: t.isFullscreen,
2395
2395
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2396
2396
  }, {
2397
- "tooltip-before": M(() => [
2397
+ "tooltip-before": p(() => [
2398
2398
  S(r.$slots, "tooltip-before", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2399
2399
  ]),
2400
- "tooltip-after": M(() => [
2400
+ "tooltip-after": p(() => [
2401
2401
  S(r.$slots, "tooltip-after", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2402
2402
  ]),
2403
2403
  _: 3
2404
2404
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2405
- e.isDataset ? (l(), D(p, {
2405
+ e.isDataset ? (l(), D(M, {
2406
2406
  key: 11,
2407
2407
  hideDetails: "",
2408
2408
  config: {
@@ -2418,7 +2418,7 @@ function ra(r, s, o, u, t, e) {
2418
2418
  }
2419
2419
  }
2420
2420
  }, {
2421
- content: M(() => [
2421
+ content: p(() => [
2422
2422
  f("div", {
2423
2423
  style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2424
2424
  }, [
@@ -2453,10 +2453,10 @@ function ra(r, s, o, u, t, e) {
2453
2453
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2454
2454
  onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
2455
2455
  }, {
2456
- th: M(({ th: a }) => [
2456
+ th: p(({ th: a }) => [
2457
2457
  f("div", { innerHTML: a }, null, 8, ta)
2458
2458
  ]),
2459
- td: M(({ td: a }) => [
2459
+ td: p(({ td: a }) => [
2460
2460
  qe(k(isNaN(Number(a)) ? a : e.dataLabel({
2461
2461
  p: e.FINAL_CONFIG.chart.labels.prefix,
2462
2462
  v: a,
@@ -2472,7 +2472,7 @@ function ra(r, s, o, u, t, e) {
2472
2472
  }, 8, ["config"])) : c("", !0)
2473
2473
  ], 46, Je);
2474
2474
  }
2475
- const ba = /* @__PURE__ */ Xe(Ze, [["render", ra], ["__scopeId", "data-v-e67e9b01"]]);
2475
+ const ba = /* @__PURE__ */ Xe(Ze, [["render", ra], ["__scopeId", "data-v-b39f6107"]]);
2476
2476
  export {
2477
2477
  ba as default
2478
2478
  };