@orderly.network/ui-transfer 2.5.2 → 2.5.3-alpha.1

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 CHANGED
@@ -357,7 +357,6 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
357
357
  loading: boolean;
358
358
  wrongNetwork: boolean;
359
359
  onConvert: () => Promise<void>;
360
- crossChainTrans: boolean;
361
360
  hasPositions: boolean;
362
361
  onSettlePnl: () => Promise<any>;
363
362
  networkId: NetworkId;
@@ -365,6 +364,7 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
365
364
  onSlippageChange: (value: number) => void;
366
365
  convertRate: string;
367
366
  minimumReceived: number;
367
+ outAmounts: string;
368
368
  isQuoteLoading: boolean;
369
369
  currentLTV: number;
370
370
  nextLTV: number;
@@ -445,4 +445,24 @@ declare const ActionButton: react__default.FC<ActionButtonProps>;
445
445
 
446
446
  declare const Fee: FC<Partial<UseDepositFeeReturn>>;
447
447
 
448
- export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, type DST, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, DepositFormWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, SwapDepositForm, SwapDepositFormWidget, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm as WithdrawFormUI, WithdrawFormWidget, WithdrawTo, checkIsAccountId, feeDecimalsOffset, getTokenByTokenList, getTransferErrorMessage, installDeposit, useActionType, useChainSelect, useConvertFormScript as useConvertForm, useDepositAction, useDepositFormScript, useInputStatus, useSwapDepositFormScript, useTransferFormScript, useWithdrawFormScript as useWithdrawForm };
448
+ type DepositStatusScriptReturn = ReturnType<typeof useDepositStatusScript>;
449
+ declare function useDepositStatusScript(): {
450
+ pendingCount: number;
451
+ completedCount: number;
452
+ isSignIn: boolean;
453
+ };
454
+
455
+ type DepositStatusProps = {
456
+ className?: string;
457
+ classNames?: {
458
+ root?: string;
459
+ items?: string;
460
+ };
461
+ onClick?: () => void;
462
+ } & DepositStatusScriptReturn;
463
+ declare const DepositStatus: (props: DepositStatusProps) => react_jsx_runtime.JSX.Element | null;
464
+
465
+ type DepositStatusWidgetProps = Pick<DepositStatusProps, "className" | "onClick">;
466
+ declare const DepositStatusWidget: (props: DepositStatusWidgetProps) => react_jsx_runtime.JSX.Element;
467
+
468
+ export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, type DST, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, DepositFormWidget, DepositStatus, DepositStatusWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, SwapDepositForm, SwapDepositFormWidget, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm as WithdrawFormUI, WithdrawFormWidget, WithdrawTo, checkIsAccountId, feeDecimalsOffset, getTokenByTokenList, getTransferErrorMessage, installDeposit, useActionType, useChainSelect, useConvertFormScript as useConvertForm, useDepositAction, useDepositFormScript, useDepositStatusScript, useInputStatus, useSwapDepositFormScript, useTransferFormScript, useWithdrawFormScript as useWithdrawForm };
package/dist/index.d.ts CHANGED
@@ -357,7 +357,6 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
357
357
  loading: boolean;
358
358
  wrongNetwork: boolean;
359
359
  onConvert: () => Promise<void>;
360
- crossChainTrans: boolean;
361
360
  hasPositions: boolean;
362
361
  onSettlePnl: () => Promise<any>;
363
362
  networkId: NetworkId;
@@ -365,6 +364,7 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
365
364
  onSlippageChange: (value: number) => void;
366
365
  convertRate: string;
367
366
  minimumReceived: number;
367
+ outAmounts: string;
368
368
  isQuoteLoading: boolean;
369
369
  currentLTV: number;
370
370
  nextLTV: number;
@@ -445,4 +445,24 @@ declare const ActionButton: react__default.FC<ActionButtonProps>;
445
445
 
446
446
  declare const Fee: FC<Partial<UseDepositFeeReturn>>;
447
447
 
448
- export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, type DST, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, DepositFormWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, SwapDepositForm, SwapDepositFormWidget, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm as WithdrawFormUI, WithdrawFormWidget, WithdrawTo, checkIsAccountId, feeDecimalsOffset, getTokenByTokenList, getTransferErrorMessage, installDeposit, useActionType, useChainSelect, useConvertFormScript as useConvertForm, useDepositAction, useDepositFormScript, useInputStatus, useSwapDepositFormScript, useTransferFormScript, useWithdrawFormScript as useWithdrawForm };
448
+ type DepositStatusScriptReturn = ReturnType<typeof useDepositStatusScript>;
449
+ declare function useDepositStatusScript(): {
450
+ pendingCount: number;
451
+ completedCount: number;
452
+ isSignIn: boolean;
453
+ };
454
+
455
+ type DepositStatusProps = {
456
+ className?: string;
457
+ classNames?: {
458
+ root?: string;
459
+ items?: string;
460
+ };
461
+ onClick?: () => void;
462
+ } & DepositStatusScriptReturn;
463
+ declare const DepositStatus: (props: DepositStatusProps) => react_jsx_runtime.JSX.Element | null;
464
+
465
+ type DepositStatusWidgetProps = Pick<DepositStatusProps, "className" | "onClick">;
466
+ declare const DepositStatusWidget: (props: DepositStatusWidgetProps) => react_jsx_runtime.JSX.Element;
467
+
468
+ export { ActionButton, AvailableQuantity, BrokerWallet, ChainSelect, type ConvertFormProps, ConvertFormUI, ConvertFormWidget, type CurrentChain, type DST, DepositAction, DepositAndWithdraw, type DepositAndWithdrawProps, DepositAndWithdrawWithDialogId, DepositAndWithdrawWithSheetId, DepositForm, DepositFormWidget, DepositStatus, DepositStatusWidget, ExchangeDivider, Fee, type InputStatus, QuantityInput, SwapCoin, SwapDepositForm, SwapDepositFormWidget, TransferDialogId, TransferForm, TransferFormWidget, type TransferFormWidgetProps, TransferSheetId, TransferWidget, Web3Wallet, WithdrawForm as WithdrawFormUI, WithdrawFormWidget, WithdrawTo, checkIsAccountId, feeDecimalsOffset, getTokenByTokenList, getTransferErrorMessage, installDeposit, useActionType, useChainSelect, useConvertFormScript as useConvertForm, useDepositAction, useDepositFormScript, useDepositStatusScript, useInputStatus, useSwapDepositFormScript, useTransferFormScript, useWithdrawFormScript as useWithdrawForm };