react-klinecharts-ui 0.1.0
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/LICENSE +177 -0
- package/README.md +1132 -0
- package/dist/chunk-PUULIBFN.js +911 -0
- package/dist/chunk-PUULIBFN.js.map +1 -0
- package/dist/chunk-SLTXNLKN.cjs +932 -0
- package/dist/chunk-SLTXNLKN.cjs.map +1 -0
- package/dist/extensions.cjs +20 -0
- package/dist/extensions.cjs.map +1 -0
- package/dist/extensions.d.cts +69 -0
- package/dist/extensions.d.ts +69 -0
- package/dist/extensions.js +3 -0
- package/dist/extensions.js.map +1 -0
- package/dist/index.cjs +1497 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +426 -0
- package/dist/index.d.ts +426 -0
- package/dist/index.js +1390 -0
- package/dist/index.js.map +1 -0
- package/package.json +88 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { Dispatch, RefObject, ReactNode, ReactElement } from 'react';
|
|
3
|
+
import { Period, SymbolInfo, KLineData, Chart, DeepPartial, Styles, OverlayTemplate, DataLoader } from 'react-klinecharts';
|
|
4
|
+
import { OrderLineExtendData } from './extensions.cjs';
|
|
5
|
+
export { OrderLineFontStyle, OrderLineLabelStyle, OrderLineLineStyle, OrderLineMarkStyle, OrderLinePadding, orderLine, overlays, registerExtensions } from './extensions.cjs';
|
|
6
|
+
|
|
7
|
+
interface TerminalPeriod extends Period {
|
|
8
|
+
label: string;
|
|
9
|
+
}
|
|
10
|
+
declare const DEFAULT_PERIODS: TerminalPeriod[];
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Explicit partial symbol type — avoids `PickPartial<SymbolInfo, ...>` which
|
|
14
|
+
* degenerates when SymbolInfo has an index signature `[key: string]: unknown`.
|
|
15
|
+
*/
|
|
16
|
+
interface PartialSymbolInfo {
|
|
17
|
+
ticker: string;
|
|
18
|
+
pricePrecision?: number;
|
|
19
|
+
volumePrecision?: number;
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
interface Datafeed {
|
|
23
|
+
searchSymbols(search: string, signal?: AbortSignal): Promise<PartialSymbolInfo[]>;
|
|
24
|
+
getHistoryKLineData(symbol: SymbolInfo, period: TerminalPeriod, from: number, to: number): Promise<KLineData[]>;
|
|
25
|
+
subscribe(symbol: SymbolInfo, period: TerminalPeriod, callback: (data: KLineData) => void): void;
|
|
26
|
+
unsubscribe(symbol: SymbolInfo, period: TerminalPeriod): void;
|
|
27
|
+
}
|
|
28
|
+
interface KlinechartsUIOptions {
|
|
29
|
+
datafeed: Datafeed;
|
|
30
|
+
defaultSymbol?: PartialSymbolInfo;
|
|
31
|
+
defaultPeriod?: TerminalPeriod;
|
|
32
|
+
defaultTheme?: string;
|
|
33
|
+
defaultTimezone?: string;
|
|
34
|
+
defaultMainIndicators?: string[];
|
|
35
|
+
defaultSubIndicators?: string[];
|
|
36
|
+
defaultLocale?: string;
|
|
37
|
+
periods?: TerminalPeriod[];
|
|
38
|
+
styles?: DeepPartial<Styles>;
|
|
39
|
+
registerExtensions?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Additional overlay templates to register on mount (e.g. `orderLine`, custom overlays).
|
|
42
|
+
* These are registered once, alongside the built-in drawing-tool overlays.
|
|
43
|
+
*/
|
|
44
|
+
overlays?: OverlayTemplate[];
|
|
45
|
+
children: ReactNode;
|
|
46
|
+
/** Called on every dispatched action with the resulting new state and previous state. */
|
|
47
|
+
onStateChange?: (action: KlinechartsUIAction, nextState: KlinechartsUIState, prevState: KlinechartsUIState) => void;
|
|
48
|
+
onSymbolChange?: (symbol: PartialSymbolInfo) => void;
|
|
49
|
+
onPeriodChange?: (period: TerminalPeriod) => void;
|
|
50
|
+
onThemeChange?: (theme: string) => void;
|
|
51
|
+
onTimezoneChange?: (timezone: string) => void;
|
|
52
|
+
onMainIndicatorsChange?: (indicators: string[]) => void;
|
|
53
|
+
onSubIndicatorsChange?: (indicators: Record<string, string>) => void;
|
|
54
|
+
onSettingsChange?: (settings: Record<string, unknown>) => void;
|
|
55
|
+
}
|
|
56
|
+
interface KlinechartsUIState {
|
|
57
|
+
chart: Chart | null;
|
|
58
|
+
datafeed: Datafeed;
|
|
59
|
+
symbol: PartialSymbolInfo | null;
|
|
60
|
+
period: TerminalPeriod;
|
|
61
|
+
theme: string;
|
|
62
|
+
timezone: string;
|
|
63
|
+
isLoading: boolean;
|
|
64
|
+
locale: string;
|
|
65
|
+
periods: TerminalPeriod[];
|
|
66
|
+
mainIndicators: string[];
|
|
67
|
+
subIndicators: Record<string, string>;
|
|
68
|
+
styles: DeepPartial<Styles> | undefined;
|
|
69
|
+
screenshotUrl: string | null;
|
|
70
|
+
}
|
|
71
|
+
type KlinechartsUIAction = {
|
|
72
|
+
type: "SET_CHART";
|
|
73
|
+
chart: Chart;
|
|
74
|
+
} | {
|
|
75
|
+
type: "SET_SYMBOL";
|
|
76
|
+
symbol: PartialSymbolInfo;
|
|
77
|
+
} | {
|
|
78
|
+
type: "SET_PERIOD";
|
|
79
|
+
period: TerminalPeriod;
|
|
80
|
+
} | {
|
|
81
|
+
type: "SET_THEME";
|
|
82
|
+
theme: string;
|
|
83
|
+
} | {
|
|
84
|
+
type: "SET_TIMEZONE";
|
|
85
|
+
timezone: string;
|
|
86
|
+
} | {
|
|
87
|
+
type: "SET_LOADING";
|
|
88
|
+
isLoading: boolean;
|
|
89
|
+
} | {
|
|
90
|
+
type: "SET_MAIN_INDICATORS";
|
|
91
|
+
indicators: string[];
|
|
92
|
+
} | {
|
|
93
|
+
type: "SET_SUB_INDICATORS";
|
|
94
|
+
indicators: Record<string, string>;
|
|
95
|
+
} | {
|
|
96
|
+
type: "SET_STYLES";
|
|
97
|
+
styles: DeepPartial<Styles> | undefined;
|
|
98
|
+
} | {
|
|
99
|
+
type: "SET_LOCALE";
|
|
100
|
+
locale: string;
|
|
101
|
+
} | {
|
|
102
|
+
type: "SET_SCREENSHOT_URL";
|
|
103
|
+
url: string | null;
|
|
104
|
+
};
|
|
105
|
+
/** The stable, dispatch-only slice of the context (never changes after mount). */
|
|
106
|
+
interface KlinechartsUIDispatchValue {
|
|
107
|
+
dispatch: Dispatch<KlinechartsUIAction>;
|
|
108
|
+
datafeed: Datafeed;
|
|
109
|
+
onSettingsChange?: (settings: Record<string, unknown>) => void;
|
|
110
|
+
fullscreenContainerRef: RefObject<HTMLElement | null>;
|
|
111
|
+
}
|
|
112
|
+
/** Combined context value returned by `useKlinechartsUI()`. */
|
|
113
|
+
interface KlinechartsUIContextValue extends KlinechartsUIDispatchValue {
|
|
114
|
+
state: KlinechartsUIState;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare function KlinechartsUIProvider({ datafeed, defaultSymbol, defaultPeriod, defaultTheme, defaultTimezone, defaultMainIndicators, defaultSubIndicators, defaultLocale, periods, styles, registerExtensions: shouldRegister, overlays: extraOverlays, children, onStateChange, onSymbolChange, onPeriodChange, onThemeChange, onTimezoneChange, onMainIndicatorsChange, onSubIndicatorsChange, onSettingsChange, }: KlinechartsUIOptions): ReactElement;
|
|
118
|
+
|
|
119
|
+
declare const KlinechartsUIStateContext: react.Context<KlinechartsUIState | null>;
|
|
120
|
+
declare const KlinechartsUIDispatchContext: react.Context<KlinechartsUIDispatchValue | null>;
|
|
121
|
+
/**
|
|
122
|
+
* Primary hook — returns the full combined context value.
|
|
123
|
+
* For performance-sensitive cases, prefer the two split hooks internally.
|
|
124
|
+
*/
|
|
125
|
+
declare function useKlinechartsUI(): KlinechartsUIContextValue;
|
|
126
|
+
|
|
127
|
+
interface UseKlinechartsUIThemeReturn {
|
|
128
|
+
theme: string;
|
|
129
|
+
setTheme: (theme: string) => void;
|
|
130
|
+
toggleTheme: () => void;
|
|
131
|
+
}
|
|
132
|
+
declare function useKlinechartsUITheme(): UseKlinechartsUIThemeReturn;
|
|
133
|
+
|
|
134
|
+
interface UseKlinechartsUILoadingReturn {
|
|
135
|
+
isLoading: boolean;
|
|
136
|
+
}
|
|
137
|
+
declare function useKlinechartsUILoading(): UseKlinechartsUILoadingReturn;
|
|
138
|
+
|
|
139
|
+
interface UsePeriodsReturn {
|
|
140
|
+
periods: TerminalPeriod[];
|
|
141
|
+
activePeriod: TerminalPeriod;
|
|
142
|
+
setPeriod: (period: TerminalPeriod) => void;
|
|
143
|
+
}
|
|
144
|
+
declare function usePeriods(): UsePeriodsReturn;
|
|
145
|
+
|
|
146
|
+
interface TimezoneItem {
|
|
147
|
+
key: string;
|
|
148
|
+
localeKey: string;
|
|
149
|
+
}
|
|
150
|
+
interface UseTimezoneReturn {
|
|
151
|
+
timezones: TimezoneItem[];
|
|
152
|
+
activeTimezone: string;
|
|
153
|
+
setTimezone: (timezone: string) => void;
|
|
154
|
+
}
|
|
155
|
+
declare function useTimezone(): UseTimezoneReturn;
|
|
156
|
+
|
|
157
|
+
interface UseSymbolSearchReturn {
|
|
158
|
+
query: string;
|
|
159
|
+
results: PartialSymbolInfo[];
|
|
160
|
+
isSearching: boolean;
|
|
161
|
+
activeSymbol: PartialSymbolInfo | null;
|
|
162
|
+
setQuery: (query: string) => void;
|
|
163
|
+
selectSymbol: (symbol: PartialSymbolInfo) => void;
|
|
164
|
+
clearResults: () => void;
|
|
165
|
+
}
|
|
166
|
+
declare function useSymbolSearch(debounceMs?: number): UseSymbolSearchReturn;
|
|
167
|
+
|
|
168
|
+
interface IndicatorInfo {
|
|
169
|
+
name: string;
|
|
170
|
+
isActive: boolean;
|
|
171
|
+
}
|
|
172
|
+
interface UseIndicatorsReturn {
|
|
173
|
+
mainIndicators: IndicatorInfo[];
|
|
174
|
+
subIndicators: IndicatorInfo[];
|
|
175
|
+
activeMainIndicators: string[];
|
|
176
|
+
activeSubIndicators: Record<string, string>;
|
|
177
|
+
availableMainIndicators: string[];
|
|
178
|
+
availableSubIndicators: string[];
|
|
179
|
+
addMainIndicator: (name: string) => void;
|
|
180
|
+
removeMainIndicator: (name: string) => void;
|
|
181
|
+
addSubIndicator: (name: string) => void;
|
|
182
|
+
removeSubIndicator: (name: string) => void;
|
|
183
|
+
toggleMainIndicator: (name: string) => void;
|
|
184
|
+
toggleSubIndicator: (name: string) => void;
|
|
185
|
+
moveToMain: (name: string) => void;
|
|
186
|
+
moveToSub: (name: string) => void;
|
|
187
|
+
setIndicatorVisible: (name: string, isMain: boolean, visible: boolean) => void;
|
|
188
|
+
updateIndicatorParams: (name: string, paneId: string, params: number[]) => void;
|
|
189
|
+
getIndicatorParams: (name: string) => {
|
|
190
|
+
label: string;
|
|
191
|
+
defaultValue: number;
|
|
192
|
+
}[];
|
|
193
|
+
isMainIndicatorActive: (name: string) => boolean;
|
|
194
|
+
isSubIndicatorActive: (name: string) => boolean;
|
|
195
|
+
}
|
|
196
|
+
declare function useIndicators(): UseIndicatorsReturn;
|
|
197
|
+
|
|
198
|
+
interface DrawingTool {
|
|
199
|
+
name: string;
|
|
200
|
+
localeKey: string;
|
|
201
|
+
}
|
|
202
|
+
interface DrawingToolCategory {
|
|
203
|
+
key: string;
|
|
204
|
+
tools: DrawingTool[];
|
|
205
|
+
}
|
|
206
|
+
declare const DRAWING_CATEGORIES: DrawingToolCategory[];
|
|
207
|
+
type MagnetMode = "normal" | "weak" | "strong";
|
|
208
|
+
|
|
209
|
+
interface DrawingToolItem {
|
|
210
|
+
name: string;
|
|
211
|
+
localeKey: string;
|
|
212
|
+
}
|
|
213
|
+
interface DrawingCategoryItem {
|
|
214
|
+
key: string;
|
|
215
|
+
tools: DrawingToolItem[];
|
|
216
|
+
}
|
|
217
|
+
interface UseDrawingToolsReturn {
|
|
218
|
+
categories: DrawingCategoryItem[];
|
|
219
|
+
activeTool: string | null;
|
|
220
|
+
magnetMode: MagnetMode;
|
|
221
|
+
isLocked: boolean;
|
|
222
|
+
isVisible: boolean;
|
|
223
|
+
selectTool: (name: string) => void;
|
|
224
|
+
clearActiveTool: () => void;
|
|
225
|
+
setMagnetMode: (mode: MagnetMode) => void;
|
|
226
|
+
toggleLock: () => void;
|
|
227
|
+
toggleVisibility: () => void;
|
|
228
|
+
removeAllDrawings: () => void;
|
|
229
|
+
}
|
|
230
|
+
declare function useDrawingTools(): UseDrawingToolsReturn;
|
|
231
|
+
|
|
232
|
+
interface CandleTypeOption {
|
|
233
|
+
key: string;
|
|
234
|
+
localeKey: string;
|
|
235
|
+
}
|
|
236
|
+
declare const CANDLE_TYPES: CandleTypeOption[];
|
|
237
|
+
declare const PRICE_AXIS_TYPES: readonly ["normal", "percentage", "logarithm"];
|
|
238
|
+
type PriceAxisType = (typeof PRICE_AXIS_TYPES)[number];
|
|
239
|
+
declare const YAXIS_POSITIONS: readonly ["left", "right"];
|
|
240
|
+
type YAxisPosition = (typeof YAXIS_POSITIONS)[number];
|
|
241
|
+
declare const COMPARE_RULES: readonly ["current_open", "prev_close"];
|
|
242
|
+
type CompareRule = (typeof COMPARE_RULES)[number];
|
|
243
|
+
declare const TOOLTIP_SHOW_RULES: readonly ["always", "follow_cross", "none"];
|
|
244
|
+
type TooltipShowRule = (typeof TOOLTIP_SHOW_RULES)[number];
|
|
245
|
+
|
|
246
|
+
interface CandleTypeItem {
|
|
247
|
+
key: string;
|
|
248
|
+
localeKey: string;
|
|
249
|
+
}
|
|
250
|
+
interface KlinechartsUISettingsState {
|
|
251
|
+
candleType: string;
|
|
252
|
+
candleUpColor: string;
|
|
253
|
+
candleDownColor: string;
|
|
254
|
+
compareRule: CompareRule;
|
|
255
|
+
showLastPrice: boolean;
|
|
256
|
+
showLastPriceLine: boolean;
|
|
257
|
+
showHighPrice: boolean;
|
|
258
|
+
showLowPrice: boolean;
|
|
259
|
+
showIndicatorLastValue: boolean;
|
|
260
|
+
priceAxisType: PriceAxisType;
|
|
261
|
+
yAxisPosition: YAxisPosition;
|
|
262
|
+
yAxisInside: boolean;
|
|
263
|
+
reverseCoordinate: boolean;
|
|
264
|
+
showTimeAxis: boolean;
|
|
265
|
+
showGrid: boolean;
|
|
266
|
+
showCrosshair: boolean;
|
|
267
|
+
showCandleTooltip: boolean;
|
|
268
|
+
showIndicatorTooltip: boolean;
|
|
269
|
+
tooltipShowRule: TooltipShowRule;
|
|
270
|
+
}
|
|
271
|
+
interface UseKlinechartsUISettingsReturn extends KlinechartsUISettingsState {
|
|
272
|
+
candleTypes: CandleTypeItem[];
|
|
273
|
+
priceAxisTypes: {
|
|
274
|
+
key: PriceAxisType;
|
|
275
|
+
localeKey: string;
|
|
276
|
+
}[];
|
|
277
|
+
yAxisPositions: {
|
|
278
|
+
key: YAxisPosition;
|
|
279
|
+
localeKey: string;
|
|
280
|
+
}[];
|
|
281
|
+
compareRules: {
|
|
282
|
+
key: CompareRule;
|
|
283
|
+
localeKey: string;
|
|
284
|
+
}[];
|
|
285
|
+
tooltipShowRules: {
|
|
286
|
+
key: TooltipShowRule;
|
|
287
|
+
localeKey: string;
|
|
288
|
+
}[];
|
|
289
|
+
setCandleType: (type: string) => void;
|
|
290
|
+
setCandleUpColor: (color: string) => void;
|
|
291
|
+
setCandleDownColor: (color: string) => void;
|
|
292
|
+
setCompareRule: (rule: CompareRule) => void;
|
|
293
|
+
setShowLastPrice: (show: boolean) => void;
|
|
294
|
+
setShowLastPriceLine: (show: boolean) => void;
|
|
295
|
+
setShowHighPrice: (show: boolean) => void;
|
|
296
|
+
setShowLowPrice: (show: boolean) => void;
|
|
297
|
+
setShowIndicatorLastValue: (show: boolean) => void;
|
|
298
|
+
setPriceAxisType: (type: PriceAxisType) => void;
|
|
299
|
+
setYAxisPosition: (position: YAxisPosition) => void;
|
|
300
|
+
setYAxisInside: (inside: boolean) => void;
|
|
301
|
+
setReverseCoordinate: (reverse: boolean) => void;
|
|
302
|
+
setShowTimeAxis: (show: boolean) => void;
|
|
303
|
+
setShowGrid: (show: boolean) => void;
|
|
304
|
+
setShowCrosshair: (show: boolean) => void;
|
|
305
|
+
setShowCandleTooltip: (show: boolean) => void;
|
|
306
|
+
setShowIndicatorTooltip: (show: boolean) => void;
|
|
307
|
+
setTooltipShowRule: (rule: TooltipShowRule) => void;
|
|
308
|
+
resetToDefaults: () => void;
|
|
309
|
+
}
|
|
310
|
+
declare function useKlinechartsUISettings(): UseKlinechartsUISettingsReturn;
|
|
311
|
+
|
|
312
|
+
interface UseScreenshotReturn {
|
|
313
|
+
screenshotUrl: string | null;
|
|
314
|
+
capture: () => void;
|
|
315
|
+
download: (filename?: string) => void;
|
|
316
|
+
clear: () => void;
|
|
317
|
+
}
|
|
318
|
+
declare function useScreenshot(): UseScreenshotReturn;
|
|
319
|
+
|
|
320
|
+
interface UseFullscreenReturn {
|
|
321
|
+
isFullscreen: boolean;
|
|
322
|
+
toggle: () => void;
|
|
323
|
+
enter: () => void;
|
|
324
|
+
exit: () => void;
|
|
325
|
+
containerRef: React.RefObject<HTMLElement | null>;
|
|
326
|
+
}
|
|
327
|
+
declare function useFullscreen(): UseFullscreenReturn;
|
|
328
|
+
|
|
329
|
+
interface OrderLineOptions extends OrderLineExtendData {
|
|
330
|
+
/** Unique identifier. Auto-generated if omitted. */
|
|
331
|
+
id?: string;
|
|
332
|
+
/** Price level for the line. */
|
|
333
|
+
price: number;
|
|
334
|
+
/** Whether the user can drag the line to change its price. Defaults to false. */
|
|
335
|
+
draggable?: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* Called when the user finishes dragging the line to a new price.
|
|
338
|
+
* Receives the final price value after the drag ends.
|
|
339
|
+
*/
|
|
340
|
+
onPriceChange?: (price: number) => void;
|
|
341
|
+
}
|
|
342
|
+
interface UseOrderLinesReturn {
|
|
343
|
+
/**
|
|
344
|
+
* Creates an order line overlay at the given price level.
|
|
345
|
+
* Returns the line id, or null if the chart is not yet ready.
|
|
346
|
+
*/
|
|
347
|
+
createOrderLine: (options: OrderLineOptions) => string | null;
|
|
348
|
+
/**
|
|
349
|
+
* Updates an existing order line.
|
|
350
|
+
* Supply only the fields you want to change.
|
|
351
|
+
* Updating onPriceChange replaces the previous callback.
|
|
352
|
+
*/
|
|
353
|
+
updateOrderLine: (id: string, options: Partial<Omit<OrderLineOptions, "id">>) => void;
|
|
354
|
+
/** Removes the order line with the given id. */
|
|
355
|
+
removeOrderLine: (id: string) => void;
|
|
356
|
+
/** Removes all order lines created with this hook. */
|
|
357
|
+
removeAllOrderLines: () => void;
|
|
358
|
+
}
|
|
359
|
+
declare function useOrderLines(): UseOrderLinesReturn;
|
|
360
|
+
|
|
361
|
+
interface TimezoneOption {
|
|
362
|
+
key: string;
|
|
363
|
+
localeKey: string;
|
|
364
|
+
}
|
|
365
|
+
declare const TIMEZONES: TimezoneOption[];
|
|
366
|
+
|
|
367
|
+
interface IndicatorParamConfig {
|
|
368
|
+
label: string;
|
|
369
|
+
defaultValue: number;
|
|
370
|
+
}
|
|
371
|
+
interface IndicatorDefinition {
|
|
372
|
+
name: string;
|
|
373
|
+
localeKey: string;
|
|
374
|
+
params: IndicatorParamConfig[];
|
|
375
|
+
}
|
|
376
|
+
declare const MAIN_INDICATORS: string[];
|
|
377
|
+
declare const SUB_INDICATORS: string[];
|
|
378
|
+
declare const INDICATOR_PARAMS: Record<string, IndicatorDefinition>;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Creates a klinecharts DataLoader from a Datafeed instance.
|
|
382
|
+
* This bridges the react-klinecharts-ui Datafeed interface to the
|
|
383
|
+
* klinecharts native DataLoader format used by KLineChart component.
|
|
384
|
+
*
|
|
385
|
+
* In klinecharts terminology:
|
|
386
|
+
* - "init" = initial data load
|
|
387
|
+
* - "forward" = load older data (user scrolled left into history)
|
|
388
|
+
* - "backward" = load newer data (user scrolled right)
|
|
389
|
+
*/
|
|
390
|
+
declare function createDataLoader(datafeed: Datafeed, dispatch: Dispatch<KlinechartsUIAction>): DataLoader;
|
|
391
|
+
|
|
392
|
+
declare const arrow: OverlayTemplate;
|
|
393
|
+
|
|
394
|
+
declare const circle: OverlayTemplate;
|
|
395
|
+
|
|
396
|
+
declare const rect: OverlayTemplate;
|
|
397
|
+
|
|
398
|
+
declare const triangle: OverlayTemplate;
|
|
399
|
+
|
|
400
|
+
declare const parallelogram: OverlayTemplate;
|
|
401
|
+
|
|
402
|
+
declare const fibonacciCircle: OverlayTemplate;
|
|
403
|
+
|
|
404
|
+
declare const fibonacciSegment: OverlayTemplate;
|
|
405
|
+
|
|
406
|
+
declare const fibonacciSpiral: OverlayTemplate;
|
|
407
|
+
|
|
408
|
+
declare const fibonacciSpeedResistanceFan: OverlayTemplate;
|
|
409
|
+
|
|
410
|
+
declare const fibonacciExtension: OverlayTemplate;
|
|
411
|
+
|
|
412
|
+
declare const gannBox: OverlayTemplate;
|
|
413
|
+
|
|
414
|
+
declare const threeWaves: OverlayTemplate;
|
|
415
|
+
|
|
416
|
+
declare const fiveWaves: OverlayTemplate;
|
|
417
|
+
|
|
418
|
+
declare const eightWaves: OverlayTemplate;
|
|
419
|
+
|
|
420
|
+
declare const anyWaves: OverlayTemplate;
|
|
421
|
+
|
|
422
|
+
declare const abcd: OverlayTemplate;
|
|
423
|
+
|
|
424
|
+
declare const xabcd: OverlayTemplate;
|
|
425
|
+
|
|
426
|
+
export { CANDLE_TYPES, COMPARE_RULES, type CandleTypeItem, type CandleTypeOption, type CompareRule, DEFAULT_PERIODS, DRAWING_CATEGORIES, type Datafeed, type DrawingCategoryItem, type DrawingTool, type DrawingToolCategory, type DrawingToolItem, INDICATOR_PARAMS, type IndicatorDefinition, type IndicatorInfo, type IndicatorParamConfig, type KlinechartsUIAction, type KlinechartsUIContextValue, KlinechartsUIDispatchContext, type KlinechartsUIDispatchValue, type KlinechartsUIOptions, KlinechartsUIProvider, type KlinechartsUISettingsState, type KlinechartsUIState, KlinechartsUIStateContext, MAIN_INDICATORS, type MagnetMode, OrderLineExtendData, type OrderLineOptions, PRICE_AXIS_TYPES, type PartialSymbolInfo, type PriceAxisType, SUB_INDICATORS, TIMEZONES, TOOLTIP_SHOW_RULES, type TerminalPeriod, type TimezoneItem, type TimezoneOption, type TooltipShowRule, type UseDrawingToolsReturn, type UseFullscreenReturn, type UseIndicatorsReturn, type UseKlinechartsUILoadingReturn, type UseKlinechartsUISettingsReturn, type UseKlinechartsUIThemeReturn, type UseOrderLinesReturn, type UsePeriodsReturn, type UseScreenshotReturn, type UseSymbolSearchReturn, type UseTimezoneReturn, YAXIS_POSITIONS, type YAxisPosition, abcd, anyWaves, arrow, circle, createDataLoader, eightWaves, fibonacciCircle, fibonacciExtension, fibonacciSegment, fibonacciSpeedResistanceFan, fibonacciSpiral, fiveWaves, gannBox, parallelogram, rect, threeWaves, triangle, useDrawingTools, useFullscreen, useIndicators, useKlinechartsUI, useKlinechartsUILoading, useKlinechartsUISettings, useKlinechartsUITheme, useOrderLines, usePeriods, useScreenshot, useSymbolSearch, useTimezone, xabcd };
|