vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -0,0 +1,1149 @@
1
+ import { B as e, F as t, Jt as n, K as r, N as i, V as a, r as o, t as ee } from "./lib-CFm_J26b.js";
2
+ import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
+ import { i as te, l as ne, t as c } from "./useResponsive-ZtArZtUf.js";
4
+ import { t as re } from "./BaseIcon-CP5RWnqt.js";
5
+ import { t as ie } from "./DefGrad-DVBqDjhO.js";
6
+ import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ae, mergeProps as oe, nextTick as se, normalizeClass as m, normalizeProps as ce, normalizeStyle as h, onBeforeUnmount as le, onMounted as ue, onUpdated as de, openBlock as g, ref as _, renderList as v, renderSlot as fe, toDisplayString as pe, unref as me, useCssVars as he, vModelText as ge, watch as y, withDirectives as _e } from "vue";
7
+ //#region src/atoms/Slicer.vue
8
+ var ve = ["data-minimap"], ye = {
9
+ class: "vue-data-ui-slicer-labels",
10
+ style: {
11
+ position: "relative",
12
+ "z-index": "1",
13
+ "pointer-events": "none"
14
+ }
15
+ }, be = {
16
+ key: 0,
17
+ style: {
18
+ width: "100%",
19
+ position: "relative",
20
+ "pointer-events": "all"
21
+ }
22
+ }, xe = {
23
+ key: 0,
24
+ class: "minimap",
25
+ style: { width: "100%" }
26
+ }, Se = ["xmlns", "viewBox"], Ce = [
27
+ "width",
28
+ "height",
29
+ "stroke"
30
+ ], we = ["d", "stroke"], Te = [
31
+ "x",
32
+ "width",
33
+ "y",
34
+ "height",
35
+ "fill"
36
+ ], Ee = ["d", "stroke"], De = [
37
+ "cx",
38
+ "cy",
39
+ "fill",
40
+ "stroke"
41
+ ], Oe = [
42
+ "x",
43
+ "width",
44
+ "height",
45
+ "fill",
46
+ "rx"
47
+ ], ke = [
48
+ "x",
49
+ "width",
50
+ "height",
51
+ "rx",
52
+ "fill"
53
+ ], Ae = [
54
+ "x",
55
+ "width",
56
+ "height",
57
+ "fill",
58
+ "rx"
59
+ ], je = [
60
+ "x2",
61
+ "y1",
62
+ "y2",
63
+ "stroke"
64
+ ], Me = ["d", "fill"], Ne = ["d", "stroke"], Pe = { key: 6 }, Fe = [
65
+ "x",
66
+ "width",
67
+ "y",
68
+ "height",
69
+ "fill"
70
+ ], Ie = ["d", "stroke"], Le = [
71
+ "x",
72
+ "width",
73
+ "height",
74
+ "fill",
75
+ "stroke",
76
+ "stroke-width"
77
+ ], Re = [
78
+ "x",
79
+ "width",
80
+ "height"
81
+ ], ze = ["fill", "stroke"], Be = ["stroke"], Ve = ["fill"], He = [
82
+ "x",
83
+ "width",
84
+ "height",
85
+ "fill",
86
+ "stroke",
87
+ "stroke-width"
88
+ ], Ue = [
89
+ "x",
90
+ "width",
91
+ "height"
92
+ ], We = ["fill", "stroke"], Ge = ["stroke"], Ke = ["fill"], qe = [
93
+ "cx",
94
+ "cy",
95
+ "stroke",
96
+ "fill"
97
+ ], Je = [
98
+ "cx",
99
+ "cy",
100
+ "fill"
101
+ ], Ye = [
102
+ "cx",
103
+ "cy",
104
+ "stroke",
105
+ "fill"
106
+ ], Xe = [
107
+ "cx",
108
+ "cy",
109
+ "fill"
110
+ ], Ze = { key: 12 }, Qe = [
111
+ "cx",
112
+ "cy",
113
+ "fill",
114
+ "stroke"
115
+ ], $e = [
116
+ "cx",
117
+ "cy",
118
+ "stroke",
119
+ "fill"
120
+ ], et = [
121
+ "cx",
122
+ "cy",
123
+ "fill"
124
+ ], tt = [
125
+ "cx",
126
+ "cy",
127
+ "stroke",
128
+ "fill"
129
+ ], nt = [
130
+ "cx",
131
+ "cy",
132
+ "fill"
133
+ ], rt = [
134
+ "height",
135
+ "x",
136
+ "width",
137
+ "onMouseenter"
138
+ ], it = ["min", "max"], at = ["min", "max"], ot = 48, st = /*#__PURE__*/ s({
139
+ __name: "Slicer",
140
+ props: {
141
+ background: {
142
+ type: String,
143
+ default: "#FFFFFF"
144
+ },
145
+ borderColor: {
146
+ type: String,
147
+ default: "#FFFFFF"
148
+ },
149
+ fontSize: {
150
+ type: Number,
151
+ default: 14
152
+ },
153
+ labelLeft: {
154
+ type: [String, Number],
155
+ default: ""
156
+ },
157
+ labelRight: {
158
+ type: [String, Number],
159
+ default: ""
160
+ },
161
+ textColor: {
162
+ type: String,
163
+ default: "#1A1A1A"
164
+ },
165
+ inputColor: {
166
+ type: String,
167
+ default: "#1A1A1A"
168
+ },
169
+ max: {
170
+ type: Number,
171
+ default: 0
172
+ },
173
+ min: {
174
+ type: Number,
175
+ default: 0
176
+ },
177
+ selectColor: {
178
+ type: String,
179
+ default: "#4A4A4A"
180
+ },
181
+ useResetSlot: {
182
+ type: Boolean,
183
+ default: !1
184
+ },
185
+ valueStart: {
186
+ type: [Number, String],
187
+ default: 0
188
+ },
189
+ valueEnd: {
190
+ type: [Number, String],
191
+ default: 0
192
+ },
193
+ minimap: {
194
+ type: Array,
195
+ default: []
196
+ },
197
+ smoothMinimap: {
198
+ type: Boolean,
199
+ default: !1
200
+ },
201
+ minimapSelectedColor: {
202
+ type: String,
203
+ default: "#1f77b4"
204
+ },
205
+ minimapSelectionRadius: {
206
+ type: Number,
207
+ default: 12
208
+ },
209
+ minimapLineColor: {
210
+ type: String,
211
+ default: "#2D353C"
212
+ },
213
+ minimapSelectedColorOpacity: {
214
+ type: Number,
215
+ default: .2
216
+ },
217
+ minimapSelectedIndex: {
218
+ type: Number,
219
+ default: null
220
+ },
221
+ minimapIndicatorColor: {
222
+ type: String,
223
+ default: "#2D353C"
224
+ },
225
+ refreshStartPoint: {
226
+ type: Number,
227
+ default: 0
228
+ },
229
+ refreshEndPoint: {
230
+ type: Number,
231
+ default: null
232
+ },
233
+ enableRangeHandles: {
234
+ type: Boolean,
235
+ default: !1
236
+ },
237
+ enableSelectionDrag: {
238
+ type: Boolean,
239
+ default: !0
240
+ },
241
+ verticalHandles: {
242
+ type: Boolean,
243
+ default: !1
244
+ },
245
+ minimapCompact: {
246
+ type: Boolean,
247
+ default: !1
248
+ },
249
+ allMinimaps: {
250
+ type: Array,
251
+ default() {
252
+ return [];
253
+ }
254
+ },
255
+ minimapMerged: {
256
+ type: Boolean,
257
+ default: !1
258
+ },
259
+ minimapFrameColor: {
260
+ type: String,
261
+ default: "#e1e5e8"
262
+ },
263
+ cutNullValues: {
264
+ type: Boolean,
265
+ default: !1
266
+ },
267
+ focusOnDrag: {
268
+ type: Boolean,
269
+ default: !1
270
+ },
271
+ focusRangeRatio: {
272
+ type: Number,
273
+ default: .1
274
+ },
275
+ maxWidth: {
276
+ type: Number,
277
+ default: null
278
+ },
279
+ isCursorPointer: {
280
+ type: Boolean,
281
+ default: !1
282
+ },
283
+ additionalMinimapHeight: {
284
+ type: Number,
285
+ default: 0
286
+ },
287
+ handleType: {
288
+ type: String,
289
+ default: ""
290
+ },
291
+ handleWidth: {
292
+ type: Number,
293
+ default: 20
294
+ },
295
+ handleBorderWidth: {
296
+ type: Number,
297
+ default: 1
298
+ },
299
+ handleIconColor: {
300
+ type: String,
301
+ default: null
302
+ },
303
+ handleBorderColor: {
304
+ type: String,
305
+ default: null
306
+ },
307
+ handleFill: {
308
+ type: String,
309
+ default: null
310
+ }
311
+ },
312
+ emits: [
313
+ "update:start",
314
+ "update:end",
315
+ "reset",
316
+ "trapMouse"
317
+ ],
318
+ setup(s, { expose: st, emit: ct }) {
319
+ he((e) => ({
320
+ v78171e72: Ct.value,
321
+ v5be9f93b: A.value,
322
+ v3bad6e6c: Tt.value,
323
+ v3c1f3a6b: s.selectColor,
324
+ v430a7779: wt.value
325
+ }));
326
+ let b = s, x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), lt = _(r()), T = u(() => w.value && b.minimapCompact), ut = _(0);
327
+ ue(() => {
328
+ let e = () => {
329
+ x.value && (ut.value = x.value.getBoundingClientRect().width);
330
+ };
331
+ e();
332
+ let t = ne(e, 50);
333
+ window.addEventListener("resize", t), le(() => {
334
+ window.removeEventListener("resize", t);
335
+ });
336
+ });
337
+ let dt = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), E = ct, D = u(() => {
338
+ if (T.value) {
339
+ let e = Math.max(1, xn.value - 1);
340
+ return xt.value / e * 100;
341
+ }
342
+ let e = Math.max(1, b.max - b.min);
343
+ return (S.value - b.min) / e * 100;
344
+ }), ft = u(() => {
345
+ if (T.value) {
346
+ let e = Math.max(1, xn.value - 1);
347
+ return St.value / e * 100;
348
+ }
349
+ let e = Math.max(1, b.max - b.min);
350
+ return (C.value - b.min) / e * 100;
351
+ }), pt = u(() => (D.value + ft.value) / 2), mt = u(() => {
352
+ if (!x.value) return !1;
353
+ let e = x.value.getBoundingClientRect().width;
354
+ return D.value / 100 * e - pn.value / 2 < 0;
355
+ }), ht = u(() => {
356
+ if (!x.value) return !1;
357
+ let e = x.value.getBoundingClientRect().width;
358
+ return ft.value / 100 * e + mn.value / 2 > e;
359
+ }), O = u(() => {
360
+ let e = ht.value ? `calc(${pt.value}% - ${bn.value.width}px)` : mt.value ? `calc(${pt.value}% - 8px)` : `calc(${pt.value}% - ${bn.value.width / 2}px)`;
361
+ return {
362
+ left: `${D.value}%`,
363
+ width: `${Math.max(0, ft.value - D.value)}%`,
364
+ background: b.selectColor,
365
+ tooltipLeft: `calc(${D.value}% - ${mt.value ? 9 : pn.value / 2}px)`,
366
+ tooltipRight: `calc(${ft.value}% - ${ht.value ? mn.value - 9 : mn.value / 2}px)`,
367
+ tooltipCenter: e,
368
+ arrowLeft: !mt.value,
369
+ arrowRight: !ht.value
370
+ };
371
+ }), k = u(() => Math.max(0, (N.value || 1) - 1)), gt = u(() => Math.max(0, (xn.value || 1) - 1));
372
+ function _t(e) {
373
+ return gt.value === 0 ? 0 : Math.round(e / gt.value * k.value);
374
+ }
375
+ function vt(e) {
376
+ return k.value === 0 ? 0 : Math.round(e / k.value * gt.value);
377
+ }
378
+ let yt = (e) => Math.floor(b.min + e), bt = (e) => Math.ceil(b.min + e), xt = u({
379
+ get() {
380
+ return T.value ? _t(Q.value) : Number(S.value);
381
+ },
382
+ set(e) {
383
+ if (T.value) {
384
+ let t = Math.round(+e || 0), n = Math.max(0, _t(Math.max(0, $.value - 1))), r = vt(Math.min(Math.max(0, t), n));
385
+ V(yt(r));
386
+ } else {
387
+ let t = Math.round(+e || 0), n = Number(C.value) - 1;
388
+ V(Math.min(Math.max(b.min, t), n));
389
+ }
390
+ }
391
+ }), St = u({
392
+ get() {
393
+ return T.value ? _t(Math.max(Q.value, $.value - 1)) : Number(C.value);
394
+ },
395
+ set(e) {
396
+ if (T.value) {
397
+ let t = Math.round(+e || 0), n = _t(Q.value), r = vt(Math.max(t, n));
398
+ H(bt(r + 1));
399
+ } else {
400
+ let t = Math.round(+e || 0), n = Number(S.value) + 1;
401
+ H(Math.max(n, Math.min(t, b.max)));
402
+ }
403
+ }
404
+ }), Ct = u(() => b.inputColor), wt = u(() => b.background), Tt = u(() => `${b.selectColor}33`), A = u(() => b.borderColor), Et = u(() => {
405
+ let e = [];
406
+ for (let t = 0; t < b.max; t += 1) e.push(t);
407
+ return e;
408
+ });
409
+ function Dt() {
410
+ E("reset");
411
+ }
412
+ y(() => b.min, (e) => {
413
+ Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
414
+ }), y(() => b.max, (e) => {
415
+ Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
416
+ });
417
+ let Ot = _(null), j = _({
418
+ width: 1,
419
+ height: 1
420
+ }), M = _(null);
421
+ ue(() => {
422
+ if (w.value) {
423
+ let e = ne(() => {
424
+ let { width: e, height: t } = c({ chart: Ot.value });
425
+ j.value.width = e, j.value.height = t - 47;
426
+ });
427
+ M.value = new ResizeObserver(e), M.value.observe(Ot.value);
428
+ }
429
+ }), le(() => {
430
+ M.value && M.value.disconnect();
431
+ });
432
+ let N = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length), b.minimap.length || 0)), P = u(() => {
433
+ if (!N.value) return 0;
434
+ let e = Math.max(1, N.value - +!!b.minimapCompact);
435
+ return j.value.width / e;
436
+ }), kt = u(() => {
437
+ let e = [];
438
+ if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.filter(Number.isFinite));
439
+ return e.length ? {
440
+ min: Math.min(...e),
441
+ max: Math.max(...e)
442
+ } : {
443
+ min: 0,
444
+ max: 1
445
+ };
446
+ }), F = u(() => kt.value.min), I = u(() => kt.value.max), At = u(() => F.value < 0 && I.value > 0 || I.value <= 0 ? F.value : 0), jt = u(() => Math.max(1e-9, Math.max(Math.abs(F.value), Math.abs(I.value)))), Mt = u(() => F.value < 0 && I.value > 0), Nt = (e) => {
447
+ let t = Math.max(1, j.value.height);
448
+ if (Mt.value) {
449
+ let n = jt.value;
450
+ return (1 - (Math.max(-1, Math.min(1, e / n)) + 1) / 2) * t;
451
+ } else {
452
+ let n = Math.min(0, F.value), r = Math.max(0, I.value);
453
+ return t - (e - n) / Math.max(1e-9, r - n) * t;
454
+ }
455
+ }, Pt = u(() => Nt(0)), Ft = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar").length : 0), It = u(() => P.value / (Ft.value || 1) * .8);
456
+ function Lt(e, t, n) {
457
+ let r = It.value, i = Math.max(1, Ft.value), a = N.value - 1;
458
+ return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
459
+ }
460
+ function Rt(e, t) {
461
+ return [0, N.value - 1].includes(t) ? It.value / 2 : It.value;
462
+ }
463
+ function zt(e, t, n) {
464
+ let r = (e, t, n) => Math.max(t, Math.min(n, e)), i = 1e-9;
465
+ if (t <= 0) {
466
+ let t = Math.max(i, 0 - e);
467
+ return (r) => n - (r - e) / t * n;
468
+ }
469
+ if (e >= 0) {
470
+ let e = Math.max(i, t - 0);
471
+ return (t) => n - (t - 0) / e * n;
472
+ }
473
+ let a = Math.max(i, Math.max(Math.abs(e), Math.abs(t)));
474
+ return (e) => (1 - (r(e / a, -1, 1) + 1) / 2) * n;
475
+ }
476
+ function Bt(n, r = !1) {
477
+ if (!n || !n.length) return {
478
+ fullSet: "",
479
+ points: [],
480
+ selectionSet: "",
481
+ sliced: [],
482
+ firstPlot: null,
483
+ lastPlot: null,
484
+ hasFull: !1,
485
+ hasSelection: !1,
486
+ fullMarkers: [],
487
+ selectionMarkers: []
488
+ };
489
+ let o = Math.max(1, j.value.height), ee = zt(F.value, I.value, o), s = n.length, te = Math.min(Math.max(0, Q.value), Math.max(0, s - 1)), ne = Math.min(s, Math.max(te + 1, $.value)), c = n.map((e, t) => {
490
+ let n = e, r = Number.isFinite(n), i = P.value * t + (b.minimapCompact ? 0 : P.value / 2), a = ee(0);
491
+ return {
492
+ x: i,
493
+ y: r ? ee(n) : NaN,
494
+ v: n,
495
+ value: n == null ? null : r ? n : null,
496
+ y0: a,
497
+ i: t
498
+ };
499
+ }), re = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), ie = c.filter((e) => Number.isFinite(e.value) && !re(e.i - 1) && !re(e.i + 1)), l = ie.filter((e) => e.i >= te && e.i < ne), u = c.slice(te, ne);
500
+ return {
501
+ fullSet: c.length >= 2 ? b.smoothMinimap || r ? b.cutNullValues ? t(c) : i(c.filter((e) => e.value != null)) : b.cutNullValues ? a(c) : e(c.filter((e) => e.value != null)) : "",
502
+ points: c,
503
+ selectionSet: u.length >= 2 ? b.smoothMinimap || r ? b.cutNullValues ? t(u) : i(u.filter((e) => e.value != null)) : b.cutNullValues ? a(u) : e(u.filter((e) => e.value != null)) : "",
504
+ sliced: u,
505
+ firstPlot: c[te] || null,
506
+ lastPlot: c[Math.max(0, ne - 1)] || null,
507
+ hasFull: c.length >= 2,
508
+ hasSelection: u.length >= 2,
509
+ fullMarkers: ie,
510
+ selectionMarkers: l
511
+ };
512
+ }
513
+ let L = u(() => b.minimap.length ? Bt(b.minimap) : {
514
+ fullSet: "",
515
+ selectionSet: "",
516
+ sliced: [],
517
+ firstPlot: null,
518
+ lastPlot: null,
519
+ hasFull: !1,
520
+ hasSelection: !1
521
+ }), R = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
522
+ let n = Bt(e?.series || [], !!e.smooth), r = e?.id ?? e?.name ?? t;
523
+ return {
524
+ key: typeof r == "object" ? JSON.stringify(r) : String(r),
525
+ color: e?.color,
526
+ ...n,
527
+ isVisible: e.isVisible,
528
+ type: e.type || "line"
529
+ };
530
+ }) : []), z = u(() => {
531
+ let e = Q.value, t = Math.max(e + 1, $.value);
532
+ return {
533
+ x: P.value * e + (b.minimapCompact ? 0 : P.value / 2),
534
+ width: P.value * (t - e) - P.value
535
+ };
536
+ }), B = _(b.minimapSelectedIndex);
537
+ function Vt(e) {
538
+ B.value = Sn(b.valueStart) + e;
539
+ }
540
+ let Ht = te(Vt, 60);
541
+ y(() => b.minimapSelectedIndex, (e, t) => {
542
+ if ([null, void 0].includes(e)) {
543
+ B.value = null;
544
+ return;
545
+ }
546
+ e !== t && Ht(e);
547
+ }, { immediate: !0 });
548
+ function Ut(e) {
549
+ B.value = e;
550
+ let t = Q.value, n = $.value;
551
+ e >= t && e < n && !J.value && E("trapMouse", e - t);
552
+ }
553
+ let Wt = _(null), Gt = _(null);
554
+ function V(e) {
555
+ S.value = e, Wt.value && (Wt.value.value = e), E("update:start", Number(S.value));
556
+ }
557
+ function H(e) {
558
+ C.value = e, Gt.value && (Gt.value.value = e), E("update:end", Number(C.value));
559
+ }
560
+ let Kt = u(() => b.valueEnd - b.valueStart), qt = u(() => Kt.value < b.max - b.min), U = _(!1), Jt = _(null), Yt = u(() => (ut.value - 48) / (b.max - b.min) * Kt.value), Xt = u(() => Math.max(1, ut.value - ot - Yt.value)), Zt = u(() => Math.max(1, b.max - b.min - Kt.value)), Qt = u(() => Zt.value / Xt.value), $t = _(0), en = _(0), tn = _(0), nn = _(0), W = null, G = null, K = null, q = null, rn = _(b.min);
561
+ function an(e) {
562
+ if (!x.value) return b.min;
563
+ let t = x.value.getBoundingClientRect(), n = t.left + ot / 2, r = t.right - ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
564
+ return Math.round(b.min + a * o);
565
+ }
566
+ let on = async (e) => {
567
+ if (Z.value = !0, !b.enableSelectionDrag) return;
568
+ let t = e.type === "touchstart";
569
+ t || e.stopPropagation();
570
+ let r = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, i = t ? r ? r.target : null : e.target;
571
+ if (!i || !(i instanceof Element) || i.classList && i.classList.contains("range-handle")) return;
572
+ U.value = !0;
573
+ let a = t ? r ? r.clientX : 0 : e.clientX;
574
+ if (Jt.value = a, $t.value = a, b.focusOnDrag && !qt.value && x.value) {
575
+ rn.value = an(a);
576
+ let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = b.max - b.min, r = Math.max(1, Math.round(t * e)), i = Math.floor(r / 2), o = rn.value - i;
577
+ o = Math.max(b.min, Math.min(o, b.max - r));
578
+ let ee = Math.min(b.max, o + r);
579
+ V(o), H(ee), n(x.value, "mouseup"), await se(), n(x.value, "mousedown", { clientX: a });
580
+ }
581
+ en.value = Number(S.value), tn.value = Number(C.value), nn.value = Qt.value, W = t ? "touchmove" : "mousemove", G = t ? "touchend" : "mouseup", K = t ? cn : sn, q = t ? dn : un, window.addEventListener(W, K, { passive: !1 }), window.addEventListener(G, q);
582
+ };
583
+ function sn(e) {
584
+ U.value && ln(e.clientX);
585
+ }
586
+ function cn(e) {
587
+ if (!U.value || !x.value) return;
588
+ let t = e.target;
589
+ if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
590
+ e.preventDefault();
591
+ let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
592
+ n && ln(n.clientX);
593
+ }
594
+ function ln(e) {
595
+ if (!U.value) return;
596
+ let t = an($t.value), n = an(e) - t, r = Math.max(1, tn.value - en.value), i = Math.round(en.value + n), a = b.min, o = b.max - r;
597
+ i < a && (i = a), i > o && (i = o);
598
+ let ee = i + r;
599
+ V(i), H(ee);
600
+ }
601
+ function un() {
602
+ fn();
603
+ }
604
+ function dn() {
605
+ fn();
606
+ }
607
+ function fn() {
608
+ U.value = !1, W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
609
+ }
610
+ let J = _(!1), Y = _(null), X = _(null), pn = _(1), mn = _(1), Z = _(!1);
611
+ function hn() {
612
+ Y.value && (pn.value = Y.value.getBoundingClientRect().width);
613
+ }
614
+ function gn() {
615
+ X.value && (mn.value = X.value.getBoundingClientRect().width);
616
+ }
617
+ let _n = _(0);
618
+ function vn(e) {
619
+ _n.value = +(e === "start");
620
+ }
621
+ let yn = _(!1), bn = _({
622
+ width: 0,
623
+ left: 0
624
+ });
625
+ y([S, C], async () => {
626
+ if (await se(), !Y.value || !X.value) {
627
+ yn.value = !1, bn.value = {
628
+ width: 0,
629
+ left: 0
630
+ };
631
+ return;
632
+ }
633
+ let e = Y.value.getBoundingClientRect(), t = X.value.getBoundingClientRect();
634
+ yn.value = e.x + e.width > t.x;
635
+ let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
636
+ bn.value = {
637
+ width: i,
638
+ left: a - i / 2
639
+ };
640
+ }), de(() => {
641
+ hn(), gn();
642
+ }), y(() => b.labelLeft, () => {
643
+ se(hn);
644
+ }, { deep: !0 }), y(() => b.labelRight, () => {
645
+ se(gn);
646
+ }, { deep: !0 }), st({
647
+ setStartValue: V,
648
+ setEndValue: H
649
+ }), le(() => {
650
+ M.value && M.value.disconnect(), W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
651
+ });
652
+ let xn = u(() => Math.max(1, b.max - b.min));
653
+ function Sn(e) {
654
+ let t = Math.floor(e - b.min);
655
+ return Math.min(Math.max(0, t), xn.value);
656
+ }
657
+ function Cn(e) {
658
+ let t = Math.ceil(e - b.min);
659
+ return Math.min(Math.max(0, t), xn.value);
660
+ }
661
+ let Q = u(() => Sn(S.value)), $ = u(() => Cn(C.value)), wn = u(() => {
662
+ if (!Et.value.length) return null;
663
+ if (B.value >= Q.value && B.value < $.value) {
664
+ let e = B.value;
665
+ return {
666
+ x1: P.value * e + (b.minimapCompact ? 0 : P.value / 2),
667
+ x2: P.value * e + (b.minimapCompact ? 0 : P.value / 2),
668
+ y1: 0,
669
+ y2: Math.max(j.value.height, 0),
670
+ stroke: b.minimapIndicatorColor,
671
+ "stroke-linecap": "round",
672
+ "stroke-dasharray": 2,
673
+ "stroke-width": 1
674
+ };
675
+ } else return null;
676
+ });
677
+ return (e, t) => (g(), f("div", {
678
+ "data-minimap": w.value,
679
+ "data-dom-to-png-ignore": "",
680
+ "data-dom-to-png-ignore-layout": "",
681
+ style: h([{ padding: "0 48px" }, {
682
+ maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
683
+ margin: s.maxWidth ? "0 auto" : void 0
684
+ }]),
685
+ class: "vue-data-ui-zoom",
686
+ ref_key: "zoomWrapper",
687
+ ref: x,
688
+ onMousedown: on,
689
+ onTouchstart: on,
690
+ onTouchend: t[11] ||= (e) => Z.value = !1
691
+ }, [p("div", ye, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== dt.value ? (g(), f("div", be, [fe(e.$slots, "reset-action", { reset: Dt }, () => [p("button", {
692
+ tabindex: "0",
693
+ role: "button",
694
+ class: "vue-data-ui-refresh-button",
695
+ style: h({
696
+ top: w.value ? "36px" : "-16px",
697
+ cursor: s.isCursorPointer ? "pointer" : "default"
698
+ }),
699
+ onClick: Dt
700
+ }, [ae(re, {
701
+ name: "refresh",
702
+ stroke: s.textColor
703
+ }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
704
+ class: "double-range-slider",
705
+ ref_key: "minimapWrapper",
706
+ ref: Ot,
707
+ style: h([{ "z-index": "0" }, w.value ? {
708
+ "--minimap-unit-px": P.value + "px",
709
+ "--minimap-offset-px": (s.minimapCompact ? 0 : P.value / 2) + "px"
710
+ } : void 0]),
711
+ onMouseenter: t[9] ||= (e) => Z.value = !0,
712
+ onMouseleave: t[10] ||= (e) => Z.value = !1
713
+ }, [
714
+ w.value ? (g(), f("div", xe, [(g(), f("svg", {
715
+ key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
716
+ xmlns: me(ee),
717
+ viewBox: `0 0 ${Math.max(0, j.value.width)} ${Math.max(0, j.value.height)}`
718
+ }, [
719
+ p("defs", null, [ae(ie, {
720
+ t: "linear",
721
+ id: lt.value,
722
+ x1: "0%",
723
+ y1: "0%",
724
+ x2: "0%",
725
+ y2: "100%",
726
+ stops: [[
727
+ "0%",
728
+ s.minimapLineColor,
729
+ .31
730
+ ], [
731
+ "100%",
732
+ "transparent",
733
+ 0
734
+ ]]
735
+ }, null, 8, ["id", "stops"])]),
736
+ s.minimapCompact ? (g(), f("rect", {
737
+ key: 0,
738
+ class: "vue-ui-zoom-minimap-frame",
739
+ x: 0,
740
+ y: 0,
741
+ width: j.value.width,
742
+ height: j.value.height,
743
+ fill: "none",
744
+ stroke: s.minimapFrameColor,
745
+ rx: 3
746
+ }, null, 8, Ce)) : d("", !0),
747
+ s.minimapMerged ? (g(), f("path", {
748
+ key: 1,
749
+ d: `M${L.value.fullSet}`,
750
+ stroke: `${s.minimapLineColor}`,
751
+ fill: "none",
752
+ "stroke-width": "1",
753
+ "stroke-linecap": "round",
754
+ "stroke-linejoin": "round",
755
+ style: { opacity: "0.6" }
756
+ }, null, 8, we)) : (g(), f(l, { key: 2 }, [(g(!0), f(l, null, v(R.value.filter((e) => e.type === "bar"), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e.isVisible && !isNaN(n.y) ? (g(), f("rect", {
757
+ key: 0,
758
+ x: Lt(n.x, t, r),
759
+ width: Rt(t, r),
760
+ y: n.v >= 0 ? n.y : n.y0,
761
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
762
+ fill: e.color,
763
+ style: { opacity: "0.6" }
764
+ }, null, 8, Te)) : d("", !0)], 64))), 256))]))), 256)), (g(!0), f(l, null, v(R.value.filter((e) => e.type === "line"), (e) => (g(), f("g", { key: String(e.key) }, [e.isVisible ? (g(), f("path", {
765
+ key: 0,
766
+ d: `M ${e.fullSet}`,
767
+ fill: "none",
768
+ stroke: e.color,
769
+ style: { opacity: "0.6" }
770
+ }, null, 8, Ee)) : d("", !0), e.isVisible ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
771
+ key: `sel-dot-under-${e.key}-${t.i}`,
772
+ cx: t.x,
773
+ cy: t.y,
774
+ r: "2",
775
+ fill: e.color,
776
+ stroke: A.value,
777
+ "stroke-width": "0.5",
778
+ style: { opacity: "0.6" }
779
+ }, null, 8, De))), 128)) : d("", !0)]))), 128))], 64)),
780
+ p("rect", {
781
+ x: z.value.x,
782
+ width: z.value.width < 0 ? 0 : z.value.width,
783
+ height: Math.max(j.value.height, 0),
784
+ y: 0,
785
+ fill: A.value,
786
+ rx: s.minimapSelectionRadius,
787
+ stroke: "none"
788
+ }, null, 8, Oe),
789
+ p("rect", {
790
+ x: z.value.x,
791
+ width: z.value.width < 0 ? 0 : z.value.width,
792
+ height: Math.max(j.value.height, 0),
793
+ y: 0,
794
+ rx: s.minimapSelectionRadius,
795
+ fill: A.value
796
+ }, null, 8, ke),
797
+ p("rect", {
798
+ x: z.value.x,
799
+ width: z.value.width < 0 ? 0 : z.value.width,
800
+ height: Math.max(j.value.height, 0),
801
+ y: 0,
802
+ fill: s.minimapSelectedColor,
803
+ rx: s.minimapSelectionRadius,
804
+ style: h({ opacity: s.minimapSelectedColorOpacity })
805
+ }, null, 12, Ae),
806
+ B.value !== null && !J.value ? (g(), f("line", ce(oe({ key: 3 }, wn.value)), null, 16)) : d("", !0),
807
+ !s.minimapMerged && At.value < 0 ? (g(), f("line", {
808
+ key: 4,
809
+ class: "slicer-minimap-zero-line",
810
+ x1: 0,
811
+ x2: j.value.width,
812
+ y1: Pt.value,
813
+ y2: Pt.value,
814
+ stroke: s.minimapFrameColor,
815
+ "stroke-width": "0.5"
816
+ }, null, 8, je)) : d("", !0),
817
+ s.minimapMerged ? (g(), f(l, { key: 5 }, [L.value && L.value.sliced && L.value.sliced.length ? (g(), f(l, { key: 0 }, [L.value.selectionSet ? (g(), f("path", {
818
+ key: 0,
819
+ d: `M${L.value.sliced[0].x},${Math.max(j.value.height, 0)} ${L.value.selectionSet} L${L.value.sliced[L.value.sliced.length - 1].x},${Math.max(j.value.height, 0)}Z`,
820
+ fill: `url(#${lt.value})`,
821
+ stroke: "none",
822
+ style: { opacity: "1" }
823
+ }, null, 8, Me)) : d("", !0), L.value.selectionSet ? (g(), f("path", {
824
+ key: 1,
825
+ d: `M ${L.value.selectionSet}`,
826
+ stroke: `${s.minimapLineColor}`,
827
+ fill: "transparent",
828
+ "stroke-width": "2",
829
+ "stroke-linecap": "round",
830
+ "stroke-linejoin": "round"
831
+ }, null, 8, Ne)) : d("", !0)], 64)) : d("", !0)], 64)) : (g(), f("g", Pe, [(g(!0), f(l, null, v(R.value.filter((e) => e.type === "bar"), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e.isVisible && !isNaN(n.y) ? (g(), f("rect", {
832
+ key: 0,
833
+ x: Lt(n.x, t, r),
834
+ width: Rt(t, r),
835
+ y: n.v >= 0 ? n.y : n.y0,
836
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
837
+ fill: e.color,
838
+ style: h({ opacity: +(r >= s.valueStart && r <= s.valueEnd - 1) })
839
+ }, null, 12, Fe)) : d("", !0)], 64))), 256))]))), 256)), (g(!0), f(l, null, v(R.value.filter((e) => e.type === "line"), (e) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
840
+ key: 0,
841
+ d: `M ${e.selectionSet}`,
842
+ stroke: e.color,
843
+ fill: "transparent",
844
+ "stroke-width": "2",
845
+ "stroke-linecap": "round",
846
+ "stroke-linejoin": "round"
847
+ }, null, 8, Ie)) : d("", !0)]))), 128))])),
848
+ w.value && s.minimapCompact ? (g(), f("rect", {
849
+ key: 7,
850
+ class: "vue-ui-zoom-compact-minimap-handle",
851
+ x: z.value.x - Math.min(40, Math.max(20, s.handleWidth)),
852
+ y: 0,
853
+ width: Math.min(40, Math.max(20, s.handleWidth)),
854
+ height: j.value.height,
855
+ fill: s.handleFill || A.value,
856
+ stroke: s.handleBorderColor || s.textColor,
857
+ "stroke-width": s.handleBorderWidth,
858
+ rx: 3
859
+ }, null, 8, Le)) : d("", !0),
860
+ s.handleType && s.handleType !== "empty" ? (g(), f("svg", {
861
+ key: 8,
862
+ x: z.value.x - Math.min(40, Math.max(20, s.handleWidth)),
863
+ y: 0,
864
+ width: Math.min(40, Math.max(20, s.handleWidth)),
865
+ height: j.value.height,
866
+ viewBox: "0 0 20 20"
867
+ }, [s.handleType === "arrow" ? (g(), f("path", {
868
+ key: 0,
869
+ d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
870
+ fill: A.value,
871
+ stroke: s.handleIconColor || s.textColor,
872
+ "stroke-width": .618,
873
+ "stroke-linejoin": "round",
874
+ "stroke-linecap": "round"
875
+ }, null, 8, ze)) : s.handleType === "chevron" ? (g(), f("path", {
876
+ key: 1,
877
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
878
+ fill: "none",
879
+ stroke: s.handleIconColor || s.textColor,
880
+ "stroke-width": .618,
881
+ "stroke-linejoin": "round",
882
+ "stroke-linecap": "round"
883
+ }, null, 8, Be)) : s.handleType === "grab" ? (g(), f("path", {
884
+ key: 2,
885
+ d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
886
+ fill: s.handleIconColor || s.textColor,
887
+ stroke: "none",
888
+ opacity: "0.6"
889
+ }, null, 8, Ve)) : d("", !0)], 8, Re)) : d("", !0),
890
+ w.value && s.minimapCompact ? (g(), f("rect", {
891
+ key: 9,
892
+ class: "vue-ui-zoom-compact-minimap-handle",
893
+ x: z.value.x + z.value.width,
894
+ y: 0,
895
+ width: Math.min(40, Math.max(20, s.handleWidth)),
896
+ height: j.value.height,
897
+ fill: s.handleFill || A.value,
898
+ stroke: s.handleBorderColor || s.textColor,
899
+ "stroke-width": s.handleBorderWidth,
900
+ rx: 3
901
+ }, null, 8, He)) : d("", !0),
902
+ s.handleType && s.handleType !== "empty" ? (g(), f("svg", {
903
+ key: 10,
904
+ x: z.value.x + z.value.width,
905
+ y: 0,
906
+ width: Math.min(40, Math.max(20, s.handleWidth)),
907
+ height: j.value.height,
908
+ viewBox: "0 0 20 20"
909
+ }, [s.handleType === "arrow" ? (g(), f("path", {
910
+ key: 0,
911
+ d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
912
+ fill: A.value,
913
+ stroke: s.handleIconColor || s.textColor,
914
+ "stroke-width": .618,
915
+ "stroke-linejoin": "round",
916
+ "stroke-linecap": "round"
917
+ }, null, 8, We)) : s.handleType === "chevron" ? (g(), f("path", {
918
+ key: 1,
919
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
920
+ fill: "none",
921
+ stroke: s.handleIconColor || s.textColor,
922
+ "stroke-width": .618,
923
+ "stroke-linejoin": "round",
924
+ "stroke-linecap": "round"
925
+ }, null, 8, Ge)) : s.handleType === "grab" ? (g(), f("path", {
926
+ key: 2,
927
+ d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
928
+ fill: s.handleIconColor || s.textColor,
929
+ stroke: "none",
930
+ opacity: "0.6"
931
+ }, null, 8, Ke)) : d("", !0)], 8, Ue)) : d("", !0),
932
+ s.minimapMerged ? (g(), f(l, { key: 11 }, [
933
+ L.value && L.value.firstPlot && L.value.firstPlot.value !== null ? (g(), f("circle", {
934
+ key: 0,
935
+ cx: L.value.firstPlot.x,
936
+ cy: L.value.firstPlot.y,
937
+ "stroke-width": "0.5",
938
+ stroke: A.value,
939
+ r: "4",
940
+ fill: s.minimapLineColor
941
+ }, null, 8, qe)) : d("", !0),
942
+ L.value && L.value.firstPlot && L.value.firstPlot.value !== null ? (g(), f("circle", {
943
+ key: 1,
944
+ cx: L.value.firstPlot.x,
945
+ cy: L.value.firstPlot.y,
946
+ r: "2",
947
+ fill: A.value
948
+ }, null, 8, Je)) : d("", !0),
949
+ L.value && L.value.lastPlot && L.value.lastPlot.value !== null ? (g(), f("circle", {
950
+ key: 2,
951
+ cx: L.value.lastPlot.x,
952
+ cy: L.value.lastPlot.y,
953
+ "stroke-width": "0.5",
954
+ stroke: A.value,
955
+ r: "4",
956
+ fill: s.minimapLineColor
957
+ }, null, 8, Ye)) : d("", !0),
958
+ L.value && L.value.lastPlot && L.value.lastPlot.value !== null ? (g(), f("circle", {
959
+ key: 3,
960
+ cx: L.value.lastPlot.x,
961
+ cy: L.value.lastPlot.y,
962
+ r: "2",
963
+ fill: A.value
964
+ }, null, 8, Xe)) : d("", !0)
965
+ ], 64)) : (g(), f("g", Ze, [(g(!0), f(l, null, v(R.value.filter((e) => e.type === "line"), (e) => (g(), f("g", { key: String(e.key) }, [
966
+ e.isVisible ? (g(!0), f(l, { key: 0 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
967
+ key: `sel-dot-${e.key}-${t.i}`,
968
+ cx: t.x,
969
+ cy: t.y,
970
+ r: "2.5",
971
+ fill: e.color,
972
+ stroke: A.value,
973
+ "stroke-width": "0.5"
974
+ }, null, 8, Qe))), 128)) : d("", !0),
975
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
976
+ key: 1,
977
+ cx: e.firstPlot.x,
978
+ cy: e.firstPlot.y,
979
+ "stroke-width": "0.5",
980
+ stroke: A.value,
981
+ r: "4",
982
+ fill: e.color
983
+ }, null, 8, $e)) : d("", !0),
984
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
985
+ key: 2,
986
+ cx: e.firstPlot.x,
987
+ cy: e.firstPlot.y,
988
+ r: "2",
989
+ fill: A.value
990
+ }, null, 8, et)) : d("", !0),
991
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
992
+ key: 3,
993
+ cx: e.lastPlot.x,
994
+ cy: e.lastPlot.y,
995
+ "stroke-width": "0.5",
996
+ stroke: A.value,
997
+ r: "4",
998
+ fill: e.color
999
+ }, null, 8, tt)) : d("", !0),
1000
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1001
+ key: 4,
1002
+ cx: e.lastPlot.x,
1003
+ cy: e.lastPlot.y,
1004
+ r: "2",
1005
+ fill: A.value
1006
+ }, null, 8, nt)) : d("", !0)
1007
+ ]))), 128))])),
1008
+ (g(!0), f(l, null, v(Et.value, (e, n) => (g(), f("rect", {
1009
+ key: `trap-${n}`,
1010
+ y: 0,
1011
+ height: Math.max(j.value.height, 0),
1012
+ fill: "transparent",
1013
+ style: h([{ "pointer-events": "all !important" }, { cursor: e >= Q.value && e < $.value && s.enableSelectionDrag ? J.value ? "grabbing" : "grab" : "default" }]),
1014
+ x: P.value * n - (s.minimapCompact ? P.value / 2 : 0),
1015
+ width: P.value < 0 ? 0 : P.value,
1016
+ onMousedown: t[0] ||= (e) => J.value = !0,
1017
+ onMouseup: t[1] ||= (e) => J.value = !1,
1018
+ onMouseenter: (t) => Ut(e),
1019
+ onMouseleave: t[2] ||= (e) => {
1020
+ B.value = null, E("trapMouse", null);
1021
+ }
1022
+ }, null, 44, rt))), 128))
1023
+ ], 8, Se))])) : d("", !0),
1024
+ p("div", {
1025
+ class: "slider-track",
1026
+ style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
1027
+ }, null, 4),
1028
+ p("div", {
1029
+ class: m({
1030
+ "range-highlight": !0,
1031
+ move: s.enableSelectionDrag
1032
+ }),
1033
+ onMousedown: t[3] ||= (e) => J.value = !0,
1034
+ onMouseup: t[4] ||= (e) => J.value = !1,
1035
+ style: h({
1036
+ ...O.value,
1037
+ cursor: J.value ? "grabbing" : "grab",
1038
+ visibility: w.value && s.minimapCompact ? "hidden" : "visible"
1039
+ })
1040
+ }, null, 38),
1041
+ s.enableRangeHandles ? _e((g(), f("input", {
1042
+ key: 1,
1043
+ ref_key: "rangeStart",
1044
+ ref: Wt,
1045
+ type: "range",
1046
+ class: m({
1047
+ "range-left": !0,
1048
+ "range-handle": !0,
1049
+ "range-minimap": w.value && s.verticalHandles,
1050
+ "range-invisible": w.value && s.minimapCompact
1051
+ }),
1052
+ min: s.min,
1053
+ max: T.value && s.minimapCompact ? k.value : s.max,
1054
+ step: 1,
1055
+ "onUpdate:modelValue": t[5] ||= (e) => xt.value = e,
1056
+ onMouseenter: t[6] ||= (e) => vn("start")
1057
+ }, null, 42, it)), [[
1058
+ ge,
1059
+ xt.value,
1060
+ void 0,
1061
+ { number: !0 }
1062
+ ]]) : d("", !0),
1063
+ s.enableRangeHandles ? _e((g(), f("input", {
1064
+ key: 2,
1065
+ ref_key: "rangeEnd",
1066
+ ref: Gt,
1067
+ type: "range",
1068
+ class: m({
1069
+ "range-right": !0,
1070
+ "range-handle": !0,
1071
+ "range-minimap": w.value && s.verticalHandles,
1072
+ "range-invisible": w.value && s.minimapCompact
1073
+ }),
1074
+ min: s.min,
1075
+ max: T.value && s.minimapCompact ? k.value : s.max,
1076
+ step: 1,
1077
+ "onUpdate:modelValue": t[7] ||= (e) => St.value = e,
1078
+ onMouseenter: t[8] ||= (e) => vn("end")
1079
+ }, null, 42, at)), [[
1080
+ ge,
1081
+ St.value,
1082
+ void 0,
1083
+ { number: !0 }
1084
+ ]]) : d("", !0),
1085
+ s.labelLeft ? (g(), f("div", {
1086
+ key: 3,
1087
+ ref_key: "tooltipLeft",
1088
+ ref: Y,
1089
+ class: m({
1090
+ "range-tooltip": !0,
1091
+ "range-tooltip-visible": Z.value,
1092
+ "range-tooltip-arrow": O.value.arrowLeft && !s.verticalHandles,
1093
+ "range-tooltip-arrow-left": !O.value.arrowLeft && !s.verticalHandles
1094
+ }),
1095
+ style: h({
1096
+ left: O.value.tooltipLeft,
1097
+ color: me(o)(s.selectColor),
1098
+ backgroundColor: s.selectColor,
1099
+ border: `1px solid ${A.value}`,
1100
+ zIndex: `${_n.value + 4}`,
1101
+ visibility: yn.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1102
+ top: w.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1103
+ })
1104
+ }, pe(s.labelLeft), 7)) : d("", !0),
1105
+ (yn.value || s.labelLeft === s.labelRight) && (s.labelLeft || s.labelRight) ? (g(), f("div", {
1106
+ key: 4,
1107
+ ref: "tooltipMerge",
1108
+ class: m({
1109
+ "range-tooltip": !0,
1110
+ "range-tooltip-visible": Z.value,
1111
+ "range-tooltip-arrow": !0,
1112
+ "range-tooltip-arrow-left": !O.value.arrowLeft && !s.verticalHandles,
1113
+ "range-tooltip-arrow-right": !O.value.arrowRight && !s.verticalHandles
1114
+ }),
1115
+ style: h({
1116
+ left: O.value.tooltipCenter,
1117
+ width: bn.value.width + "px",
1118
+ color: me(o)(s.selectColor),
1119
+ backgroundColor: s.selectColor,
1120
+ border: `1px solid ${A.value}`,
1121
+ zIndex: "4",
1122
+ top: w.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1123
+ })
1124
+ }, pe(s.labelLeft === s.labelRight ? s.labelLeft : `${s.labelLeft} - ${s.labelRight}`), 7)) : d("", !0),
1125
+ s.labelRight ? (g(), f("div", {
1126
+ key: 5,
1127
+ ref_key: "tooltipRight",
1128
+ ref: X,
1129
+ class: m({
1130
+ "range-tooltip": !0,
1131
+ "range-tooltip-visible": Z.value,
1132
+ "range-tooltip-arrow": O.value.arrowRight && !s.verticalHandles,
1133
+ "range-tooltip-arrow-right": !O.value.arrowRight && !s.verticalHandles
1134
+ }),
1135
+ style: h({
1136
+ left: O.value.tooltipRight,
1137
+ color: me(o)(s.selectColor),
1138
+ backgroundColor: s.selectColor,
1139
+ border: `1px solid ${A.value}`,
1140
+ zIndex: "4",
1141
+ visibility: yn.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1142
+ top: w.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1143
+ })
1144
+ }, pe(s.labelRight), 7)) : d("", !0)
1145
+ ], 36)], 44, ve));
1146
+ }
1147
+ }, [["__scopeId", "data-v-902e8a0c"]]);
1148
+ //#endregion
1149
+ export { st as t };