candleview 1.0.5 → 1.0.7
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.
- package/dist/index.d.ts +758 -4
- package/package.json +14 -6
- package/dist/components/CandleView/Camera.d.ts +0 -16
- package/dist/components/CandleView/CandleView.d.ts +0 -149
- package/dist/components/CandleView/ChartLayer/ChartEventManager.d.ts +0 -47
- package/dist/components/CandleView/ChartLayer/ChartInfo.d.ts +0 -62
- package/dist/components/CandleView/ChartLayer/ChartLayerMarkState.d.ts +0 -281
- package/dist/components/CandleView/ChartLayer/ChartManager.d.ts +0 -11
- package/dist/components/CandleView/ChartLayer/ChartMarkManager.d.ts +0 -203
- package/dist/components/CandleView/ChartLayer/ChartMarkTextEditManager.d.ts +0 -16
- package/dist/components/CandleView/ChartLayer/ChartTypeManager.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/MainChart/Area.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/Bar.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/BaseLine.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/BaselineArea.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Candlestick.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/HLCArea.d.ts +0 -35
- package/dist/components/CandleView/ChartLayer/MainChart/HeikinAshi.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/HighLow.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Histogram.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/HollowCandle.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/IMainChart.d.ts +0 -7
- package/dist/components/CandleView/ChartLayer/MainChart/Line.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/LineBreak.d.ts +0 -15
- package/dist/components/CandleView/ChartLayer/MainChart/MainChartManager.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/MainChart/MarketProfile.d.ts +0 -52
- package/dist/components/CandleView/ChartLayer/MainChart/Mountain.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/StepLine.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Volume.d.ts +0 -6
- package/dist/components/CandleView/ChartLayer/MainChart/VolumeHeatMap.d.ts +0 -41
- package/dist/components/CandleView/ChartLayer/Modal/ImageUploadModal.d.ts +0 -10
- package/dist/components/CandleView/ChartLayer/Modal/MainChartIndicatorsSettingModal.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/Modal/SubChartIndicatorsSettingModal.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/Modal/TextMarkEditorModal.d.ts +0 -21
- package/dist/components/CandleView/ChartLayer/Panes/BaseChartPane.d.ts +0 -41
- package/dist/components/CandleView/ChartLayer/Panes/ChartPaneFactory.d.ts +0 -6
- package/dist/components/CandleView/ChartLayer/Panes/ChartPanesManager.d.ts +0 -31
- package/dist/components/CandleView/ChartLayer/Panes/IChartPanes.d.ts +0 -42
- package/dist/components/CandleView/ChartLayer/SubChart/ADX.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/ATR.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/BBWidth.d.ts +0 -26
- package/dist/components/CandleView/ChartLayer/SubChart/CCI.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/KDJ.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/MACD.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/OBV.d.ts +0 -24
- package/dist/components/CandleView/ChartLayer/SubChart/RSI.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/SAR.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/Stochastic.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/Volume.d.ts +0 -24
- package/dist/components/CandleView/ChartLayer/ToolBar/GraphMarkToolBar.d.ts +0 -51
- package/dist/components/CandleView/ChartLayer/ToolBar/TextMarkToolBar.d.ts +0 -65
- package/dist/components/CandleView/ChartLayer/index.d.ts +0 -290
- package/dist/components/CandleView/DataAdapter.d.ts +0 -28
- package/dist/components/CandleView/DataLoader.d.ts +0 -15
- package/dist/components/CandleView/DataManager.d.ts +0 -23
- package/dist/components/CandleView/DataPointManager.d.ts +0 -45
- package/dist/components/CandleView/I18n.d.ts +0 -418
- package/dist/components/CandleView/Icons.d.ts +0 -161
- package/dist/components/CandleView/Indicators/MainChart/BaseIndicator.d.ts +0 -26
- package/dist/components/CandleView/Indicators/MainChart/BollingerBandsIndicator.d.ts +0 -51
- package/dist/components/CandleView/Indicators/MainChart/DonchianChannelIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/EMAIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/EnvelopeIndicator.d.ts +0 -52
- package/dist/components/CandleView/Indicators/MainChart/IchimokuIndicator.d.ts +0 -58
- package/dist/components/CandleView/Indicators/MainChart/MAIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorInfo.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorManager.d.ts +0 -28
- package/dist/components/CandleView/Indicators/MainChart/VWAPIndicator.d.ts +0 -26
- package/dist/components/CandleView/Indicators/SubChart/ADXIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/ATRIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/BBWidthIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/CCIIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/IIndicator.d.ts +0 -15
- package/dist/components/CandleView/Indicators/SubChart/KDJIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/MACDIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/OBVIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/RSIIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/SARIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/StochasticIndicator.d.ts +0 -25
- package/dist/components/CandleView/Indicators/SubChart/VolumeIndicator.d.ts +0 -11
- package/dist/components/CandleView/LeftPanel/Config.d.ts +0 -64
- package/dist/components/CandleView/LeftPanel/EmojiConfig.d.ts +0 -21
- package/dist/components/CandleView/LeftPanel/ToolManager.d.ts +0 -5
- package/dist/components/CandleView/LeftPanel/index.d.ts +0 -95
- package/dist/components/CandleView/Mark/Arrow/ArrowLineMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Arrow/ThickArrowLineMark.d.ts +0 -73
- package/dist/components/CandleView/Mark/Channel/DisjointChannelMark.d.ts +0 -74
- package/dist/components/CandleView/Mark/Channel/EquidistantChannelMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Channel/LinearRegressionChannelMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Channel/ParallelChannelMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Content/ImageMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciArcMark.d.ts +0 -88
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciChannelMark.d.ts +0 -80
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciCircleMark.d.ts +0 -81
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBasePriceMark.d.ts +0 -89
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBaseTimeMark.d.ts +0 -89
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciFanMark.d.ts +0 -91
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciRetracementMark.d.ts +0 -81
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciSpiralMark.d.ts +0 -95
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciTimeZoonMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciWedgeMark.d.ts +0 -97
- package/dist/components/CandleView/Mark/Fork/AndrewPitchforkMark.d.ts +0 -77
- package/dist/components/CandleView/Mark/Fork/EnhancedAndrewPitchforkMark.d.ts +0 -78
- package/dist/components/CandleView/Mark/Fork/SchiffPitchforkMark.d.ts +0 -86
- package/dist/components/CandleView/Mark/Gann/GannBoxMark.d.ts +0 -100
- package/dist/components/CandleView/Mark/Gann/GannFanMark.d.ts +0 -90
- package/dist/components/CandleView/Mark/Gann/GannRectangleMark.d.ts +0 -106
- package/dist/components/CandleView/Mark/IDeletableMark.d.ts +0 -5
- package/dist/components/CandleView/Mark/IGraph.d.ts +0 -7
- package/dist/components/CandleView/Mark/IMarkManager.d.ts +0 -11
- package/dist/components/CandleView/Mark/IMarkStyle.d.ts +0 -6
- package/dist/components/CandleView/Mark/Line/HorizontalLineMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Line/LineSegmentMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Line/VerticalLineMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Map/HeatMapMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Mock/MockKLineMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Pattern/ABCDMark.d.ts +0 -57
- package/dist/components/CandleView/Mark/Pattern/ElliottCorrectiveMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottDoubleCombinationMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottImpulseMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottTriangleMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottTripleCombinationMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/HeadAndShouldersMark.d.ts +0 -63
- package/dist/components/CandleView/Mark/Pattern/TriangleABCDMark.d.ts +0 -66
- package/dist/components/CandleView/Mark/Pattern/XABCDMark.d.ts +0 -58
- package/dist/components/CandleView/Mark/Pen/BrushMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Pen/EraserMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Pen/MarkerPenMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Pen/PenMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Pen/PencilMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Range/LongPositionMark.d.ts +0 -79
- package/dist/components/CandleView/Mark/Range/PriceRangeMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Range/ShortPositionMark.d.ts +0 -79
- package/dist/components/CandleView/Mark/Range/TimePriceRangeMark.d.ts +0 -74
- package/dist/components/CandleView/Mark/Range/TimeRangeMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Shape/CircleMark.d.ts +0 -78
- package/dist/components/CandleView/Mark/Shape/CurveMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Shape/DoubleCurveMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Shape/EllipseMark.d.ts +0 -85
- package/dist/components/CandleView/Mark/Shape/RectangleMark.ts.d.ts +0 -65
- package/dist/components/CandleView/Mark/Shape/SectorMark.d.ts +0 -83
- package/dist/components/CandleView/Mark/Shape/TriangleMark.d.ts +0 -91
- package/dist/components/CandleView/Mark/Static/BottomArrowMark.d.ts +0 -13
- package/dist/components/CandleView/Mark/Static/BottomTextMark.d.ts +0 -22
- package/dist/components/CandleView/Mark/Static/MultiBottomArrowMark.d.ts +0 -14
- package/dist/components/CandleView/Mark/Static/MultiBottomTextMark.d.ts +0 -36
- package/dist/components/CandleView/Mark/Static/MultiTopArrowMark.d.ts +0 -14
- package/dist/components/CandleView/Mark/Static/MultiTopTextMark.d.ts +0 -36
- package/dist/components/CandleView/Mark/Static/TopArrowMark.d.ts +0 -13
- package/dist/components/CandleView/Mark/Static/TopTextMark.d.ts +0 -22
- package/dist/components/CandleView/Mark/Text/BubbleBoxMark.d.ts +0 -126
- package/dist/components/CandleView/Mark/Text/EmojiMark.d.ts +0 -72
- package/dist/components/CandleView/Mark/Text/FlagMark.d.ts +0 -63
- package/dist/components/CandleView/Mark/Text/PinMark.d.ts +0 -110
- package/dist/components/CandleView/Mark/Text/PriceLabelMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Text/PriceNoteMark.d.ts +0 -87
- package/dist/components/CandleView/Mark/Text/SignPostMark.d.ts +0 -110
- package/dist/components/CandleView/Mark/Text/TextEditMark.d.ts +0 -105
- package/dist/components/CandleView/MarkManager/Channel/DisjointChannelMarkManager.d.ts +0 -67
- package/dist/components/CandleView/MarkManager/Channel/EquidistantChannelMarkManager.d.ts +0 -66
- package/dist/components/CandleView/MarkManager/Channel/LinearRegressionChannelMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Channel/ParallelChannelMarkManager.d.ts +0 -66
- package/dist/components/CandleView/MarkManager/Content/ImageMarkManager.d.ts +0 -57
- package/dist/components/CandleView/MarkManager/Elliott/ElliottCorrectiveMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottDoubleCombinationMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottImpulseMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTriangleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTripleCombinationMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciArcMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciChannelMarkManager.d.ts +0 -64
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciCircleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBasePriceMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBaseTimeMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciFanMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciRetracementMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciSpiralMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciTimeZoonMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciWedgeMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Fork/AndrewPitchforkMarkManager.d.ts +0 -71
- package/dist/components/CandleView/MarkManager/Fork/EnhancedAndrewPitchforkMarkManager.d.ts +0 -71
- package/dist/components/CandleView/MarkManager/Fork/SchiffPitchforkMarkManager.d.ts +0 -76
- package/dist/components/CandleView/MarkManager/Gann/GannBoxMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Gann/GannFanMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Gann/GannRectangleManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Line/ArrowLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Line/AxisLineMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Line/LineSegmentMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Line/ThickArrowLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Map/HeatMapMarkManager.d.ts +0 -64
- package/dist/components/CandleView/MarkManager/Mock/MockKLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Pattern/ABCDMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pattern/HeadAndShouldersMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pattern/TriangleABCDMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Pattern/XABCDMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pen/BrushMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/EraserMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Pen/MarkerPenMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/PenMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/PencilMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Range/LongPositionMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/PriceRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/ShortPositionMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/TimePriceRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/TimeRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Shape/CircleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/CurveMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/DoubleCurveMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Shape/EllipseMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Shape/RectangleMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Shape/SectorMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/TriangleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/StaticMarkManager.d.ts +0 -46
- package/dist/components/CandleView/MarkManager/Text/BubbleBoxMarkManager.d.ts +0 -61
- package/dist/components/CandleView/MarkManager/Text/EmojiMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Text/FlagMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Text/PinMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Text/PriceLabelMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Text/PriceNoteMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Text/SignPostMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Text/TextEditMarkManager.d.ts +0 -61
- package/dist/components/CandleView/Theme.d.ts +0 -59
- package/dist/components/CandleView/TopPanel/Config.d.ts +0 -23
- package/dist/components/CandleView/TopPanel/IndicatorProcessing.d.ts +0 -4
- package/dist/components/CandleView/TopPanel/index.d.ts +0 -104
- package/dist/components/CandleView/ViewportManager.d.ts +0 -53
- package/dist/components/CandleView/index.d.ts +0 -2
- package/dist/components/CandleView/tools.d.ts +0 -7
- package/dist/components/CandleView/types.d.ts +0 -200
- package/dist/index.test.d.ts +0 -1
- /package/dist/{candleview.js → index.js} +0 -0
- /package/dist/{candleview.mjs → index.mjs} +0 -0
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { BubbleBoxMark } from '../../Mark/Text/BubbleBoxMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface BubbleBoxMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface BubbleBoxMarkState {
|
|
12
|
-
isBubbleBoxMarkMode: boolean;
|
|
13
|
-
bubbleBoxMarkPoints: Point[] | null;
|
|
14
|
-
currentBubbleBoxMark: BubbleBoxMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: BubbleBoxMark | null;
|
|
17
|
-
dragType: 'controlPoint' | 'bubble' | 'connection' | null;
|
|
18
|
-
}
|
|
19
|
-
export declare class BubbleBoxMarkManager implements IMarkManager<BubbleBoxMark> {
|
|
20
|
-
private props;
|
|
21
|
-
private state;
|
|
22
|
-
private previewBubbleBoxMark;
|
|
23
|
-
private bubbleBoxMarks;
|
|
24
|
-
private dragStartData;
|
|
25
|
-
private isOperating;
|
|
26
|
-
private isCreatingNewBubble;
|
|
27
|
-
private creationStep;
|
|
28
|
-
constructor(props: BubbleBoxMarkManagerProps);
|
|
29
|
-
private _addEventListeners;
|
|
30
|
-
private _removeEventListeners;
|
|
31
|
-
private _handleBubbleBoxMarkDragStart;
|
|
32
|
-
clearState(): void;
|
|
33
|
-
getMarkAtPoint(point: Point): BubbleBoxMark | null;
|
|
34
|
-
getMarkAtPointWithType(point: Point): {
|
|
35
|
-
mark: BubbleBoxMark;
|
|
36
|
-
type: 'controlPoint' | 'bubble' | 'connection';
|
|
37
|
-
} | null;
|
|
38
|
-
getCurrentDragTarget(): BubbleBoxMark | null;
|
|
39
|
-
getCurrentDragPoint(): string | null;
|
|
40
|
-
getCurrentOperatingMark(): BubbleBoxMark | null;
|
|
41
|
-
getAllMarks(): BubbleBoxMark[];
|
|
42
|
-
cancelOperationMode(): BubbleBoxMarkState;
|
|
43
|
-
setBubbleBoxMarkMode: () => BubbleBoxMarkState;
|
|
44
|
-
cancelBubbleBoxMarkMode: () => BubbleBoxMarkState;
|
|
45
|
-
handleMouseDown: (point: Point) => BubbleBoxMarkState;
|
|
46
|
-
handleMouseMove: (point: Point) => void;
|
|
47
|
-
handleMouseUp: (point: Point) => BubbleBoxMarkState;
|
|
48
|
-
handleKeyDown: (event: KeyboardEvent) => BubbleBoxMarkState;
|
|
49
|
-
getState(): BubbleBoxMarkState;
|
|
50
|
-
updateProps(newProps: Partial<BubbleBoxMarkManagerProps>): void;
|
|
51
|
-
destroy(): void;
|
|
52
|
-
getBubbleBoxMarks(): BubbleBoxMark[];
|
|
53
|
-
removeBubbleBoxMark(mark: BubbleBoxMark): void;
|
|
54
|
-
isOperatingOnChart(): boolean;
|
|
55
|
-
updateBubbleText(mark: BubbleBoxMark, text: string): void;
|
|
56
|
-
private hiddenBubbleBoxMarks;
|
|
57
|
-
hideAllMarks(): void;
|
|
58
|
-
showAllMarks(): void;
|
|
59
|
-
hideMark(mark: BubbleBoxMark): void;
|
|
60
|
-
showMark(mark: BubbleBoxMark): void;
|
|
61
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { EmojiMark } from '../../Mark/Text/EmojiMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface EmojiMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface EmojiMarkState {
|
|
12
|
-
isEmojiMarkMode: boolean;
|
|
13
|
-
emojiMarkStartPoint: Point | null;
|
|
14
|
-
currentEmojiMark: EmojiMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: EmojiMark | null;
|
|
17
|
-
dragPoint: 'start' | 'end' | 'line' | null;
|
|
18
|
-
selectedEmoji: string | undefined;
|
|
19
|
-
}
|
|
20
|
-
export declare class EmojiMarkManager implements IMarkManager<EmojiMark> {
|
|
21
|
-
private props;
|
|
22
|
-
private state;
|
|
23
|
-
private previewEmojiMark;
|
|
24
|
-
private emojiMarks;
|
|
25
|
-
private dragStartData;
|
|
26
|
-
private isOperating;
|
|
27
|
-
constructor(props: EmojiMarkManagerProps);
|
|
28
|
-
clearState(): void;
|
|
29
|
-
getMarkAtPoint(point: Point): EmojiMark | null;
|
|
30
|
-
getCurrentDragTarget(): EmojiMark | null;
|
|
31
|
-
getCurrentDragPoint(): string | null;
|
|
32
|
-
getCurrentOperatingMark(): EmojiMark | null;
|
|
33
|
-
getAllMarks(): EmojiMark[];
|
|
34
|
-
cancelOperationMode(): EmojiMarkState;
|
|
35
|
-
setEmojiMarkMode: (emoji: string) => EmojiMarkState;
|
|
36
|
-
cancelEmojiMarkMode: () => EmojiMarkState;
|
|
37
|
-
handleMouseDown: (point: Point) => EmojiMarkState;
|
|
38
|
-
handleMouseMove: (point: Point) => void;
|
|
39
|
-
handleMouseUp: (point: Point) => EmojiMarkState;
|
|
40
|
-
handleKeyDown: (event: KeyboardEvent) => EmojiMarkState;
|
|
41
|
-
getState(): EmojiMarkState;
|
|
42
|
-
updateProps(newProps: Partial<EmojiMarkManagerProps>): void;
|
|
43
|
-
destroy(): void;
|
|
44
|
-
getEmojiMarks(): EmojiMark[];
|
|
45
|
-
removeEmojiMark(mark: EmojiMark): void;
|
|
46
|
-
isOperatingOnChart(): boolean;
|
|
47
|
-
private hiddenEmojiMarks;
|
|
48
|
-
hideAllMarks(): void;
|
|
49
|
-
showAllMarks(): void;
|
|
50
|
-
hideMark(mark: EmojiMark): void;
|
|
51
|
-
showMark(mark: EmojiMark): void;
|
|
52
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { FlagMark } from '../../Mark/Text/FlagMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface FlagMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface FlagMarkState {
|
|
12
|
-
isFlagMarkMode: boolean;
|
|
13
|
-
flagMarkPoint: Point | null;
|
|
14
|
-
currentFlagMark: FlagMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: FlagMark | null;
|
|
17
|
-
}
|
|
18
|
-
export declare class FlagMarkManager implements IMarkManager<FlagMark> {
|
|
19
|
-
private props;
|
|
20
|
-
private state;
|
|
21
|
-
private previewFlagMark;
|
|
22
|
-
private flagMarks;
|
|
23
|
-
private dragStartData;
|
|
24
|
-
private isOperating;
|
|
25
|
-
private isCreatingNewFlag;
|
|
26
|
-
constructor(props: FlagMarkManagerProps);
|
|
27
|
-
clearState(): void;
|
|
28
|
-
getMarkAtPoint(point: Point): FlagMark | null;
|
|
29
|
-
getCurrentDragTarget(): FlagMark | null;
|
|
30
|
-
getCurrentDragPoint(): string | null;
|
|
31
|
-
getCurrentOperatingMark(): FlagMark | null;
|
|
32
|
-
getAllMarks(): FlagMark[];
|
|
33
|
-
cancelOperationMode(): FlagMarkState;
|
|
34
|
-
setFlagMarkMode: () => FlagMarkState;
|
|
35
|
-
cancelFlagMarkMode: () => FlagMarkState;
|
|
36
|
-
handleMouseDown: (point: Point) => FlagMarkState;
|
|
37
|
-
handleMouseMove: (point: Point) => void;
|
|
38
|
-
handleMouseUp: (point: Point) => FlagMarkState;
|
|
39
|
-
handleKeyDown: (event: KeyboardEvent) => FlagMarkState;
|
|
40
|
-
getState(): FlagMarkState;
|
|
41
|
-
updateProps(newProps: Partial<FlagMarkManagerProps>): void;
|
|
42
|
-
destroy(): void;
|
|
43
|
-
getFlagMarks(): FlagMark[];
|
|
44
|
-
removeFlagMark(mark: FlagMark): void;
|
|
45
|
-
isOperatingOnChart(): boolean;
|
|
46
|
-
private hiddenFlagMarks;
|
|
47
|
-
hideAllMarks(): void;
|
|
48
|
-
showAllMarks(): void;
|
|
49
|
-
hideMark(mark: FlagMark): void;
|
|
50
|
-
showMark(mark: FlagMark): void;
|
|
51
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { PinMark } from '../../Mark/Text/PinMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface PinMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface PinMarkState {
|
|
12
|
-
isPinMarkMode: boolean;
|
|
13
|
-
pinMarkPoint: Point | null;
|
|
14
|
-
currentPinMark: PinMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: PinMark | null;
|
|
17
|
-
}
|
|
18
|
-
export declare class PinMarkManager implements IMarkManager<PinMark> {
|
|
19
|
-
private props;
|
|
20
|
-
private state;
|
|
21
|
-
private previewPinMark;
|
|
22
|
-
private pinMarks;
|
|
23
|
-
private dragStartData;
|
|
24
|
-
private isOperating;
|
|
25
|
-
private isCreatingNewPin;
|
|
26
|
-
constructor(props: PinMarkManagerProps);
|
|
27
|
-
private _addEventListeners;
|
|
28
|
-
private _removeEventListeners;
|
|
29
|
-
private _handlePinMarkDragStart;
|
|
30
|
-
clearState(): void;
|
|
31
|
-
getMarkAtPoint(point: Point): PinMark | null;
|
|
32
|
-
getCurrentDragTarget(): PinMark | null;
|
|
33
|
-
getCurrentDragPoint(): string | null;
|
|
34
|
-
getCurrentOperatingMark(): PinMark | null;
|
|
35
|
-
getAllMarks(): PinMark[];
|
|
36
|
-
cancelOperationMode(): PinMarkState;
|
|
37
|
-
setPinMarkMode: () => PinMarkState;
|
|
38
|
-
cancelPinMarkMode: () => PinMarkState;
|
|
39
|
-
handleMouseDown: (point: Point) => PinMarkState;
|
|
40
|
-
private hideAllBubbles;
|
|
41
|
-
handleMouseMove: (point: Point) => void;
|
|
42
|
-
handleMouseUp: (point: Point) => PinMarkState;
|
|
43
|
-
handleKeyDown: (event: KeyboardEvent) => PinMarkState;
|
|
44
|
-
getState(): PinMarkState;
|
|
45
|
-
updateProps(newProps: Partial<PinMarkManagerProps>): void;
|
|
46
|
-
destroy(): void;
|
|
47
|
-
getPinMarks(): PinMark[];
|
|
48
|
-
removePinMark(mark: PinMark): void;
|
|
49
|
-
isOperatingOnChart(): boolean;
|
|
50
|
-
updatePinText(mark: PinMark, text: string): void;
|
|
51
|
-
private hiddenPinMarks;
|
|
52
|
-
hideAllMarks(): void;
|
|
53
|
-
showAllMarks(): void;
|
|
54
|
-
hideMark(mark: PinMark): void;
|
|
55
|
-
showMark(mark: PinMark): void;
|
|
56
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { PriceLabelMark } from '../../Mark/Text/PriceLabelMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface PriceLabelMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface PriceLabelMarkState {
|
|
12
|
-
isPriceLabelMarkMode: boolean;
|
|
13
|
-
priceLabelMarkPoint: Point | null;
|
|
14
|
-
currentPriceLabelMark: PriceLabelMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: PriceLabelMark | null;
|
|
17
|
-
}
|
|
18
|
-
export declare class PriceLabelMarkManager implements IMarkManager<PriceLabelMark> {
|
|
19
|
-
private props;
|
|
20
|
-
private state;
|
|
21
|
-
private previewPriceLabelMark;
|
|
22
|
-
private priceLabelMarks;
|
|
23
|
-
private dragStartData;
|
|
24
|
-
private isOperating;
|
|
25
|
-
private isCreatingNewLabel;
|
|
26
|
-
constructor(props: PriceLabelMarkManagerProps);
|
|
27
|
-
clearState(): void;
|
|
28
|
-
getMarkAtPoint(point: Point): PriceLabelMark | null;
|
|
29
|
-
getCurrentDragTarget(): PriceLabelMark | null;
|
|
30
|
-
getCurrentDragPoint(): string | null;
|
|
31
|
-
getCurrentOperatingMark(): PriceLabelMark | null;
|
|
32
|
-
getAllMarks(): PriceLabelMark[];
|
|
33
|
-
cancelOperationMode(): PriceLabelMarkState;
|
|
34
|
-
setPriceLabelMarkMode: () => PriceLabelMarkState;
|
|
35
|
-
cancelPriceLabelMarkMode: () => PriceLabelMarkState;
|
|
36
|
-
handleMouseDown: (point: Point) => PriceLabelMarkState;
|
|
37
|
-
handleMouseMove: (point: Point) => void;
|
|
38
|
-
handleMouseUp: (point: Point) => PriceLabelMarkState;
|
|
39
|
-
handleKeyDown: (event: KeyboardEvent) => PriceLabelMarkState;
|
|
40
|
-
getState(): PriceLabelMarkState;
|
|
41
|
-
updateProps(newProps: Partial<PriceLabelMarkManagerProps>): void;
|
|
42
|
-
destroy(): void;
|
|
43
|
-
getPriceLabelMarks(): PriceLabelMark[];
|
|
44
|
-
removePriceLabelMark(mark: PriceLabelMark): void;
|
|
45
|
-
isOperatingOnChart(): boolean;
|
|
46
|
-
private hiddenPriceLabelMarks;
|
|
47
|
-
hideAllMarks(): void;
|
|
48
|
-
showAllMarks(): void;
|
|
49
|
-
hideMark(mark: PriceLabelMark): void;
|
|
50
|
-
showMark(mark: PriceLabelMark): void;
|
|
51
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { PriceNoteMark } from '../../Mark/Text/PriceNoteMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface PriceNoteMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface PriceNoteMarkState {
|
|
12
|
-
isPriceNoteMarkMode: boolean;
|
|
13
|
-
priceNoteMarkStartPoint: Point | null;
|
|
14
|
-
currentPriceNoteMark: PriceNoteMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: PriceNoteMark | null;
|
|
17
|
-
dragPoint: 'start' | 'end' | 'line' | null;
|
|
18
|
-
}
|
|
19
|
-
export declare class PriceNoteMarkManager implements IMarkManager<PriceNoteMark> {
|
|
20
|
-
private props;
|
|
21
|
-
private state;
|
|
22
|
-
private previewPriceNoteMark;
|
|
23
|
-
private priceNoteMarks;
|
|
24
|
-
private mouseDownPoint;
|
|
25
|
-
private dragStartData;
|
|
26
|
-
private isOperating;
|
|
27
|
-
constructor(props: PriceNoteMarkManagerProps);
|
|
28
|
-
clearState(): void;
|
|
29
|
-
getMarkAtPoint(point: Point): PriceNoteMark | null;
|
|
30
|
-
getCurrentDragTarget(): PriceNoteMark | null;
|
|
31
|
-
getCurrentDragPoint(): string | null;
|
|
32
|
-
getCurrentOperatingMark(): PriceNoteMark | null;
|
|
33
|
-
getAllMarks(): PriceNoteMark[];
|
|
34
|
-
cancelOperationMode(): PriceNoteMarkState;
|
|
35
|
-
setPriceNoteMarkMode: () => PriceNoteMarkState;
|
|
36
|
-
cancelPriceNoteMarkMode: () => PriceNoteMarkState;
|
|
37
|
-
handleMouseDown: (point: Point) => PriceNoteMarkState;
|
|
38
|
-
private isPointNearLine;
|
|
39
|
-
handleMouseMove: (point: Point) => void;
|
|
40
|
-
handleMouseUp: (point: Point) => PriceNoteMarkState;
|
|
41
|
-
handleKeyDown: (event: KeyboardEvent) => PriceNoteMarkState;
|
|
42
|
-
getState(): PriceNoteMarkState;
|
|
43
|
-
updateProps(newProps: Partial<PriceNoteMarkManagerProps>): void;
|
|
44
|
-
destroy(): void;
|
|
45
|
-
getPriceNoteMarks(): PriceNoteMark[];
|
|
46
|
-
removePriceNoteMark(mark: PriceNoteMark): void;
|
|
47
|
-
isOperatingOnChart(): boolean;
|
|
48
|
-
private hiddenPriceNoteMarks;
|
|
49
|
-
hideAllMarks(): void;
|
|
50
|
-
showAllMarks(): void;
|
|
51
|
-
hideMark(mark: PriceNoteMark): void;
|
|
52
|
-
showMark(mark: PriceNoteMark): void;
|
|
53
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { SignPostMark } from '../../Mark/Text/SignPostMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface SignPostMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface SignPostMarkState {
|
|
12
|
-
isSignPostMarkMode: boolean;
|
|
13
|
-
signPostMarkPoint: Point | null;
|
|
14
|
-
currentSignPostMark: SignPostMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: SignPostMark | null;
|
|
17
|
-
}
|
|
18
|
-
export declare class SignPostMarkManager implements IMarkManager<SignPostMark> {
|
|
19
|
-
private props;
|
|
20
|
-
private state;
|
|
21
|
-
private previewSignPostMark;
|
|
22
|
-
private landmarkLabelMarks;
|
|
23
|
-
private dragStartData;
|
|
24
|
-
private isOperating;
|
|
25
|
-
private isCreatingNewLabel;
|
|
26
|
-
constructor(props: SignPostMarkManagerProps);
|
|
27
|
-
private _addEventListeners;
|
|
28
|
-
private _removeEventListeners;
|
|
29
|
-
private _handleSignPostMarkDragStart;
|
|
30
|
-
clearState(): void;
|
|
31
|
-
getMarkAtPoint(point: Point): SignPostMark | null;
|
|
32
|
-
getCurrentDragTarget(): SignPostMark | null;
|
|
33
|
-
getCurrentDragPoint(): string | null;
|
|
34
|
-
getCurrentOperatingMark(): SignPostMark | null;
|
|
35
|
-
getAllMarks(): SignPostMark[];
|
|
36
|
-
cancelOperationMode(): SignPostMarkState;
|
|
37
|
-
setSignPostMarkMode: () => SignPostMarkState;
|
|
38
|
-
cancelSignPostMarkMode: () => SignPostMarkState;
|
|
39
|
-
handleMouseDown: (point: Point) => SignPostMarkState;
|
|
40
|
-
handleMouseMove: (point: Point) => void;
|
|
41
|
-
handleMouseUp: (point: Point) => SignPostMarkState;
|
|
42
|
-
handleKeyDown: (event: KeyboardEvent) => SignPostMarkState;
|
|
43
|
-
getState(): SignPostMarkState;
|
|
44
|
-
updateProps(newProps: Partial<SignPostMarkManagerProps>): void;
|
|
45
|
-
destroy(): void;
|
|
46
|
-
getSignPostMarks(): SignPostMark[];
|
|
47
|
-
removeSignPostMark(mark: SignPostMark): void;
|
|
48
|
-
isOperatingOnChart(): boolean;
|
|
49
|
-
updateSignPostText(mark: SignPostMark, text: string): void;
|
|
50
|
-
private hiddenSignPostMarks;
|
|
51
|
-
hideAllMarks(): void;
|
|
52
|
-
showAllMarks(): void;
|
|
53
|
-
hideMark(mark: SignPostMark): void;
|
|
54
|
-
showMark(mark: SignPostMark): void;
|
|
55
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ChartSeries } from '../../ChartLayer/ChartTypeManager';
|
|
2
|
-
import { IMarkManager } from '../../Mark/IMarkManager';
|
|
3
|
-
import { TextEditMark } from '../../Mark/Text/TextEditMark';
|
|
4
|
-
import { Point } from '../../types';
|
|
5
|
-
export interface TextEditMarkManagerProps {
|
|
6
|
-
chartSeries: ChartSeries | null;
|
|
7
|
-
chart: any;
|
|
8
|
-
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
-
onCloseDrawing?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface TextEditMarkState {
|
|
12
|
-
isTextEditMarkMode: boolean;
|
|
13
|
-
textEditMarkPoints: Point[] | null;
|
|
14
|
-
currentTextEditMark: TextEditMark | null;
|
|
15
|
-
isDragging: boolean;
|
|
16
|
-
dragTarget: TextEditMark | null;
|
|
17
|
-
dragType: 'bubble' | null;
|
|
18
|
-
}
|
|
19
|
-
export declare class TextEditMarkManager implements IMarkManager<TextEditMark> {
|
|
20
|
-
private props;
|
|
21
|
-
private state;
|
|
22
|
-
private previewTextEditMark;
|
|
23
|
-
private textEditMarks;
|
|
24
|
-
private dragStartData;
|
|
25
|
-
private isOperating;
|
|
26
|
-
private isCreatingNewText;
|
|
27
|
-
private creationStep;
|
|
28
|
-
constructor(props: TextEditMarkManagerProps);
|
|
29
|
-
private _addEventListeners;
|
|
30
|
-
private _removeEventListeners;
|
|
31
|
-
private _handleTextEditMarkDragStart;
|
|
32
|
-
clearState(): void;
|
|
33
|
-
getMarkAtPoint(point: Point): TextEditMark | null;
|
|
34
|
-
getMarkAtPointWithType(point: Point): {
|
|
35
|
-
mark: TextEditMark;
|
|
36
|
-
type: 'bubble';
|
|
37
|
-
} | null;
|
|
38
|
-
getCurrentDragTarget(): TextEditMark | null;
|
|
39
|
-
getCurrentDragPoint(): string | null;
|
|
40
|
-
getCurrentOperatingMark(): TextEditMark | null;
|
|
41
|
-
getAllMarks(): TextEditMark[];
|
|
42
|
-
cancelOperationMode(): TextEditMarkState;
|
|
43
|
-
setTextEditMarkMode: () => TextEditMarkState;
|
|
44
|
-
cancelTextEditMarkMode: () => TextEditMarkState;
|
|
45
|
-
handleMouseDown: (point: Point) => TextEditMarkState;
|
|
46
|
-
handleMouseMove: (point: Point) => void;
|
|
47
|
-
handleMouseUp: (point: Point) => TextEditMarkState;
|
|
48
|
-
handleKeyDown: (event: KeyboardEvent) => TextEditMarkState;
|
|
49
|
-
getState(): TextEditMarkState;
|
|
50
|
-
updateProps(newProps: Partial<TextEditMarkManagerProps>): void;
|
|
51
|
-
destroy(): void;
|
|
52
|
-
getTextEditMarks(): TextEditMark[];
|
|
53
|
-
removeTextEditMark(mark: TextEditMark): void;
|
|
54
|
-
isOperatingOnChart(): boolean;
|
|
55
|
-
updateTextEditText(mark: TextEditMark, text: string): void;
|
|
56
|
-
private hiddenTextEditMarks;
|
|
57
|
-
hideAllMarks(): void;
|
|
58
|
-
showAllMarks(): void;
|
|
59
|
-
hideMark(mark: TextEditMark): void;
|
|
60
|
-
showMark(mark: TextEditMark): void;
|
|
61
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export interface ThemeConfig {
|
|
2
|
-
panel: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
};
|
|
6
|
-
modal: {
|
|
7
|
-
textColor: string;
|
|
8
|
-
};
|
|
9
|
-
layout: {
|
|
10
|
-
background: {
|
|
11
|
-
color: string;
|
|
12
|
-
};
|
|
13
|
-
textColor: string;
|
|
14
|
-
attributionLogo: boolean;
|
|
15
|
-
};
|
|
16
|
-
grid: {
|
|
17
|
-
vertLines: {
|
|
18
|
-
visible: boolean;
|
|
19
|
-
color?: string;
|
|
20
|
-
};
|
|
21
|
-
horzLines: {
|
|
22
|
-
visible: boolean;
|
|
23
|
-
color?: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
chart: {
|
|
27
|
-
candleUpColor: string;
|
|
28
|
-
candleDownColor: string;
|
|
29
|
-
lineColor: string;
|
|
30
|
-
topColor: string;
|
|
31
|
-
bottomColor: string;
|
|
32
|
-
lineWidth: number;
|
|
33
|
-
upColor: string;
|
|
34
|
-
downColor: string;
|
|
35
|
-
background: string;
|
|
36
|
-
baseLineColor: string;
|
|
37
|
-
histogramColor: string;
|
|
38
|
-
stepLineColor: string;
|
|
39
|
-
areaTopColor: string;
|
|
40
|
-
areaBottomColor: string;
|
|
41
|
-
areaLineColor: string;
|
|
42
|
-
volumeColor: string;
|
|
43
|
-
};
|
|
44
|
-
toolbar: {
|
|
45
|
-
background: string;
|
|
46
|
-
border: string;
|
|
47
|
-
button: {
|
|
48
|
-
backgroundColor: string;
|
|
49
|
-
background: string;
|
|
50
|
-
hover: string;
|
|
51
|
-
active: string;
|
|
52
|
-
color: string;
|
|
53
|
-
activeTextColor: string;
|
|
54
|
-
boxShadow: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export declare const Dark: ThemeConfig;
|
|
59
|
-
export declare const Light: ThemeConfig;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CandleViewTopPanelState } from '.';
|
|
2
|
-
import { I18n } from '../I18n';
|
|
3
|
-
import { MainChartIndicatorType, SubChartIndicatorType, TimeframeEnum } from '../types';
|
|
4
|
-
export declare const mainIndicators: {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: MainChartIndicatorType;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const mainChartMaps: {
|
|
10
|
-
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
type: MainChartIndicatorType;
|
|
13
|
-
}[];
|
|
14
|
-
export declare const subChartIndicators: {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: SubChartIndicatorType;
|
|
18
|
-
}[];
|
|
19
|
-
export declare function getAllTimeframes(i18n: I18n): {
|
|
20
|
-
type: string;
|
|
21
|
-
sectionKey: keyof CandleViewTopPanelState["timeframeSections"];
|
|
22
|
-
values: TimeframeEnum[];
|
|
23
|
-
}[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as CandleViewTopPanel } from '.';
|
|
2
|
-
import { SubChartIndicatorType } from '../types';
|
|
3
|
-
export declare function handleMainIndicatorToggle(candleViewTopPanel: CandleViewTopPanel, indicatorId: string): void;
|
|
4
|
-
export declare function handleSubChartIndicatorToggle(candleViewTopPanel: CandleViewTopPanel, indicatorType: SubChartIndicatorType): void;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ThemeConfig } from '../Theme';
|
|
3
|
-
import { MainChartIndicatorInfo } from '../Indicators/MainChart/MainChartIndicatorInfo';
|
|
4
|
-
import { MainChartType, SubChartIndicatorType } from '../types';
|
|
5
|
-
import { I18n } from '../I18n';
|
|
6
|
-
interface CandleViewTopPanelProps {
|
|
7
|
-
currentTheme: ThemeConfig;
|
|
8
|
-
activeTimeframe: string;
|
|
9
|
-
activeMainChartType: MainChartType;
|
|
10
|
-
isDarkTheme: boolean;
|
|
11
|
-
isTimeframeModalOpen: boolean;
|
|
12
|
-
isIndicatorModalOpen: boolean;
|
|
13
|
-
isChartTypeModalOpen: boolean;
|
|
14
|
-
isSubChartModalOpen: boolean;
|
|
15
|
-
isTimezoneModalOpen: boolean;
|
|
16
|
-
isTimeFormatModalOpen: boolean;
|
|
17
|
-
isCloseTimeModalOpen: boolean;
|
|
18
|
-
isTradingDayModalOpen: boolean;
|
|
19
|
-
isMobileMenuOpen: boolean;
|
|
20
|
-
onMobileMenuToggle: () => void;
|
|
21
|
-
onThemeToggle: () => void;
|
|
22
|
-
onTimeframeClick: () => void;
|
|
23
|
-
onIndicatorClick: () => void;
|
|
24
|
-
onChartTypeClick: () => void;
|
|
25
|
-
onCompareClick: () => void;
|
|
26
|
-
onFullscreenClick: () => void;
|
|
27
|
-
onReplayClick: () => void;
|
|
28
|
-
onTimezoneClick: () => void;
|
|
29
|
-
onTimeFormatClick: () => void;
|
|
30
|
-
onCloseTimeClick: () => void;
|
|
31
|
-
onTradingDayClick: () => void;
|
|
32
|
-
onTimeframeSelect: (timeframe: string) => void;
|
|
33
|
-
onChartTypeSelect: (mainChartType: MainChartType) => void;
|
|
34
|
-
onTimezoneSelect: (timezone: string) => void;
|
|
35
|
-
handleSelectedMainChartIndicator: (indicators: MainChartIndicatorInfo) => void;
|
|
36
|
-
handleSelectedSubChartIndicator: (indicators: SubChartIndicatorType[]) => void;
|
|
37
|
-
showToolbar?: boolean;
|
|
38
|
-
onCloseModals?: () => void;
|
|
39
|
-
onSubChartClick?: () => void;
|
|
40
|
-
selectedSubChartIndicators?: SubChartIndicatorType[];
|
|
41
|
-
onCameraClick: () => void;
|
|
42
|
-
i18n: I18n;
|
|
43
|
-
currentTimezone: string;
|
|
44
|
-
currentCloseTime: string;
|
|
45
|
-
currentTradingDayType: string;
|
|
46
|
-
}
|
|
47
|
-
export interface CandleViewTopPanelState {
|
|
48
|
-
mainIndicatorsSearch: string;
|
|
49
|
-
subChartIndicatorsSearch: string;
|
|
50
|
-
chartTypeSearch: string;
|
|
51
|
-
selectedMainIndicator: MainChartIndicatorInfo | null;
|
|
52
|
-
selectedSubChartIndicators: SubChartIndicatorType[];
|
|
53
|
-
timeframeSections: {
|
|
54
|
-
Second: boolean;
|
|
55
|
-
Minute: boolean;
|
|
56
|
-
Hour: boolean;
|
|
57
|
-
Day: boolean;
|
|
58
|
-
Week: boolean;
|
|
59
|
-
Month: boolean;
|
|
60
|
-
};
|
|
61
|
-
timezoneSearch: string;
|
|
62
|
-
indicatorSections: {
|
|
63
|
-
technicalIndicators: boolean;
|
|
64
|
-
chart: boolean;
|
|
65
|
-
subChartIndicators: boolean;
|
|
66
|
-
};
|
|
67
|
-
windowWidth: number;
|
|
68
|
-
}
|
|
69
|
-
declare class CandleViewTopPanel extends React.Component<CandleViewTopPanelProps> {
|
|
70
|
-
private timeframeModalRef;
|
|
71
|
-
private chartTypeModalRef;
|
|
72
|
-
private indicatorModalRef;
|
|
73
|
-
private timezoneModalRef;
|
|
74
|
-
private mobileMenuModalRef;
|
|
75
|
-
state: CandleViewTopPanelState;
|
|
76
|
-
componentDidMount(): void;
|
|
77
|
-
componentWillUnmount(): void;
|
|
78
|
-
componentDidUpdate(prevProps: CandleViewTopPanelProps): void;
|
|
79
|
-
private handleResize;
|
|
80
|
-
private isMobileView;
|
|
81
|
-
private toggleMobileMenu;
|
|
82
|
-
private closeMobileMenu;
|
|
83
|
-
private handleTimeframeSelect;
|
|
84
|
-
private handleChartTypeSelect;
|
|
85
|
-
private handleTimezoneSelect;
|
|
86
|
-
private handleMainIndicatorsSearch;
|
|
87
|
-
private handleTimezoneSearch;
|
|
88
|
-
private filteredMaps;
|
|
89
|
-
private filteredMainIndicators;
|
|
90
|
-
private filteredSubChartIndicators;
|
|
91
|
-
private toggleTimeframeSection;
|
|
92
|
-
private toggleIndicatorSection;
|
|
93
|
-
private getChartTypeLabel;
|
|
94
|
-
private getCurrentTimezoneDisplayName;
|
|
95
|
-
private handleMenuItemClick;
|
|
96
|
-
private renderMobileMenuModal;
|
|
97
|
-
private renderTimeframeModal;
|
|
98
|
-
private handleChartTypeSearch;
|
|
99
|
-
private renderChartTypeModal;
|
|
100
|
-
private renderIndicatorModal;
|
|
101
|
-
private renderTimezoneModal;
|
|
102
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
103
|
-
}
|
|
104
|
-
export default CandleViewTopPanel;
|