@agg-build/ui 2.4.6 → 2.5.2
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/chunk-AHQA3B7D.mjs +947 -0
- package/dist/{chunk-CXSIXL7M.mjs → chunk-AJJ73RM4.mjs} +698 -257
- package/dist/{chunk-TEBAR55W.mjs → chunk-EDQ64EKO.mjs} +339 -1084
- package/dist/{chunk-GWRFSQQK.mjs → chunk-FAU2VOL6.mjs} +1594 -700
- package/dist/{chunk-PTNFXXOV.mjs → chunk-FMYYPNZZ.mjs} +904 -788
- package/dist/{chunk-UH3DUTMG.mjs → chunk-JQKJDSTW.mjs} +1 -1
- package/dist/{chunk-I4X5UNCT.mjs → chunk-XAG432PJ.mjs} +12 -6
- package/dist/events.js +1077 -999
- package/dist/events.mjs +3 -3
- package/dist/index.js +16499 -14884
- package/dist/index.mjs +56 -18
- package/dist/modals.js +1292 -1084
- package/dist/modals.mjs +10 -10
- package/dist/pages.js +4954 -2639
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +905 -788
- package/dist/primitives.mjs +3 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +3383 -1508
- package/dist/trading.mjs +6 -4
- package/dist/types/auth/connect-button-view/connect-button-view.types.d.mts +2 -0
- package/dist/types/auth/connect-button-view/connect-button-view.types.d.ts +2 -0
- package/dist/types/auth/connect-button-view/index.d.mts +1 -1
- package/dist/types/auth/connect-button-view/index.d.ts +1 -1
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +1 -1
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +1 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +2 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +2 -1
- package/dist/types/pages/user-profile/components/open-order-row.d.mts +10 -1
- package/dist/types/pages/user-profile/components/open-order-row.d.ts +10 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +4 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +4 -1
- package/dist/types/pages/user-profile/components/positions-value-card.d.mts +4 -2
- package/dist/types/pages/user-profile/components/positions-value-card.d.ts +4 -2
- package/dist/types/pages/user-profile/index.d.mts +2 -2
- package/dist/types/pages/user-profile/index.d.ts +2 -2
- package/dist/types/pages/user-profile/user-profile.types.d.mts +12 -0
- package/dist/types/pages/user-profile/user-profile.types.d.ts +12 -0
- package/dist/types/primitives/calendar/index.d.mts +8 -0
- package/dist/types/primitives/calendar/index.d.ts +8 -0
- package/dist/types/primitives/icon/registry.d.mts +3 -0
- package/dist/types/primitives/icon/registry.d.ts +3 -0
- package/dist/types/primitives/icon/svg/calendar.d.mts +2 -0
- package/dist/types/primitives/icon/svg/calendar.d.ts +2 -0
- package/dist/types/primitives/icon/svg/minus.d.mts +2 -0
- package/dist/types/primitives/icon/svg/minus.d.ts +2 -0
- package/dist/types/primitives/icon/svg/plus.d.mts +2 -0
- package/dist/types/primitives/icon/svg/plus.d.ts +2 -0
- package/dist/types/primitives/index.d.mts +1 -0
- package/dist/types/primitives/index.d.ts +1 -0
- package/dist/types/profile/index.d.mts +1 -1
- package/dist/types/profile/index.d.ts +1 -1
- package/dist/types/profile/profile-modal.types.d.mts +6 -0
- package/dist/types/profile/profile-modal.types.d.ts +6 -0
- package/dist/types/profile/tabs/trading-access-tab.d.mts +3 -1
- package/dist/types/profile/tabs/trading-access-tab.d.ts +3 -1
- package/dist/types/trading/fund-kalshi-modal.d.mts +8 -0
- package/dist/types/trading/fund-kalshi-modal.d.ts +8 -0
- package/dist/types/trading/index.d.mts +1 -0
- package/dist/types/trading/index.d.ts +1 -0
- package/dist/types/trading/place-order/index.d.mts +1 -1
- package/dist/types/trading/place-order/index.d.ts +1 -1
- package/dist/types/trading/place-order/index.place-order.types.d.mts +13 -1
- package/dist/types/trading/place-order/index.place-order.types.d.ts +13 -1
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +18 -1
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +18 -1
- package/package.json +7 -4
- package/dist/chunk-JVRTJQPZ.mjs +0 -59
package/dist/trading.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
FundKalshiModal,
|
|
3
4
|
PlaceOrder,
|
|
4
5
|
PlaceOrderFailureView,
|
|
5
6
|
PlaceOrderSuccessView,
|
|
@@ -8,7 +9,7 @@ import {
|
|
|
8
9
|
parseVenue,
|
|
9
10
|
useClaimWinnings,
|
|
10
11
|
useResolvedMarketClaim
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FAU2VOL6.mjs";
|
|
12
13
|
import {
|
|
13
14
|
SETTLEMENT_SECTION_ID,
|
|
14
15
|
Settlement,
|
|
@@ -26,10 +27,11 @@ import {
|
|
|
26
27
|
prepareSettlementDifferences,
|
|
27
28
|
resolveDifferenceIconClassName,
|
|
28
29
|
useEventTradingContext
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-JQKJDSTW.mjs";
|
|
31
|
+
import "./chunk-AHQA3B7D.mjs";
|
|
32
|
+
import "./chunk-FMYYPNZZ.mjs";
|
|
32
33
|
export {
|
|
34
|
+
FundKalshiModal,
|
|
33
35
|
PlaceOrder,
|
|
34
36
|
PlaceOrderFailureView,
|
|
35
37
|
PlaceOrderSuccessView,
|
|
@@ -104,6 +104,8 @@ export type AuthConnectButtonViewProps = {
|
|
|
104
104
|
totalBalance: number;
|
|
105
105
|
/** Aggregated positions value shown in the connected state. */
|
|
106
106
|
positionsBalance: number;
|
|
107
|
+
/** Off-chain Kalshi cash balance in dollars. Null when no venue balance is available. */
|
|
108
|
+
kalshiBalance?: number | null;
|
|
107
109
|
/** Number of closed positions currently eligible to claim. */
|
|
108
110
|
claimReadyCount?: number;
|
|
109
111
|
/** Called when user clicks the claim-winnings action in the indicator tooltip. */
|
|
@@ -104,6 +104,8 @@ export type AuthConnectButtonViewProps = {
|
|
|
104
104
|
totalBalance: number;
|
|
105
105
|
/** Aggregated positions value shown in the connected state. */
|
|
106
106
|
positionsBalance: number;
|
|
107
|
+
/** Off-chain Kalshi cash balance in dollars. Null when no venue balance is available. */
|
|
108
|
+
kalshiBalance?: number | null;
|
|
107
109
|
/** Number of closed positions currently eligible to claim. */
|
|
108
110
|
claimReadyCount?: number;
|
|
109
111
|
/** Called when user clicks the claim-winnings action in the indicator tooltip. */
|
|
@@ -2,6 +2,6 @@ import type { JSX } from "react";
|
|
|
2
2
|
import type { AuthConnectButtonViewProps } from "./connect-button-view.types";
|
|
3
3
|
export type { AuthConnectButtonViewButtonProps, AuthConnectButtonViewClassNames, AuthConnectButtonViewMethod, AuthConnectButtonViewMethodInput, AuthConnectButtonViewProps, } from "./connect-button-view.types";
|
|
4
4
|
export declare const AuthConnectButtonView: {
|
|
5
|
-
({ activeMethodId, addressLabel, buttonProps, challengeContent, classNames, disabled, emailMethod, emailError, emailValue, errorMessage, isAuthenticated, isBalanceLoading, isBusy, isChooserOpen, isProfileMenuOpen, notice, onChooserOpenChange, onDepositClick, onDisconnectClick, onEmailChange, onEmailSubmit, onMethodSelect, onProfileCardClick, onProfileClick, onProfileMenuOpenChange, socialMethods, onWithdrawClick, profileLabel, totalBalance, positionsBalance, claimReadyCount, onClaimWinningsClick, walletMethods, isDepositBlocked, }: AuthConnectButtonViewProps): JSX.Element;
|
|
5
|
+
({ activeMethodId, addressLabel, buttonProps, challengeContent, classNames, disabled, emailMethod, emailError, emailValue, errorMessage, isAuthenticated, isBalanceLoading, isBusy, isChooserOpen, isProfileMenuOpen, notice, onChooserOpenChange, onDepositClick, onDisconnectClick, onEmailChange, onEmailSubmit, onMethodSelect, onProfileCardClick, onProfileClick, onProfileMenuOpenChange, socialMethods, onWithdrawClick, profileLabel, totalBalance, positionsBalance, kalshiBalance, claimReadyCount, onClaimWinningsClick, walletMethods, isDepositBlocked, }: AuthConnectButtonViewProps): JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -2,6 +2,6 @@ import type { JSX } from "react";
|
|
|
2
2
|
import type { AuthConnectButtonViewProps } from "./connect-button-view.types";
|
|
3
3
|
export type { AuthConnectButtonViewButtonProps, AuthConnectButtonViewClassNames, AuthConnectButtonViewMethod, AuthConnectButtonViewMethodInput, AuthConnectButtonViewProps, } from "./connect-button-view.types";
|
|
4
4
|
export declare const AuthConnectButtonView: {
|
|
5
|
-
({ activeMethodId, addressLabel, buttonProps, challengeContent, classNames, disabled, emailMethod, emailError, emailValue, errorMessage, isAuthenticated, isBalanceLoading, isBusy, isChooserOpen, isProfileMenuOpen, notice, onChooserOpenChange, onDepositClick, onDisconnectClick, onEmailChange, onEmailSubmit, onMethodSelect, onProfileCardClick, onProfileClick, onProfileMenuOpenChange, socialMethods, onWithdrawClick, profileLabel, totalBalance, positionsBalance, claimReadyCount, onClaimWinningsClick, walletMethods, isDepositBlocked, }: AuthConnectButtonViewProps): JSX.Element;
|
|
5
|
+
({ activeMethodId, addressLabel, buttonProps, challengeContent, classNames, disabled, emailMethod, emailError, emailValue, errorMessage, isAuthenticated, isBalanceLoading, isBusy, isChooserOpen, isProfileMenuOpen, notice, onChooserOpenChange, onDepositClick, onDisconnectClick, onEmailChange, onEmailSubmit, onMethodSelect, onProfileCardClick, onProfileClick, onProfileMenuOpenChange, socialMethods, onWithdrawClick, profileLabel, totalBalance, positionsBalance, kalshiBalance, claimReadyCount, onClaimWinningsClick, walletMethods, isDepositBlocked, }: AuthConnectButtonViewProps): JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConnectKalshiModalProps } from "../onboarding-modal.types";
|
|
2
2
|
export declare const ConnectKalshiModal: {
|
|
3
|
-
({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element;
|
|
3
|
+
({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element | null;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConnectKalshiModalProps } from "../onboarding-modal.types";
|
|
2
2
|
export declare const ConnectKalshiModal: {
|
|
3
|
-
({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element;
|
|
3
|
+
({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element | null;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
@@ -7,12 +7,13 @@ type ChainRow = {
|
|
|
7
7
|
type AvailableBalanceCardProps = {
|
|
8
8
|
label?: string;
|
|
9
9
|
valueLabel: string;
|
|
10
|
+
reservedValueLabel?: string;
|
|
10
11
|
chains: ChainRow[];
|
|
11
12
|
isLoading?: boolean;
|
|
12
13
|
className?: string;
|
|
13
14
|
};
|
|
14
15
|
export declare const AvailableBalanceCard: {
|
|
15
|
-
({ label, valueLabel, chains, isLoading, className, }: AvailableBalanceCardProps): JSX.Element;
|
|
16
|
+
({ label, valueLabel, reservedValueLabel, chains, isLoading, className, }: AvailableBalanceCardProps): JSX.Element;
|
|
16
17
|
displayName: string;
|
|
17
18
|
};
|
|
18
19
|
export {};
|
|
@@ -7,12 +7,13 @@ type ChainRow = {
|
|
|
7
7
|
type AvailableBalanceCardProps = {
|
|
8
8
|
label?: string;
|
|
9
9
|
valueLabel: string;
|
|
10
|
+
reservedValueLabel?: string;
|
|
10
11
|
chains: ChainRow[];
|
|
11
12
|
isLoading?: boolean;
|
|
12
13
|
className?: string;
|
|
13
14
|
};
|
|
14
15
|
export declare const AvailableBalanceCard: {
|
|
15
|
-
({ label, valueLabel, chains, isLoading, className, }: AvailableBalanceCardProps): JSX.Element;
|
|
16
|
+
({ label, valueLabel, reservedValueLabel, chains, isLoading, className, }: AvailableBalanceCardProps): JSX.Element;
|
|
16
17
|
displayName: string;
|
|
17
18
|
};
|
|
18
19
|
export {};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import type { UserProfileOpenOrder } from "../user-profile.types";
|
|
2
2
|
type OpenOrderRowProps = {
|
|
3
3
|
order: UserProfileOpenOrder;
|
|
4
|
+
href?: string;
|
|
4
5
|
onClick?: (order: UserProfileOpenOrder) => void;
|
|
5
6
|
onCancel?: (order: UserProfileOpenOrder) => void;
|
|
6
7
|
isCancelling?: boolean;
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
cancelAriaLabel?: string;
|
|
10
|
+
filledShortLabel?: string;
|
|
11
|
+
totalShortLabel?: string;
|
|
12
|
+
limitPriceHeader?: string;
|
|
13
|
+
filledHeader?: string;
|
|
14
|
+
totalHeader?: string;
|
|
15
|
+
expirationHeader?: string;
|
|
7
16
|
};
|
|
8
17
|
export declare const OpenOrderRow: {
|
|
9
|
-
({ order, onClick, onCancel, isCancelling, }: OpenOrderRowProps): JSX.Element;
|
|
18
|
+
({ order, href, onClick, onCancel, isCancelling, cancelLabel, cancelAriaLabel, limitPriceHeader, filledHeader, totalHeader, expirationHeader, }: OpenOrderRowProps): JSX.Element;
|
|
10
19
|
displayName: string;
|
|
11
20
|
};
|
|
12
21
|
export {};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import type { UserProfileOpenOrder } from "../user-profile.types";
|
|
2
2
|
type OpenOrderRowProps = {
|
|
3
3
|
order: UserProfileOpenOrder;
|
|
4
|
+
href?: string;
|
|
4
5
|
onClick?: (order: UserProfileOpenOrder) => void;
|
|
5
6
|
onCancel?: (order: UserProfileOpenOrder) => void;
|
|
6
7
|
isCancelling?: boolean;
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
cancelAriaLabel?: string;
|
|
10
|
+
filledShortLabel?: string;
|
|
11
|
+
totalShortLabel?: string;
|
|
12
|
+
limitPriceHeader?: string;
|
|
13
|
+
filledHeader?: string;
|
|
14
|
+
totalHeader?: string;
|
|
15
|
+
expirationHeader?: string;
|
|
7
16
|
};
|
|
8
17
|
export declare const OpenOrderRow: {
|
|
9
|
-
({ order, onClick, onCancel, isCancelling, }: OpenOrderRowProps): JSX.Element;
|
|
18
|
+
({ order, href, onClick, onCancel, isCancelling, cancelLabel, cancelAriaLabel, limitPriceHeader, filledHeader, totalHeader, expirationHeader, }: OpenOrderRowProps): JSX.Element;
|
|
10
19
|
displayName: string;
|
|
11
20
|
};
|
|
12
21
|
export {};
|
|
@@ -12,6 +12,7 @@ type PositionsActivityProps = {
|
|
|
12
12
|
onActivityClick?: (activity: UserProfileActivity) => void;
|
|
13
13
|
getActivityHref?: (activity: UserProfileActivity) => string | undefined;
|
|
14
14
|
onOpenOrderClick?: (order: UserProfileOpenOrder) => void;
|
|
15
|
+
getOpenOrderHref?: (order: UserProfileOpenOrder) => string | undefined;
|
|
15
16
|
onCancelOrder?: UserProfileCancelOrderHandler;
|
|
16
17
|
cancellingOrderIds?: Record<string, boolean>;
|
|
17
18
|
isLoadingPositions?: boolean;
|
|
@@ -33,6 +34,8 @@ type PositionsActivityProps = {
|
|
|
33
34
|
hasMoreOpenOrders?: boolean;
|
|
34
35
|
isLoadingMoreOpenOrders?: boolean;
|
|
35
36
|
onLoadMoreOpenOrders?: () => void;
|
|
37
|
+
/** Whether the Open orders tab and its content are available. */
|
|
38
|
+
showOpenOrders?: boolean;
|
|
36
39
|
/**
|
|
37
40
|
* Active tab. When provided, the component is controlled — `onTabChange` is
|
|
38
41
|
* invoked on click but the source of truth is the host (typically URL state).
|
|
@@ -45,7 +48,7 @@ type PositionsActivityProps = {
|
|
|
45
48
|
className?: string;
|
|
46
49
|
};
|
|
47
50
|
export declare const PositionsActivity: {
|
|
48
|
-
({ activePositions, closedPositions, activities, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onActivityClick, getActivityHref, isLoadingPositions, isLoadingActivities, positionsError, activitiesError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, tab, onTabChange, initialPositionFilter, className, }: PositionsActivityProps): JSX.Element;
|
|
51
|
+
({ activePositions, closedPositions, openOrders, activities, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onActivityClick, getActivityHref, onOpenOrderClick, getOpenOrderHref, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, showOpenOrders, tab, onTabChange, initialPositionFilter, className, }: PositionsActivityProps): JSX.Element;
|
|
49
52
|
displayName: string;
|
|
50
53
|
};
|
|
51
54
|
export {};
|
|
@@ -12,6 +12,7 @@ type PositionsActivityProps = {
|
|
|
12
12
|
onActivityClick?: (activity: UserProfileActivity) => void;
|
|
13
13
|
getActivityHref?: (activity: UserProfileActivity) => string | undefined;
|
|
14
14
|
onOpenOrderClick?: (order: UserProfileOpenOrder) => void;
|
|
15
|
+
getOpenOrderHref?: (order: UserProfileOpenOrder) => string | undefined;
|
|
15
16
|
onCancelOrder?: UserProfileCancelOrderHandler;
|
|
16
17
|
cancellingOrderIds?: Record<string, boolean>;
|
|
17
18
|
isLoadingPositions?: boolean;
|
|
@@ -33,6 +34,8 @@ type PositionsActivityProps = {
|
|
|
33
34
|
hasMoreOpenOrders?: boolean;
|
|
34
35
|
isLoadingMoreOpenOrders?: boolean;
|
|
35
36
|
onLoadMoreOpenOrders?: () => void;
|
|
37
|
+
/** Whether the Open orders tab and its content are available. */
|
|
38
|
+
showOpenOrders?: boolean;
|
|
36
39
|
/**
|
|
37
40
|
* Active tab. When provided, the component is controlled — `onTabChange` is
|
|
38
41
|
* invoked on click but the source of truth is the host (typically URL state).
|
|
@@ -45,7 +48,7 @@ type PositionsActivityProps = {
|
|
|
45
48
|
className?: string;
|
|
46
49
|
};
|
|
47
50
|
export declare const PositionsActivity: {
|
|
48
|
-
({ activePositions, closedPositions, activities, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onActivityClick, getActivityHref, isLoadingPositions, isLoadingActivities, positionsError, activitiesError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, tab, onTabChange, initialPositionFilter, className, }: PositionsActivityProps): JSX.Element;
|
|
51
|
+
({ activePositions, closedPositions, openOrders, activities, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onActivityClick, getActivityHref, onOpenOrderClick, getOpenOrderHref, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, showOpenOrders, tab, onTabChange, initialPositionFilter, className, }: PositionsActivityProps): JSX.Element;
|
|
49
52
|
displayName: string;
|
|
50
53
|
};
|
|
51
54
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
1
2
|
type PositionsValueCardProps = {
|
|
2
|
-
label
|
|
3
|
+
label: string;
|
|
3
4
|
valueLabel: string;
|
|
4
5
|
isLoading?: boolean;
|
|
5
6
|
className?: string;
|
|
7
|
+
icon?: ReactNode;
|
|
6
8
|
};
|
|
7
9
|
export declare const PositionsValueCard: {
|
|
8
|
-
({ label, valueLabel, isLoading, className, }: PositionsValueCardProps): JSX.Element;
|
|
10
|
+
({ label, valueLabel, isLoading, className, icon, }: PositionsValueCardProps): JSX.Element;
|
|
9
11
|
displayName: string;
|
|
10
12
|
};
|
|
11
13
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
1
2
|
type PositionsValueCardProps = {
|
|
2
|
-
label
|
|
3
|
+
label: string;
|
|
3
4
|
valueLabel: string;
|
|
4
5
|
isLoading?: boolean;
|
|
5
6
|
className?: string;
|
|
7
|
+
icon?: ReactNode;
|
|
6
8
|
};
|
|
7
9
|
export declare const PositionsValueCard: {
|
|
8
|
-
({ label, valueLabel, isLoading, className, }: PositionsValueCardProps): JSX.Element;
|
|
10
|
+
({ label, valueLabel, isLoading, className, icon, }: PositionsValueCardProps): JSX.Element;
|
|
9
11
|
displayName: string;
|
|
10
12
|
};
|
|
11
13
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { UserProfilePageProps } from "./user-profile.types";
|
|
2
|
-
export type { UserProfileActivity, UserProfileActivityStatus, UserProfileBalance, UserProfileConnectedExchange, UserProfileConnectedWallet, UserProfileInfo, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfilePositionVenueShare, UserProfileRedeemTransaction, UserProfileSocialLink, UserProfileTransferStatus, UserProfileVenueBalance, } from "./user-profile.types";
|
|
2
|
+
export type { UserProfileActivity, UserProfileActivityStatus, UserProfileBalance, UserProfileConnectedExchange, UserProfileConnectedWallet, UserProfileInfo, UserProfileOpenOrder, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfilePositionVenueShare, UserProfileRedeemTransaction, UserProfileSocialLink, UserProfileTransferStatus, UserProfileVenueBalance, } from "./user-profile.types";
|
|
3
3
|
export { USER_PROFILE_TAB_ACTIVITY, USER_PROFILE_TAB_OPEN_ORDERS, USER_PROFILE_TAB_POSITIONS, } from "./user-profile.constants";
|
|
4
4
|
export type { UserProfileTabValue } from "./user-profile.constants";
|
|
5
5
|
export { buildAggTxExplorerHref } from "./transaction-explorer";
|
|
6
6
|
export declare const UserProfilePage: {
|
|
7
|
-
({ user, balanceChainsOverride, venueBalances: _venueBalances, balance, activePositions, closedPositions, activities, executionMode, onEditProfile, onDeposit, onWithdraw, openOrders, initialPositionFilter, tab, onTabChange, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onClaimResult, onClaimSubmitError, onActivityClick, getActivityHref, onOpenOrderClick, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange: onPositionFilterChangeProp, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, classNames, onError, }: UserProfilePageProps & {
|
|
7
|
+
({ user, balanceChainsOverride, venueBalances: _venueBalances, balance, activePositions, closedPositions, activities, executionMode, onEditProfile, onDeposit, onWithdraw, openOrders, initialPositionFilter, tab, onTabChange, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onClaimResult, onClaimSubmitError, onActivityClick, getActivityHref, onOpenOrderClick, getOpenOrderHref, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange: onPositionFilterChangeProp, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, classNames, onError, }: UserProfilePageProps & {
|
|
8
8
|
onError?: (error: Error) => void;
|
|
9
9
|
}): JSX.Element;
|
|
10
10
|
displayName: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { UserProfilePageProps } from "./user-profile.types";
|
|
2
|
-
export type { UserProfileActivity, UserProfileActivityStatus, UserProfileBalance, UserProfileConnectedExchange, UserProfileConnectedWallet, UserProfileInfo, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfilePositionVenueShare, UserProfileRedeemTransaction, UserProfileSocialLink, UserProfileTransferStatus, UserProfileVenueBalance, } from "./user-profile.types";
|
|
2
|
+
export type { UserProfileActivity, UserProfileActivityStatus, UserProfileBalance, UserProfileConnectedExchange, UserProfileConnectedWallet, UserProfileInfo, UserProfileOpenOrder, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfilePositionVenueShare, UserProfileRedeemTransaction, UserProfileSocialLink, UserProfileTransferStatus, UserProfileVenueBalance, } from "./user-profile.types";
|
|
3
3
|
export { USER_PROFILE_TAB_ACTIVITY, USER_PROFILE_TAB_OPEN_ORDERS, USER_PROFILE_TAB_POSITIONS, } from "./user-profile.constants";
|
|
4
4
|
export type { UserProfileTabValue } from "./user-profile.constants";
|
|
5
5
|
export { buildAggTxExplorerHref } from "./transaction-explorer";
|
|
6
6
|
export declare const UserProfilePage: {
|
|
7
|
-
({ user, balanceChainsOverride, venueBalances: _venueBalances, balance, activePositions, closedPositions, activities, executionMode, onEditProfile, onDeposit, onWithdraw, openOrders, initialPositionFilter, tab, onTabChange, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onClaimResult, onClaimSubmitError, onActivityClick, getActivityHref, onOpenOrderClick, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange: onPositionFilterChangeProp, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, classNames, onError, }: UserProfilePageProps & {
|
|
7
|
+
({ user, balanceChainsOverride, venueBalances: _venueBalances, balance, activePositions, closedPositions, activities, executionMode, onEditProfile, onDeposit, onWithdraw, openOrders, initialPositionFilter, tab, onTabChange, onPositionClick, getPositionHref, onClaim, claimingPositionKeys, onClaimResult, onClaimSubmitError, onActivityClick, getActivityHref, onOpenOrderClick, getOpenOrderHref, onCancelOrder, cancellingOrderIds, isLoadingPositions, isLoadingActivities, isLoadingOpenOrders, positionsError, activitiesError, openOrdersError, hasMoreActivePositions, isLoadingMoreActivePositions, onLoadMoreActivePositions, hasMoreClosedPositions, isLoadingMoreClosedPositions, onLoadMoreClosedPositions, onPositionFilterChange: onPositionFilterChangeProp, hasMoreActivities, isLoadingMoreActivities, onLoadMoreActivities, hasMoreOpenOrders, isLoadingMoreOpenOrders, onLoadMoreOpenOrders, classNames, onError, }: UserProfilePageProps & {
|
|
8
8
|
onError?: (error: Error) => void;
|
|
9
9
|
}): JSX.Element;
|
|
10
10
|
displayName: string;
|
|
@@ -237,6 +237,10 @@ export interface UserProfileTransferActivity {
|
|
|
237
237
|
export type UserProfileActivity = UserProfileTradeActivity | UserProfileRedeemActivity | UserProfileTransferActivity;
|
|
238
238
|
export interface UserProfileOpenOrder {
|
|
239
239
|
id: string;
|
|
240
|
+
/** Event ID used to navigate back to the event page. */
|
|
241
|
+
eventId?: string;
|
|
242
|
+
/** Market ID used to select the order's market on the event page. */
|
|
243
|
+
marketId?: string;
|
|
240
244
|
/** Market thumbnail image URL */
|
|
241
245
|
thumbnailSrc: string;
|
|
242
246
|
/** Market title */
|
|
@@ -245,12 +249,18 @@ export interface UserProfileOpenOrder {
|
|
|
245
249
|
outcomeLabel: string;
|
|
246
250
|
/** Venue logo for the market */
|
|
247
251
|
venue: VenueLogoName;
|
|
252
|
+
/** Limit price label, e.g. "21.6¢" */
|
|
253
|
+
limitPriceLabel?: string;
|
|
248
254
|
/** Filled-out-of-total label, e.g. "0/150" */
|
|
249
255
|
filledLabel: string;
|
|
250
256
|
/** Total notional label, e.g. "$25.86" */
|
|
251
257
|
valueLabel: string;
|
|
258
|
+
/** Order expiration label, e.g. "55m" or "Good 'til canceled" */
|
|
259
|
+
expirationLabel?: string;
|
|
252
260
|
/** Raw order status from API (used to gate Cancel availability). */
|
|
253
261
|
status: string;
|
|
262
|
+
/** Normalized order type; legacy limit metadata is mapped to "limit". */
|
|
263
|
+
orderType?: "market" | "limit";
|
|
254
264
|
/** DAG run ID; present once the order has been picked up by the processing queue. */
|
|
255
265
|
dagRunId?: string | null;
|
|
256
266
|
}
|
|
@@ -362,6 +372,8 @@ export interface UserProfilePageProps {
|
|
|
362
372
|
getActivityHref?: (activity: UserProfileActivity) => string | undefined;
|
|
363
373
|
/** Called when an open-order row is clicked */
|
|
364
374
|
onOpenOrderClick?: (order: UserProfileOpenOrder) => void;
|
|
375
|
+
/** Optional href for an open-order row (enables ctrl/cmd/middle-click to open in a new tab). */
|
|
376
|
+
getOpenOrderHref?: (order: UserProfileOpenOrder) => string | undefined;
|
|
365
377
|
/** Called when the user clicks Cancel on an open order. */
|
|
366
378
|
onCancelOrder?: UserProfileCancelOrderHandler;
|
|
367
379
|
/** Map of orderId → true while a cancel request is in-flight. */
|
|
@@ -237,6 +237,10 @@ export interface UserProfileTransferActivity {
|
|
|
237
237
|
export type UserProfileActivity = UserProfileTradeActivity | UserProfileRedeemActivity | UserProfileTransferActivity;
|
|
238
238
|
export interface UserProfileOpenOrder {
|
|
239
239
|
id: string;
|
|
240
|
+
/** Event ID used to navigate back to the event page. */
|
|
241
|
+
eventId?: string;
|
|
242
|
+
/** Market ID used to select the order's market on the event page. */
|
|
243
|
+
marketId?: string;
|
|
240
244
|
/** Market thumbnail image URL */
|
|
241
245
|
thumbnailSrc: string;
|
|
242
246
|
/** Market title */
|
|
@@ -245,12 +249,18 @@ export interface UserProfileOpenOrder {
|
|
|
245
249
|
outcomeLabel: string;
|
|
246
250
|
/** Venue logo for the market */
|
|
247
251
|
venue: VenueLogoName;
|
|
252
|
+
/** Limit price label, e.g. "21.6¢" */
|
|
253
|
+
limitPriceLabel?: string;
|
|
248
254
|
/** Filled-out-of-total label, e.g. "0/150" */
|
|
249
255
|
filledLabel: string;
|
|
250
256
|
/** Total notional label, e.g. "$25.86" */
|
|
251
257
|
valueLabel: string;
|
|
258
|
+
/** Order expiration label, e.g. "55m" or "Good 'til canceled" */
|
|
259
|
+
expirationLabel?: string;
|
|
252
260
|
/** Raw order status from API (used to gate Cancel availability). */
|
|
253
261
|
status: string;
|
|
262
|
+
/** Normalized order type; legacy limit metadata is mapped to "limit". */
|
|
263
|
+
orderType?: "market" | "limit";
|
|
254
264
|
/** DAG run ID; present once the order has been picked up by the processing queue. */
|
|
255
265
|
dagRunId?: string | null;
|
|
256
266
|
}
|
|
@@ -362,6 +372,8 @@ export interface UserProfilePageProps {
|
|
|
362
372
|
getActivityHref?: (activity: UserProfileActivity) => string | undefined;
|
|
363
373
|
/** Called when an open-order row is clicked */
|
|
364
374
|
onOpenOrderClick?: (order: UserProfileOpenOrder) => void;
|
|
375
|
+
/** Optional href for an open-order row (enables ctrl/cmd/middle-click to open in a new tab). */
|
|
376
|
+
getOpenOrderHref?: (order: UserProfileOpenOrder) => string | undefined;
|
|
365
377
|
/** Called when the user clicks Cancel on an open order. */
|
|
366
378
|
onCancelOrder?: UserProfileCancelOrderHandler;
|
|
367
379
|
/** Map of orderId → true while a cancel request is in-flight. */
|
|
@@ -56,6 +56,7 @@ export declare const iconRegistry: {
|
|
|
56
56
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
57
57
|
displayName: string;
|
|
58
58
|
};
|
|
59
|
+
readonly calendar: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
59
60
|
readonly "check-badge": {
|
|
60
61
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
61
62
|
displayName: string;
|
|
@@ -192,6 +193,7 @@ export declare const iconRegistry: {
|
|
|
192
193
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
193
194
|
displayName: string;
|
|
194
195
|
};
|
|
196
|
+
readonly minus: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
195
197
|
readonly pencil: {
|
|
196
198
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
197
199
|
displayName: string;
|
|
@@ -200,6 +202,7 @@ export declare const iconRegistry: {
|
|
|
200
202
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
201
203
|
displayName: string;
|
|
202
204
|
};
|
|
205
|
+
readonly plus: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
203
206
|
readonly polygon: {
|
|
204
207
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
205
208
|
displayName: string;
|
|
@@ -56,6 +56,7 @@ export declare const iconRegistry: {
|
|
|
56
56
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
57
57
|
displayName: string;
|
|
58
58
|
};
|
|
59
|
+
readonly calendar: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
59
60
|
readonly "check-badge": {
|
|
60
61
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
61
62
|
displayName: string;
|
|
@@ -192,6 +193,7 @@ export declare const iconRegistry: {
|
|
|
192
193
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
193
194
|
displayName: string;
|
|
194
195
|
};
|
|
196
|
+
readonly minus: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
195
197
|
readonly pencil: {
|
|
196
198
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
197
199
|
displayName: string;
|
|
@@ -200,6 +202,7 @@ export declare const iconRegistry: {
|
|
|
200
202
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
201
203
|
displayName: string;
|
|
202
204
|
};
|
|
205
|
+
readonly plus: ({ title, className, ...props }: import("./types").IconSvgProps) => JSX.Element;
|
|
203
206
|
readonly polygon: {
|
|
204
207
|
({ title, className, ...props }: import("./types").IconSvgProps): JSX.Element;
|
|
205
208
|
displayName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProfileModalProps } from "./profile-modal.types";
|
|
2
2
|
export type { ProfileModalProps, ExchangeAccount, SocialAccountInfo, SocialAccountState, WalletAccountInfo, } from "./profile-modal.types";
|
|
3
3
|
export declare const ProfileModal: {
|
|
4
|
-
({ open, onOpenChange, username, avatarPreview, onSave, onDeleteProfile, socialAccounts, wallets, email, onConnectTwitter, onDisconnectTwitter, onConnectGoogle, onDisconnectGoogle, onConnectApple, onDisconnectApple, onDisconnectWallet, onConnectEmail, onKycError, }: ProfileModalProps): JSX.Element;
|
|
4
|
+
({ open, onOpenChange, username, avatarPreview, onSave, onDeleteProfile, socialAccounts, wallets, email, onConnectTwitter, onDisconnectTwitter, onConnectGoogle, onDisconnectGoogle, onConnectApple, onDisconnectApple, onDisconnectWallet, onConnectEmail, onKycError, onConnectKalshi, onDisconnectExchange, }: ProfileModalProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProfileModalProps } from "./profile-modal.types";
|
|
2
2
|
export type { ProfileModalProps, ExchangeAccount, SocialAccountInfo, SocialAccountState, WalletAccountInfo, } from "./profile-modal.types";
|
|
3
3
|
export declare const ProfileModal: {
|
|
4
|
-
({ open, onOpenChange, username, avatarPreview, onSave, onDeleteProfile, socialAccounts, wallets, email, onConnectTwitter, onDisconnectTwitter, onConnectGoogle, onDisconnectGoogle, onConnectApple, onDisconnectApple, onDisconnectWallet, onConnectEmail, onKycError, }: ProfileModalProps): JSX.Element;
|
|
4
|
+
({ open, onOpenChange, username, avatarPreview, onSave, onDeleteProfile, socialAccounts, wallets, email, onConnectTwitter, onDisconnectTwitter, onConnectGoogle, onDisconnectGoogle, onConnectApple, onDisconnectApple, onDisconnectWallet, onConnectEmail, onKycError, onConnectKalshi, onDisconnectExchange, }: ProfileModalProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { KalshiCredentials } from "../onboarding/onboarding-modal.types";
|
|
1
2
|
/** A connected exchange account (venue). */
|
|
2
3
|
export interface ExchangeAccount {
|
|
3
4
|
/** Venue slug, e.g. "polymarket", "kalshi" */
|
|
@@ -81,4 +82,9 @@ export interface ProfileModalProps {
|
|
|
81
82
|
onConnectEmail?: () => void;
|
|
82
83
|
/** Called when the KYC verification flow encounters an error */
|
|
83
84
|
onKycError?: (error: Error) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Optional override for storing Kalshi credentials. When omitted, the modal
|
|
87
|
+
* writes them through the configured AggClient.
|
|
88
|
+
*/
|
|
89
|
+
onConnectKalshi?: (credentials: KalshiCredentials) => Promise<void>;
|
|
84
90
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { KalshiCredentials } from "../onboarding/onboarding-modal.types";
|
|
1
2
|
/** A connected exchange account (venue). */
|
|
2
3
|
export interface ExchangeAccount {
|
|
3
4
|
/** Venue slug, e.g. "polymarket", "kalshi" */
|
|
@@ -81,4 +82,9 @@ export interface ProfileModalProps {
|
|
|
81
82
|
onConnectEmail?: () => void;
|
|
82
83
|
/** Called when the KYC verification flow encounters an error */
|
|
83
84
|
onKycError?: (error: Error) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Optional override for storing Kalshi credentials. When omitted, the modal
|
|
87
|
+
* writes them through the configured AggClient.
|
|
88
|
+
*/
|
|
89
|
+
onConnectKalshi?: (credentials: KalshiCredentials) => Promise<void>;
|
|
84
90
|
}
|
|
@@ -6,10 +6,12 @@ interface VenueAccountInfo {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TradingAccessTabProps {
|
|
8
8
|
venueAccounts?: VenueAccountInfo[] | null;
|
|
9
|
+
onConnectKalshi?: () => void;
|
|
10
|
+
onDisconnectKalshi?: () => void;
|
|
9
11
|
onKycError?: (error: Error) => void;
|
|
10
12
|
}
|
|
11
13
|
export declare const TradingAccessTab: {
|
|
12
|
-
({ venueAccounts,
|
|
14
|
+
({ venueAccounts, onConnectKalshi, onDisconnectKalshi, }: TradingAccessTabProps): JSX.Element;
|
|
13
15
|
displayName: string;
|
|
14
16
|
};
|
|
15
17
|
export {};
|
|
@@ -6,10 +6,12 @@ interface VenueAccountInfo {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TradingAccessTabProps {
|
|
8
8
|
venueAccounts?: VenueAccountInfo[] | null;
|
|
9
|
+
onConnectKalshi?: () => void;
|
|
10
|
+
onDisconnectKalshi?: () => void;
|
|
9
11
|
onKycError?: (error: Error) => void;
|
|
10
12
|
}
|
|
11
13
|
export declare const TradingAccessTab: {
|
|
12
|
-
({ venueAccounts,
|
|
14
|
+
({ venueAccounts, onConnectKalshi, onDisconnectKalshi, }: TradingAccessTabProps): JSX.Element;
|
|
13
15
|
displayName: string;
|
|
14
16
|
};
|
|
15
17
|
export {};
|
|
@@ -3,6 +3,7 @@ export * from "./utils";
|
|
|
3
3
|
export * from "./settlement";
|
|
4
4
|
export * from "./settlement/settlement-details";
|
|
5
5
|
export * from "./place-order";
|
|
6
|
+
export * from "./fund-kalshi-modal";
|
|
6
7
|
export * from "./trading-context";
|
|
7
8
|
export * from "./use-claim-winnings";
|
|
8
9
|
export * from "./use-resolved-market-claim";
|
|
@@ -3,6 +3,7 @@ export * from "./utils";
|
|
|
3
3
|
export * from "./settlement";
|
|
4
4
|
export * from "./settlement/settlement-details";
|
|
5
5
|
export * from "./place-order";
|
|
6
|
+
export * from "./fund-kalshi-modal";
|
|
6
7
|
export * from "./trading-context";
|
|
7
8
|
export * from "./use-claim-winnings";
|
|
8
9
|
export * from "./use-resolved-market-claim";
|
|
@@ -5,6 +5,6 @@ export { PlaceOrderSuccessView } from "./index.place-order.success";
|
|
|
5
5
|
export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
|
|
6
6
|
export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
|
|
7
7
|
export declare const PlaceOrder: {
|
|
8
|
-
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
8
|
+
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onConnectKalshi, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
@@ -5,6 +5,6 @@ export { PlaceOrderSuccessView } from "./index.place-order.success";
|
|
|
5
5
|
export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
|
|
6
6
|
export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
|
|
7
7
|
export declare const PlaceOrder: {
|
|
8
|
-
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
8
|
+
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onConnectKalshi, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|