vue-data-ui 2.4.78 → 2.4.80

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 (153) hide show
  1. package/dist/{Arrow-DbrjRMa6.cjs → Arrow-D7TkI6Ay.cjs} +1 -1
  2. package/dist/{Arrow-C7AmfY-d.js → Arrow-HywvQFIb.js} +1 -1
  3. package/dist/{BaseIcon-CIjjPDqj.cjs → BaseIcon-5jC5U27p.cjs} +1 -1
  4. package/dist/{BaseIcon-Dzpk4O8L.js → BaseIcon-CL3j-fI9.js} +1 -1
  5. package/dist/{DataTable-DtRXoetj.js → DataTable-DInI0nyj.js} +2 -2
  6. package/dist/{DataTable-wN-jvOfe.cjs → DataTable-fHBZCQD_.cjs} +1 -1
  7. package/dist/{Legend-DqGE1lkA.cjs → Legend-BGxT3Yv0.cjs} +1 -1
  8. package/dist/{Legend-RnRqBxiV.js → Legend-Ci1axdG_.js} +2 -2
  9. package/dist/{PackageVersion-CgJdp_Ki.js → PackageVersion-Cchpqacn.js} +1 -1
  10. package/dist/{PackageVersion-Dn-t7tbm.cjs → PackageVersion-X1kVHC-z.cjs} +1 -1
  11. package/dist/{PenAndPaper-BTLEk55u.js → PenAndPaper-BKH98f-S.js} +3 -3
  12. package/dist/{PenAndPaper-DFXJJink.cjs → PenAndPaper-ChPMqRX7.cjs} +1 -1
  13. package/dist/{Shape-B1fqUhjt.js → Shape-Cvp52J0c.js} +1 -1
  14. package/dist/{Shape-D7IbPjU8.cjs → Shape-kTprcCU0.cjs} +1 -1
  15. package/dist/Slicer-BAXp89_0.cjs +1 -0
  16. package/dist/Slicer-CtV2RLUM.js +546 -0
  17. package/dist/{Title-D-6pIV0l.cjs → Title-ByUzU0ju.cjs} +1 -1
  18. package/dist/{Title-XYNHfYwN.js → Title-PkqdmDqN.js} +1 -1
  19. package/dist/{Tooltip-CNox4F8U.cjs → Tooltip-D0I2_wrW.cjs} +1 -1
  20. package/dist/{Tooltip-DYRo59nq.js → Tooltip-m3Z3Wlu2.js} +1 -1
  21. package/dist/{index-B8Eaq54E.js → index-C2mIRYI5.js} +1 -1
  22. package/dist/{index-KJL8ra_6.cjs → index-DBFjPsZ3.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-Bu958azG.cjs → useNestedProp-C6A3gxy9.cjs} +1 -1
  25. package/dist/{useNestedProp-Ka0R_Yqa.js → useNestedProp-nx1ZIRNV.js} +1 -1
  26. package/dist/{usePrinter-D83W2gfG.js → usePrinter-D0_MYOSc.js} +1 -1
  27. package/dist/{usePrinter-pDOF3CfL.cjs → usePrinter-NpeVna5L.cjs} +1 -1
  28. package/dist/{vue-data-ui-Ot5xYhbV.cjs → vue-data-ui-DCBYDQ8d.cjs} +1 -1
  29. package/dist/{vue-data-ui-DgmXnSUU.js → vue-data-ui-DN2kou23.js} +60 -60
  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-CB0XzatQ.cjs → vue-ui-3d-bar-BzqpUiO9.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-CqiW8qFZ.js → vue-ui-3d-bar-CX4cgFJW.js} +9 -9
  34. package/dist/{vue-ui-accordion-4-dyMgJA.cjs → vue-ui-accordion-BB0V98cT.cjs} +1 -1
  35. package/dist/{vue-ui-accordion--5td7b94.js → vue-ui-accordion-CbgAyykZ.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-Bsg0z9ei.js → vue-ui-age-pyramid-DKNcamFG.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-DNseB8ej.cjs → vue-ui-age-pyramid-lTOdjMKu.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-obnYFvvq.js → vue-ui-annotator-CUzQpHGa.js} +1 -1
  39. package/dist/{vue-ui-annotator-CHjtF8NT.cjs → vue-ui-annotator-pJhAuSac.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-yKEVhE17.js → vue-ui-bullet-Bthmg1VV.js} +8 -8
  41. package/dist/{vue-ui-bullet-CNWHd7dO.cjs → vue-ui-bullet-R3ISDQsd.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-Cc-Ee4zv.js → vue-ui-candlestick-CvHVfAu7.js} +11 -11
  43. package/dist/{vue-ui-candlestick-VBq82rfW.cjs → vue-ui-candlestick-KvgWKIaO.cjs} +1 -1
  44. package/dist/{vue-ui-carousel-table-DLwVijSb.cjs → vue-ui-carousel-table-BjjvMcc0.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-B6v1NycN.js → vue-ui-carousel-table-DCi_yXu2.js} +4 -4
  46. package/dist/{vue-ui-chestnut-CekC1moT.js → vue-ui-chestnut-BckiQcJs.js} +8 -8
  47. package/dist/{vue-ui-chestnut-DHZbhIf_.cjs → vue-ui-chestnut-Dotk5uHN.cjs} +1 -1
  48. package/dist/{vue-ui-cursor-Bz-jVx3a.cjs → vue-ui-cursor-C9LwYeDb.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-CISKzkNu.js → vue-ui-cursor-DE0HZhQL.js} +2 -2
  50. package/dist/{vue-ui-dashboard-PAi8o4AC.cjs → vue-ui-dashboard-Dp87Gc9L.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-w7Ts26Xc.js → vue-ui-dashboard-DtWvVA-k.js} +2 -2
  52. package/dist/{vue-ui-digits-kaBR5FUU.js → vue-ui-digits-CFjurLzc.js} +2 -2
  53. package/dist/{vue-ui-digits-I_lj1m6d.cjs → vue-ui-digits-DQA6ixem.cjs} +1 -1
  54. package/dist/{vue-ui-donut-dDpMdK4G.cjs → vue-ui-donut-DIHfCjBP.cjs} +1 -1
  55. package/dist/{vue-ui-donut-BVuaExCl.js → vue-ui-donut-DRIPG4qf.js} +12 -12
  56. package/dist/{vue-ui-donut-evolution-ChGao_WW.cjs → vue-ui-donut-evolution-BrcrheUX.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-DAmX1OX-.js → vue-ui-donut-evolution-DfKOKQFY.js} +11 -11
  58. package/dist/{vue-ui-dumbbell-DsR4RQY9.cjs → vue-ui-dumbbell-CAg1cU2x.cjs} +1 -1
  59. package/dist/{vue-ui-dumbbell-CrQNRN_m.js → vue-ui-dumbbell-Dx6YSKly.js} +10 -10
  60. package/dist/{vue-ui-flow-B0lCe4G8.js → vue-ui-flow-DOipmqqm.js} +9 -9
  61. package/dist/{vue-ui-flow-Dhcvvzee.cjs → vue-ui-flow-HuZqv_Mr.cjs} +1 -1
  62. package/dist/{vue-ui-funnel-Cinv1hUx.js → vue-ui-funnel-CSRH6I73.js} +9 -9
  63. package/dist/{vue-ui-funnel-Bu_wMJ98.cjs → vue-ui-funnel-ClZWVU3W.cjs} +1 -1
  64. package/dist/{vue-ui-galaxy-zx6O9AuV.cjs → vue-ui-galaxy-B0Gxsuaj.cjs} +1 -1
  65. package/dist/{vue-ui-galaxy-BcwunIK3.js → vue-ui-galaxy-vP8xR-K-.js} +11 -11
  66. package/dist/{vue-ui-gauge-Cb6sxoZI.cjs → vue-ui-gauge-Dr7NdYqP.cjs} +1 -1
  67. package/dist/{vue-ui-gauge-C4W4OAXQ.js → vue-ui-gauge-QEApv_T5.js} +7 -7
  68. package/dist/{vue-ui-gizmo-D4VHyFmN.js → vue-ui-gizmo-Cr3L2fkb.js} +3 -3
  69. package/dist/{vue-ui-gizmo-DBSYx24z.cjs → vue-ui-gizmo-q7PyJf3N.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-C3WHfifV.js → vue-ui-heatmap-CY7z5uPC.js} +10 -10
  71. package/dist/{vue-ui-heatmap-CBNt4Huo.cjs → vue-ui-heatmap-Dlqs0ZRP.cjs} +1 -1
  72. package/dist/{vue-ui-history-plot-dJp-Lai2.js → vue-ui-history-plot-B0UmKljg.js} +11 -11
  73. package/dist/{vue-ui-history-plot-Dp8Llb3A.cjs → vue-ui-history-plot-De2TbpxV.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-B3XhowYx.js → vue-ui-kpi-CR1lNimt.js} +3 -3
  75. package/dist/{vue-ui-kpi-Dnp8IUyb.cjs → vue-ui-kpi-CdbzO6dm.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-Cca7PA4v.js → vue-ui-mini-loader-B2k4Zk3c.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-BgwhuEda.cjs → vue-ui-mini-loader-DJ2voqOx.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-B1AocG3H.cjs → vue-ui-molecule-C72LUB1R.cjs} +1 -1
  79. package/dist/{vue-ui-molecule-BcZNqWfD.js → vue-ui-molecule-DAz6ytsR.js} +11 -11
  80. package/dist/{vue-ui-mood-radar-HjLL0ZZ8.js → vue-ui-mood-radar-CwFs3yx-.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-Cn65TQEs.cjs → vue-ui-mood-radar-atwG7SN7.cjs} +1 -1
  82. package/dist/{vue-ui-nested-donuts-CymFt4B3.cjs → vue-ui-nested-donuts-CmjvIdjy.cjs} +1 -1
  83. package/dist/{vue-ui-nested-donuts-BIqySYG_.js → vue-ui-nested-donuts-CyOGu99e.js} +11 -11
  84. package/dist/{vue-ui-onion-muCAMEG8.js → vue-ui-onion-D-PSIMqW.js} +11 -11
  85. package/dist/{vue-ui-onion-BLMFR0GK.cjs → vue-ui-onion-Tcb-YXPb.cjs} +1 -1
  86. package/dist/{vue-ui-parallel-coordinate-plot-DYOlnKPw.js → vue-ui-parallel-coordinate-plot-CSq_ztwh.js} +12 -12
  87. package/dist/{vue-ui-parallel-coordinate-plot-i-hhfnwF.cjs → vue-ui-parallel-coordinate-plot-Do_BYnGv.cjs} +1 -1
  88. package/dist/{vue-ui-quadrant-TU5fWoEw.js → vue-ui-quadrant-A1-scvDl.js} +12 -12
  89. package/dist/{vue-ui-quadrant-DJPOp1-A.cjs → vue-ui-quadrant-CFT6mDQf.cjs} +1 -1
  90. package/dist/{vue-ui-quick-chart-DzuUofFN.js → vue-ui-quick-chart-CfAX6N6x.js} +9 -9
  91. package/dist/{vue-ui-quick-chart-CTJxOisL.cjs → vue-ui-quick-chart-oZu8nE65.cjs} +1 -1
  92. package/dist/{vue-ui-radar-C0WA20R8.js → vue-ui-radar-BF_X5reX.js} +12 -12
  93. package/dist/{vue-ui-radar-D4xX7TNQ.cjs → vue-ui-radar-BLIRb8-e.cjs} +1 -1
  94. package/dist/{vue-ui-rating-C2JILb2g.cjs → vue-ui-rating-BcJxCL9T.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DUcyhyrN.js → vue-ui-rating-CPhAqTMY.js} +2 -2
  96. package/dist/{vue-ui-relation-circle-D-Wxskec.cjs → vue-ui-relation-circle-BSq5niUB.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-BYlIjbUK.js → vue-ui-relation-circle-C4WtlzjR.js} +7 -7
  98. package/dist/{vue-ui-rings-w4KQSfym.js → vue-ui-rings-BxKf1fKQ.js} +12 -12
  99. package/dist/{vue-ui-rings-CsXVOIn3.cjs → vue-ui-rings-D_oSqIee.cjs} +1 -1
  100. package/dist/{vue-ui-scatter--5Ob2lKM.cjs → vue-ui-scatter-BzNnkurj.cjs} +1 -1
  101. package/dist/{vue-ui-scatter-CfgCA3Di.js → vue-ui-scatter-Dy-p7Wtu.js} +12 -12
  102. package/dist/{vue-ui-screenshot-BsD3ySuA.js → vue-ui-screenshot-CgPpGG9k.js} +1 -1
  103. package/dist/{vue-ui-screenshot-UEVUHXWY.cjs → vue-ui-screenshot-DSmfT3MR.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-D_YCUi1y.cjs → vue-ui-skeleton-20TN6Ch2.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-DpadzgbS.js → vue-ui-skeleton-Cb2qrhYT.js} +3 -3
  106. package/dist/{vue-ui-smiley-C32dLhtP.cjs → vue-ui-smiley-DtlSAsdM.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-BHqeb-Ol.js → vue-ui-smiley-U2CIWUwg.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-NAcB2zZ1.js → vue-ui-spark-trend-BMtR1Pi0.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-Bt2wpc5C.cjs → vue-ui-spark-trend-Bdb83Or_.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CgoGRT0_.cjs → vue-ui-sparkbar-C-0M8j8u.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-BPpSxe5Z.js → vue-ui-sparkbar-D0VeUaEb.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-frN6uK_L.cjs → vue-ui-sparkgauge-BWojoCVe.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-C1mW3KbZ.js → vue-ui-sparkgauge-Hp3ybBWb.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-CqQY434G.cjs → vue-ui-sparkhistogram-DRASXRMH.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-HgBi5OvP.js → vue-ui-sparkhistogram-PvQgia6F.js} +5 -5
  116. package/dist/{vue-ui-sparkline-BABBXY2c.js → vue-ui-sparkline-CI-MxWXp.js} +4 -4
  117. package/dist/{vue-ui-sparkline-XOa6LfX2.cjs → vue-ui-sparkline-DthSItEI.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-Ch3JvFBq.js → vue-ui-sparkstackbar-BDw738BK.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-B4Xduiv1.cjs → vue-ui-sparkstackbar-CSPWjjZ9.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-CH8tLDZq.cjs → vue-ui-stackbar-C14-7LhJ.cjs} +1 -1
  121. package/dist/{vue-ui-stackbar-JIEn0g7t.js → vue-ui-stackbar-CMe20-6p.js} +13 -13
  122. package/dist/{vue-ui-strip-plot-RZu43QbP.js → vue-ui-strip-plot-3V5Roils.js} +11 -11
  123. package/dist/{vue-ui-strip-plot-BkWzm1mI.cjs → vue-ui-strip-plot-CT6zIUSS.cjs} +1 -1
  124. package/dist/{vue-ui-table-CgtE4HWs.cjs → vue-ui-table-CwsJHKSJ.cjs} +1 -1
  125. package/dist/{vue-ui-table-CJ2gGmYi.js → vue-ui-table-LiO7zYPI.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-B_TfeHsa.js → vue-ui-table-heatmap-BDydCyHc.js} +4 -4
  127. package/dist/{vue-ui-table-heatmap-DxTs_PZF.cjs → vue-ui-table-heatmap-Ch3IAca3.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-DqMH7xbY.js → vue-ui-table-sparkline-CpMMEuyJ.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-PA9L6AjE.cjs → vue-ui-table-sparkline-uRakWvAL.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-AwZdEG3j.cjs → vue-ui-thermometer-C1WVxmG2.cjs} +1 -1
  131. package/dist/{vue-ui-thermometer-D7aR0elr.js → vue-ui-thermometer-ccjAdXXK.js} +7 -7
  132. package/dist/{vue-ui-timer-C9sO9AoQ.js → vue-ui-timer-Bz5-5ROu.js} +5 -5
  133. package/dist/{vue-ui-timer-C6fnDeD8.cjs → vue-ui-timer-C4xMxcYZ.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-Dje0I1vf.cjs → vue-ui-tiremarks-CpVvaTWi.cjs} +1 -1
  135. package/dist/{vue-ui-tiremarks-KvOyYNVW.js → vue-ui-tiremarks-N_GjxnG-.js} +7 -7
  136. package/dist/{vue-ui-treemap-BPxLXNZ5.js → vue-ui-treemap-CaxwLYar.js} +11 -11
  137. package/dist/{vue-ui-treemap-C2Vrj3tg.cjs → vue-ui-treemap-I3ZJNnqf.cjs} +1 -1
  138. package/dist/{vue-ui-vertical-bar-BAdSzbYU.js → vue-ui-vertical-bar-CIFczbF9.js} +12 -12
  139. package/dist/{vue-ui-vertical-bar-_MWpPkwZ.cjs → vue-ui-vertical-bar-CwOtDK03.cjs} +1 -1
  140. package/dist/{vue-ui-waffle-DfJI5Lez.cjs → vue-ui-waffle-CMSJBjtH.cjs} +1 -1
  141. package/dist/{vue-ui-waffle-CW1UVf-q.js → vue-ui-waffle-C_HzXt-Y.js} +12 -12
  142. package/dist/{vue-ui-wheel-DAwYc7XY.js → vue-ui-wheel-BHszQkHF.js} +7 -7
  143. package/dist/{vue-ui-wheel-CzZEsjmd.cjs → vue-ui-wheel-CfcHGnt7.cjs} +1 -1
  144. package/dist/vue-ui-word-cloud-BaTb-aot.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-BzfYkI08.js → vue-ui-word-cloud-C0v5gBrv.js} +151 -149
  146. package/dist/{vue-ui-xy-CJYGMbMt.js → vue-ui-xy-CCXp8odX.js} +14 -14
  147. package/dist/{vue-ui-xy-BolkwiXB.cjs → vue-ui-xy-CabZW_Ej.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-sB1dmJQc.js → vue-ui-xy-canvas-CdgdK8ol.js} +11 -11
  149. package/dist/{vue-ui-xy-canvas-DkltjVWN.cjs → vue-ui-xy-canvas-Dk6948dM.cjs} +1 -1
  150. package/package.json +1 -1
  151. package/dist/Slicer-8bCK41mN.cjs +0 -1
  152. package/dist/Slicer-GQf9ZyPj.js +0 -491
  153. package/dist/vue-ui-word-cloud-BEyV6jMo.cjs +0 -1
@@ -0,0 +1,546 @@
1
+ import { useCssVars as De, ref as o, computed as r, watch as R, onMounted as Te, onBeforeUnmount as ze, onUpdated as Ie, nextTick as ne, openBlock as v, createElementBlock as c, createElementVNode as d, normalizeStyle as $, createVNode as Pe, renderSlot as Ae, createCommentVNode as x, unref as G, Fragment as ie, renderList as oe, normalizeClass as L, withDirectives as ue, vModelText as re, toDisplayString as se, pushScopeId as Fe, popScopeId as He } from "vue";
2
+ import Ve from "./BaseIcon-CL3j-fI9.js";
3
+ import { t as We, u as Xe } from "./useResponsive-CoxXLe23.js";
4
+ import { c as Ue, R as de, Q as ve, X as Oe, G as ce } from "./index-C2mIRYI5.js";
5
+ import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const me = (l) => (Fe("data-v-d4b50266"), l = l(), He(), l), je = {
7
+ class: "vue-data-ui-slicer-labels",
8
+ style: { position: "relative", "z-index": "1", "pointer-events": "none" }
9
+ }, Ze = {
10
+ key: 0,
11
+ style: { width: "100%", position: "relative" }
12
+ }, qe = {
13
+ key: 0,
14
+ class: "minimap",
15
+ style: { width: "100%" }
16
+ }, Qe = ["xmlns", "viewBox"], Je = ["id"], Ke = ["stop-color"], Ye = /* @__PURE__ */ me(() => /* @__PURE__ */ d("stop", {
17
+ offset: "100%",
18
+ "stop-color": "transparent"
19
+ }, null, -1)), _e = ["d", "stroke"], et = ["x", "width", "height", "fill", "rx"], tt = ["d", "fill"], lt = ["x", "width", "height", "rx", "fill"], at = ["x", "width", "height", "fill", "rx"], nt = ["d", "fill"], it = ["d", "stroke"], ot = ["cx", "cy", "stroke", "fill"], ut = ["cx", "cy", "stroke", "fill"], rt = ["x1", "x2", "y2", "stroke"], st = ["x", "height", "width", "onMouseenter"], dt = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "slider-track" }, null, -1)), vt = ["min", "max"], ct = ["min", "max"], mt = {
20
+ __name: "Slicer",
21
+ props: {
22
+ background: {
23
+ type: String,
24
+ default: "#FFFFFF"
25
+ },
26
+ borderColor: {
27
+ type: String,
28
+ default: "#FFFFFF"
29
+ },
30
+ fontSize: {
31
+ type: Number,
32
+ default: 14
33
+ },
34
+ labelLeft: {
35
+ type: String,
36
+ default: ""
37
+ },
38
+ labelRight: {
39
+ type: String,
40
+ default: ""
41
+ },
42
+ textColor: {
43
+ type: String,
44
+ default: "#1A1A1A"
45
+ },
46
+ inputColor: {
47
+ type: String,
48
+ default: "#1A1A1A"
49
+ },
50
+ max: {
51
+ type: Number,
52
+ default: 0
53
+ },
54
+ min: {
55
+ type: Number,
56
+ default: 0
57
+ },
58
+ selectColor: {
59
+ type: String,
60
+ default: "#4A4A4A"
61
+ },
62
+ useResetSlot: {
63
+ type: Boolean,
64
+ default: !1
65
+ },
66
+ valueStart: {
67
+ type: [Number, String],
68
+ default: 0
69
+ },
70
+ valueEnd: {
71
+ type: [Number, String],
72
+ default: 0
73
+ },
74
+ minimap: {
75
+ type: Array,
76
+ default: []
77
+ },
78
+ smoothMinimap: {
79
+ type: Boolean,
80
+ default: !1
81
+ },
82
+ minimapSelectedColor: {
83
+ type: String,
84
+ default: "#1f77b4"
85
+ },
86
+ minimapSelectionRadius: {
87
+ type: Number,
88
+ default: 12
89
+ },
90
+ minimapLineColor: {
91
+ type: String,
92
+ default: "#2D353C"
93
+ },
94
+ minimapSelectedColorOpacity: {
95
+ type: Number,
96
+ default: 0.2
97
+ },
98
+ minimapSelectedIndex: {
99
+ type: Number,
100
+ default: null
101
+ },
102
+ minimapIndicatorColor: {
103
+ type: String,
104
+ default: "#2D353C"
105
+ },
106
+ refreshStartPoint: {
107
+ type: Number,
108
+ default: 0
109
+ },
110
+ refreshEndPoint: {
111
+ type: Number,
112
+ default: null
113
+ },
114
+ enableRangeHandles: {
115
+ type: Boolean,
116
+ default: !1
117
+ },
118
+ enableSelectionDrag: {
119
+ type: Boolean,
120
+ default: !0
121
+ },
122
+ verticalHandles: {
123
+ type: Boolean,
124
+ default: !1
125
+ }
126
+ },
127
+ emits: ["update:start", "update:end", "reset", "trapMouse"],
128
+ setup(l, { expose: he, emit: b }) {
129
+ const e = l;
130
+ De((t) => ({
131
+ "2c9f2a28": ge.value,
132
+ "76d69ac8": w.value,
133
+ "68e5db0d": xe.value,
134
+ b66c1868: l.selectColor,
135
+ "7b07985a": pe.value
136
+ }));
137
+ const f = o(null), u = o(e.min), s = o(e.max), y = r(() => !!e.minimap.length), D = o(Ue()), fe = r(() => e.refreshEndPoint === null ? e.max : e.refreshEndPoint), S = r(() => {
138
+ const t = e.max - e.min, a = (u.value - e.min) / t * 100, n = (s.value - e.min) / t * 100;
139
+ return {
140
+ left: `${a}%`,
141
+ width: `${n - a}%`,
142
+ background: e.selectColor,
143
+ tooltipLeft: `calc(${a}% - ${j.value ? 0 : U.value / 2}px)`,
144
+ tooltipRight: `calc(${n}% - ${Z.value ? B.value : B.value / 2}px)`,
145
+ arrowLeft: !j.value,
146
+ arrowRight: !Z.value
147
+ };
148
+ }), j = r(() => f.value ? f.value.getBoundingClientRect().width * ((u.value - e.min) / (e.max - e.min)) - U.value / 2 < 0 : !1), Z = r(() => f.value ? f.value.getBoundingClientRect().width * ((s.value - e.min) / (e.max - e.min)) + B.value / 2 > f.value.getBoundingClientRect().width : !1), ge = r(() => e.inputColor), pe = r(() => e.background), xe = r(() => `${e.selectColor}33`), w = r(() => e.borderColor), q = r(() => {
149
+ let t = [];
150
+ for (let a = 0; a < e.minimap.length; a += 1)
151
+ t.push(a);
152
+ return t;
153
+ });
154
+ function Q() {
155
+ b("reset");
156
+ }
157
+ function be() {
158
+ Number(u.value) > Number(s.value) - 1 && (u.value = Number(s.value) - 1), b("update:start", Number(u.value));
159
+ }
160
+ function ye() {
161
+ Number(s.value) < Number(u.value) + 1 && (s.value = Number(u.value) + 1), b("update:end", Number(s.value));
162
+ }
163
+ R(
164
+ () => e.min,
165
+ (t) => {
166
+ Number(u.value) < Number(t) && (u.value = Number(t)), Number(s.value) < Number(t) && (s.value = Number(t));
167
+ }
168
+ ), R(
169
+ () => e.max,
170
+ (t) => {
171
+ Number(u.value) > Number(t) && (u.value = Number(t)), Number(s.value) > Number(t) && (s.value = Number(t));
172
+ }
173
+ );
174
+ const T = o(null), i = o({
175
+ width: 1,
176
+ height: 1
177
+ }), E = o(null);
178
+ Te(() => {
179
+ if (y.value) {
180
+ const t = We(() => {
181
+ const { width: a, height: n } = Xe({
182
+ chart: T.value
183
+ });
184
+ i.value.width = a, i.value.height = n - 47;
185
+ });
186
+ E.value = new ResizeObserver(t), E.value.observe(T.value);
187
+ }
188
+ }), ze(() => {
189
+ E.value && E.value.disconnect();
190
+ });
191
+ const m = r(() => e.minimap.length ? i.value.width / e.minimap.length : 0), g = r(() => {
192
+ if (!e.minimap.length) return [];
193
+ const t = Math.max(...e.minimap), a = Math.min(...e.minimap) - 10, n = t - (a > 0 ? 0 : a), h = e.minimap.map((Le, Ee) => {
194
+ const Be = Le - a;
195
+ return {
196
+ x: i.value.width / e.minimap.length * Ee + m.value / 2,
197
+ y: i.value.height - Be / n * (i.value.height * 0.9)
198
+ };
199
+ }), k = e.smoothMinimap ? de(h) : ve(h), O = [...h].slice(e.valueStart, e.valueEnd), Re = e.smoothMinimap ? de(O) : ve(O);
200
+ return {
201
+ fullSet: k,
202
+ selectionSet: Re,
203
+ sliced: O,
204
+ firstPlot: h[e.valueStart],
205
+ lastPlot: h[e.valueEnd - 1]
206
+ };
207
+ }), p = r(() => ({
208
+ x: m.value * u.value + m.value / 2,
209
+ width: i.value.width * ((s.value - u.value) / e.max) - m.value
210
+ }));
211
+ r(() => ({
212
+ left: 0,
213
+ color: e.textColor,
214
+ fontSize: `${e.fontSize}px`,
215
+ top: y.value ? "28px" : "-28px",
216
+ pointerEvents: "none"
217
+ })), r(() => ({
218
+ right: 0,
219
+ color: e.textColor,
220
+ fontSize: `${e.fontSize}px`,
221
+ top: y.value ? "28px" : "-28px",
222
+ direction: "rtl",
223
+ pointerEvents: "none"
224
+ }));
225
+ const M = o(e.minimapSelectedIndex);
226
+ R(() => e.minimapSelectedIndex, (t) => {
227
+ M.value = t + e.valueStart;
228
+ }, { immediate: !0 });
229
+ function Se(t) {
230
+ M.value = t, t >= e.valueStart && t < e.valueEnd && b("trapMouse", t - e.valueStart);
231
+ }
232
+ const we = o(0), z = o(null), I = o(null);
233
+ function P(t) {
234
+ u.value = t, z.value && (z.value.value = t), b("update:start", Number(u.value));
235
+ }
236
+ function A(t) {
237
+ s.value = t, I.value && (I.value.value = t), b("update:end", Number(s.value));
238
+ }
239
+ const F = r(() => e.valueEnd - e.valueStart), H = o(!1);
240
+ let V = o(null);
241
+ const ke = r(() => f.value ? (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) : 20), Ce = r(() => (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) * F.value), Ne = o(2.5), J = r(() => {
242
+ const t = f.value.getBoundingClientRect().width - 48;
243
+ return Math.ceil((e.max - e.min) / ((t - Ce.value) / Ne.value));
244
+ }), K = (t) => {
245
+ if (N.value = !0, !e.enableSelectionDrag)
246
+ return;
247
+ const a = t.type === "touchstart";
248
+ if ((a ? t.targetTouches[0].target : t.target).classList.contains("range-handle"))
249
+ return;
250
+ H.value = !0, V.value = a ? t.targetTouches[0].clientX : t.clientX;
251
+ const h = a ? $e : Y, k = a ? Me : ee;
252
+ window.addEventListener(a ? "touchmove" : "mousemove", h, { passive: !1 }), window.addEventListener(a ? "touchend" : "mouseup", k);
253
+ };
254
+ function Y(t) {
255
+ _(t.clientX);
256
+ }
257
+ function $e(t) {
258
+ f.value.contains(t.target) && (t.target.classList.contains("range-handle") || (t.preventDefault(), _(t.targetTouches[0].clientX)));
259
+ }
260
+ function _(t) {
261
+ if (!H.value) return;
262
+ const a = t - V.value;
263
+ if (Math.abs(a) > ke.value) {
264
+ if (a > 0) {
265
+ if (Number(s.value) + 1 <= e.max) {
266
+ const n = Math.min(e.max, Number(s.value) + J.value);
267
+ A(n), P(n - F.value);
268
+ }
269
+ } else if (Number(u.value) - 1 >= e.min) {
270
+ const n = Math.max(0, Number(u.value) - J.value);
271
+ P(n), A(n + F.value);
272
+ }
273
+ V.value = t;
274
+ }
275
+ }
276
+ function ee() {
277
+ te("mousemove", "mouseup");
278
+ }
279
+ function Me() {
280
+ te("touchmove", "touchend");
281
+ }
282
+ function te(t, a) {
283
+ H.value = !1, window.removeEventListener(t, Y), window.removeEventListener(a, ee);
284
+ }
285
+ const C = o(!1), W = o(null), X = o(null), U = o(1), B = o(1), N = o(!1);
286
+ function le() {
287
+ W.value && (U.value = W.value.getBoundingClientRect().width);
288
+ }
289
+ function ae() {
290
+ X.value && (B.value = X.value.getBoundingClientRect().width);
291
+ }
292
+ return Ie(() => {
293
+ le(), ae();
294
+ }), R(() => e.labelLeft, () => {
295
+ ne(le);
296
+ }, { deep: !0 }), R(() => e.labelRight, () => {
297
+ ne(ae);
298
+ }, { deep: !0 }), he({
299
+ setStartValue: P,
300
+ setEndValue: A
301
+ }), (t, a) => (v(), c("div", {
302
+ "data-html2canvas-ignore": "",
303
+ style: { padding: "0 24px" },
304
+ class: "vue-data-ui-zoom",
305
+ ref_key: "zoomWrapper",
306
+ ref: f,
307
+ onMousedown: K,
308
+ onTouchstart: K,
309
+ onTouchend: a[9] || (a[9] = (n) => N.value = !1)
310
+ }, [
311
+ d("div", je, [
312
+ l.valueStart !== l.refreshStartPoint || l.valueEnd !== fe.value ? (v(), c("div", Ze, [
313
+ l.useResetSlot ? Ae(t.$slots, "reset-action", {
314
+ key: 1,
315
+ reset: Q
316
+ }, void 0, !0) : (v(), c("button", {
317
+ key: 0,
318
+ "data-cy-reset": "",
319
+ tabindex: "0",
320
+ role: "button",
321
+ class: "vue-data-ui-refresh-button",
322
+ style: $({
323
+ top: y.value ? "36px" : "-16px",
324
+ pointerEvents: "all !important"
325
+ }),
326
+ onClick: Q
327
+ }, [
328
+ Pe(Ve, {
329
+ name: "refresh",
330
+ stroke: l.textColor
331
+ }, null, 8, ["stroke"])
332
+ ], 4))
333
+ ])) : x("", !0)
334
+ ]),
335
+ d("div", {
336
+ class: "double-range-slider",
337
+ ref_key: "minimapWrapper",
338
+ ref: T,
339
+ style: { "z-index": "0" },
340
+ onMouseenter: a[7] || (a[7] = (n) => N.value = !0),
341
+ onMouseleave: a[8] || (a[8] = (n) => N.value = !1)
342
+ }, [
343
+ y.value ? (v(), c("div", qe, [
344
+ (v(), c("svg", {
345
+ xmlns: G(Oe),
346
+ viewBox: `0 0 ${i.value.width < 0 ? 0 : i.value.width} ${i.value.height < 0 ? 0 : i.value.height}`
347
+ }, [
348
+ d("defs", null, [
349
+ d("linearGradient", {
350
+ id: D.value,
351
+ x1: "0%",
352
+ y1: "0%",
353
+ x2: "0%",
354
+ y2: "100%"
355
+ }, [
356
+ d("stop", {
357
+ offset: "0%",
358
+ "stop-color": `${l.minimapLineColor}50`
359
+ }, null, 8, Ke),
360
+ Ye
361
+ ], 8, Je)
362
+ ]),
363
+ d("path", {
364
+ d: `M${g.value.fullSet}`,
365
+ stroke: `${l.minimapLineColor}`,
366
+ fill: "none",
367
+ "stroke-width": "1",
368
+ "stroke-linecap": "round",
369
+ "stroke-linejoin": "round",
370
+ style: { opacity: "1" }
371
+ }, null, 8, _e),
372
+ d("rect", {
373
+ x: p.value.x,
374
+ width: p.value.width < 0 ? 0 : p.value.width,
375
+ height: Math.max(i.value.height, 0),
376
+ y: 0,
377
+ fill: w.value,
378
+ rx: l.minimapSelectionRadius,
379
+ stroke: "none"
380
+ }, null, 8, et),
381
+ d("path", {
382
+ d: `M${m.value / 2},${Math.max(i.value.height, 0)} ${g.value.fullSet} L${i.value.width - m.value / 2},${Math.max(i.value.height, 0)}Z`,
383
+ fill: `url(#${D.value})`,
384
+ stroke: "none",
385
+ style: { opacity: "1" }
386
+ }, null, 8, tt),
387
+ d("rect", {
388
+ x: p.value.x,
389
+ width: p.value.width < 0 ? 0 : p.value.width,
390
+ height: Math.max(i.value.height, 0),
391
+ y: 0,
392
+ rx: l.minimapSelectionRadius,
393
+ fill: w.value
394
+ }, null, 8, lt),
395
+ d("rect", {
396
+ x: p.value.x,
397
+ width: p.value.width < 0 ? 0 : p.value.width,
398
+ height: Math.max(i.value.height, 0),
399
+ y: 0,
400
+ fill: l.minimapSelectedColor,
401
+ rx: l.minimapSelectionRadius,
402
+ style: $({
403
+ opacity: l.minimapSelectedColorOpacity
404
+ })
405
+ }, null, 12, at),
406
+ d("path", {
407
+ d: `M${g.value.sliced[0].x},${Math.max(i.value.height, 0)} ${g.value.selectionSet} L${g.value.sliced.at(-1).x},${Math.max(i.value.height, 0)}Z`,
408
+ fill: `url(#${D.value})`,
409
+ stroke: "none",
410
+ style: { opacity: "1" }
411
+ }, null, 8, nt),
412
+ d("path", {
413
+ d: `M ${g.value.selectionSet}`,
414
+ stroke: `${l.minimapLineColor}`,
415
+ fill: "transparent",
416
+ "stroke-width": "2",
417
+ "stroke-linecap": "round",
418
+ "stroke-linejoin": "round"
419
+ }, null, 8, it),
420
+ d("circle", {
421
+ cx: g.value.firstPlot.x,
422
+ cy: g.value.firstPlot.y,
423
+ "stroke-width": "0.5",
424
+ stroke: w.value,
425
+ r: "3",
426
+ fill: l.minimapLineColor
427
+ }, null, 8, ot),
428
+ d("circle", {
429
+ cx: g.value.lastPlot.x,
430
+ cy: g.value.lastPlot.y,
431
+ "stroke-width": "0.5",
432
+ stroke: w.value,
433
+ r: "3",
434
+ fill: l.minimapLineColor
435
+ }, null, 8, ut),
436
+ M.value !== null ? (v(!0), c(ie, { key: 0 }, oe(q.value, (n, h) => (v(), c("g", null, [
437
+ M.value === n && n >= l.valueStart && n < l.valueEnd ? (v(), c("line", {
438
+ key: 0,
439
+ x1: m.value * h + m.value / 2,
440
+ x2: m.value * h + m.value / 2,
441
+ y1: 0,
442
+ y2: Math.max(i.value.height, 0),
443
+ stroke: l.minimapIndicatorColor,
444
+ "stroke-linecap": "round",
445
+ "stroke-dasharray": "2",
446
+ "stroke-width": "1"
447
+ }, null, 8, rt)) : x("", !0)
448
+ ]))), 256)) : x("", !0),
449
+ (v(!0), c(ie, null, oe(q.value, (n, h) => (v(), c("rect", {
450
+ x: m.value * h,
451
+ y: 0,
452
+ height: Math.max(i.value.height, 0),
453
+ width: m.value < 0 ? 0 : m.value,
454
+ fill: "transparent",
455
+ style: $([{ "pointer-events": "all !important" }, {
456
+ cursor: n >= l.valueStart && n < l.valueEnd && l.enableSelectionDrag ? C.value ? "grabbing" : "grab" : "default"
457
+ }]),
458
+ onMousedown: a[0] || (a[0] = (k) => C.value = !0),
459
+ onMouseup: a[1] || (a[1] = (k) => C.value = !1),
460
+ onMouseenter: (k) => Se(n),
461
+ onMouseleave: a[2] || (a[2] = (k) => {
462
+ M.value = null, b("trapMouse", null);
463
+ })
464
+ }, null, 44, st))), 256))
465
+ ], 8, Qe))
466
+ ])) : x("", !0),
467
+ dt,
468
+ d("div", {
469
+ class: L({
470
+ "range-highlight": !0,
471
+ move: l.enableSelectionDrag
472
+ }),
473
+ onMousedown: a[3] || (a[3] = (n) => C.value = !0),
474
+ onMouseup: a[4] || (a[4] = (n) => C.value = !1),
475
+ style: $({
476
+ ...S.value,
477
+ cursor: C.value ? "grabbing" : "grab"
478
+ })
479
+ }, null, 38),
480
+ l.enableRangeHandles ? ue((v(), c("input", {
481
+ ref_key: "rangeStart",
482
+ ref: z,
483
+ key: `range-min${we.value}`,
484
+ type: "range",
485
+ class: L({ "range-left": !0, "range-handle": !0, "range-minimap": y.value && l.verticalHandles }),
486
+ min: l.min,
487
+ max: l.max,
488
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => u.value = n),
489
+ onInput: be
490
+ }, null, 42, vt)), [
491
+ [re, u.value]
492
+ ]) : x("", !0),
493
+ l.enableRangeHandles ? ue((v(), c("input", {
494
+ key: 2,
495
+ ref_key: "rangeEnd",
496
+ ref: I,
497
+ type: "range",
498
+ class: L({ "range-right": !0, "range-handle": !0, "range-minimap": y.value && l.verticalHandles }),
499
+ min: l.min,
500
+ max: l.max,
501
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => s.value = n),
502
+ onInput: ye
503
+ }, null, 42, ct)), [
504
+ [re, s.value]
505
+ ]) : x("", !0),
506
+ l.labelLeft ? (v(), c("div", {
507
+ key: 3,
508
+ ref_key: "tooltipLeft",
509
+ ref: W,
510
+ class: L({
511
+ "range-tooltip": !0,
512
+ "range-tooltip-visible": N.value,
513
+ "range-tooltip-arrow": S.value.arrowLeft && !l.verticalHandles,
514
+ "range-tooltip-arrow-left": !S.value.arrowLeft && !l.verticalHandles
515
+ }),
516
+ style: $({
517
+ left: S.value.tooltipLeft,
518
+ color: G(ce)(l.selectColor),
519
+ backgroundColor: l.selectColor,
520
+ border: `1px solid ${w.value}`
521
+ })
522
+ }, se(l.labelLeft), 7)) : x("", !0),
523
+ l.labelRight ? (v(), c("div", {
524
+ key: 4,
525
+ ref_key: "tooltipRight",
526
+ ref: X,
527
+ class: L({
528
+ "range-tooltip": !0,
529
+ "range-tooltip-visible": N.value,
530
+ "range-tooltip-arrow": S.value.arrowRight && !l.verticalHandles,
531
+ "range-tooltip-arrow-right": !S.value.arrowRight && !l.verticalHandles
532
+ }),
533
+ style: $({
534
+ left: S.value.tooltipRight,
535
+ color: G(ce)(l.selectColor),
536
+ backgroundColor: l.selectColor,
537
+ border: `1px solid ${w.value}`
538
+ })
539
+ }, se(l.labelRight), 7)) : x("", !0)
540
+ ], 544)
541
+ ], 544));
542
+ }
543
+ }, bt = /* @__PURE__ */ Ge(mt, [["__scopeId", "data-v-d4b50266"]]);
544
+ export {
545
+ bt as S
546
+ };
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-Bu958azG.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),r=require("./useNestedProp-C6A3gxy9.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as n, Fragment as f, createElementVNode as p, normalizeStyle as d, unref as e, toDisplayString as g, createCommentVNode as o, renderSlot as r } from "vue";
2
- import { u as c } from "./useNestedProp-Ka0R_Yqa.js";
2
+ import { u as c } from "./useNestedProp-nx1ZIRNV.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),p=require("./index-KJL8ra_6.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}const g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
1
+ "use strict";const t=require("vue"),p=require("./index-DBFjPsZ3.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}const g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
@@ -1,5 +1,5 @@
1
1
  import { ref as u, onMounted as b, onUnmounted as g, computed as p, openBlock as v, createBlock as x, Teleport as h, createElementBlock as S, normalizeClass as k, normalizeStyle as $, renderSlot as c, createElementVNode as C, createCommentVNode as B } from "vue";
2
- import { s as F } from "./index-B8Eaq54E.js";
2
+ import { s as F } from "./index-C2mIRYI5.js";
3
3
  function N({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24, blockShiftY: f = !1 }) {
4
4
  const l = u(0), s = u(a);
5
5
  if (e && o) {
@@ -15709,7 +15709,7 @@ function me(o, l) {
15709
15709
  const r = O(o);
15710
15710
  return ut(r, l);
15711
15711
  }
15712
- const ye = C(() => import("./Arrow-C7AmfY-d.js")), xe = C(() => import("./vue-data-ui-DgmXnSUU.js")), we = C(() => import("./vue-ui-3d-bar-CqiW8qFZ.js")), Le = C(() => import("./vue-ui-accordion--5td7b94.js")), ve = C(() => import("./vue-ui-age-pyramid-Bsg0z9ei.js")), _e = C(() => import("./vue-ui-annotator-obnYFvvq.js")), Se = C(() => import("./vue-ui-candlestick-Cc-Ee4zv.js")), ze = C(() => import("./vue-ui-chestnut-CekC1moT.js")), Re = C(() => import("./vue-ui-cursor-CISKzkNu.js")), Oe = C(() => import("./vue-ui-dashboard-w7Ts26Xc.js")), Te = C(() => import("./vue-ui-digits-kaBR5FUU.js")), Pe = C(() => import("./vue-ui-donut-BVuaExCl.js")), Ne = C(() => import("./vue-ui-donut-evolution-DAmX1OX-.js")), Me = C(() => import("./vue-ui-dumbbell-CrQNRN_m.js")), Ve = C(() => import("./vue-ui-flow-B0lCe4G8.js")), Ie = C(() => import("./vue-ui-galaxy-BcwunIK3.js")), We = C(() => import("./vue-ui-gauge-C4W4OAXQ.js")), Ue = C(() => import("./vue-ui-heatmap-C3WHfifV.js")), Ge = C(() => import("./BaseIcon-Dzpk4O8L.js")), He = C(() => import("./vue-ui-kpi-B3XhowYx.js")), Ye = C(() => import("./vue-ui-mini-loader-Cca7PA4v.js")), $e = C(() => import("./vue-ui-molecule-BcZNqWfD.js")), Xe = C(() => import("./vue-ui-mood-radar-HjLL0ZZ8.js")), Ke = C(() => import("./vue-ui-nested-donuts-BIqySYG_.js")), je = C(() => import("./vue-ui-onion-muCAMEG8.js")), qe = C(() => import("./vue-ui-parallel-coordinate-plot-DYOlnKPw.js")), Qe = C(() => import("./vue-ui-quadrant-TU5fWoEw.js")), Ze = C(() => import("./vue-ui-quick-chart-DzuUofFN.js")), Je = C(() => import("./vue-ui-radar-C0WA20R8.js")), ol = C(() => import("./vue-ui-rating-DUcyhyrN.js")), rl = C(() => import("./vue-ui-relation-circle-BYlIjbUK.js")), tl = C(() => import("./vue-ui-rings-w4KQSfym.js")), el = C(() => import("./vue-ui-scatter-CfgCA3Di.js")), ll = C(() => import("./vue-ui-screenshot-BsD3ySuA.js")), al = C(() => import("./vue-ui-skeleton-DpadzgbS.js")), cl = C(() => import("./vue-ui-smiley-BHqeb-Ol.js")), nl = C(() => import("./vue-ui-sparkhistogram-HgBi5OvP.js")), sl = C(() => import("./vue-ui-sparkstackbar-Ch3JvFBq.js")), il = C(() => import("./vue-ui-spark-trend-NAcB2zZ1.js")), ul = C(() => import("./vue-ui-sparkbar-BPpSxe5Z.js")), dl = C(() => import("./vue-ui-sparkgauge-C1mW3KbZ.js")), bl = C(() => import("./vue-ui-sparkline-BABBXY2c.js")), fl = C(() => import("./vue-ui-strip-plot-RZu43QbP.js")), gl = C(() => import("./vue-ui-table-CJ2gGmYi.js")), Al = C(() => import("./vue-ui-table-heatmap-B_TfeHsa.js")), Cl = C(() => import("./vue-ui-table-sparkline-DqMH7xbY.js")), hl = C(() => import("./vue-ui-thermometer-D7aR0elr.js")), Fl = C(() => import("./vue-ui-timer-C9sO9AoQ.js")), kl = C(() => import("./vue-ui-tiremarks-KvOyYNVW.js")), El = C(() => import("./vue-ui-treemap-BPxLXNZ5.js")), pl = C(() => import("./vue-ui-vertical-bar-BAdSzbYU.js")), Dl = C(() => import("./vue-ui-waffle-CW1UVf-q.js")), Bl = C(() => import("./vue-ui-wheel-DAwYc7XY.js")), ml = C(() => import("./vue-ui-word-cloud-BzfYkI08.js")), yl = C(() => import("./vue-ui-xy-CJYGMbMt.js")), xl = C(() => import("./vue-ui-xy-canvas-sB1dmJQc.js")), wl = C(() => import("./vue-ui-carousel-table-B6v1NycN.js")), Ll = C(() => import("./vue-ui-gizmo-D4VHyFmN.js")), vl = C(() => import("./vue-ui-stackbar-JIEn0g7t.js")), _l = C(() => import("./vue-ui-bullet-yKEVhE17.js")), Sl = C(() => import("./vue-ui-funnel-Cinv1hUx.js")), zl = C(() => import("./vue-ui-history-plot-dJp-Lai2.js")), Rl = C(() => import("./vue-ui-pattern-COZLnLYz.js"));
15712
+ const ye = C(() => import("./Arrow-HywvQFIb.js")), xe = C(() => import("./vue-data-ui-DN2kou23.js")), we = C(() => import("./vue-ui-3d-bar-CX4cgFJW.js")), Le = C(() => import("./vue-ui-accordion-CbgAyykZ.js")), ve = C(() => import("./vue-ui-age-pyramid-DKNcamFG.js")), _e = C(() => import("./vue-ui-annotator-CUzQpHGa.js")), Se = C(() => import("./vue-ui-candlestick-CvHVfAu7.js")), ze = C(() => import("./vue-ui-chestnut-BckiQcJs.js")), Re = C(() => import("./vue-ui-cursor-DE0HZhQL.js")), Oe = C(() => import("./vue-ui-dashboard-DtWvVA-k.js")), Te = C(() => import("./vue-ui-digits-CFjurLzc.js")), Pe = C(() => import("./vue-ui-donut-DRIPG4qf.js")), Ne = C(() => import("./vue-ui-donut-evolution-DfKOKQFY.js")), Me = C(() => import("./vue-ui-dumbbell-Dx6YSKly.js")), Ve = C(() => import("./vue-ui-flow-DOipmqqm.js")), Ie = C(() => import("./vue-ui-galaxy-vP8xR-K-.js")), We = C(() => import("./vue-ui-gauge-QEApv_T5.js")), Ue = C(() => import("./vue-ui-heatmap-CY7z5uPC.js")), Ge = C(() => import("./BaseIcon-CL3j-fI9.js")), He = C(() => import("./vue-ui-kpi-CR1lNimt.js")), Ye = C(() => import("./vue-ui-mini-loader-B2k4Zk3c.js")), $e = C(() => import("./vue-ui-molecule-DAz6ytsR.js")), Xe = C(() => import("./vue-ui-mood-radar-CwFs3yx-.js")), Ke = C(() => import("./vue-ui-nested-donuts-CyOGu99e.js")), je = C(() => import("./vue-ui-onion-D-PSIMqW.js")), qe = C(() => import("./vue-ui-parallel-coordinate-plot-CSq_ztwh.js")), Qe = C(() => import("./vue-ui-quadrant-A1-scvDl.js")), Ze = C(() => import("./vue-ui-quick-chart-CfAX6N6x.js")), Je = C(() => import("./vue-ui-radar-BF_X5reX.js")), ol = C(() => import("./vue-ui-rating-CPhAqTMY.js")), rl = C(() => import("./vue-ui-relation-circle-C4WtlzjR.js")), tl = C(() => import("./vue-ui-rings-BxKf1fKQ.js")), el = C(() => import("./vue-ui-scatter-Dy-p7Wtu.js")), ll = C(() => import("./vue-ui-screenshot-CgPpGG9k.js")), al = C(() => import("./vue-ui-skeleton-Cb2qrhYT.js")), cl = C(() => import("./vue-ui-smiley-U2CIWUwg.js")), nl = C(() => import("./vue-ui-sparkhistogram-PvQgia6F.js")), sl = C(() => import("./vue-ui-sparkstackbar-BDw738BK.js")), il = C(() => import("./vue-ui-spark-trend-BMtR1Pi0.js")), ul = C(() => import("./vue-ui-sparkbar-D0VeUaEb.js")), dl = C(() => import("./vue-ui-sparkgauge-Hp3ybBWb.js")), bl = C(() => import("./vue-ui-sparkline-CI-MxWXp.js")), fl = C(() => import("./vue-ui-strip-plot-3V5Roils.js")), gl = C(() => import("./vue-ui-table-LiO7zYPI.js")), Al = C(() => import("./vue-ui-table-heatmap-BDydCyHc.js")), Cl = C(() => import("./vue-ui-table-sparkline-CpMMEuyJ.js")), hl = C(() => import("./vue-ui-thermometer-ccjAdXXK.js")), Fl = C(() => import("./vue-ui-timer-Bz5-5ROu.js")), kl = C(() => import("./vue-ui-tiremarks-N_GjxnG-.js")), El = C(() => import("./vue-ui-treemap-CaxwLYar.js")), pl = C(() => import("./vue-ui-vertical-bar-CIFczbF9.js")), Dl = C(() => import("./vue-ui-waffle-C_HzXt-Y.js")), Bl = C(() => import("./vue-ui-wheel-BHszQkHF.js")), ml = C(() => import("./vue-ui-word-cloud-C0v5gBrv.js")), yl = C(() => import("./vue-ui-xy-CCXp8odX.js")), xl = C(() => import("./vue-ui-xy-canvas-CdgdK8ol.js")), wl = C(() => import("./vue-ui-carousel-table-DCi_yXu2.js")), Ll = C(() => import("./vue-ui-gizmo-Cr3L2fkb.js")), vl = C(() => import("./vue-ui-stackbar-CMe20-6p.js")), _l = C(() => import("./vue-ui-bullet-Bthmg1VV.js")), Sl = C(() => import("./vue-ui-funnel-CSRH6I73.js")), zl = C(() => import("./vue-ui-history-plot-B0UmKljg.js")), Rl = C(() => import("./vue-ui-pattern-COZLnLYz.js"));
15713
15713
  export {
15714
15714
  pe as $,
15715
15715
  at as A,