@pipsend/charts 2.3.11 → 2.3.12

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @license
3
- * Pipsend Charts v2.3.11
3
+ * Pipsend Charts v2.3.12
4
4
  * Copyright (c) 2026 Pipsend
5
5
  * Licensed under MIT License
6
6
  * Built on TradingView Lightweight Charts™ (Apache 2.0)
@@ -19705,6 +19705,12 @@
19705
19705
  }
19706
19706
 
19707
19707
  const CLICK_TOLERANCE_PX = 4;
19708
+ /**
19709
+ * A fingertip never holds still: every tap travels further than a pointer
19710
+ * does, and judging it by the mouse's few pixels turned each one into a tiny
19711
+ * drag, so the tap never arrived.
19712
+ */
19713
+ const TOUCH_CLICK_TOLERANCE_PX = 12;
19708
19714
  /**
19709
19715
  * Single input owner for every trading line on a chart.
19710
19716
  *
@@ -19845,9 +19851,10 @@
19845
19851
  this._private__releasePointer();
19846
19852
  this._private__pressedLine = null;
19847
19853
  this._private__pressOrigin = null;
19854
+ const tolerance = wasTouch ? TOUCH_CLICK_TOLERANCE_PX : CLICK_TOLERANCE_PX;
19848
19855
  const moved = origin !== null &&
19849
- (Math.abs(event.clientX - origin._internal_x) > CLICK_TOLERANCE_PX ||
19850
- Math.abs(event.clientY - origin._internal_y) > CLICK_TOLERANCE_PX);
19856
+ (Math.abs(event.clientX - origin._internal_x) > tolerance ||
19857
+ Math.abs(event.clientY - origin._internal_y) > tolerance);
19851
19858
  if (dragged !== null) {
19852
19859
  this._private__dragging = null;
19853
19860
  this._private__grabOffset = 0;
@@ -31132,7 +31139,7 @@
31132
31139
  * Returns the current version as a string. For example `'1.0.0'`.
31133
31140
  */
31134
31141
  function version() {
31135
- return "2.3.11";
31142
+ return "2.3.12";
31136
31143
  }
31137
31144
 
31138
31145
  var PipsendChartsModule = /*#__PURE__*/Object.freeze({
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @license
3
- * Pipsend Charts v2.3.11
3
+ * Pipsend Charts v2.3.12
4
4
  * Copyright (c) 2026 Pipsend
5
5
  * Licensed under MIT License
6
6
  * Built on TradingView Lightweight Charts™ (Apache 2.0)
@@ -19702,6 +19702,12 @@ function setVolumeProfileData(indicator, data) {
19702
19702
  }
19703
19703
 
19704
19704
  const CLICK_TOLERANCE_PX = 4;
19705
+ /**
19706
+ * A fingertip never holds still: every tap travels further than a pointer
19707
+ * does, and judging it by the mouse's few pixels turned each one into a tiny
19708
+ * drag, so the tap never arrived.
19709
+ */
19710
+ const TOUCH_CLICK_TOLERANCE_PX = 12;
19705
19711
  /**
19706
19712
  * Single input owner for every trading line on a chart.
19707
19713
  *
@@ -19842,9 +19848,10 @@ class TradingLineController {
19842
19848
  this._private__releasePointer();
19843
19849
  this._private__pressedLine = null;
19844
19850
  this._private__pressOrigin = null;
19851
+ const tolerance = wasTouch ? TOUCH_CLICK_TOLERANCE_PX : CLICK_TOLERANCE_PX;
19845
19852
  const moved = origin !== null &&
19846
- (Math.abs(event.clientX - origin._internal_x) > CLICK_TOLERANCE_PX ||
19847
- Math.abs(event.clientY - origin._internal_y) > CLICK_TOLERANCE_PX);
19853
+ (Math.abs(event.clientX - origin._internal_x) > tolerance ||
19854
+ Math.abs(event.clientY - origin._internal_y) > tolerance);
19848
19855
  if (dragged !== null) {
19849
19856
  this._private__dragging = null;
19850
19857
  this._private__grabOffset = 0;
@@ -31129,7 +31136,7 @@ const customSeriesDefaultOptions = {
31129
31136
  * Returns the current version as a string. For example `'1.0.0'`.
31130
31137
  */
31131
31138
  function version() {
31132
- return "2.3.11";
31139
+ return "2.3.12";
31133
31140
  }
31134
31141
 
31135
31142
  export { areaSeries as AreaSeries, ArrowTool, barSeries as BarSeries, baselineSeries as BaselineSeries, BrushTool, candlestickSeries as CandlestickSeries, CircleTool, ColorType, CrossLineTool, CrosshairMode, DEFAULT_SESSIONS, DraggablePriceLine, DrawingToolsManager, EXTENDED_FIBONACCI_RATIOS, FibonacciCalculator, FibonacciExtensionTool, FibonacciFanTool, FibonacciTool, GanttTool, histogramSeries as HistogramSeries, HorizontalLineTool, InteractiveLineManager, LastPriceAnimationMode, lineSeries as LineSeries, LineStyle, LineType, MismatchDirection, ParallelChannelTool, PitchforkTool, PolygonTool, PositionCalculator, PositionLine, PositionMarkersManager, PositionTool, PriceLineSource, PriceScaleMode, RectangleTool, RulerCalculator, RulerTool, STANDARD_FIBONACCI_RATIOS, TextTool, TickMarkType, TrackingModeExitMode, TradingSessionsIndicator, TrendLineTool, VerticalLineTool, VolumeProfileIndicator, applyADX, applyATR, applyBollingerBands, applyCCI, applyDonchianChannels, applyEMA, applyHeikinAshi, applyIchimoku, applyKeltnerChannels, applyMACD, applyMFI, applyOBV, applyParabolicSAR, applyPivotPoints, applyRSI, applySMA, applyStochastic, applySuperTrend, applyVWAP, applyVolume, applyWMA, applyWilliamsR, calculateHeikinAshi, calculatePipConfig, coordinateFromTime, createArrowTool, createBrushTool, createChart, createChartEx, createCircleTool, createCrossLineTool, createFibonacciExtensionTool, createFibonacciFanTool, createFibonacciTool, createGanttTool, createHorizontalLineTool, createImageWatermark, createInteractiveLineManager, createOptionsChart, createParallelChannelTool, createPitchforkTool, createPolygonTool, createPositionLine, createPositionMarkers, createPositionTool, createRectangleTool, createRulerTool, createSeriesMarkers, createTextTool, createTextWatermark, createTradingLine, createTradingSessionsIndicator, createTrendLineTool, createUpDownMarkers, createVerticalLineTool, createVolumeProfileIndicator, createYieldCurveChart, customSeriesDefaultOptions, defaultHorzScaleBehavior, getPipConfig, hideSeriesPaint, isBusinessDay, isUTCTimestamp, setSeriesVolumes, setVolumeProfileData, timeFromCoordinate, version };