vue-data-ui 2.3.66 → 2.3.67

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 (147) hide show
  1. package/dist/{Arrow-DPnMmAX7.js → Arrow-C8pYyZqD.js} +1 -1
  2. package/dist/{Arrow-uesE2kaL.cjs → Arrow-Dswup7Lq.cjs} +1 -1
  3. package/dist/{BaseIcon-BNFf4B_v.js → BaseIcon-Dz58O3w1.js} +1 -1
  4. package/dist/{BaseIcon-3dGIQkTt.cjs → BaseIcon-wCGYJ8GM.cjs} +1 -1
  5. package/dist/{DataTable-BwHWRlRZ.js → DataTable-CzvZIRDs.js} +2 -2
  6. package/dist/{DataTable-UBogHlHz.cjs → DataTable-Dr67tL_4.cjs} +1 -1
  7. package/dist/{Legend-CsVEDSh6.js → Legend-C2DZGZN5.js} +1 -1
  8. package/dist/{Legend-DomGAell.cjs → Legend-CkIdFaKE.cjs} +1 -1
  9. package/dist/{Shape-D-NzWRg3.cjs → Shape-BfT5b6-S.cjs} +1 -1
  10. package/dist/{Shape-D3yIJobN.js → Shape-qXMEmkXY.js} +1 -1
  11. package/dist/Slicer-3itdmkZf.cjs +1 -0
  12. package/dist/Slicer-CnIWgBPY.js +381 -0
  13. package/dist/{Title-CRj-Ysyr.cjs → Title-BYDRRvqX.cjs} +1 -1
  14. package/dist/{Title-DbTGPg4G.js → Title-BxitYokc.js} +1 -1
  15. package/dist/{Tooltip-DBdcH3mQ.cjs → Tooltip-CtRqM9Sw.cjs} +1 -1
  16. package/dist/{Tooltip-u79R5W5y.js → Tooltip-DTntJRyb.js} +1 -1
  17. package/dist/index-DnCegWge.cjs +4 -0
  18. package/dist/{index-CguVaFlt.js → index-fMHmzYJu.js} +3 -2
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +1 -0
  21. package/dist/types/vue-data-ui.d.ts +1 -0
  22. package/dist/{useNestedProp-DmS8KxmW.cjs → useNestedProp-18FTwhUW.cjs} +1 -1
  23. package/dist/{useNestedProp-BbEbJmgv.js → useNestedProp-lzTC0cjC.js} +1 -1
  24. package/dist/{usePrinter-ClsMRVJG.js → usePrinter-BEVwOH5x.js} +1 -1
  25. package/dist/{usePrinter-qYDc_jVR.cjs → usePrinter-C94KiYaY.cjs} +1 -1
  26. package/dist/{vue-data-ui-BQxedlG9.js → vue-data-ui-BG25mzqo.js} +57 -57
  27. package/dist/{vue-data-ui-DbkGvG6G.cjs → vue-data-ui-CqFeVAMl.cjs} +1 -1
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/{vue-ui-3d-bar-DFd8LLYs.js → vue-ui-3d-bar-D8WIzocy.js} +7 -7
  31. package/dist/{vue-ui-3d-bar-CsQlP4Di.cjs → vue-ui-3d-bar-DyVzM9lj.cjs} +1 -1
  32. package/dist/{vue-ui-accordion-x_3F7J52.cjs → vue-ui-accordion-CG_G9ock.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-w15FGKRN.js → vue-ui-accordion-CVzTuENA.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-frmKw0vt.js → vue-ui-age-pyramid-BZEiDo6X.js} +8 -8
  35. package/dist/{vue-ui-age-pyramid-DVfxc6Ov.cjs → vue-ui-age-pyramid-DgAJ_4pC.cjs} +1 -1
  36. package/dist/{vue-ui-annotator-BWF8Pe0l.js → vue-ui-annotator-DYMGXQSF.js} +1 -1
  37. package/dist/{vue-ui-annotator-DeTV1vC_.cjs → vue-ui-annotator-DwwLMn8x.cjs} +1 -1
  38. package/dist/{vue-ui-candlestick-ryLshJfb.cjs → vue-ui-candlestick-DMh_omoZ.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C4VhdwJ6.js → vue-ui-candlestick-F7a1z8rF.js} +9 -9
  40. package/dist/{vue-ui-carousel-table-B8w17Va9.js → vue-ui-carousel-table-BAbXjbOY.js} +4 -4
  41. package/dist/{vue-ui-carousel-table-DVNL0Pst.cjs → vue-ui-carousel-table-BQZBWVfB.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-C6D2XKD_.cjs → vue-ui-chestnut-DGUOcpUb.cjs} +1 -1
  43. package/dist/{vue-ui-chestnut-J3y-gLdr.js → vue-ui-chestnut-bdGmk0m5.js} +6 -6
  44. package/dist/{vue-ui-cursor-uZQJBHDI.js → vue-ui-cursor-_Hme39yS.js} +2 -2
  45. package/dist/{vue-ui-cursor-8X87Qqag.cjs → vue-ui-cursor-zRPYiTzg.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-BvxPzSpX.cjs → vue-ui-dashboard-BxcYVoZr.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-B9cXpm-f.js → vue-ui-dashboard-sMYoIdL3.js} +2 -2
  48. package/dist/{vue-ui-digits-CH8cnwd1.cjs → vue-ui-digits-Do-yAjSx.cjs} +1 -1
  49. package/dist/{vue-ui-digits-CGRdypIC.js → vue-ui-digits-yn6cZZpI.js} +2 -2
  50. package/dist/{vue-ui-donut-Wc9_Wp7Z.js → vue-ui-donut-CZGAyjMJ.js} +9 -9
  51. package/dist/{vue-ui-donut-B6-Z6EDh.cjs → vue-ui-donut-D8By144q.cjs} +1 -1
  52. package/dist/{vue-ui-donut-evolution-BYYu5GGU.js → vue-ui-donut-evolution-euuIoSwG.js} +9 -9
  53. package/dist/{vue-ui-donut-evolution-DGEUEHTT.cjs → vue-ui-donut-evolution-wRc663rx.cjs} +1 -1
  54. package/dist/{vue-ui-dumbbell-MhRtKyw1.cjs → vue-ui-dumbbell-DzDU6BtH.cjs} +1 -1
  55. package/dist/{vue-ui-dumbbell-CYMWl8i6.js → vue-ui-dumbbell-GwPAVNAr.js} +8 -8
  56. package/dist/{vue-ui-flow-Ch6-m_HE.cjs → vue-ui-flow-2tDYyk_d.cjs} +1 -1
  57. package/dist/{vue-ui-flow-B1HsQT8G.js → vue-ui-flow-D-2Yx4Pd.js} +7 -7
  58. package/dist/{vue-ui-galaxy-CFlBhbpn.js → vue-ui-galaxy-Cr1PHA7e.js} +9 -9
  59. package/dist/{vue-ui-galaxy-B5IQYeE2.cjs → vue-ui-galaxy-k1zIeVWl.cjs} +1 -1
  60. package/dist/{vue-ui-gauge-DQyUybt9.js → vue-ui-gauge-DrG1p_lu.js} +5 -5
  61. package/dist/{vue-ui-gauge-YclVOv9i.cjs → vue-ui-gauge-DyWEB9zv.cjs} +1 -1
  62. package/dist/{vue-ui-gizmo-Dc8Oh1GS.js → vue-ui-gizmo-BUeQIgPm.js} +2 -2
  63. package/dist/{vue-ui-gizmo-BV0cRYJR.cjs → vue-ui-gizmo-Cf6DtKdF.cjs} +1 -1
  64. package/dist/{vue-ui-heatmap-Dxet06AN.js → vue-ui-heatmap-1s92iamk.js} +8 -8
  65. package/dist/{vue-ui-heatmap-DvTbIgBC.cjs → vue-ui-heatmap-B9gzhzl-.cjs} +1 -1
  66. package/dist/{vue-ui-kpi-Obs0pp5K.cjs → vue-ui-kpi-Cocglkc1.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-6Ug3wB5-.js → vue-ui-kpi-DXrL1517.js} +3 -3
  68. package/dist/{vue-ui-mini-loader--9JCcmel.cjs → vue-ui-mini-loader-3ssTbcFo.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-DO8L0uoR.js → vue-ui-mini-loader-D1MAsGWr.js} +2 -2
  70. package/dist/{vue-ui-molecule-Di8d69m_.cjs → vue-ui-molecule-DFD-6XKb.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-DUqT-xxF.js → vue-ui-molecule-QWFA_72V.js} +9 -9
  72. package/dist/{vue-ui-mood-radar-hwK3JZHx.cjs → vue-ui-mood-radar-DBq_gQ0i.cjs} +1 -1
  73. package/dist/{vue-ui-mood-radar-UMlgOP0N.js → vue-ui-mood-radar-DXLP2L3n.js} +9 -9
  74. package/dist/{vue-ui-nested-donuts-CoydBQ1Z.cjs → vue-ui-nested-donuts-Cx4Ia5Ga.cjs} +1 -1
  75. package/dist/{vue-ui-nested-donuts-DFWDYNRb.js → vue-ui-nested-donuts-Cx57mbbY.js} +9 -9
  76. package/dist/{vue-ui-onion-Dxd8NNV8.cjs → vue-ui-onion-CApJ-Npg.cjs} +1 -1
  77. package/dist/{vue-ui-onion-CXscsP8f.js → vue-ui-onion-CE4wSxPC.js} +9 -9
  78. package/dist/{vue-ui-parallel-coordinate-plot-B4y-tLrW.cjs → vue-ui-parallel-coordinate-plot-D8LWLRdK.cjs} +1 -1
  79. package/dist/{vue-ui-parallel-coordinate-plot-8fsiFsCK.js → vue-ui-parallel-coordinate-plot-DVqDX4Xb.js} +10 -10
  80. package/dist/{vue-ui-quadrant-C8ZGy7Vz.cjs → vue-ui-quadrant-BNyw9TMO.cjs} +1 -1
  81. package/dist/{vue-ui-quadrant-CtaVeR8A.js → vue-ui-quadrant-XSVao9uA.js} +10 -10
  82. package/dist/{vue-ui-quick-chart-BkbnCL9J.js → vue-ui-quick-chart-Ik_UH2Wj.js} +370 -363
  83. package/dist/vue-ui-quick-chart-uwdSvb9u.cjs +15 -0
  84. package/dist/{vue-ui-radar-FzvdUuQW.cjs → vue-ui-radar-B5aRCCKL.cjs} +1 -1
  85. package/dist/{vue-ui-radar-CYpFzHVj.js → vue-ui-radar-CR6ezAzt.js} +10 -10
  86. package/dist/{vue-ui-rating-Pbbo9WlF.js → vue-ui-rating-CD_nWk1T.js} +2 -2
  87. package/dist/{vue-ui-rating-CQMIQetd.cjs → vue-ui-rating-CguNsO-T.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-DyVNLOkn.cjs → vue-ui-relation-circle-8FZkM92K.cjs} +1 -1
  89. package/dist/{vue-ui-relation-circle-DXN96O8B.js → vue-ui-relation-circle-DT2nom_x.js} +5 -5
  90. package/dist/{vue-ui-rings-Py5qpBEi.cjs → vue-ui-rings-CNY7UKKQ.cjs} +1 -1
  91. package/dist/{vue-ui-rings-RaL8pTXF.js → vue-ui-rings-cpj5NfzL.js} +9 -9
  92. package/dist/{vue-ui-scatter-C5-IZPAD.js → vue-ui-scatter-Bar7v9mt.js} +10 -10
  93. package/dist/{vue-ui-scatter-C0Qbl8if.cjs → vue-ui-scatter-lt_SEmmy.cjs} +1 -1
  94. package/dist/{vue-ui-screenshot-xDbAEPnl.js → vue-ui-screenshot-DLqFrK48.js} +1 -1
  95. package/dist/{vue-ui-screenshot-5dSbg20c.cjs → vue-ui-screenshot-DgPB2-6h.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-D5jxUSy8.cjs → vue-ui-skeleton-Cey15-vY.cjs} +1 -1
  97. package/dist/{vue-ui-skeleton-ChHLL5Hw.js → vue-ui-skeleton-DiJmBrEY.js} +2 -2
  98. package/dist/{vue-ui-smiley-CMoVMgzF.js → vue-ui-smiley-9d8vQDje.js} +2 -2
  99. package/dist/{vue-ui-smiley-DELBP4YY.cjs → vue-ui-smiley-NcQqECQm.cjs} +1 -1
  100. package/dist/{vue-ui-spark-trend-CwTDE8hW.js → vue-ui-spark-trend-RIw8O12_.js} +4 -4
  101. package/dist/{vue-ui-spark-trend-Bd--ueZ_.cjs → vue-ui-spark-trend-gLgFrogO.cjs} +1 -1
  102. package/dist/{vue-ui-sparkbar-BI9p7mG3.cjs → vue-ui-sparkbar-BJZv7_r3.cjs} +1 -1
  103. package/dist/{vue-ui-sparkbar-DlHNW471.js → vue-ui-sparkbar-DpnX31Vt.js} +3 -3
  104. package/dist/{vue-ui-sparkgauge-OmKjwPSm.cjs → vue-ui-sparkgauge-2nfXMS4J.cjs} +1 -1
  105. package/dist/{vue-ui-sparkgauge-Bv4PqAAa.js → vue-ui-sparkgauge-Ci1EXG01.js} +3 -3
  106. package/dist/{vue-ui-sparkhistogram-Du2G89Uf.cjs → vue-ui-sparkhistogram-B9Hzrj17.cjs} +1 -1
  107. package/dist/{vue-ui-sparkhistogram-Caz0-A2v.js → vue-ui-sparkhistogram-o1cCgVjJ.js} +4 -4
  108. package/dist/{vue-ui-sparkline-Cb9oSi7e.cjs → vue-ui-sparkline-Bpbwgdjl.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-BjBx0Xph.js → vue-ui-sparkline-CTFZOTQ4.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-DAvtpGxR.cjs → vue-ui-sparkstackbar-D1a4pKvC.cjs} +1 -1
  111. package/dist/{vue-ui-sparkstackbar-D0h3xCgn.js → vue-ui-sparkstackbar-Dci-TIxt.js} +3 -3
  112. package/dist/{vue-ui-stackbar-D6Twi4kA.js → vue-ui-stackbar-DX86sbcN.js} +10 -10
  113. package/dist/{vue-ui-stackbar-DtGhGaha.cjs → vue-ui-stackbar-uyUtl8SO.cjs} +1 -1
  114. package/dist/{vue-ui-strip-plot-hssak3_i.js → vue-ui-strip-plot-Br3W0ejH.js} +9 -9
  115. package/dist/{vue-ui-strip-plot-BKZS4u9o.cjs → vue-ui-strip-plot-C2NjIy5-.cjs} +1 -1
  116. package/dist/{vue-ui-table-DbA-NarQ.js → vue-ui-table-BFs9-zs7.js} +1 -1
  117. package/dist/{vue-ui-table-HbHx9LFn.cjs → vue-ui-table-Ctw9daYW.cjs} +1 -1
  118. package/dist/{vue-ui-table-heatmap-Bp2AW6SZ.js → vue-ui-table-heatmap-DqoiRtjC.js} +4 -4
  119. package/dist/{vue-ui-table-heatmap-YqkKo7Rw.cjs → vue-ui-table-heatmap-zAbifnaM.cjs} +1 -1
  120. package/dist/{vue-ui-table-sparkline-D6tpky88.cjs → vue-ui-table-sparkline-DuUY9yJu.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-CSCRSC9Z.js → vue-ui-table-sparkline-h4J419FI.js} +5 -5
  122. package/dist/{vue-ui-thermometer-BtNbxKWF.cjs → vue-ui-thermometer-Bt-SnP1Y.cjs} +1 -1
  123. package/dist/{vue-ui-thermometer-C4D5DYLq.js → vue-ui-thermometer-D_4mS8Z8.js} +5 -5
  124. package/dist/{vue-ui-timer-CjSaHRia.cjs → vue-ui-timer-CMsje-f2.cjs} +1 -1
  125. package/dist/{vue-ui-timer-B1gf42-7.js → vue-ui-timer-CPZm7Dif.js} +4 -4
  126. package/dist/{vue-ui-tiremarks-B-E_m-JM.cjs → vue-ui-tiremarks-Bcm8DSj6.cjs} +1 -1
  127. package/dist/{vue-ui-tiremarks-2w8HGpJh.js → vue-ui-tiremarks-CVBbjezc.js} +5 -5
  128. package/dist/{vue-ui-treemap-BratMgOF.js → vue-ui-treemap-1rEDHWrf.js} +9 -9
  129. package/dist/{vue-ui-treemap-TQu-XVV4.cjs → vue-ui-treemap-CB1gz8gX.cjs} +1 -1
  130. package/dist/{vue-ui-vertical-bar-BWhOc_BN.js → vue-ui-vertical-bar-CfGS6Snt.js} +9 -9
  131. package/dist/{vue-ui-vertical-bar-CUSxr8J5.cjs → vue-ui-vertical-bar-DHFaoQcu.cjs} +1 -1
  132. package/dist/{vue-ui-waffle-BmjYKwYK.cjs → vue-ui-waffle-COf_Yi5Y.cjs} +1 -1
  133. package/dist/{vue-ui-waffle-CrunUoiX.js → vue-ui-waffle-D-niDah6.js} +9 -9
  134. package/dist/{vue-ui-wheel-8pydvFdd.js → vue-ui-wheel-BPcde5q6.js} +5 -5
  135. package/dist/{vue-ui-wheel-49jAAVu7.cjs → vue-ui-wheel-CKoly9Ay.cjs} +1 -1
  136. package/dist/{vue-ui-word-cloud-D5-ouQkK.js → vue-ui-word-cloud-C9Ok-uiw.js} +7 -7
  137. package/dist/{vue-ui-word-cloud-C89Siwo7.cjs → vue-ui-word-cloud-CPb5G65W.cjs} +1 -1
  138. package/dist/{vue-ui-xy-BZkuRafq.js → vue-ui-xy-BjpH25yC.js} +488 -481
  139. package/dist/vue-ui-xy-C9T7Qybt.cjs +3 -0
  140. package/dist/{vue-ui-xy-canvas-DG-o3-nt.cjs → vue-ui-xy-canvas-DoDgOkMe.cjs} +1 -1
  141. package/dist/{vue-ui-xy-canvas-DcywpKdf.js → vue-ui-xy-canvas-JpE-OhiQ.js} +10 -10
  142. package/package.json +1 -1
  143. package/dist/Slicer-BBKMtMzF.js +0 -328
  144. package/dist/Slicer-CyAlmC4y.cjs +0 -1
  145. package/dist/index-7N8NxNg5.cjs +0 -4
  146. package/dist/vue-ui-quick-chart-B4o_RZTj.cjs +0 -15
  147. package/dist/vue-ui-xy-DsiERLim.cjs +0 -3
@@ -0,0 +1,381 @@
1
+ import { useCssVars as Q, ref as p, computed as d, watch as w, onMounted as Y, openBlock as c, createElementBlock as v, createElementVNode as i, normalizeStyle as x, createVNode as ee, renderSlot as te, createCommentVNode as k, unref as le, Fragment as P, renderList as z, withDirectives as E, vModelText as A, toDisplayString as R, pushScopeId as ae, popScopeId as ie } from "vue";
2
+ import ne from "./BaseIcon-Dz58O3w1.js";
3
+ import { t as oe, u as ue } from "./useResponsive-NZB-WLRF.js";
4
+ import { c as re, P as V, O as B, X as se } from "./index-fMHmzYJu.js";
5
+ import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const O = (l) => (ae("data-v-bb159e36"), l = l(), ie(), l), me = {
7
+ "data-html2canvas-ignore": "",
8
+ style: { padding: "0 24px" }
9
+ }, ce = {
10
+ class: "vue-data-ui-slicer-labels",
11
+ style: { position: "relative", "z-index": "1", "pointer-events": "none" }
12
+ }, ve = {
13
+ key: 0,
14
+ style: { width: "100%", position: "relative" }
15
+ }, he = {
16
+ key: 0,
17
+ class: "minimap",
18
+ style: { width: "100%" }
19
+ }, pe = ["xmlns", "viewBox"], fe = ["id"], ye = ["stop-color"], be = /* @__PURE__ */ O(() => /* @__PURE__ */ i("stop", {
20
+ offset: "100%",
21
+ "stop-color": "transparent"
22
+ }, null, -1)), ge = ["d", "stroke"], xe = ["x", "width", "height", "fill", "rx"], Se = ["d", "fill"], ke = ["x", "width", "height", "fill"], Ce = ["d", "stroke"], Ne = ["cx", "cy", "stroke", "fill"], we = ["cx", "cy", "stroke", "fill"], $e = ["x1", "x2", "y2", "stroke"], Ie = ["x", "height", "width", "onMouseenter"], Le = /* @__PURE__ */ O(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), Me = ["min", "max"], Fe = ["min", "max"], Pe = {
23
+ __name: "Slicer",
24
+ props: {
25
+ background: {
26
+ type: String,
27
+ default: "#FFFFFF"
28
+ },
29
+ borderColor: {
30
+ type: String,
31
+ default: "#FFFFFF"
32
+ },
33
+ fontSize: {
34
+ type: Number,
35
+ default: 14
36
+ },
37
+ labelLeft: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ labelRight: {
42
+ type: String,
43
+ default: ""
44
+ },
45
+ textColor: {
46
+ type: String,
47
+ default: "#1A1A1A"
48
+ },
49
+ inputColor: {
50
+ type: String,
51
+ default: "#1A1A1A"
52
+ },
53
+ max: {
54
+ type: Number,
55
+ default: 0
56
+ },
57
+ min: {
58
+ type: Number,
59
+ default: 0
60
+ },
61
+ selectColor: {
62
+ type: String,
63
+ default: "#4A4A4A"
64
+ },
65
+ useResetSlot: {
66
+ type: Boolean,
67
+ default: !1
68
+ },
69
+ valueStart: {
70
+ type: [Number, String],
71
+ default: 0
72
+ },
73
+ valueEnd: {
74
+ type: [Number, String],
75
+ default: 0
76
+ },
77
+ minimap: {
78
+ type: Array,
79
+ default: []
80
+ },
81
+ smoothMinimap: {
82
+ type: Boolean,
83
+ default: !1
84
+ },
85
+ minimapSelectedColor: {
86
+ type: String,
87
+ default: "#1f77b4"
88
+ },
89
+ minimapSelectionRadius: {
90
+ type: Number,
91
+ default: 12
92
+ },
93
+ minimapLineColor: {
94
+ type: String,
95
+ default: "#2D353C"
96
+ },
97
+ minimapSelectedColorOpacity: {
98
+ type: Number,
99
+ default: 0.2
100
+ },
101
+ minimapSelectedIndex: {
102
+ type: Number,
103
+ default: null
104
+ },
105
+ minimapIndicatorColor: {
106
+ type: String,
107
+ default: "#2D353C"
108
+ }
109
+ },
110
+ emits: ["update:start", "update:end", "reset", "trapMouse"],
111
+ setup(l, { emit: y }) {
112
+ const e = l;
113
+ Q((t) => ({
114
+ "614b450c": T.value,
115
+ "674fe5ee": S.value,
116
+ ba246e42: W.value,
117
+ "4785271e": l.selectColor,
118
+ "1b74d2ac": U.value
119
+ }));
120
+ const u = p(e.min), r = p(e.max), b = d(() => !!e.minimap.length), $ = p(re()), D = d(() => {
121
+ const t = e.max - e.min, a = (u.value - e.min) / t * 100, o = (r.value - e.min) / t * 100;
122
+ return {
123
+ left: `${a}%`,
124
+ width: `${o - a}%`,
125
+ background: e.selectColor
126
+ };
127
+ }), T = d(() => e.inputColor), U = d(() => e.background), W = d(() => `${e.selectColor}33`), S = d(() => e.borderColor), I = d(() => {
128
+ let t = [];
129
+ for (let a = 0; a < e.minimap.length; a += 1)
130
+ t.push(a);
131
+ return t;
132
+ });
133
+ function L() {
134
+ y("reset");
135
+ }
136
+ function X() {
137
+ Number(u.value) > Number(r.value) - 1 && (u.value = Number(r.value) - 1), y("update:start", Number(u.value));
138
+ }
139
+ function j() {
140
+ Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1), y("update:end", Number(r.value));
141
+ }
142
+ w(
143
+ () => e.min,
144
+ (t) => {
145
+ Number(u.value) < Number(t) && (u.value = Number(t)), Number(r.value) < Number(t) && (r.value = Number(t));
146
+ }
147
+ ), w(
148
+ () => e.max,
149
+ (t) => {
150
+ Number(u.value) > Number(t) && (u.value = Number(t)), Number(r.value) > Number(t) && (r.value = Number(t));
151
+ }
152
+ );
153
+ const C = p(null), n = p({
154
+ width: 1,
155
+ height: 1
156
+ }), M = p(null);
157
+ Y(() => {
158
+ if (b.value) {
159
+ const t = oe(() => {
160
+ const { width: a, height: o } = ue({
161
+ chart: C.value
162
+ });
163
+ n.value.width = a, n.value.height = o - 47;
164
+ });
165
+ M.value = new ResizeObserver(t), M.value.observe(C.value);
166
+ }
167
+ });
168
+ const s = d(() => e.minimap.length ? n.value.width / e.minimap.length : 0), h = d(() => {
169
+ if (!e.minimap.length) return [];
170
+ const t = Math.max(...e.minimap), a = Math.min(...e.minimap) - 10, o = t - (a > 0 ? 0 : a), m = e.minimap.map((H, J) => {
171
+ const K = H - a;
172
+ return {
173
+ x: n.value.width / e.minimap.length * J + s.value / 2,
174
+ y: n.value.height - K / o * (n.value.height * 0.9)
175
+ };
176
+ }), N = e.smoothMinimap ? V(m) : B(m), F = [...m].slice(e.valueStart, e.valueEnd), _ = e.smoothMinimap ? V(F) : B(F);
177
+ return {
178
+ fullSet: N,
179
+ selectionSet: _,
180
+ firstPlot: m[e.valueStart],
181
+ lastPlot: m[e.valueEnd - 1]
182
+ };
183
+ }), f = d(() => ({
184
+ x: s.value * u.value + s.value / 2,
185
+ width: n.value.width * ((r.value - u.value) / e.max) - s.value
186
+ })), q = d(() => ({
187
+ left: 0,
188
+ color: e.textColor,
189
+ fontSize: `${e.fontSize}px`,
190
+ top: b.value ? "28px" : "-28px",
191
+ pointerEvents: "none"
192
+ })), G = d(() => ({
193
+ right: 0,
194
+ color: e.textColor,
195
+ fontSize: `${e.fontSize}px`,
196
+ top: b.value ? "28px" : "-28px",
197
+ direction: "rtl",
198
+ pointerEvents: "none"
199
+ })), g = p(e.minimapSelectedIndex);
200
+ w(() => e.minimapSelectedIndex, (t) => {
201
+ g.value = t + e.valueStart;
202
+ }, { immediate: !0 });
203
+ function Z(t) {
204
+ g.value = t, t >= e.valueStart && t < e.valueEnd && y("trapMouse", t - e.valueStart);
205
+ }
206
+ return (t, a) => (c(), v("div", me, [
207
+ i("div", ce, [
208
+ l.valueStart > 0 || l.valueEnd < l.max ? (c(), v("div", ve, [
209
+ l.useResetSlot ? te(t.$slots, "reset-action", {
210
+ key: 1,
211
+ reset: L
212
+ }, void 0, !0) : (c(), v("button", {
213
+ key: 0,
214
+ "data-cy-reset": "",
215
+ tabindex: "0",
216
+ role: "button",
217
+ class: "vue-data-ui-refresh-button",
218
+ style: x({
219
+ top: b.value ? "36px" : "-16px",
220
+ pointerEvents: "all !important"
221
+ }),
222
+ onClick: L
223
+ }, [
224
+ ee(ne, {
225
+ name: "refresh",
226
+ stroke: l.textColor
227
+ }, null, 8, ["stroke"])
228
+ ], 4))
229
+ ])) : k("", !0)
230
+ ]),
231
+ i("div", {
232
+ class: "double-range-slider",
233
+ ref_key: "minimapWrapper",
234
+ ref: C,
235
+ style: { "z-index": "0" }
236
+ }, [
237
+ b.value ? (c(), v("div", he, [
238
+ (c(), v("svg", {
239
+ xmlns: le(se),
240
+ viewBox: `0 0 ${n.value.width < 0 ? 0 : n.value.width} ${n.value.height < 0 ? 0 : n.value.height}`
241
+ }, [
242
+ i("defs", null, [
243
+ i("linearGradient", {
244
+ id: $.value,
245
+ x1: "0%",
246
+ y1: "0%",
247
+ x2: "0%",
248
+ y2: "100%"
249
+ }, [
250
+ i("stop", {
251
+ offset: "0%",
252
+ "stop-color": `${l.minimapLineColor}50`
253
+ }, null, 8, ye),
254
+ be
255
+ ], 8, fe)
256
+ ]),
257
+ i("path", {
258
+ d: `M${h.value.fullSet}`,
259
+ stroke: `${l.minimapLineColor}`,
260
+ fill: "none",
261
+ "stroke-width": "1",
262
+ "stroke-linecap": "round",
263
+ "stroke-linejoin": "round",
264
+ style: { opacity: "1" }
265
+ }, null, 8, ge),
266
+ i("rect", {
267
+ x: f.value.x,
268
+ width: f.value.width < 0 ? 0 : f.value.width,
269
+ height: n.value.height,
270
+ y: 0,
271
+ fill: S.value,
272
+ rx: l.minimapSelectionRadius,
273
+ stroke: "none"
274
+ }, null, 8, xe),
275
+ i("path", {
276
+ d: `M${s.value / 2},${n.value.height} ${h.value.fullSet} L${n.value.width - s.value / 2},${n.value.height}Z`,
277
+ fill: `url(#${$.value})`,
278
+ stroke: "none",
279
+ style: { opacity: "1" }
280
+ }, null, 8, Se),
281
+ i("rect", {
282
+ x: f.value.x,
283
+ width: f.value.width < 0 ? 0 : f.value.width,
284
+ height: n.value.height,
285
+ y: 0,
286
+ fill: l.minimapSelectedColor,
287
+ style: x({
288
+ opacity: l.minimapSelectedColorOpacity
289
+ })
290
+ }, null, 12, ke),
291
+ i("path", {
292
+ d: `M ${h.value.selectionSet}`,
293
+ stroke: `${l.minimapLineColor}`,
294
+ fill: "transparent",
295
+ "stroke-width": "2",
296
+ "stroke-linecap": "round",
297
+ "stroke-linejoin": "round"
298
+ }, null, 8, Ce),
299
+ i("circle", {
300
+ cx: h.value.firstPlot.x,
301
+ cy: h.value.firstPlot.y,
302
+ "stroke-width": "0.5",
303
+ stroke: S.value,
304
+ r: "3",
305
+ fill: l.minimapLineColor
306
+ }, null, 8, Ne),
307
+ i("circle", {
308
+ cx: h.value.lastPlot.x,
309
+ cy: h.value.lastPlot.y,
310
+ "stroke-width": "0.5",
311
+ stroke: S.value,
312
+ r: "3",
313
+ fill: l.minimapLineColor
314
+ }, null, 8, we),
315
+ g.value !== null ? (c(!0), v(P, { key: 0 }, z(I.value, (o, m) => (c(), v("g", null, [
316
+ g.value === o && o >= l.valueStart && o < l.valueEnd ? (c(), v("line", {
317
+ key: 0,
318
+ x1: s.value * m + s.value / 2,
319
+ x2: s.value * m + s.value / 2,
320
+ y1: 0,
321
+ y2: n.value.height,
322
+ stroke: l.minimapIndicatorColor,
323
+ "stroke-linecap": "round",
324
+ "stroke-dasharray": "2",
325
+ "stroke-width": "1"
326
+ }, null, 8, $e)) : k("", !0)
327
+ ]))), 256)) : k("", !0),
328
+ (c(!0), v(P, null, z(I.value, (o, m) => (c(), v("rect", {
329
+ x: s.value * m,
330
+ y: 0,
331
+ height: n.value.height,
332
+ width: s.value,
333
+ fill: "transparent",
334
+ style: { "pointer-events": "all !important" },
335
+ onMouseenter: (N) => Z(o),
336
+ onMouseleave: a[0] || (a[0] = (N) => {
337
+ g.value = null, y("trapMouse", null);
338
+ })
339
+ }, null, 40, Ie))), 256))
340
+ ], 8, pe))
341
+ ])) : k("", !0),
342
+ Le,
343
+ i("div", {
344
+ class: "range-highlight",
345
+ style: x(D.value)
346
+ }, null, 4),
347
+ E(i("input", {
348
+ type: "range",
349
+ class: "range-left",
350
+ min: l.min,
351
+ max: l.max,
352
+ "onUpdate:modelValue": a[1] || (a[1] = (o) => u.value = o),
353
+ onInput: X
354
+ }, null, 40, Me), [
355
+ [A, u.value]
356
+ ]),
357
+ i("div", {
358
+ class: "thumb-label thumb-label-left",
359
+ style: x(q.value)
360
+ }, R(l.labelLeft), 5),
361
+ E(i("input", {
362
+ type: "range",
363
+ class: "range-right",
364
+ min: l.min,
365
+ max: l.max,
366
+ "onUpdate:modelValue": a[2] || (a[2] = (o) => r.value = o),
367
+ onInput: j
368
+ }, null, 40, Fe), [
369
+ [A, r.value]
370
+ ]),
371
+ i("div", {
372
+ class: "thumb-label thumb-label-right",
373
+ style: x(G.value)
374
+ }, R(l.labelRight), 5)
375
+ ], 512)
376
+ ]));
377
+ }
378
+ }, Be = /* @__PURE__ */ de(Pe, [["__scopeId", "data-v-bb159e36"]]);
379
+ export {
380
+ Be as S
381
+ };
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),r=require("./useNestedProp-DmS8KxmW.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(i){const n=i,e=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)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).title.color};font-size:${t.unref(e).title.fontSize}px;font-weight:${t.unref(e).title.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).title.text),5),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).subtitle.text),5)):t.createCommentVNode("",!0),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},[t.renderSlot(l.$slots,"default")],4)):t.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
1
+ "use strict";const t=require("vue"),r=require("./useNestedProp-18FTwhUW.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(i){const n=i,e=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)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).title.color};font-size:${t.unref(e).title.fontSize}px;font-weight:${t.unref(e).title.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).title.text),5),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).subtitle.text),5)):t.createCommentVNode("",!0),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},[t.renderSlot(l.$slots,"default")],4)):t.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as i, createElementBlock as l, Fragment as a, createElementVNode as r, normalizeStyle as d, unref as e, toDisplayString as n, createCommentVNode as o, renderSlot as f } from "vue";
2
- import { u as s } from "./useNestedProp-BbEbJmgv.js";
2
+ import { u as s } from "./useNestedProp-lzTC0cjC.js";
3
3
  const b = {
4
4
  __name: "Title",
5
5
  props: {
@@ -1 +1 @@
1
- "use strict";const o=require("vue"),v=require("./index-7N8NxNg5.cjs");function y({tooltip:e,chart:n,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24}){const r=o.ref(0),f=o.ref(a);if(e&&n){const{width:u,height:s}=e.getBoundingClientRect(),{right:i,left:d,bottom:m}=n.getBoundingClientRect();l==="center"&&(t.x+u/2>i?r.value=-u+(i-t.x):t.x-u/2<d?r.value=-u+(u-(t.x-d)):r.value=-u/2),l==="right"&&(t.x+u>i?r.value=-u+(i-t.x):r.value=0),l==="left"&&(t.x<d+u?r.value=-u+(u-(t.x-d)):r.value=-u),t.y+s>m&&(f.value=-s-a)}return{top:t.y+f.value,left:t.x+r.value}}function b(e,n,t){o.onMounted(()=>e.addEventListener(n,t)),o.onUnmounted(()=>e.removeEventListener(n,t))}function c(){const e=o.ref(0),n=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,n.value=t.clientY}),{x:e,y:n}}const p=["innerHTML"],g={__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}},setup(e){const n=e,t=o.ref(null),l=o.ref(c()),a=o.computed(()=>y({tooltip:t.value,chart:n.parent,clientPosition:l.value,positionPreference:n.position,defaultOffsetY:n.offsetY}));return(r,f)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${e.backgroundColor}${o.unref(v.opacity)[e.backgroundOpacity]};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)},[o.renderSlot(r.$slots,"tooltip-before"),o.renderSlot(r.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,p),o.renderSlot(r.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
1
+ "use strict";const o=require("vue"),v=require("./index-DnCegWge.cjs");function y({tooltip:e,chart:n,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24}){const r=o.ref(0),f=o.ref(a);if(e&&n){const{width:u,height:s}=e.getBoundingClientRect(),{right:i,left:d,bottom:m}=n.getBoundingClientRect();l==="center"&&(t.x+u/2>i?r.value=-u+(i-t.x):t.x-u/2<d?r.value=-u+(u-(t.x-d)):r.value=-u/2),l==="right"&&(t.x+u>i?r.value=-u+(i-t.x):r.value=0),l==="left"&&(t.x<d+u?r.value=-u+(u-(t.x-d)):r.value=-u),t.y+s>m&&(f.value=-s-a)}return{top:t.y+f.value,left:t.x+r.value}}function b(e,n,t){o.onMounted(()=>e.addEventListener(n,t)),o.onUnmounted(()=>e.removeEventListener(n,t))}function c(){const e=o.ref(0),n=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,n.value=t.clientY}),{x:e,y:n}}const p=["innerHTML"],g={__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}},setup(e){const n=e,t=o.ref(null),l=o.ref(c()),a=o.computed(()=>y({tooltip:t.value,chart:n.parent,clientPosition:l.value,positionPreference:n.position,defaultOffsetY:n.offsetY}));return(r,f)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${e.backgroundColor}${o.unref(v.opacity)[e.backgroundOpacity]};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)},[o.renderSlot(r.$slots,"tooltip-before"),o.renderSlot(r.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,p),o.renderSlot(r.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
@@ -1,5 +1,5 @@
1
1
  import { ref as l, onMounted as v, onUnmounted as y, computed as p, openBlock as b, createElementBlock as g, normalizeClass as x, normalizeStyle as h, unref as $, renderSlot as s, createElementVNode as C, createCommentVNode as S } from "vue";
2
- import { w as k } from "./index-CguVaFlt.js";
2
+ import { w as k } from "./index-fMHmzYJu.js";
3
3
  function w({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24 }) {
4
4
  const u = l(0), f = l(a);
5
5
  if (e && o) {