@orderly.network/trading 2.6.2-alpha.0 → 2.6.3-alpha.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/dist/index.d.mts +36 -36
- package/dist/index.d.ts +36 -36
- package/dist/index.js +24 -51
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactNode, FC, RefObject, PropsWithChildren } from 'react';
|
|
3
3
|
import * as _orderly_network_types from '@orderly.network/types';
|
|
4
4
|
import { API, NetworkId, AccountStatusEnum } from '@orderly.network/types';
|
|
5
5
|
import * as _orderly_network_ui_share from '@orderly.network/ui-share';
|
|
6
6
|
import { SharePnLConfig } from '@orderly.network/ui-share';
|
|
7
7
|
import { TradingviewWidgetPropsInterface } from '@orderly.network/ui-tradingview';
|
|
8
8
|
import { PositionsProps } from '@orderly.network/ui-positions';
|
|
9
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
9
|
import * as _orderly_network_hooks from '@orderly.network/hooks';
|
|
11
10
|
import Split, { SplitProps } from '@uiw/react-split';
|
|
11
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
12
|
import { SliderMarks } from '@orderly.network/ui';
|
|
13
13
|
|
|
14
14
|
type layoutInfo = {
|
|
@@ -178,9 +178,9 @@ type DataListState = ReturnType<typeof useDataListScript>;
|
|
|
178
178
|
|
|
179
179
|
declare const DataList: FC<DataListState>;
|
|
180
180
|
|
|
181
|
-
declare const DataListWidget:
|
|
181
|
+
declare const DataListWidget: React__default.FC<{
|
|
182
182
|
current?: DataListTabType;
|
|
183
|
-
} & PositionsProps
|
|
183
|
+
} & PositionsProps>;
|
|
184
184
|
|
|
185
185
|
declare const useLastTradesScript: (symbol: string) => {
|
|
186
186
|
base: string;
|
|
@@ -203,10 +203,10 @@ declare const LastTrades: FC<LastTradesState & {
|
|
|
203
203
|
right?: string;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
-
style?:
|
|
206
|
+
style?: React__default.CSSProperties;
|
|
207
207
|
}>;
|
|
208
208
|
|
|
209
|
-
declare const LastTradesWidget:
|
|
209
|
+
declare const LastTradesWidget: React__default.FC<{
|
|
210
210
|
symbol: string;
|
|
211
211
|
classNames?: {
|
|
212
212
|
root?: string;
|
|
@@ -218,8 +218,8 @@ declare const LastTradesWidget: (props: {
|
|
|
218
218
|
right?: string;
|
|
219
219
|
};
|
|
220
220
|
};
|
|
221
|
-
style?:
|
|
222
|
-
}
|
|
221
|
+
style?: React__default.CSSProperties;
|
|
222
|
+
}>;
|
|
223
223
|
|
|
224
224
|
declare const useAssetViewScript: () => {
|
|
225
225
|
onDeposit: () => Promise<unknown>;
|
|
@@ -248,7 +248,7 @@ declare const AssetView: FC<AssetViewState & {
|
|
|
248
248
|
type AssetViewWidgetProps = {
|
|
249
249
|
isFirstTimeDeposit?: boolean;
|
|
250
250
|
};
|
|
251
|
-
declare const AssetViewWidget:
|
|
251
|
+
declare const AssetViewWidget: React__default.FC<AssetViewWidgetProps>;
|
|
252
252
|
|
|
253
253
|
declare const useOrderBookScript: (props: {
|
|
254
254
|
symbol: string;
|
|
@@ -273,7 +273,7 @@ declare const useOrderBookScript: (props: {
|
|
|
273
273
|
};
|
|
274
274
|
type OrderBookState = ReturnType<typeof useOrderBookScript>;
|
|
275
275
|
|
|
276
|
-
declare const OrderBook:
|
|
276
|
+
declare const OrderBook: React__default.FC<OrderBookState & {
|
|
277
277
|
className?: string;
|
|
278
278
|
}>;
|
|
279
279
|
|
|
@@ -282,7 +282,7 @@ interface OrderBookWidgetProps {
|
|
|
282
282
|
symbol: string;
|
|
283
283
|
height?: number;
|
|
284
284
|
}
|
|
285
|
-
declare const OrderBookWidget:
|
|
285
|
+
declare const OrderBookWidget: React__default.FC<OrderBookWidgetProps>;
|
|
286
286
|
|
|
287
287
|
declare const useRiskRateScript: () => {
|
|
288
288
|
riskRate: string | null;
|
|
@@ -300,7 +300,7 @@ type RiskRateState = ReturnType<typeof useRiskRateScript>;
|
|
|
300
300
|
|
|
301
301
|
declare const RiskRate: FC<RiskRateState>;
|
|
302
302
|
|
|
303
|
-
declare const RiskRateWidget:
|
|
303
|
+
declare const RiskRateWidget: React__default.FC;
|
|
304
304
|
|
|
305
305
|
declare const useOrderBookAndTradesScript: (symbol: string) => {
|
|
306
306
|
symbol: string;
|
|
@@ -308,23 +308,23 @@ declare const useOrderBookAndTradesScript: (symbol: string) => {
|
|
|
308
308
|
width: number;
|
|
309
309
|
height: number;
|
|
310
310
|
} | undefined;
|
|
311
|
-
containerRef:
|
|
311
|
+
containerRef: React$1.RefObject<HTMLDivElement>;
|
|
312
312
|
tab: "orderBook" | "lastTrades";
|
|
313
|
-
setTab:
|
|
313
|
+
setTab: React$1.Dispatch<React$1.SetStateAction<"orderBook" | "lastTrades">>;
|
|
314
314
|
};
|
|
315
315
|
type OrderBookAndTradesState = ReturnType<typeof useOrderBookAndTradesScript>;
|
|
316
316
|
|
|
317
|
-
declare const OrderBookAndTrades: FC<OrderBookAndTradesState>;
|
|
317
|
+
declare const OrderBookAndTrades: React__default.FC<OrderBookAndTradesState>;
|
|
318
318
|
|
|
319
|
-
declare const OrderBookAndTradesWidget:
|
|
319
|
+
declare const OrderBookAndTradesWidget: React__default.FC<{
|
|
320
320
|
symbol: string;
|
|
321
|
-
}
|
|
321
|
+
}>;
|
|
322
322
|
|
|
323
|
-
declare const SplitLayout:
|
|
324
|
-
children?:
|
|
323
|
+
declare const SplitLayout: React__default.ForwardRefExoticComponent<SplitProps & {
|
|
324
|
+
children?: React__default.ReactNode | undefined;
|
|
325
325
|
} & {
|
|
326
326
|
onSizeChange?: (size: string) => void;
|
|
327
|
-
} &
|
|
327
|
+
} & React__default.RefAttributes<Split>>;
|
|
328
328
|
|
|
329
329
|
declare const useBottomNavBarScript: () => {
|
|
330
330
|
wrongNetwork: boolean;
|
|
@@ -343,7 +343,7 @@ declare const usePortfolioSheetScript: () => {
|
|
|
343
343
|
onDeposit: () => void;
|
|
344
344
|
onWithdraw: () => void;
|
|
345
345
|
showSliderTip: boolean;
|
|
346
|
-
setShowSliderTip:
|
|
346
|
+
setShowSliderTip: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
347
347
|
isMainAccount: boolean;
|
|
348
348
|
onTransfer: () => void;
|
|
349
349
|
hasSubAccount: boolean;
|
|
@@ -359,9 +359,9 @@ declare const usePortfolioSheetScript: () => {
|
|
|
359
359
|
step: number;
|
|
360
360
|
marks: SliderMarks;
|
|
361
361
|
onLeverageChange: (leverage: number) => void;
|
|
362
|
-
onLeverageIncrease:
|
|
363
|
-
onLeverageReduce:
|
|
364
|
-
onInputChange:
|
|
362
|
+
onLeverageIncrease: React$1.MouseEventHandler<SVGSVGElement>;
|
|
363
|
+
onLeverageReduce: React$1.MouseEventHandler<SVGSVGElement>;
|
|
364
|
+
onInputChange: React$1.ChangeEventHandler<HTMLInputElement>;
|
|
365
365
|
isReduceDisabled: boolean;
|
|
366
366
|
isIncreaseDisabled: boolean;
|
|
367
367
|
onValueCommit: (value: number | number[]) => void;
|
|
@@ -392,13 +392,13 @@ declare const useFundingRateScript: (symbol: string) => {
|
|
|
392
392
|
next_funding_time?: number | undefined;
|
|
393
393
|
sum_unitary_funding?: number | undefined;
|
|
394
394
|
};
|
|
395
|
-
onClick:
|
|
395
|
+
onClick: React$1.MouseEventHandler<HTMLElement>;
|
|
396
396
|
};
|
|
397
397
|
type FundingRateState = ReturnType<typeof useFundingRateScript>;
|
|
398
398
|
|
|
399
399
|
declare const FundingRate: FC<FundingRateState>;
|
|
400
400
|
|
|
401
|
-
declare const FundingRateWidget:
|
|
401
|
+
declare const FundingRateWidget: React__default.FC<{
|
|
402
402
|
symbol: string;
|
|
403
403
|
}>;
|
|
404
404
|
|
|
@@ -412,9 +412,9 @@ declare const useFundingRateModalScript: (options: FundingRateOptions) => {
|
|
|
412
412
|
};
|
|
413
413
|
type FundingRateModalState = ReturnType<typeof useFundingRateModalScript>;
|
|
414
414
|
|
|
415
|
-
declare const FundingRateModal:
|
|
415
|
+
declare const FundingRateModal: React__default.FC<FundingRateModalState>;
|
|
416
416
|
|
|
417
|
-
declare const FundingRateModalWidget:
|
|
417
|
+
declare const FundingRateModalWidget: React__default.FC<{
|
|
418
418
|
symbol: string;
|
|
419
419
|
}>;
|
|
420
420
|
declare const FundingRateDialogId = "FundingRateDialogId";
|
|
@@ -443,10 +443,10 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
443
443
|
ip: string;
|
|
444
444
|
invalidRegions: string[];
|
|
445
445
|
restrictedOpen: boolean;
|
|
446
|
-
content:
|
|
446
|
+
content: React$1.ReactNode | ((data: {
|
|
447
447
|
ip: string;
|
|
448
448
|
brokerName: string;
|
|
449
|
-
}) =>
|
|
449
|
+
}) => React$1.ReactNode);
|
|
450
450
|
canUnblock: boolean;
|
|
451
451
|
accessRestricted: any;
|
|
452
452
|
setAccessRestricted: (value: boolean | undefined) => void;
|
|
@@ -470,7 +470,7 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
470
470
|
panelSize: "middle" | "small" | "large";
|
|
471
471
|
onPanelSizeChange: (collapsed: "small" | "middle" | "large") => void;
|
|
472
472
|
animating: boolean;
|
|
473
|
-
setAnimating:
|
|
473
|
+
setAnimating: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
474
474
|
layout: any;
|
|
475
475
|
onLayout: (value: LayoutPosition) => void;
|
|
476
476
|
max2XL: boolean;
|
|
@@ -478,17 +478,17 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
478
478
|
max4XL: boolean;
|
|
479
479
|
canTrade: boolean;
|
|
480
480
|
openMarketsSheet: boolean;
|
|
481
|
-
onOpenMarketsSheetChange:
|
|
481
|
+
onOpenMarketsSheetChange: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
482
482
|
horizontalDraggable: boolean;
|
|
483
483
|
};
|
|
484
484
|
|
|
485
485
|
declare const Trading: FC<TradingState>;
|
|
486
486
|
|
|
487
|
-
declare const TradingWidget:
|
|
487
|
+
declare const TradingWidget: React__default.FC;
|
|
488
488
|
|
|
489
|
-
declare const TradingPage:
|
|
489
|
+
declare const TradingPage: React__default.FC<TradingPageProps>;
|
|
490
490
|
|
|
491
|
-
declare const TradingPageContext:
|
|
491
|
+
declare const TradingPageContext: React$1.Context<TradingPageState>;
|
|
492
492
|
declare const useTradingPageContext: () => TradingPageState;
|
|
493
493
|
|
|
494
494
|
declare const TradingPageProvider: FC<PropsWithChildren<TradingPageProps>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactNode, FC, RefObject, PropsWithChildren } from 'react';
|
|
3
3
|
import * as _orderly_network_types from '@orderly.network/types';
|
|
4
4
|
import { API, NetworkId, AccountStatusEnum } from '@orderly.network/types';
|
|
5
5
|
import * as _orderly_network_ui_share from '@orderly.network/ui-share';
|
|
6
6
|
import { SharePnLConfig } from '@orderly.network/ui-share';
|
|
7
7
|
import { TradingviewWidgetPropsInterface } from '@orderly.network/ui-tradingview';
|
|
8
8
|
import { PositionsProps } from '@orderly.network/ui-positions';
|
|
9
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
10
9
|
import * as _orderly_network_hooks from '@orderly.network/hooks';
|
|
11
10
|
import Split, { SplitProps } from '@uiw/react-split';
|
|
11
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
12
|
import { SliderMarks } from '@orderly.network/ui';
|
|
13
13
|
|
|
14
14
|
type layoutInfo = {
|
|
@@ -178,9 +178,9 @@ type DataListState = ReturnType<typeof useDataListScript>;
|
|
|
178
178
|
|
|
179
179
|
declare const DataList: FC<DataListState>;
|
|
180
180
|
|
|
181
|
-
declare const DataListWidget:
|
|
181
|
+
declare const DataListWidget: React__default.FC<{
|
|
182
182
|
current?: DataListTabType;
|
|
183
|
-
} & PositionsProps
|
|
183
|
+
} & PositionsProps>;
|
|
184
184
|
|
|
185
185
|
declare const useLastTradesScript: (symbol: string) => {
|
|
186
186
|
base: string;
|
|
@@ -203,10 +203,10 @@ declare const LastTrades: FC<LastTradesState & {
|
|
|
203
203
|
right?: string;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
-
style?:
|
|
206
|
+
style?: React__default.CSSProperties;
|
|
207
207
|
}>;
|
|
208
208
|
|
|
209
|
-
declare const LastTradesWidget:
|
|
209
|
+
declare const LastTradesWidget: React__default.FC<{
|
|
210
210
|
symbol: string;
|
|
211
211
|
classNames?: {
|
|
212
212
|
root?: string;
|
|
@@ -218,8 +218,8 @@ declare const LastTradesWidget: (props: {
|
|
|
218
218
|
right?: string;
|
|
219
219
|
};
|
|
220
220
|
};
|
|
221
|
-
style?:
|
|
222
|
-
}
|
|
221
|
+
style?: React__default.CSSProperties;
|
|
222
|
+
}>;
|
|
223
223
|
|
|
224
224
|
declare const useAssetViewScript: () => {
|
|
225
225
|
onDeposit: () => Promise<unknown>;
|
|
@@ -248,7 +248,7 @@ declare const AssetView: FC<AssetViewState & {
|
|
|
248
248
|
type AssetViewWidgetProps = {
|
|
249
249
|
isFirstTimeDeposit?: boolean;
|
|
250
250
|
};
|
|
251
|
-
declare const AssetViewWidget:
|
|
251
|
+
declare const AssetViewWidget: React__default.FC<AssetViewWidgetProps>;
|
|
252
252
|
|
|
253
253
|
declare const useOrderBookScript: (props: {
|
|
254
254
|
symbol: string;
|
|
@@ -273,7 +273,7 @@ declare const useOrderBookScript: (props: {
|
|
|
273
273
|
};
|
|
274
274
|
type OrderBookState = ReturnType<typeof useOrderBookScript>;
|
|
275
275
|
|
|
276
|
-
declare const OrderBook:
|
|
276
|
+
declare const OrderBook: React__default.FC<OrderBookState & {
|
|
277
277
|
className?: string;
|
|
278
278
|
}>;
|
|
279
279
|
|
|
@@ -282,7 +282,7 @@ interface OrderBookWidgetProps {
|
|
|
282
282
|
symbol: string;
|
|
283
283
|
height?: number;
|
|
284
284
|
}
|
|
285
|
-
declare const OrderBookWidget:
|
|
285
|
+
declare const OrderBookWidget: React__default.FC<OrderBookWidgetProps>;
|
|
286
286
|
|
|
287
287
|
declare const useRiskRateScript: () => {
|
|
288
288
|
riskRate: string | null;
|
|
@@ -300,7 +300,7 @@ type RiskRateState = ReturnType<typeof useRiskRateScript>;
|
|
|
300
300
|
|
|
301
301
|
declare const RiskRate: FC<RiskRateState>;
|
|
302
302
|
|
|
303
|
-
declare const RiskRateWidget:
|
|
303
|
+
declare const RiskRateWidget: React__default.FC;
|
|
304
304
|
|
|
305
305
|
declare const useOrderBookAndTradesScript: (symbol: string) => {
|
|
306
306
|
symbol: string;
|
|
@@ -308,23 +308,23 @@ declare const useOrderBookAndTradesScript: (symbol: string) => {
|
|
|
308
308
|
width: number;
|
|
309
309
|
height: number;
|
|
310
310
|
} | undefined;
|
|
311
|
-
containerRef:
|
|
311
|
+
containerRef: React$1.RefObject<HTMLDivElement>;
|
|
312
312
|
tab: "orderBook" | "lastTrades";
|
|
313
|
-
setTab:
|
|
313
|
+
setTab: React$1.Dispatch<React$1.SetStateAction<"orderBook" | "lastTrades">>;
|
|
314
314
|
};
|
|
315
315
|
type OrderBookAndTradesState = ReturnType<typeof useOrderBookAndTradesScript>;
|
|
316
316
|
|
|
317
|
-
declare const OrderBookAndTrades: FC<OrderBookAndTradesState>;
|
|
317
|
+
declare const OrderBookAndTrades: React__default.FC<OrderBookAndTradesState>;
|
|
318
318
|
|
|
319
|
-
declare const OrderBookAndTradesWidget:
|
|
319
|
+
declare const OrderBookAndTradesWidget: React__default.FC<{
|
|
320
320
|
symbol: string;
|
|
321
|
-
}
|
|
321
|
+
}>;
|
|
322
322
|
|
|
323
|
-
declare const SplitLayout:
|
|
324
|
-
children?:
|
|
323
|
+
declare const SplitLayout: React__default.ForwardRefExoticComponent<SplitProps & {
|
|
324
|
+
children?: React__default.ReactNode | undefined;
|
|
325
325
|
} & {
|
|
326
326
|
onSizeChange?: (size: string) => void;
|
|
327
|
-
} &
|
|
327
|
+
} & React__default.RefAttributes<Split>>;
|
|
328
328
|
|
|
329
329
|
declare const useBottomNavBarScript: () => {
|
|
330
330
|
wrongNetwork: boolean;
|
|
@@ -343,7 +343,7 @@ declare const usePortfolioSheetScript: () => {
|
|
|
343
343
|
onDeposit: () => void;
|
|
344
344
|
onWithdraw: () => void;
|
|
345
345
|
showSliderTip: boolean;
|
|
346
|
-
setShowSliderTip:
|
|
346
|
+
setShowSliderTip: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
347
347
|
isMainAccount: boolean;
|
|
348
348
|
onTransfer: () => void;
|
|
349
349
|
hasSubAccount: boolean;
|
|
@@ -359,9 +359,9 @@ declare const usePortfolioSheetScript: () => {
|
|
|
359
359
|
step: number;
|
|
360
360
|
marks: SliderMarks;
|
|
361
361
|
onLeverageChange: (leverage: number) => void;
|
|
362
|
-
onLeverageIncrease:
|
|
363
|
-
onLeverageReduce:
|
|
364
|
-
onInputChange:
|
|
362
|
+
onLeverageIncrease: React$1.MouseEventHandler<SVGSVGElement>;
|
|
363
|
+
onLeverageReduce: React$1.MouseEventHandler<SVGSVGElement>;
|
|
364
|
+
onInputChange: React$1.ChangeEventHandler<HTMLInputElement>;
|
|
365
365
|
isReduceDisabled: boolean;
|
|
366
366
|
isIncreaseDisabled: boolean;
|
|
367
367
|
onValueCommit: (value: number | number[]) => void;
|
|
@@ -392,13 +392,13 @@ declare const useFundingRateScript: (symbol: string) => {
|
|
|
392
392
|
next_funding_time?: number | undefined;
|
|
393
393
|
sum_unitary_funding?: number | undefined;
|
|
394
394
|
};
|
|
395
|
-
onClick:
|
|
395
|
+
onClick: React$1.MouseEventHandler<HTMLElement>;
|
|
396
396
|
};
|
|
397
397
|
type FundingRateState = ReturnType<typeof useFundingRateScript>;
|
|
398
398
|
|
|
399
399
|
declare const FundingRate: FC<FundingRateState>;
|
|
400
400
|
|
|
401
|
-
declare const FundingRateWidget:
|
|
401
|
+
declare const FundingRateWidget: React__default.FC<{
|
|
402
402
|
symbol: string;
|
|
403
403
|
}>;
|
|
404
404
|
|
|
@@ -412,9 +412,9 @@ declare const useFundingRateModalScript: (options: FundingRateOptions) => {
|
|
|
412
412
|
};
|
|
413
413
|
type FundingRateModalState = ReturnType<typeof useFundingRateModalScript>;
|
|
414
414
|
|
|
415
|
-
declare const FundingRateModal:
|
|
415
|
+
declare const FundingRateModal: React__default.FC<FundingRateModalState>;
|
|
416
416
|
|
|
417
|
-
declare const FundingRateModalWidget:
|
|
417
|
+
declare const FundingRateModalWidget: React__default.FC<{
|
|
418
418
|
symbol: string;
|
|
419
419
|
}>;
|
|
420
420
|
declare const FundingRateDialogId = "FundingRateDialogId";
|
|
@@ -443,10 +443,10 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
443
443
|
ip: string;
|
|
444
444
|
invalidRegions: string[];
|
|
445
445
|
restrictedOpen: boolean;
|
|
446
|
-
content:
|
|
446
|
+
content: React$1.ReactNode | ((data: {
|
|
447
447
|
ip: string;
|
|
448
448
|
brokerName: string;
|
|
449
|
-
}) =>
|
|
449
|
+
}) => React$1.ReactNode);
|
|
450
450
|
canUnblock: boolean;
|
|
451
451
|
accessRestricted: any;
|
|
452
452
|
setAccessRestricted: (value: boolean | undefined) => void;
|
|
@@ -470,7 +470,7 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
470
470
|
panelSize: "middle" | "small" | "large";
|
|
471
471
|
onPanelSizeChange: (collapsed: "small" | "middle" | "large") => void;
|
|
472
472
|
animating: boolean;
|
|
473
|
-
setAnimating:
|
|
473
|
+
setAnimating: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
474
474
|
layout: any;
|
|
475
475
|
onLayout: (value: LayoutPosition) => void;
|
|
476
476
|
max2XL: boolean;
|
|
@@ -478,17 +478,17 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
478
478
|
max4XL: boolean;
|
|
479
479
|
canTrade: boolean;
|
|
480
480
|
openMarketsSheet: boolean;
|
|
481
|
-
onOpenMarketsSheetChange:
|
|
481
|
+
onOpenMarketsSheetChange: React$1.Dispatch<React$1.SetStateAction<boolean>>;
|
|
482
482
|
horizontalDraggable: boolean;
|
|
483
483
|
};
|
|
484
484
|
|
|
485
485
|
declare const Trading: FC<TradingState>;
|
|
486
486
|
|
|
487
|
-
declare const TradingWidget:
|
|
487
|
+
declare const TradingWidget: React__default.FC;
|
|
488
488
|
|
|
489
|
-
declare const TradingPage:
|
|
489
|
+
declare const TradingPage: React__default.FC<TradingPageProps>;
|
|
490
490
|
|
|
491
|
-
declare const TradingPageContext:
|
|
491
|
+
declare const TradingPageContext: React$1.Context<TradingPageState>;
|
|
492
492
|
declare const useTradingPageContext: () => TradingPageState;
|
|
493
493
|
|
|
494
494
|
declare const TradingPageProvider: FC<PropsWithChildren<TradingPageProps>>;
|