vue-data-ui 2.4.62 → 2.4.63

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 (156) hide show
  1. package/dist/{Arrow-C0lmBG2-.cjs → Arrow-BpZBF7Ak.cjs} +1 -1
  2. package/dist/{Arrow-E7FjAwN-.js → Arrow-nOy23OOV.js} +1 -1
  3. package/dist/{BaseIcon-DRLxlrSt.js → BaseIcon-CrqNvGTs.js} +1 -1
  4. package/dist/{BaseIcon-DK3C9OCq.cjs → BaseIcon-rzIvDo2Q.cjs} +1 -1
  5. package/dist/{DataTable-BANy6PnS.js → DataTable-BBh7_ttv.js} +2 -2
  6. package/dist/{DataTable-BLSMgcEN.cjs → DataTable-CCJGHIVo.cjs} +1 -1
  7. package/dist/{Legend-CAgxjrra.cjs → Legend-CqilK5CI.cjs} +1 -1
  8. package/dist/{Legend-pWq2tKCl.js → Legend-WOejx9sp.js} +1 -1
  9. package/dist/{PackageVersion-1NslmM8M.js → PackageVersion-dR8EUy_P.js} +1 -1
  10. package/dist/{PackageVersion-D3dK8oA3.cjs → PackageVersion-eZ5Dmuid.cjs} +1 -1
  11. package/dist/{PenAndPaper-CdXSbSZY.js → PenAndPaper-CrXlqi9I.js} +3 -3
  12. package/dist/{PenAndPaper-CYFIR9j7.cjs → PenAndPaper-D_w2N2qM.cjs} +1 -1
  13. package/dist/{Shape-BtKtwV0v.js → Shape-CwmKWYzq.js} +1 -1
  14. package/dist/{Shape-DPztPWor.cjs → Shape-qkkvCKyp.cjs} +1 -1
  15. package/dist/Slicer-DvdU-uf8.js +484 -0
  16. package/dist/Slicer-oNEtv1s3.cjs +1 -0
  17. package/dist/{Title-BhL7TMa_.cjs → Title-CoNtoGH9.cjs} +1 -1
  18. package/dist/{Title-DPefeOY7.js → Title-obqvTiXP.js} +1 -1
  19. package/dist/{Tooltip-C72f83eg.js → Tooltip-BK-ACGDE.js} +1 -1
  20. package/dist/{Tooltip-C5qSWrXO.cjs → Tooltip-Dz4wVJkz.cjs} +1 -1
  21. package/dist/index-ChOY3hT9.cjs +9 -0
  22. package/dist/{index-B-k71vpj.js → index-Z_vzxZTo.js} +7 -3
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -0
  25. package/dist/types/vue-data-ui.d.ts +4 -0
  26. package/dist/{useNestedProp-BeXDUo1v.js → useNestedProp-Buhi5uyL.js} +1 -1
  27. package/dist/{useNestedProp-CxwPeWts.cjs → useNestedProp-CA8PjFJH.cjs} +1 -1
  28. package/dist/{usePrinter-BK-n-gRN.js → usePrinter-Ck0oiMlt.js} +1 -1
  29. package/dist/{usePrinter-CMvfTteH.cjs → usePrinter-c3c7_uAW.cjs} +1 -1
  30. package/dist/{vue-data-ui-fOomZU3e.js → vue-data-ui-BGng_wXI.js} +60 -60
  31. package/dist/{vue-data-ui-CG-HnqKG.cjs → vue-data-ui-CihfnXFF.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-C95HBkYv.js → vue-ui-3d-bar-B7k4LzL1.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-DLrJ9TM8.cjs → vue-ui-3d-bar-BsxFEhMN.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-DWAg7tbw.js → vue-ui-accordion-CV2-8b1O.js} +3 -3
  37. package/dist/{vue-ui-accordion-IZgkGqto.cjs → vue-ui-accordion-CZ8AlriN.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-BxBU5CCr.js → vue-ui-age-pyramid-Bc4DaLIy.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-BSKXGW3a.cjs → vue-ui-age-pyramid-C1crnKk7.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-DupDeVZx.js → vue-ui-annotator-DLbAn_Mz.js} +1 -1
  41. package/dist/{vue-ui-annotator-GSRzlJ-N.cjs → vue-ui-annotator-DNKcAaEh.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-BD0MrIvY.cjs → vue-ui-bullet-CEO3AsWC.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-Dgr-mCAc.js → vue-ui-bullet-ClODxNrk.js} +8 -8
  44. package/dist/{vue-ui-candlestick-DpcBRWha.cjs → vue-ui-candlestick-B00zQB4B.cjs} +2 -2
  45. package/dist/{vue-ui-candlestick-DYupl4j5.js → vue-ui-candlestick-DI7t6jqz.js} +75 -73
  46. package/dist/{vue-ui-carousel-table-DNwWV8de.js → vue-ui-carousel-table-5jXlkslq.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-CNS6ZzTc.cjs → vue-ui-carousel-table-Bm2D_0pZ.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-OaTraMv4.js → vue-ui-chestnut-CRZsXRUH.js} +8 -8
  49. package/dist/{vue-ui-chestnut-AVSIntNp.cjs → vue-ui-chestnut-DP6-Gie6.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-CJJ78nNY.cjs → vue-ui-cursor-BGe0gZK8.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-Dlo68AuK.js → vue-ui-cursor-DA8bsmEc.js} +2 -2
  52. package/dist/{vue-ui-dashboard-CzF8PeC6.js → vue-ui-dashboard-BZD-6Pz7.js} +43 -43
  53. package/dist/vue-ui-dashboard-D2v4oSiB.cjs +1 -0
  54. package/dist/{vue-ui-digits-BHkW0Bi1.js → vue-ui-digits-CKvrL9Wc.js} +2 -2
  55. package/dist/{vue-ui-digits-BSE3CEuv.cjs → vue-ui-digits-DC8ZuHOj.cjs} +1 -1
  56. package/dist/{vue-ui-donut-DxH9EkK_.cjs → vue-ui-donut-D5mDCNky.cjs} +1 -1
  57. package/dist/{vue-ui-donut-CeestESD.js → vue-ui-donut-DDayabSz.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-BDwV-Ncf.cjs → vue-ui-donut-evolution-AlCGLfzy.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-DGl_J0JB.js → vue-ui-donut-evolution-CBsxmrTO.js} +127 -125
  60. package/dist/{vue-ui-dumbbell-ChipHJ9p.cjs → vue-ui-dumbbell-B9cELz3z.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-DlELQHtq.js → vue-ui-dumbbell-DB7jNjQP.js} +10 -10
  62. package/dist/{vue-ui-flow-BowAWyMA.cjs → vue-ui-flow-CCM51fzQ.cjs} +1 -1
  63. package/dist/{vue-ui-flow-BZIiidbF.js → vue-ui-flow-Cw1Vfk_e.js} +9 -9
  64. package/dist/{vue-ui-funnel-DLzHnLhb.cjs → vue-ui-funnel--4JhwVwW.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-Bc7BrgHa.js → vue-ui-funnel-CU72MuGg.js} +9 -9
  66. package/dist/{vue-ui-galaxy-DesiP-Ev.cjs → vue-ui-galaxy-BJrkygeR.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-t5R2Vz1t.js → vue-ui-galaxy-BKInqdOk.js} +11 -11
  68. package/dist/{vue-ui-gauge-CYx4jt71.js → vue-ui-gauge-DBPB11Eo.js} +7 -7
  69. package/dist/{vue-ui-gauge-_-1DxTe0.cjs → vue-ui-gauge-Uo_1rs0Z.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DVcY_OyD.js → vue-ui-gizmo-BSDdKP_q.js} +3 -3
  71. package/dist/{vue-ui-gizmo-DeO_vFhP.cjs → vue-ui-gizmo-D7hHruEs.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-CWqJiKrJ.cjs → vue-ui-heatmap-CysVyR78.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-wLcx9ex3.js → vue-ui-heatmap-DhoDd6I_.js} +10 -10
  74. package/dist/{vue-ui-history-plot-D7VjQwLk.js → vue-ui-history-plot-C1IcR5tn.js} +11 -11
  75. package/dist/{vue-ui-history-plot-FJnUgshF.cjs → vue-ui-history-plot-D97p0C8E.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-C4tl3luu.js → vue-ui-kpi-C43FJnkn.js} +3 -3
  77. package/dist/{vue-ui-kpi-DcGp2H4d.cjs → vue-ui-kpi-Cu2PoWud.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-B41vyg7t.cjs → vue-ui-mini-loader-Bdr0862F.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-DZ-Rxr07.js → vue-ui-mini-loader-DgPnsWaW.js} +2 -2
  80. package/dist/{vue-ui-molecule-CUiAEOC9.cjs → vue-ui-molecule-CEJzQ7RY.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-51NSY4Z8.js → vue-ui-molecule-CvxtHapj.js} +11 -11
  82. package/dist/{vue-ui-mood-radar-DG3MA8BZ.js → vue-ui-mood-radar-B6EmzBGf.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-DkXzwU8x.cjs → vue-ui-mood-radar-DIn_Oars.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-Be9FYX8F.js → vue-ui-nested-donuts-D4pAkaZH.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-Cerc7ILW.cjs → vue-ui-nested-donuts-c2pJF_ex.cjs} +1 -1
  86. package/dist/{vue-ui-onion-BhNd2hbK.js → vue-ui-onion-98XPhnVF.js} +11 -11
  87. package/dist/{vue-ui-onion-BpIopgzq.cjs → vue-ui-onion-DHOhnx2s.cjs} +1 -1
  88. package/dist/{vue-ui-parallel-coordinate-plot-D1z9zPyF.cjs → vue-ui-parallel-coordinate-plot-CrVVxflg.cjs} +1 -1
  89. package/dist/{vue-ui-parallel-coordinate-plot-CSll-Vtd.js → vue-ui-parallel-coordinate-plot-DLOtv_NO.js} +12 -12
  90. package/dist/{vue-ui-quadrant-mw0cCB8b.js → vue-ui-quadrant-DWM3zE7x.js} +12 -12
  91. package/dist/{vue-ui-quadrant-303aQCVj.cjs → vue-ui-quadrant-DbDQtcxz.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-6sXw4LvX.js → vue-ui-quick-chart-CFVAisN4.js} +214 -212
  93. package/dist/{vue-ui-quick-chart-DJfdl_Oc.cjs → vue-ui-quick-chart-DP0hSesI.cjs} +3 -3
  94. package/dist/{vue-ui-radar-B5c80iuj.cjs → vue-ui-radar-CDhwXWfs.cjs} +1 -1
  95. package/dist/{vue-ui-radar-DT2PXZ3W.js → vue-ui-radar-CNBN5GF9.js} +12 -12
  96. package/dist/{vue-ui-rating-x4INc3T_.js → vue-ui-rating-CEfg8aGb.js} +2 -2
  97. package/dist/{vue-ui-rating-RKyIWluu.cjs → vue-ui-rating-cHW6zh7i.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-OTUjuy7-.js → vue-ui-relation-circle-92LvehQf.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-T_cM-vkm.cjs → vue-ui-relation-circle-olDAN0lU.cjs} +1 -1
  100. package/dist/{vue-ui-rings-B1c_TNA0.js → vue-ui-rings-Bp0WLW4E.js} +11 -11
  101. package/dist/{vue-ui-rings-CEdur365.cjs → vue-ui-rings-BwvTmRCE.cjs} +1 -1
  102. package/dist/{vue-ui-scatter-CjI7xkJm.js → vue-ui-scatter-6wDrQ5fP.js} +12 -12
  103. package/dist/{vue-ui-scatter-BM6iF4yl.cjs → vue-ui-scatter-BvdgtUHX.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-DoMe-dMI.js → vue-ui-screenshot-CIAlcAvq.js} +1 -1
  105. package/dist/{vue-ui-screenshot-wadHKtkZ.cjs → vue-ui-screenshot-ChB7VFUO.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-DSXzxNMC.js → vue-ui-skeleton-BMRe3SzB.js} +3 -3
  107. package/dist/{vue-ui-skeleton-BgEjqaz9.cjs → vue-ui-skeleton-DlnPFtb4.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-DgfHBeGm.js → vue-ui-smiley-CN5FWJ1G.js} +2 -2
  109. package/dist/{vue-ui-smiley-D5KYgUQi.cjs → vue-ui-smiley-DkrQ5gDD.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-DhPXSFpU.cjs → vue-ui-spark-trend-BlOdnAb4.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-CEU0TB9l.js → vue-ui-spark-trend-MNkadB41.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-C8TB_YCv.js → vue-ui-sparkbar-CBPO2mUa.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-8vDQ9r97.cjs → vue-ui-sparkbar-ChTbwY11.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-DnYyNQQn.cjs → vue-ui-sparkgauge-B7yvQfZW.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-DCXX3ZDS.js → vue-ui-sparkgauge-VLkIev3p.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-CEmGA3kW.js → vue-ui-sparkhistogram-DbOxX4Ks.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-BQGAFZWZ.cjs → vue-ui-sparkhistogram-mYU6RAK_.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-HQaxAzTw.cjs → vue-ui-sparkline-DO496Tk5.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-BXvaVl-R.js → vue-ui-sparkline-D_-31O2S.js} +4 -4
  120. package/dist/{vue-ui-sparkstackbar-DbtbyF5W.cjs → vue-ui-sparkstackbar-KaFMlIAL.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-CI0uvrlh.js → vue-ui-sparkstackbar-gW7rpJmQ.js} +5 -5
  122. package/dist/{vue-ui-stackbar-CYJLXaU0.cjs → vue-ui-stackbar-CYHsSzEK.cjs} +2 -2
  123. package/dist/{vue-ui-stackbar-D-_Fp5r4.js → vue-ui-stackbar-vIyS6oag.js} +80 -78
  124. package/dist/{vue-ui-strip-plot-pJsObuy6.js → vue-ui-strip-plot-4o1zAxG_.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-DUBjl9cR.cjs → vue-ui-strip-plot-MlP5pDNx.cjs} +1 -1
  126. package/dist/{vue-ui-table-CbvpwN05.cjs → vue-ui-table-B0PFrkLI.cjs} +1 -1
  127. package/dist/{vue-ui-table-s7IHsGac.js → vue-ui-table-DWNrd7zM.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-sAuA3lIc.cjs → vue-ui-table-heatmap-4k74Ux7O.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-BAlngE3L.js → vue-ui-table-heatmap-BSKCS8Lq.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-ClrZ-BC3.js → vue-ui-table-sparkline-BrImSTh0.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-CjaF-Zjq.cjs → vue-ui-table-sparkline-DCCogh2-.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-C_sqnPkS.js → vue-ui-thermometer-DHEoT4yB.js} +7 -7
  133. package/dist/{vue-ui-thermometer-fcy4HsN6.cjs → vue-ui-thermometer-DswmMXiU.cjs} +1 -1
  134. package/dist/{vue-ui-timer-DeRjcfir.js → vue-ui-timer-BNFihNgK.js} +5 -5
  135. package/dist/{vue-ui-timer-B0lLVb4J.cjs → vue-ui-timer-Tv94CYqL.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-CBnEObhg.cjs → vue-ui-tiremarks-B2kuKLe-.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-DCOJWvBx.js → vue-ui-tiremarks-DzaUfiET.js} +7 -7
  138. package/dist/{vue-ui-treemap-SPe7NLHg.cjs → vue-ui-treemap-Dmt3RPF2.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-UU9kd93i.js → vue-ui-treemap-qKZJcEYe.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-Do1beV1x.js → vue-ui-vertical-bar-CMXtevyE.js} +11 -11
  141. package/dist/{vue-ui-vertical-bar-DtPjSOTd.cjs → vue-ui-vertical-bar-CQ_qEJ_O.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-B1XP-Qon.js → vue-ui-waffle-DjJoezg-.js} +11 -11
  143. package/dist/{vue-ui-waffle-CCWlLaex.cjs → vue-ui-waffle-fWQvVbAH.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-BHVTUvG3.cjs → vue-ui-wheel-2qIHyZe1.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-D6IUmaVZ.js → vue-ui-wheel-DOrWSWt6.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-BvjWoqnE.cjs → vue-ui-word-cloud-Tgg5jCE6.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-AubuQjfw.js → vue-ui-word-cloud-UPPKGsXt.js} +10 -10
  148. package/dist/{vue-ui-xy-CTLJncUe.cjs → vue-ui-xy-CMde0Kq-.cjs} +3 -3
  149. package/dist/{vue-ui-xy-canvas-De-MHu0Y.cjs → vue-ui-xy-canvas-Dm3YUQ3g.cjs} +2 -2
  150. package/dist/{vue-ui-xy-canvas-DHU2wBAP.js → vue-ui-xy-canvas-paHHRtqs.js} +227 -225
  151. package/dist/{vue-ui-xy-BMJpPJeS.js → vue-ui-xy-zCJv-Vao.js} +35 -33
  152. package/package.json +1 -1
  153. package/dist/Slicer-BggxvZRw.cjs +0 -1
  154. package/dist/Slicer-p4IqkHkJ.js +0 -423
  155. package/dist/index-CC7tVh7F.cjs +0 -9
  156. package/dist/vue-ui-dashboard-fYhjRzSY.cjs +0 -1
@@ -0,0 +1,484 @@
1
+ import { useCssVars as pe, ref as c, computed as s, watch as F, onMounted as xe, onBeforeUnmount as ye, openBlock as m, createElementBlock as h, createElementVNode as u, normalizeStyle as x, createVNode as be, renderSlot as Se, createCommentVNode as y, unref as ke, Fragment as U, renderList as j, normalizeClass as we, withDirectives as Z, vModelText as q, toDisplayString as G, pushScopeId as Ne, popScopeId as Ce } from "vue";
2
+ import $e from "./BaseIcon-CrqNvGTs.js";
3
+ import { t as Me, u as Ee } from "./useResponsive-CoxXLe23.js";
4
+ import { c as Le, R as Q, Q as J, X as Re } from "./index-Z_vzxZTo.js";
5
+ import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
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
+ }, Ie = {
13
+ key: 0,
14
+ class: "minimap",
15
+ style: { width: "100%" }
16
+ }, Fe = ["xmlns", "viewBox"], Be = ["id"], Te = ["stop-color"], Ve = /* @__PURE__ */ K(() => /* @__PURE__ */ u("stop", {
17
+ offset: "100%",
18
+ "stop-color": "transparent"
19
+ }, null, -1)), Ae = ["d", "stroke"], Xe = ["x", "width", "height", "fill", "rx"], He = ["d", "fill"], Oe = ["x", "width", "height", "rx", "fill"], We = ["x", "width", "height", "fill", "rx"], Ue = ["d", "fill"], je = ["d", "stroke"], Ze = ["cx", "cy", "stroke", "fill"], qe = ["cx", "cy", "stroke", "fill"], Ge = ["x1", "x2", "y2", "stroke"], Qe = ["x", "height", "width", "onMouseenter"], Je = /* @__PURE__ */ K(() => /* @__PURE__ */ u("div", { class: "slider-track" }, null, -1)), Ke = ["min", "max"], Ye = ["min", "max"], _e = {
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
+ },
123
+ emits: ["update:start", "update:end", "reset", "trapMouse"],
124
+ setup(l, { expose: Y, emit: p }) {
125
+ const t = l;
126
+ pe((e) => ({
127
+ f72a9d20: te.value,
128
+ "1c6039e4": S.value,
129
+ "731e6756": ae.value,
130
+ "06d509d8": l.selectColor,
131
+ "67ae3ba2": le.value
132
+ }));
133
+ const C = c(null), o = c(t.min), r = c(t.max), b = s(() => !!t.minimap.length), $ = c(Le()), _ = s(() => t.refreshEndPoint === null ? t.max : t.refreshEndPoint), ee = s(() => {
134
+ const e = t.max - t.min, a = (o.value - t.min) / e * 100, n = (r.value - t.min) / e * 100;
135
+ return {
136
+ left: `${a}%`,
137
+ width: `${n - a}%`,
138
+ background: t.selectColor
139
+ };
140
+ }), te = s(() => t.inputColor), le = s(() => t.background), ae = s(() => `${t.selectColor}33`), S = s(() => t.borderColor), B = s(() => {
141
+ let e = [];
142
+ for (let a = 0; a < t.minimap.length; a += 1)
143
+ e.push(a);
144
+ return e;
145
+ });
146
+ function T() {
147
+ p("reset");
148
+ }
149
+ function ne() {
150
+ Number(o.value) > Number(r.value) - 1 && (o.value = Number(r.value) - 1), p("update:start", Number(o.value));
151
+ }
152
+ function ie() {
153
+ Number(r.value) < Number(o.value) + 1 && (r.value = Number(o.value) + 1), p("update:end", Number(r.value));
154
+ }
155
+ F(
156
+ () => t.min,
157
+ (e) => {
158
+ Number(o.value) < Number(e) && (o.value = Number(e)), Number(r.value) < Number(e) && (r.value = Number(e));
159
+ }
160
+ ), F(
161
+ () => t.max,
162
+ (e) => {
163
+ Number(o.value) > Number(e) && (o.value = Number(e)), Number(r.value) > Number(e) && (r.value = Number(e));
164
+ }
165
+ );
166
+ const M = c(null), i = c({
167
+ width: 1,
168
+ height: 1
169
+ }), N = c(null);
170
+ xe(() => {
171
+ if (b.value) {
172
+ const e = Me(() => {
173
+ const { width: a, height: n } = Ee({
174
+ chart: M.value
175
+ });
176
+ i.value.width = a, i.value.height = n - 47;
177
+ });
178
+ N.value = new ResizeObserver(e), N.value.observe(M.value);
179
+ }
180
+ }), ye(() => {
181
+ N.value && N.value.disconnect();
182
+ });
183
+ const d = s(() => t.minimap.length ? i.value.width / t.minimap.length : 0), f = s(() => {
184
+ if (!t.minimap.length) return [];
185
+ const e = Math.max(...t.minimap), a = Math.min(...t.minimap) - 10, n = e - (a > 0 ? 0 : a), v = t.minimap.map((he, fe) => {
186
+ const ge = he - a;
187
+ return {
188
+ x: i.value.width / t.minimap.length * fe + d.value / 2,
189
+ y: i.value.height - ge / n * (i.value.height * 0.9)
190
+ };
191
+ }), w = t.smoothMinimap ? Q(v) : J(v), I = [...v].slice(t.valueStart, t.valueEnd), me = t.smoothMinimap ? Q(I) : J(I);
192
+ return {
193
+ fullSet: w,
194
+ selectionSet: me,
195
+ sliced: I,
196
+ firstPlot: v[t.valueStart],
197
+ lastPlot: v[t.valueEnd - 1]
198
+ };
199
+ }), g = s(() => ({
200
+ x: d.value * o.value + d.value / 2,
201
+ width: i.value.width * ((r.value - o.value) / t.max) - d.value
202
+ })), ue = s(() => ({
203
+ left: 0,
204
+ color: t.textColor,
205
+ fontSize: `${t.fontSize}px`,
206
+ top: b.value ? "28px" : "-28px",
207
+ pointerEvents: "none"
208
+ })), oe = s(() => ({
209
+ right: 0,
210
+ color: t.textColor,
211
+ fontSize: `${t.fontSize}px`,
212
+ top: b.value ? "28px" : "-28px",
213
+ direction: "rtl",
214
+ pointerEvents: "none"
215
+ })), k = c(t.minimapSelectedIndex);
216
+ F(() => t.minimapSelectedIndex, (e) => {
217
+ k.value = e + t.valueStart;
218
+ }, { immediate: !0 });
219
+ function re(e) {
220
+ k.value = e, e >= t.valueStart && e < t.valueEnd && p("trapMouse", e - t.valueStart);
221
+ }
222
+ const se = c(0), E = c(null), L = c(null);
223
+ function R(e) {
224
+ o.value = e, E.value && (E.value.value = e), p("update:start", Number(o.value));
225
+ }
226
+ function D(e) {
227
+ r.value = e, L.value && (L.value.value = e), p("update:end", Number(r.value));
228
+ }
229
+ const V = s(() => t.valueEnd - t.valueStart), P = c(!1);
230
+ let z = c(null);
231
+ const de = s(() => C.value ? (C.value.getBoundingClientRect().width - 48) / (t.max - t.min) : 20), A = (e) => {
232
+ if (!t.enableSelectionDrag)
233
+ return;
234
+ const a = e.type === "touchstart";
235
+ if ((a ? e.targetTouches[0].target : e.target).classList.contains("range-handle"))
236
+ return;
237
+ P.value = !0, z.value = a ? e.targetTouches[0].clientX : e.clientX;
238
+ const v = a ? ce : X, w = a ? ve : O;
239
+ window.addEventListener(a ? "touchmove" : "mousemove", v, { passive: !1 }), window.addEventListener(a ? "touchend" : "mouseup", w);
240
+ };
241
+ function X(e) {
242
+ H(e.clientX);
243
+ }
244
+ function ce(e) {
245
+ e.target.classList.contains("range-handle") || (e.preventDefault(), H(e.targetTouches[0].clientX));
246
+ }
247
+ function H(e) {
248
+ if (!P.value) return;
249
+ const a = e - z.value;
250
+ if (Math.abs(a) > de.value) {
251
+ if (a > 0) {
252
+ if (Number(r.value) + 1 <= t.max) {
253
+ const n = Number(r.value) + 1;
254
+ D(n), R(n - V.value);
255
+ }
256
+ } else if (Number(o.value) - 1 >= t.min) {
257
+ const n = Number(o.value) - 1;
258
+ R(n), D(n + V.value);
259
+ }
260
+ z.value = e;
261
+ }
262
+ }
263
+ function O() {
264
+ W("mousemove", "mouseup");
265
+ }
266
+ function ve() {
267
+ W("touchmove", "touchend");
268
+ }
269
+ function W(e, a) {
270
+ P.value = !1, window.removeEventListener(e, X), window.removeEventListener(a, O);
271
+ }
272
+ return Y({
273
+ setStartValue: R,
274
+ setEndValue: D
275
+ }), (e, a) => (m(), h("div", {
276
+ "data-html2canvas-ignore": "",
277
+ style: { padding: "0 24px" },
278
+ class: "vue-data-ui-zoom",
279
+ ref_key: "zoomWrapper",
280
+ ref: C,
281
+ onMousedown: A,
282
+ onTouchstart: A
283
+ }, [
284
+ u("div", Pe, [
285
+ l.valueStart !== l.refreshStartPoint || l.valueEnd !== _.value ? (m(), h("div", ze, [
286
+ l.useResetSlot ? Se(e.$slots, "reset-action", {
287
+ key: 1,
288
+ reset: T
289
+ }, void 0, !0) : (m(), h("button", {
290
+ key: 0,
291
+ "data-cy-reset": "",
292
+ tabindex: "0",
293
+ role: "button",
294
+ class: "vue-data-ui-refresh-button",
295
+ style: x({
296
+ top: b.value ? "36px" : "-16px",
297
+ pointerEvents: "all !important"
298
+ }),
299
+ onClick: T
300
+ }, [
301
+ be($e, {
302
+ name: "refresh",
303
+ stroke: l.textColor
304
+ }, null, 8, ["stroke"])
305
+ ], 4))
306
+ ])) : y("", !0)
307
+ ]),
308
+ u("div", {
309
+ class: "double-range-slider",
310
+ ref_key: "minimapWrapper",
311
+ ref: M,
312
+ style: { "z-index": "0" }
313
+ }, [
314
+ b.value ? (m(), h("div", Ie, [
315
+ (m(), h("svg", {
316
+ xmlns: ke(Re),
317
+ viewBox: `0 0 ${i.value.width < 0 ? 0 : i.value.width} ${i.value.height < 0 ? 0 : i.value.height}`
318
+ }, [
319
+ u("defs", null, [
320
+ u("linearGradient", {
321
+ id: $.value,
322
+ x1: "0%",
323
+ y1: "0%",
324
+ x2: "0%",
325
+ y2: "100%"
326
+ }, [
327
+ u("stop", {
328
+ offset: "0%",
329
+ "stop-color": `${l.minimapLineColor}50`
330
+ }, null, 8, Te),
331
+ Ve
332
+ ], 8, Be)
333
+ ]),
334
+ u("path", {
335
+ d: `M${f.value.fullSet}`,
336
+ stroke: `${l.minimapLineColor}`,
337
+ fill: "none",
338
+ "stroke-width": "1",
339
+ "stroke-linecap": "round",
340
+ "stroke-linejoin": "round",
341
+ style: { opacity: "1" }
342
+ }, null, 8, Ae),
343
+ u("rect", {
344
+ x: g.value.x,
345
+ width: g.value.width < 0 ? 0 : g.value.width,
346
+ height: Math.max(i.value.height, 0),
347
+ y: 0,
348
+ fill: S.value,
349
+ rx: l.minimapSelectionRadius,
350
+ stroke: "none"
351
+ }, null, 8, Xe),
352
+ u("path", {
353
+ d: `M${d.value / 2},${Math.max(i.value.height, 0)} ${f.value.fullSet} L${i.value.width - d.value / 2},${Math.max(i.value.height, 0)}Z`,
354
+ fill: `url(#${$.value})`,
355
+ stroke: "none",
356
+ style: { opacity: "1" }
357
+ }, null, 8, He),
358
+ u("rect", {
359
+ x: g.value.x,
360
+ width: g.value.width < 0 ? 0 : g.value.width,
361
+ height: Math.max(i.value.height, 0),
362
+ y: 0,
363
+ rx: l.minimapSelectionRadius,
364
+ fill: S.value
365
+ }, null, 8, Oe),
366
+ u("rect", {
367
+ x: g.value.x,
368
+ width: g.value.width < 0 ? 0 : g.value.width,
369
+ height: Math.max(i.value.height, 0),
370
+ y: 0,
371
+ fill: l.minimapSelectedColor,
372
+ rx: l.minimapSelectionRadius,
373
+ style: x({
374
+ opacity: l.minimapSelectedColorOpacity
375
+ })
376
+ }, null, 12, We),
377
+ u("path", {
378
+ d: `M${f.value.sliced[0].x},${Math.max(i.value.height, 0)} ${f.value.selectionSet} L${f.value.sliced.at(-1).x},${Math.max(i.value.height, 0)}Z`,
379
+ fill: `url(#${$.value})`,
380
+ stroke: "none",
381
+ style: { opacity: "1" }
382
+ }, null, 8, Ue),
383
+ u("path", {
384
+ d: `M ${f.value.selectionSet}`,
385
+ stroke: `${l.minimapLineColor}`,
386
+ fill: "transparent",
387
+ "stroke-width": "2",
388
+ "stroke-linecap": "round",
389
+ "stroke-linejoin": "round"
390
+ }, null, 8, je),
391
+ u("circle", {
392
+ cx: f.value.firstPlot.x,
393
+ cy: f.value.firstPlot.y,
394
+ "stroke-width": "0.5",
395
+ stroke: S.value,
396
+ r: "3",
397
+ fill: l.minimapLineColor
398
+ }, null, 8, Ze),
399
+ u("circle", {
400
+ cx: f.value.lastPlot.x,
401
+ cy: f.value.lastPlot.y,
402
+ "stroke-width": "0.5",
403
+ stroke: S.value,
404
+ r: "3",
405
+ fill: l.minimapLineColor
406
+ }, null, 8, qe),
407
+ k.value !== null ? (m(!0), h(U, { key: 0 }, j(B.value, (n, v) => (m(), h("g", null, [
408
+ k.value === n && n >= l.valueStart && n < l.valueEnd ? (m(), h("line", {
409
+ key: 0,
410
+ x1: d.value * v + d.value / 2,
411
+ x2: d.value * v + d.value / 2,
412
+ y1: 0,
413
+ y2: Math.max(i.value.height, 0),
414
+ stroke: l.minimapIndicatorColor,
415
+ "stroke-linecap": "round",
416
+ "stroke-dasharray": "2",
417
+ "stroke-width": "1"
418
+ }, null, 8, Ge)) : y("", !0)
419
+ ]))), 256)) : y("", !0),
420
+ (m(!0), h(U, null, j(B.value, (n, v) => (m(), h("rect", {
421
+ x: d.value * v,
422
+ y: 0,
423
+ height: Math.max(i.value.height, 0),
424
+ width: d.value < 0 ? 0 : d.value,
425
+ fill: "transparent",
426
+ style: x([{ "pointer-events": "all !important" }, {
427
+ cursor: n >= l.valueStart && n < l.valueEnd && l.enableSelectionDrag ? "move" : "default"
428
+ }]),
429
+ onMouseenter: (w) => re(n),
430
+ onMouseleave: a[0] || (a[0] = (w) => {
431
+ k.value = null, p("trapMouse", null);
432
+ })
433
+ }, null, 44, Qe))), 256))
434
+ ], 8, Fe))
435
+ ])) : y("", !0),
436
+ Je,
437
+ u("div", {
438
+ class: we({
439
+ "range-highlight": !0,
440
+ move: l.enableSelectionDrag
441
+ }),
442
+ style: x(ee.value)
443
+ }, null, 6),
444
+ l.enableRangeHandles ? Z((m(), h("input", {
445
+ ref_key: "rangeStart",
446
+ ref: E,
447
+ key: `range-min${se.value}`,
448
+ type: "range",
449
+ class: "range-left range-handle",
450
+ min: l.min,
451
+ max: l.max,
452
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => o.value = n),
453
+ onInput: ne
454
+ }, null, 40, Ke)), [
455
+ [q, o.value]
456
+ ]) : y("", !0),
457
+ u("div", {
458
+ class: "thumb-label thumb-label-left",
459
+ style: x(ue.value)
460
+ }, G(l.labelLeft), 5),
461
+ l.enableRangeHandles ? Z((m(), h("input", {
462
+ key: 2,
463
+ ref_key: "rangeEnd",
464
+ ref: L,
465
+ type: "range",
466
+ class: "range-right range-handle",
467
+ min: l.min,
468
+ max: l.max,
469
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => r.value = n),
470
+ onInput: ie
471
+ }, null, 40, Ye)), [
472
+ [q, r.value]
473
+ ]) : y("", !0),
474
+ u("div", {
475
+ class: "thumb-label thumb-label-right",
476
+ style: x(oe.value)
477
+ }, G(l.labelRight), 5)
478
+ ], 512)
479
+ ], 544));
480
+ }
481
+ }, it = /* @__PURE__ */ De(_e, [["__scopeId", "data-v-e79aac89"]]);
482
+ export {
483
+ it as S
484
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),oe=require("./BaseIcon-rzIvDo2Q.cjs"),T=require("./useResponsive-BJ7DTGpm.cjs"),h=require("./index-ChOY3hT9.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=a=>(e.pushScopeId("data-v-e79aac89"),a=a(),e.popScopeId(),a),re={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},ue={key:0,style:{width:"100%",position:"relative"}},se={key:0,class:"minimap",style:{width:"100%"}},ce=["xmlns","viewBox"],de=["id"],me=["stop-color"],ve=A(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),he=["d","stroke"],fe=["x","width","height","fill","rx"],pe=["d","fill"],ge=["x","width","height","rx","fill"],ye=["x","width","height","fill","rx"],xe=["d","fill"],Se=["d","stroke"],be=["cx","cy","stroke","fill"],ke=["cx","cy","stroke","fill"],Ne=["x1","x2","y2","stroke"],Ee=["x","height","width","onMouseenter"],we=A(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),Ce=["min","max"],Ve=["min","max"],Be={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"},refreshStartPoint:{type:Number,default:0},refreshEndPoint:{type:Number,default:null},enableRangeHandles:{type:Boolean,default:!1},enableSelectionDrag:{type:Boolean,default:!0}},emits:["update:start","update:end","reset","trapMouse"],setup(a,{expose:X,emit:v}){const l=a;e.useCssVars(t=>({f72a9d20:O.value,"1c6039e4":p.value,"731e6756":U.value,"06d509d8":a.selectColor,"67ae3ba2":W.value}));const S=e.ref(null),r=e.ref(l.min),u=e.ref(l.max),f=e.computed(()=>!!l.minimap.length),b=e.ref(h.createUid()),q=e.computed(()=>l.refreshEndPoint===null?l.max:l.refreshEndPoint),H=e.computed(()=>{const t=l.max-l.min,n=(r.value-l.min)/t*100,o=(u.value-l.min)/t*100;return{left:`${n}%`,width:`${o-n}%`,background:l.selectColor}}),O=e.computed(()=>l.inputColor),W=e.computed(()=>l.background),U=e.computed(()=>`${l.selectColor}33`),p=e.computed(()=>l.borderColor),$=e.computed(()=>{let t=[];for(let n=0;n<l.minimap.length;n+=1)t.push(n);return t});function L(){v("reset")}function j(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),v("update:start",Number(r.value))}function Z(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),v("update:end",Number(u.value))}e.watch(()=>l.min,t=>{Number(r.value)<Number(t)&&(r.value=Number(t)),Number(u.value)<Number(t)&&(u.value=Number(t))}),e.watch(()=>l.max,t=>{Number(r.value)>Number(t)&&(r.value=Number(t)),Number(u.value)>Number(t)&&(u.value=Number(t))});const k=e.ref(null),i=e.ref({width:1,height:1}),x=e.ref(null);e.onMounted(()=>{if(f.value){const t=T.throttle(()=>{const{width:n,height:o}=T.useResponsive({chart:k.value});i.value.width=n,i.value.height=o-47});x.value=new ResizeObserver(t),x.value.observe(k.value)}}),e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});const s=e.computed(()=>l.minimap.length?i.value.width/l.minimap.length:0),d=e.computed(()=>{if(!l.minimap.length)return[];const t=Math.max(...l.minimap),n=Math.min(...l.minimap)-10,o=t-(n>0?0:n),c=l.minimap.map((le,ae)=>{const ne=le-n;return{x:i.value.width/l.minimap.length*ae+s.value/2,y:i.value.height-ne/o*(i.value.height*.9)}}),y=l.smoothMinimap?h.createSmoothPath(c):h.createStraightPath(c),M=[...c].slice(l.valueStart,l.valueEnd),te=l.smoothMinimap?h.createSmoothPath(M):h.createStraightPath(M);return{fullSet:y,selectionSet:te,sliced:M,firstPlot:c[l.valueStart],lastPlot:c[l.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:i.value.width*((u.value-r.value)/l.max)-s.value})),G=e.computed(()=>({left:0,color:l.textColor,fontSize:`${l.fontSize}px`,top:f.value?"28px":"-28px",pointerEvents:"none"})),J=e.computed(()=>({right:0,color:l.textColor,fontSize:`${l.fontSize}px`,top:f.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),g=e.ref(l.minimapSelectedIndex);e.watch(()=>l.minimapSelectedIndex,t=>{g.value=t+l.valueStart},{immediate:!0});function K(t){g.value=t,t>=l.valueStart&&t<l.valueEnd&&v("trapMouse",t-l.valueStart)}const Q=e.ref(0),N=e.ref(null),E=e.ref(null);function w(t){r.value=t,N.value&&(N.value.value=t),v("update:start",Number(r.value))}function C(t){u.value=t,E.value&&(E.value.value=t),v("update:end",Number(u.value))}const z=e.computed(()=>l.valueEnd-l.valueStart),V=e.ref(!1);let B=e.ref(null);const Y=e.computed(()=>S.value?(S.value.getBoundingClientRect().width-48)/(l.max-l.min):20),D=t=>{if(!l.enableSelectionDrag)return;const n=t.type==="touchstart";if((n?t.targetTouches[0].target:t.target).classList.contains("range-handle"))return;V.value=!0,B.value=n?t.targetTouches[0].clientX:t.clientX;const c=n?_:P,y=n?ee:F;window.addEventListener(n?"touchmove":"mousemove",c,{passive:!1}),window.addEventListener(n?"touchend":"mouseup",y)};function P(t){R(t.clientX)}function _(t){t.target.classList.contains("range-handle")||(t.preventDefault(),R(t.targetTouches[0].clientX))}function R(t){if(!V.value)return;const n=t-B.value;if(Math.abs(n)>Y.value){if(n>0){if(Number(u.value)+1<=l.max){const o=Number(u.value)+1;C(o),w(o-z.value)}}else if(Number(r.value)-1>=l.min){const o=Number(r.value)-1;w(o),C(o+z.value)}B.value=t}}function F(){I("mousemove","mouseup")}function ee(){I("touchmove","touchend")}function I(t,n){V.value=!1,window.removeEventListener(t,P),window.removeEventListener(n,F)}return X({setStartValue:w,setEndValue:C}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",style:{padding:"0 24px"},class:"vue-data-ui-zoom",ref_key:"zoomWrapper",ref:S,onMousedown:D,onTouchstart:D},[e.createElementVNode("div",re,[a.valueStart!==a.refreshStartPoint||a.valueEnd!==q.value?(e.openBlock(),e.createElementBlock("div",ue,[a.useResetSlot?e.renderSlot(t.$slots,"reset-action",{key:1,reset:L},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:f.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:L},[e.createVNode(oe.default,{name:"refresh",stroke:a.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:k,style:{"z-index":"0"}},[f.value?(e.openBlock(),e.createElementBlock("div",se,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(h.XMLNS),viewBox:`0 0 ${i.value.width<0?0:i.value.width} ${i.value.height<0?0:i.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:b.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${a.minimapLineColor}50`},null,8,me),ve],8,de)]),e.createElementVNode("path",{d:`M${d.value.fullSet}`,stroke:`${a.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,he),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(i.value.height,0),y:0,fill:p.value,rx:a.minimapSelectionRadius,stroke:"none"},null,8,fe),e.createElementVNode("path",{d:`M${s.value/2},${Math.max(i.value.height,0)} ${d.value.fullSet} L${i.value.width-s.value/2},${Math.max(i.value.height,0)}Z`,fill:`url(#${b.value})`,stroke:"none",style:{opacity:"1"}},null,8,pe),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(i.value.height,0),y:0,rx:a.minimapSelectionRadius,fill:p.value},null,8,ge),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(i.value.height,0),y:0,fill:a.minimapSelectedColor,rx:a.minimapSelectionRadius,style:e.normalizeStyle({opacity:a.minimapSelectedColorOpacity})},null,12,ye),e.createElementVNode("path",{d:`M${d.value.sliced[0].x},${Math.max(i.value.height,0)} ${d.value.selectionSet} L${d.value.sliced.at(-1).x},${Math.max(i.value.height,0)}Z`,fill:`url(#${b.value})`,stroke:"none",style:{opacity:"1"}},null,8,xe),e.createElementVNode("path",{d:`M ${d.value.selectionSet}`,stroke:`${a.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Se),e.createElementVNode("circle",{cx:d.value.firstPlot.x,cy:d.value.firstPlot.y,"stroke-width":"0.5",stroke:p.value,r:"3",fill:a.minimapLineColor},null,8,be),e.createElementVNode("circle",{cx:d.value.lastPlot.x,cy:d.value.lastPlot.y,"stroke-width":"0.5",stroke:p.value,r:"3",fill:a.minimapLineColor},null,8,ke),g.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList($.value,(o,c)=>(e.openBlock(),e.createElementBlock("g",null,[g.value===o&&o>=a.valueStart&&o<a.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*c+s.value/2,x2:s.value*c+s.value/2,y1:0,y2:Math.max(i.value.height,0),stroke:a.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,Ne)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,(o,c)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*c,y:0,height:Math.max(i.value.height,0),width:s.value<0?0:s.value,fill:"transparent",style:e.normalizeStyle([{"pointer-events":"all !important"},{cursor:o>=a.valueStart&&o<a.valueEnd&&a.enableSelectionDrag?"move":"default"}]),onMouseenter:y=>K(o),onMouseleave:n[0]||(n[0]=y=>{g.value=null,v("trapMouse",null)})},null,44,Ee))),256))],8,ce))])):e.createCommentVNode("",!0),we,e.createElementVNode("div",{class:e.normalizeClass({"range-highlight":!0,move:a.enableSelectionDrag}),style:e.normalizeStyle(H.value)},null,6),a.enableRangeHandles?e.withDirectives((e.openBlock(),e.createElementBlock("input",{ref_key:"rangeStart",ref:N,key:`range-min${Q.value}`,type:"range",class:"range-left range-handle",min:a.min,max:a.max,"onUpdate:modelValue":n[1]||(n[1]=o=>r.value=o),onInput:j},null,40,Ce)),[[e.vModelText,r.value]]):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(G.value)},e.toDisplayString(a.labelLeft),5),a.enableRangeHandles?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,ref_key:"rangeEnd",ref:E,type:"range",class:"range-right range-handle",min:a.min,max:a.max,"onUpdate:modelValue":n[2]||(n[2]=o=>u.value=o),onInput:Z},null,40,Ve)),[[e.vModelText,u.value]]):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(J.value)},e.toDisplayString(a.labelRight),5)],512)],544))}},Me=ie._export_sfc(Be,[["__scopeId","data-v-e79aac89"]]);exports.Slicer=Me;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-CxwPeWts.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-CA8PjFJH.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-BeXDUo1v.js";
2
+ import { u as c } from "./useNestedProp-Buhi5uyL.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -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-B-k71vpj.js";
2
+ import { s as F } from "./index-Z_vzxZTo.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) {
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),p=require("./index-CC7tVh7F.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-ChOY3hT9.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;