@agg-build/ui 4.0.0 → 4.4.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/README.md +21 -16
- package/dist/{chunk-XIDQ2A6W.mjs → chunk-64BBTXFE.mjs} +1639 -909
- package/dist/{chunk-VR5ZRDQT.mjs → chunk-6STRIKUA.mjs} +1 -1
- package/dist/{chunk-KX3TQ7WC.mjs → chunk-734VTGCV.mjs} +1 -1
- package/dist/{chunk-KO6VTRV6.mjs → chunk-N7UPPT5J.mjs} +336 -232
- package/dist/{chunk-JTSLZARU.mjs → chunk-UCU2XCV5.mjs} +2 -2
- package/dist/{chunk-MKU5Q6PN.mjs → chunk-V5CRUO6S.mjs} +653 -379
- package/dist/{chunk-R362GNI2.mjs → chunk-WW5QKNIM.mjs} +278 -146
- package/dist/events.js +1241 -754
- package/dist/events.mjs +6 -4
- package/dist/index.js +4919 -3694
- package/dist/index.mjs +20 -8
- package/dist/modals.js +1321 -1260
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +4271 -3054
- package/dist/pages.mjs +10 -6
- package/dist/primitives.js +346 -265
- package/dist/primitives.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +2281 -1499
- package/dist/trading.mjs +10 -4
- package/dist/types/events/index.d.mts +1 -0
- package/dist/types/events/index.d.ts +1 -0
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +4 -1
- package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +4 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +25 -1
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +25 -1
- package/dist/types/events/item-details/index.d.mts +1 -1
- package/dist/types/events/item-details/index.d.ts +1 -1
- package/dist/types/events/market-details/index.d.mts +1 -1
- package/dist/types/events/market-details/index.d.ts +1 -1
- package/dist/types/events/market-details/market-details.types.d.mts +4 -0
- package/dist/types/events/market-details/market-details.types.d.ts +4 -0
- package/dist/types/events/shared/format-event-title.d.mts +9 -1
- package/dist/types/events/shared/format-event-title.d.ts +9 -1
- package/dist/types/events/shared/format-sports-event-time.d.mts +2 -0
- package/dist/types/events/shared/format-sports-event-time.d.ts +2 -0
- package/dist/types/events/shared/sports-live-score.d.mts +10 -0
- package/dist/types/events/shared/sports-live-score.d.ts +10 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +4 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +4 -0
- package/dist/types/pages/event-market/index.d.mts +1 -0
- package/dist/types/pages/event-market/index.d.ts +1 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +5 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +5 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.mts +1 -0
- package/dist/types/pages/user-profile/components/open-order-row.d.ts +1 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +1 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +1 -1
- package/dist/types/pages/user-profile/index.d.mts +1 -0
- package/dist/types/pages/user-profile/index.d.ts +1 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +1 -1
- package/dist/types/pages/user-profile/user-profile.types.d.ts +1 -1
- package/dist/types/primitives/venue-logo/svg/logo-novig.d.mts +24 -0
- package/dist/types/primitives/venue-logo/svg/logo-novig.d.ts +24 -0
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +1 -1
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +1 -1
- package/dist/types/trading/place-order/index.d.mts +4 -1
- package/dist/types/trading/place-order/index.d.ts +4 -1
- package/dist/types/trading/place-order/index.place-order.execution-steps.d.mts +38 -73
- package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +38 -73
- package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +26 -0
- package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +26 -0
- package/dist/types/trading/place-order/index.place-order.types.d.mts +15 -0
- package/dist/types/trading/place-order/index.place-order.types.d.ts +15 -0
- package/dist/types/trading/place-order/index.place-order.utils.d.mts +14 -1
- package/dist/types/trading/place-order/index.place-order.utils.d.ts +14 -1
- package/package.json +3 -3
- /package/dist/{chunk-KHHFHXXD.mjs → chunk-JH4B3ZHQ.mjs} +0 -0
package/dist/trading.mjs
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FundKalshiModal,
|
|
4
4
|
PlaceOrder,
|
|
5
|
+
PlaceOrderExecutionGroups,
|
|
6
|
+
PlaceOrderExecutionHeader,
|
|
7
|
+
PlaceOrderExecutionView,
|
|
5
8
|
PlaceOrderFailureView,
|
|
6
9
|
PlaceOrderSuccessView,
|
|
7
10
|
SettlementDetails,
|
|
@@ -9,7 +12,7 @@ import {
|
|
|
9
12
|
parseVenue,
|
|
10
13
|
useClaimWinnings,
|
|
11
14
|
useResolvedMarketClaim
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-64BBTXFE.mjs";
|
|
13
16
|
import {
|
|
14
17
|
SETTLEMENT_SECTION_ID,
|
|
15
18
|
Settlement,
|
|
@@ -27,12 +30,15 @@ import {
|
|
|
27
30
|
prepareSettlementDifferences,
|
|
28
31
|
resolveDifferenceIconClassName,
|
|
29
32
|
useEventTradingContext
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-6STRIKUA.mjs";
|
|
34
|
+
import "./chunk-734VTGCV.mjs";
|
|
35
|
+
import "./chunk-N7UPPT5J.mjs";
|
|
33
36
|
export {
|
|
34
37
|
FundKalshiModal,
|
|
35
38
|
PlaceOrder,
|
|
39
|
+
PlaceOrderExecutionGroups,
|
|
40
|
+
PlaceOrderExecutionHeader,
|
|
41
|
+
PlaceOrderExecutionView,
|
|
36
42
|
PlaceOrderFailureView,
|
|
37
43
|
PlaceOrderSuccessView,
|
|
38
44
|
SETTLEMENT_SECTION_ID,
|
|
@@ -2,9 +2,12 @@ export type MarketPillOption = {
|
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const EventListItemDetailsMarketSelector: ({ className, options, selectedValue, onChange, }: {
|
|
5
|
+
export declare const EventListItemDetailsMarketSelector: ({ className, options, browseOptions, selectedValue, liveValue, alwaysShowMore, onChange, }: {
|
|
6
6
|
className?: string;
|
|
7
7
|
options: MarketPillOption[];
|
|
8
|
+
browseOptions?: MarketPillOption[];
|
|
8
9
|
selectedValue: string;
|
|
10
|
+
liveValue?: string;
|
|
11
|
+
alwaysShowMore?: boolean;
|
|
9
12
|
onChange: (marketId: string) => void;
|
|
10
13
|
}) => JSX.Element;
|
|
@@ -2,9 +2,12 @@ export type MarketPillOption = {
|
|
|
2
2
|
value: string;
|
|
3
3
|
label: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const EventListItemDetailsMarketSelector: ({ className, options, selectedValue, onChange, }: {
|
|
5
|
+
export declare const EventListItemDetailsMarketSelector: ({ className, options, browseOptions, selectedValue, liveValue, alwaysShowMore, onChange, }: {
|
|
6
6
|
className?: string;
|
|
7
7
|
options: MarketPillOption[];
|
|
8
|
+
browseOptions?: MarketPillOption[];
|
|
8
9
|
selectedValue: string;
|
|
10
|
+
liveValue?: string;
|
|
11
|
+
alwaysShowMore?: boolean;
|
|
9
12
|
onChange: (marketId: string) => void;
|
|
10
13
|
}) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ChartTimeRange, EventTradingState, UseMidpointsResult } from "@agg-build/hooks";
|
|
1
|
+
import type { ChartTimeRange, EventTradingState, SportsLiveState, UseMidpointsResult } from "@agg-build/hooks";
|
|
2
|
+
import type { RecurringCryptoDuration } from "@agg-build/sdk";
|
|
2
3
|
import type { LineChartPoint, LineChartType } from "../../primitives/chart";
|
|
3
4
|
import type { EventListItemVenueInfoMap, VenueEventWithMarkets } from "../item/event-list-item.types";
|
|
4
5
|
import type { OutcomeByVenue } from "./event-list-item-details.utils";
|
|
@@ -11,12 +12,31 @@ export type EventListItemDetailsStat = {
|
|
|
11
12
|
delta?: string;
|
|
12
13
|
deltaTone?: "positive" | "negative" | "neutral";
|
|
13
14
|
};
|
|
15
|
+
export type EventListItemDetailsRecurringMarketOption = {
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
};
|
|
19
|
+
export type EventListItemDetailsRecurringMarkets = {
|
|
20
|
+
visibleOptions: EventListItemDetailsRecurringMarketOption[];
|
|
21
|
+
browseOptions: EventListItemDetailsRecurringMarketOption[];
|
|
22
|
+
selectedValue: string;
|
|
23
|
+
liveValue?: string;
|
|
24
|
+
duration?: RecurringCryptoDuration;
|
|
25
|
+
windowLabel: string | null;
|
|
26
|
+
countdownLabel: string | null;
|
|
27
|
+
countdownAriaLabel: string | null;
|
|
28
|
+
isResolving: boolean;
|
|
29
|
+
canGoToLive: boolean;
|
|
30
|
+
onSelect: (eventId: string) => void;
|
|
31
|
+
onGoToLive: () => void;
|
|
32
|
+
};
|
|
14
33
|
export type EventListItemDetailsClassNames = Partial<{
|
|
15
34
|
root: string;
|
|
16
35
|
header: string;
|
|
17
36
|
title: string;
|
|
18
37
|
headerPills: string;
|
|
19
38
|
headerStats: string;
|
|
39
|
+
sportsLive: string;
|
|
20
40
|
summary: string;
|
|
21
41
|
outcomeBadges: string;
|
|
22
42
|
segmentedControl: string;
|
|
@@ -47,6 +67,10 @@ export type EventListItemDetailsBaseProps = {
|
|
|
47
67
|
onClick?: (event?: EventListItemDetailsEvent) => void;
|
|
48
68
|
/** Pre-fetched midpoint data (best price included) passed from parent. Optional for backward compatibility. */
|
|
49
69
|
midpointsResult?: UseMidpointsResult;
|
|
70
|
+
/** Recurring-market navigation and status presentation for the event header. */
|
|
71
|
+
recurringMarkets?: EventListItemDetailsRecurringMarkets;
|
|
72
|
+
/** Normalized live sports state supplied by the sports page query. */
|
|
73
|
+
sportsLiveState?: SportsLiveState | null;
|
|
50
74
|
};
|
|
51
75
|
export type EventListItemDetailsLoadingProps = EventListItemDetailsBaseProps & {
|
|
52
76
|
/** Forces the details component into its loading state. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ChartTimeRange, EventTradingState, UseMidpointsResult } from "@agg-build/hooks";
|
|
1
|
+
import type { ChartTimeRange, EventTradingState, SportsLiveState, UseMidpointsResult } from "@agg-build/hooks";
|
|
2
|
+
import type { RecurringCryptoDuration } from "@agg-build/sdk";
|
|
2
3
|
import type { LineChartPoint, LineChartType } from "../../primitives/chart";
|
|
3
4
|
import type { EventListItemVenueInfoMap, VenueEventWithMarkets } from "../item/event-list-item.types";
|
|
4
5
|
import type { OutcomeByVenue } from "./event-list-item-details.utils";
|
|
@@ -11,12 +12,31 @@ export type EventListItemDetailsStat = {
|
|
|
11
12
|
delta?: string;
|
|
12
13
|
deltaTone?: "positive" | "negative" | "neutral";
|
|
13
14
|
};
|
|
15
|
+
export type EventListItemDetailsRecurringMarketOption = {
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
};
|
|
19
|
+
export type EventListItemDetailsRecurringMarkets = {
|
|
20
|
+
visibleOptions: EventListItemDetailsRecurringMarketOption[];
|
|
21
|
+
browseOptions: EventListItemDetailsRecurringMarketOption[];
|
|
22
|
+
selectedValue: string;
|
|
23
|
+
liveValue?: string;
|
|
24
|
+
duration?: RecurringCryptoDuration;
|
|
25
|
+
windowLabel: string | null;
|
|
26
|
+
countdownLabel: string | null;
|
|
27
|
+
countdownAriaLabel: string | null;
|
|
28
|
+
isResolving: boolean;
|
|
29
|
+
canGoToLive: boolean;
|
|
30
|
+
onSelect: (eventId: string) => void;
|
|
31
|
+
onGoToLive: () => void;
|
|
32
|
+
};
|
|
14
33
|
export type EventListItemDetailsClassNames = Partial<{
|
|
15
34
|
root: string;
|
|
16
35
|
header: string;
|
|
17
36
|
title: string;
|
|
18
37
|
headerPills: string;
|
|
19
38
|
headerStats: string;
|
|
39
|
+
sportsLive: string;
|
|
20
40
|
summary: string;
|
|
21
41
|
outcomeBadges: string;
|
|
22
42
|
segmentedControl: string;
|
|
@@ -47,6 +67,10 @@ export type EventListItemDetailsBaseProps = {
|
|
|
47
67
|
onClick?: (event?: EventListItemDetailsEvent) => void;
|
|
48
68
|
/** Pre-fetched midpoint data (best price included) passed from parent. Optional for backward compatibility. */
|
|
49
69
|
midpointsResult?: UseMidpointsResult;
|
|
70
|
+
/** Recurring-market navigation and status presentation for the event header. */
|
|
71
|
+
recurringMarkets?: EventListItemDetailsRecurringMarkets;
|
|
72
|
+
/** Normalized live sports state supplied by the sports page query. */
|
|
73
|
+
sportsLiveState?: SportsLiveState | null;
|
|
50
74
|
};
|
|
51
75
|
export type EventListItemDetailsLoadingProps = EventListItemDetailsBaseProps & {
|
|
52
76
|
/** Forces the details component into its loading state. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventListItemDetailsContentProps, EventListItemDetailsProps } from "./event-list-item-details.types";
|
|
2
|
-
export type { EventListItemDetailsClassNames, EventListItemDetailsEvent, EventListItemDetailsProps, EventListItemDetailsStat, EventListItemDetailsTimeRange, EventListItemDetailsWithEventIdProps, } from "./event-list-item-details.types";
|
|
2
|
+
export type { EventListItemDetailsClassNames, EventListItemDetailsEvent, EventListItemDetailsProps, EventListItemDetailsRecurringMarketOption, EventListItemDetailsRecurringMarkets, EventListItemDetailsStat, EventListItemDetailsTimeRange, EventListItemDetailsWithEventIdProps, } from "./event-list-item-details.types";
|
|
3
3
|
export { SettlementSummary } from "./settlement-summary";
|
|
4
4
|
export type { SettlementSummaryProps } from "./settlement-summary";
|
|
5
5
|
export declare const resolveEventDetailsSyncKey: (event: EventListItemDetailsContentProps["event"]) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventListItemDetailsContentProps, EventListItemDetailsProps } from "./event-list-item-details.types";
|
|
2
|
-
export type { EventListItemDetailsClassNames, EventListItemDetailsEvent, EventListItemDetailsProps, EventListItemDetailsStat, EventListItemDetailsTimeRange, EventListItemDetailsWithEventIdProps, } from "./event-list-item-details.types";
|
|
2
|
+
export type { EventListItemDetailsClassNames, EventListItemDetailsEvent, EventListItemDetailsProps, EventListItemDetailsRecurringMarketOption, EventListItemDetailsRecurringMarkets, EventListItemDetailsStat, EventListItemDetailsTimeRange, EventListItemDetailsWithEventIdProps, } from "./event-list-item-details.types";
|
|
3
3
|
export { SettlementSummary } from "./settlement-summary";
|
|
4
4
|
export type { SettlementSummaryProps } from "./settlement-summary";
|
|
5
5
|
export declare const resolveEventDetailsSyncKey: (event: EventListItemDetailsContentProps["event"]) => string;
|
|
@@ -7,6 +7,6 @@ export declare const MarketDetails: {
|
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const MarketDetailsList: {
|
|
10
|
-
({ eventId, markets: providedMarkets, eventTradingState, onClick, onOutcomeSelect, onExpandedMarketChange, autoSelectFallbackMarket, defaultTab, classNames, live, midpointsResult, }: MarketDetailsListProps): JSX.Element;
|
|
10
|
+
({ eventId, markets: providedMarkets, eventTradingState, onClick, onOutcomeSelect, onExpandedMarketChange, autoSelectFallbackMarket, defaultTab, classNames, live, showResolvingState, midpointsResult, }: MarketDetailsListProps): JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
@@ -7,6 +7,6 @@ export declare const MarketDetails: {
|
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const MarketDetailsList: {
|
|
10
|
-
({ eventId, markets: providedMarkets, eventTradingState, onClick, onOutcomeSelect, onExpandedMarketChange, autoSelectFallbackMarket, defaultTab, classNames, live, midpointsResult, }: MarketDetailsListProps): JSX.Element;
|
|
10
|
+
({ eventId, markets: providedMarkets, eventTradingState, onClick, onOutcomeSelect, onExpandedMarketChange, autoSelectFallbackMarket, defaultTab, classNames, live, showResolvingState, midpointsResult, }: MarketDetailsListProps): JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
@@ -84,6 +84,8 @@ export type MarketDetailsBaseProps = {
|
|
|
84
84
|
* (e.g. useEventOrderbookData on the event page).
|
|
85
85
|
* Defaults to the global `enableLiveUpdates` feature flag. */
|
|
86
86
|
live?: boolean;
|
|
87
|
+
/** Replace closed-market actions with the recurring settlement-pending state. */
|
|
88
|
+
showResolvingState?: boolean;
|
|
87
89
|
};
|
|
88
90
|
export type MarketDetailsLoadingProps = MarketDetailsBaseProps & {
|
|
89
91
|
/** Forces the market details component into its loading state. */
|
|
@@ -167,6 +169,8 @@ export type MarketDetailsListProps = {
|
|
|
167
169
|
/** Override live WS subscriptions for child MarketDetails.
|
|
168
170
|
* Set to `false` when a parent manages subscriptions centrally. */
|
|
169
171
|
live?: boolean;
|
|
172
|
+
/** Include the closed recurring market and render it as settlement pending. */
|
|
173
|
+
showResolvingState?: boolean;
|
|
170
174
|
/**
|
|
171
175
|
* Pre-fetched midpoint data (best price included) passed from parent.
|
|
172
176
|
* Optional for backward compatibility. When provided, reduces unnecessary
|
|
@@ -84,6 +84,8 @@ export type MarketDetailsBaseProps = {
|
|
|
84
84
|
* (e.g. useEventOrderbookData on the event page).
|
|
85
85
|
* Defaults to the global `enableLiveUpdates` feature flag. */
|
|
86
86
|
live?: boolean;
|
|
87
|
+
/** Replace closed-market actions with the recurring settlement-pending state. */
|
|
88
|
+
showResolvingState?: boolean;
|
|
87
89
|
};
|
|
88
90
|
export type MarketDetailsLoadingProps = MarketDetailsBaseProps & {
|
|
89
91
|
/** Forces the market details component into its loading state. */
|
|
@@ -167,6 +169,8 @@ export type MarketDetailsListProps = {
|
|
|
167
169
|
/** Override live WS subscriptions for child MarketDetails.
|
|
168
170
|
* Set to `false` when a parent manages subscriptions centrally. */
|
|
169
171
|
live?: boolean;
|
|
172
|
+
/** Include the closed recurring market and render it as settlement pending. */
|
|
173
|
+
showResolvingState?: boolean;
|
|
170
174
|
/**
|
|
171
175
|
* Pre-fetched midpoint data (best price included) passed from parent.
|
|
172
176
|
* Optional for backward compatibility. When provided, reduces unnecessary
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RecurringCryptoDuration } from "@agg-build/sdk";
|
|
1
2
|
type EventCategoryLike = {
|
|
2
3
|
id?: string | null;
|
|
3
4
|
category?: {
|
|
@@ -18,6 +19,13 @@ type ResolveEventHeadingParams = {
|
|
|
18
19
|
gameStartTime?: string | null;
|
|
19
20
|
endDate?: string | null;
|
|
20
21
|
venueMarkets?: readonly EventMarketLike[] | null;
|
|
22
|
+
/**
|
|
23
|
+
* Explicit recurring crypto window start. Passing `null` still marks the
|
|
24
|
+
* heading as recurring (and strips its embedded date) when the timestamp is
|
|
25
|
+
* temporarily unavailable.
|
|
26
|
+
*/
|
|
27
|
+
recurringCryptoWindowStart?: number | null;
|
|
28
|
+
recurringCryptoDuration?: RecurringCryptoDuration;
|
|
21
29
|
};
|
|
22
30
|
type EventHeading = {
|
|
23
31
|
title: string;
|
|
@@ -35,5 +43,5 @@ export declare const isSportEvent: (categories: readonly EventCategoryLike[] | n
|
|
|
35
43
|
export declare const shouldDisplaySportsEventTimestamp: ({ categories, structureType, venueMarkets, }: Pick<ResolveEventHeadingParams, "categories" | "structureType" | "venueMarkets">) => boolean;
|
|
36
44
|
export declare const resolveSportsEventTimestamp: ({ gameStartTime, endDate, }: Pick<ResolveEventHeadingParams, "gameStartTime" | "endDate">) => string | null;
|
|
37
45
|
export declare const resolveEventTimestampLabel: ({ categories, structureType, gameStartTime, endDate, venueMarkets, }: ResolveEventHeadingParams) => string | null;
|
|
38
|
-
export declare const resolveEventHeading: ({ title, categories, structureType, gameStartTime, endDate, venueMarkets, }: ResolveEventHeadingParams) => EventHeading;
|
|
46
|
+
export declare const resolveEventHeading: ({ title, categories, structureType, gameStartTime, endDate, venueMarkets, recurringCryptoWindowStart, recurringCryptoDuration, }: ResolveEventHeadingParams) => EventHeading;
|
|
39
47
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RecurringCryptoDuration } from "@agg-build/sdk";
|
|
1
2
|
type EventCategoryLike = {
|
|
2
3
|
id?: string | null;
|
|
3
4
|
category?: {
|
|
@@ -18,6 +19,13 @@ type ResolveEventHeadingParams = {
|
|
|
18
19
|
gameStartTime?: string | null;
|
|
19
20
|
endDate?: string | null;
|
|
20
21
|
venueMarkets?: readonly EventMarketLike[] | null;
|
|
22
|
+
/**
|
|
23
|
+
* Explicit recurring crypto window start. Passing `null` still marks the
|
|
24
|
+
* heading as recurring (and strips its embedded date) when the timestamp is
|
|
25
|
+
* temporarily unavailable.
|
|
26
|
+
*/
|
|
27
|
+
recurringCryptoWindowStart?: number | null;
|
|
28
|
+
recurringCryptoDuration?: RecurringCryptoDuration;
|
|
21
29
|
};
|
|
22
30
|
type EventHeading = {
|
|
23
31
|
title: string;
|
|
@@ -35,5 +43,5 @@ export declare const isSportEvent: (categories: readonly EventCategoryLike[] | n
|
|
|
35
43
|
export declare const shouldDisplaySportsEventTimestamp: ({ categories, structureType, venueMarkets, }: Pick<ResolveEventHeadingParams, "categories" | "structureType" | "venueMarkets">) => boolean;
|
|
36
44
|
export declare const resolveSportsEventTimestamp: ({ gameStartTime, endDate, }: Pick<ResolveEventHeadingParams, "gameStartTime" | "endDate">) => string | null;
|
|
37
45
|
export declare const resolveEventTimestampLabel: ({ categories, structureType, gameStartTime, endDate, venueMarkets, }: ResolveEventHeadingParams) => string | null;
|
|
38
|
-
export declare const resolveEventHeading: ({ title, categories, structureType, gameStartTime, endDate, venueMarkets, }: ResolveEventHeadingParams) => EventHeading;
|
|
46
|
+
export declare const resolveEventHeading: ({ title, categories, structureType, gameStartTime, endDate, venueMarkets, recurringCryptoWindowStart, recurringCryptoDuration, }: ResolveEventHeadingParams) => EventHeading;
|
|
39
47
|
export {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare const SPORTS_EVENT_TIMEZONE = "America/New_York";
|
|
2
2
|
export declare const formatSportsEventTimeEt: (value: string) => string | null;
|
|
3
|
+
export declare const formatRecurringMarketPillTimeEt: (value: string) => string | null;
|
|
4
|
+
export declare const formatRecurringMarketWindowTimeEt: (windowStart: string, windowEnd: string) => string | null;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare const SPORTS_EVENT_TIMEZONE = "America/New_York";
|
|
2
2
|
export declare const formatSportsEventTimeEt: (value: string) => string | null;
|
|
3
|
+
export declare const formatRecurringMarketPillTimeEt: (value: string) => string | null;
|
|
4
|
+
export declare const formatRecurringMarketWindowTimeEt: (windowStart: string, windowEnd: string) => string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type SportsLiveState } from "@agg-build/hooks";
|
|
2
|
+
export type SportsLiveScoreProps = {
|
|
3
|
+
state?: SportsLiveState | null;
|
|
4
|
+
variant?: "card" | "detail";
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const SportsLiveScore: {
|
|
8
|
+
({ state, variant, className, }: SportsLiveScoreProps): JSX.Element | null;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type SportsLiveState } from "@agg-build/hooks";
|
|
2
|
+
export type SportsLiveScoreProps = {
|
|
3
|
+
state?: SportsLiveState | null;
|
|
4
|
+
variant?: "card" | "detail";
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const SportsLiveScore: {
|
|
8
|
+
({ state, variant, className, }: SportsLiveScoreProps): JSX.Element | null;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -62,6 +62,10 @@ export type EventMarketPageBaseProps = {
|
|
|
62
62
|
ariaLabel?: string;
|
|
63
63
|
/** Whether the page should render its loading state. */
|
|
64
64
|
isLoading?: boolean;
|
|
65
|
+
/** Navigate between recurring event instances. Automatic transitions replace history. */
|
|
66
|
+
onRecurringMarketNavigate?: (eventId: string, options: {
|
|
67
|
+
replace: boolean;
|
|
68
|
+
}) => void;
|
|
65
69
|
};
|
|
66
70
|
export type EventMarketPageLoadingProps = EventMarketPageBaseProps & {
|
|
67
71
|
/** Forces the page into its loading state. */
|
|
@@ -62,6 +62,10 @@ export type EventMarketPageBaseProps = {
|
|
|
62
62
|
ariaLabel?: string;
|
|
63
63
|
/** Whether the page should render its loading state. */
|
|
64
64
|
isLoading?: boolean;
|
|
65
|
+
/** Navigate between recurring event instances. Automatic transitions replace history. */
|
|
66
|
+
onRecurringMarketNavigate?: (eventId: string, options: {
|
|
67
|
+
replace: boolean;
|
|
68
|
+
}) => void;
|
|
65
69
|
};
|
|
66
70
|
export type EventMarketPageLoadingProps = EventMarketPageBaseProps & {
|
|
67
71
|
/** Forces the page into its loading state. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EventMarketPageProps } from "./event-market.types";
|
|
2
2
|
export type { EventMarketPageClassNames, EventMarketPageProps } from "./event-market.types";
|
|
3
|
+
export declare const formatRecurringCountdown: (remainingMs: number) => string | null;
|
|
3
4
|
export declare const EventMarketPage: {
|
|
4
5
|
(props: EventMarketPageProps & {
|
|
5
6
|
onError?: (error: Error) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EventMarketPageProps } from "./event-market.types";
|
|
2
2
|
export type { EventMarketPageClassNames, EventMarketPageProps } from "./event-market.types";
|
|
3
|
+
export declare const formatRecurringCountdown: (remainingMs: number) => string | null;
|
|
3
4
|
export declare const EventMarketPage: {
|
|
4
5
|
(props: EventMarketPageProps & {
|
|
5
6
|
onError?: (error: Error) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Ref } from "react";
|
|
2
|
+
import type { VenueLogoName } from "../../../primitives/venue-logo/venue-logo.types";
|
|
2
3
|
type ChainRow = {
|
|
3
4
|
key: string;
|
|
4
5
|
label: string;
|
|
@@ -15,6 +16,10 @@ type AvailableBalanceCardProps = {
|
|
|
15
16
|
onManage?: () => void;
|
|
16
17
|
manageButtonRef?: Ref<HTMLButtonElement>;
|
|
17
18
|
};
|
|
19
|
+
/** Active managed-funding venues shown on a chain's balance row. */
|
|
20
|
+
export declare const venueLogosForChain: (chainId: string | number) => VenueLogoName[];
|
|
21
|
+
/** Whether the chain participates in venue funding or settlement, including historical support. */
|
|
22
|
+
export declare const isVenueBalanceChain: (chainId: string | number) => boolean;
|
|
18
23
|
export declare const chainIconUrl: (label: string, key?: string) => string | undefined;
|
|
19
24
|
export declare const AvailableBalanceCard: {
|
|
20
25
|
({ label, valueLabel, reservedValueLabel, chains, isLoading, className, onManage, manageButtonRef, }: AvailableBalanceCardProps): JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Ref } from "react";
|
|
2
|
+
import type { VenueLogoName } from "../../../primitives/venue-logo/venue-logo.types";
|
|
2
3
|
type ChainRow = {
|
|
3
4
|
key: string;
|
|
4
5
|
label: string;
|
|
@@ -15,6 +16,10 @@ type AvailableBalanceCardProps = {
|
|
|
15
16
|
onManage?: () => void;
|
|
16
17
|
manageButtonRef?: Ref<HTMLButtonElement>;
|
|
17
18
|
};
|
|
19
|
+
/** Active managed-funding venues shown on a chain's balance row. */
|
|
20
|
+
export declare const venueLogosForChain: (chainId: string | number) => VenueLogoName[];
|
|
21
|
+
/** Whether the chain participates in venue funding or settlement, including historical support. */
|
|
22
|
+
export declare const isVenueBalanceChain: (chainId: string | number) => boolean;
|
|
18
23
|
export declare const chainIconUrl: (label: string, key?: string) => string | undefined;
|
|
19
24
|
export declare const AvailableBalanceCard: {
|
|
20
25
|
({ label, valueLabel, reservedValueLabel, chains, isLoading, className, onManage, manageButtonRef, }: AvailableBalanceCardProps): JSX.Element;
|
|
@@ -15,6 +15,7 @@ type OpenOrderRowProps = {
|
|
|
15
15
|
expirationHeader?: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const canCancelOpenOrder: (order: UserProfileOpenOrder) => boolean;
|
|
18
|
+
export declare const isPendingOpenOrder: (order: UserProfileOpenOrder) => boolean;
|
|
18
19
|
export declare const OpenOrderRow: {
|
|
19
20
|
({ order, href, onClick, onCancel, isCancelling, cancelLabel, cancelAriaLabel, limitPriceHeader, filledHeader, totalHeader, expirationHeader, }: OpenOrderRowProps): JSX.Element;
|
|
20
21
|
displayName: string;
|
|
@@ -15,6 +15,7 @@ type OpenOrderRowProps = {
|
|
|
15
15
|
expirationHeader?: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const canCancelOpenOrder: (order: UserProfileOpenOrder) => boolean;
|
|
18
|
+
export declare const isPendingOpenOrder: (order: UserProfileOpenOrder) => boolean;
|
|
18
19
|
export declare const OpenOrderRow: {
|
|
19
20
|
({ order, href, onClick, onCancel, isCancelling, cancelLabel, cancelAriaLabel, limitPriceHeader, filledHeader, totalHeader, expirationHeader, }: OpenOrderRowProps): JSX.Element;
|
|
20
21
|
displayName: string;
|
|
@@ -34,7 +34,7 @@ type PositionsActivityProps = {
|
|
|
34
34
|
hasMoreOpenOrders?: boolean;
|
|
35
35
|
isLoadingMoreOpenOrders?: boolean;
|
|
36
36
|
onLoadMoreOpenOrders?: () => void;
|
|
37
|
-
/** Whether the Open orders tab and its content are available. */
|
|
37
|
+
/** Whether the Open limit orders tab and its content are available. */
|
|
38
38
|
showOpenOrders?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* Active tab. When provided, the component is controlled — `onTabChange` is
|
|
@@ -34,7 +34,7 @@ type PositionsActivityProps = {
|
|
|
34
34
|
hasMoreOpenOrders?: boolean;
|
|
35
35
|
isLoadingMoreOpenOrders?: boolean;
|
|
36
36
|
onLoadMoreOpenOrders?: () => void;
|
|
37
|
-
/** Whether the Open orders tab and its content are available. */
|
|
37
|
+
/** Whether the Open limit orders tab and its content are available. */
|
|
38
38
|
showOpenOrders?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* Active tab. When provided, the component is controlled — `onTabChange` is
|
|
@@ -4,6 +4,7 @@ export { USER_PROFILE_TAB_ACTIVITY, USER_PROFILE_TAB_OPEN_ORDERS, USER_PROFILE_T
|
|
|
4
4
|
export type { UserProfileTabValue } from "./user-profile.constants";
|
|
5
5
|
export { buildAggTxExplorerHref } from "./transaction-explorer";
|
|
6
6
|
export { ManageBalancesModal } from "./components/manage-balances-modal";
|
|
7
|
+
export declare const formatShareAmount: (value: number) => string;
|
|
7
8
|
export declare const UserProfilePage: {
|
|
8
9
|
({ 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 & {
|
|
9
10
|
onError?: (error: Error) => void;
|
|
@@ -4,6 +4,7 @@ export { USER_PROFILE_TAB_ACTIVITY, USER_PROFILE_TAB_OPEN_ORDERS, USER_PROFILE_T
|
|
|
4
4
|
export type { UserProfileTabValue } from "./user-profile.constants";
|
|
5
5
|
export { buildAggTxExplorerHref } from "./transaction-explorer";
|
|
6
6
|
export { ManageBalancesModal } from "./components/manage-balances-modal";
|
|
7
|
+
export declare const formatShareAmount: (value: number) => string;
|
|
7
8
|
export declare const UserProfilePage: {
|
|
8
9
|
({ 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 & {
|
|
9
10
|
onError?: (error: Error) => void;
|
|
@@ -312,7 +312,7 @@ export interface UserProfilePageProps {
|
|
|
312
312
|
tab?: UserProfileTabValue;
|
|
313
313
|
/** Fires when the user clicks a tab. Use to reflect the change in your URL. */
|
|
314
314
|
onTabChange?: (tab: UserProfileTabValue) => void;
|
|
315
|
-
/** Open orders (resting / partially filled) */
|
|
315
|
+
/** Open limit orders (pending / resting / partially filled) */
|
|
316
316
|
openOrders?: UserProfileOpenOrder[];
|
|
317
317
|
/** Activity items */
|
|
318
318
|
activities?: UserProfileActivity[];
|
|
@@ -312,7 +312,7 @@ export interface UserProfilePageProps {
|
|
|
312
312
|
tab?: UserProfileTabValue;
|
|
313
313
|
/** Fires when the user clicks a tab. Use to reflect the change in your URL. */
|
|
314
314
|
onTabChange?: (tab: UserProfileTabValue) => void;
|
|
315
|
-
/** Open orders (resting / partially filled) */
|
|
315
|
+
/** Open limit orders (pending / resting / partially filled) */
|
|
316
316
|
openOrders?: UserProfileOpenOrder[];
|
|
317
317
|
/** Activity items */
|
|
318
318
|
activities?: UserProfileActivity[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LogoIconProps } from "../logo-props";
|
|
2
|
+
/**
|
|
3
|
+
* Novig's mark: a stylised "N" whose left stem is replaced by a dot — a
|
|
4
|
+
* diagonal stroke running top-left to bottom-right, a vertical stem on the
|
|
5
|
+
* right, and a round dot at lower-left. All three share one stroke weight and
|
|
6
|
+
* round caps.
|
|
7
|
+
*
|
|
8
|
+
* Geometry is MEASURED, not eyeballed. Blob bounds off the official 1024px
|
|
9
|
+
* asset put the N at x245..757 / y256..769 and the dot at x231..429 /
|
|
10
|
+
* y574..769; the dot's diameter (198px) equals the stroke weight, which the
|
|
11
|
+
* 192px favicon independently confirms (dot r16, stroke 32). Scaled to this
|
|
12
|
+
* 100-unit viewBox that gives stroke 19.3, cap centres at 34.7 and 65.4, and
|
|
13
|
+
* the dot at (32.2, 65.5) r9.65.
|
|
14
|
+
*
|
|
15
|
+
* Rendered as strokes rather than filled outlines so the shape stays editable
|
|
16
|
+
* and stays exactly one colour — the registry contract here is monochrome
|
|
17
|
+
* (see `logo-probable.tsx`), with `primaryColor` driven by `isColor`/`color`.
|
|
18
|
+
* The two-tone version (cream on #050505) is the CDN PNG used by the
|
|
19
|
+
* `variant="logo"` image path, not this component.
|
|
20
|
+
*/
|
|
21
|
+
export declare const LogoNovigIcon: {
|
|
22
|
+
({ title, className, isColor, color, ...props }: LogoIconProps): JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LogoIconProps } from "../logo-props";
|
|
2
|
+
/**
|
|
3
|
+
* Novig's mark: a stylised "N" whose left stem is replaced by a dot — a
|
|
4
|
+
* diagonal stroke running top-left to bottom-right, a vertical stem on the
|
|
5
|
+
* right, and a round dot at lower-left. All three share one stroke weight and
|
|
6
|
+
* round caps.
|
|
7
|
+
*
|
|
8
|
+
* Geometry is MEASURED, not eyeballed. Blob bounds off the official 1024px
|
|
9
|
+
* asset put the N at x245..757 / y256..769 and the dot at x231..429 /
|
|
10
|
+
* y574..769; the dot's diameter (198px) equals the stroke weight, which the
|
|
11
|
+
* 192px favicon independently confirms (dot r16, stroke 32). Scaled to this
|
|
12
|
+
* 100-unit viewBox that gives stroke 19.3, cap centres at 34.7 and 65.4, and
|
|
13
|
+
* the dot at (32.2, 65.5) r9.65.
|
|
14
|
+
*
|
|
15
|
+
* Rendered as strokes rather than filled outlines so the shape stays editable
|
|
16
|
+
* and stays exactly one colour — the registry contract here is monochrome
|
|
17
|
+
* (see `logo-probable.tsx`), with `primaryColor` driven by `isColor`/`color`.
|
|
18
|
+
* The two-tone version (cream on #050505) is the CDN PNG used by the
|
|
19
|
+
* `variant="logo"` image path, not this component.
|
|
20
|
+
*/
|
|
21
|
+
export declare const LogoNovigIcon: {
|
|
22
|
+
({ title, className, isColor, color, ...props }: LogoIconProps): JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
@@ -4,10 +4,10 @@ import type { VenueLogoName, VenueLogoProps } from "./venue-logo.types";
|
|
|
4
4
|
type VenueLogoComponent = (props: LogoIconProps) => JSX.Element;
|
|
5
5
|
export declare const venueLogoRegistry: Record<VenueLogoName, VenueLogoComponent>;
|
|
6
6
|
export { DefaultVenueIcon };
|
|
7
|
+
export declare const DEFAULT_VENUE_LOGO_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos/default.png";
|
|
7
8
|
export declare const venueLogoUrlRegistry: Record<VenueLogoName, string>;
|
|
8
9
|
export declare const venueLogoLabels: Record<VenueLogoName, string>;
|
|
9
10
|
export declare const DEFAULT_VENUE_LABEL = "Market";
|
|
10
|
-
export declare const DEFAULT_VENUE_LOGO_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos/default.png";
|
|
11
11
|
export declare const venueLogoNames: VenueLogoName[];
|
|
12
12
|
export declare const sizeClasses: Record<NonNullable<VenueLogoProps["size"]>, string>;
|
|
13
13
|
type VenueLineColorTheme = "light" | "dark";
|
|
@@ -4,10 +4,10 @@ import type { VenueLogoName, VenueLogoProps } from "./venue-logo.types";
|
|
|
4
4
|
type VenueLogoComponent = (props: LogoIconProps) => JSX.Element;
|
|
5
5
|
export declare const venueLogoRegistry: Record<VenueLogoName, VenueLogoComponent>;
|
|
6
6
|
export { DefaultVenueIcon };
|
|
7
|
+
export declare const DEFAULT_VENUE_LOGO_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos/default.png";
|
|
7
8
|
export declare const venueLogoUrlRegistry: Record<VenueLogoName, string>;
|
|
8
9
|
export declare const venueLogoLabels: Record<VenueLogoName, string>;
|
|
9
10
|
export declare const DEFAULT_VENUE_LABEL = "Market";
|
|
10
|
-
export declare const DEFAULT_VENUE_LOGO_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos/default.png";
|
|
11
11
|
export declare const venueLogoNames: VenueLogoName[];
|
|
12
12
|
export declare const sizeClasses: Record<NonNullable<VenueLogoProps["size"]>, string>;
|
|
13
13
|
type VenueLineColorTheme = "light" | "dark";
|
|
@@ -3,8 +3,11 @@ export { PlaceOrderFailureView } from "./index.place-order.failure";
|
|
|
3
3
|
export type { PlaceOrderFailureViewProps } from "./index.place-order.failure";
|
|
4
4
|
export { PlaceOrderSuccessView } from "./index.place-order.success";
|
|
5
5
|
export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
|
|
6
|
+
export { PlaceOrderExecutionGroups, PlaceOrderExecutionHeader, PlaceOrderExecutionView, } from "./index.place-order.execution-view";
|
|
7
|
+
export type { PlaceOrderExecutionViewProps } from "./index.place-order.execution-view";
|
|
8
|
+
export type { ExecutionOrderGroup, ExecutionStep, ExecutionStepKind, ExecutionStepStatus, } from "./index.place-order.execution-steps";
|
|
6
9
|
export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
|
|
7
10
|
export declare const PlaceOrder: {
|
|
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;
|
|
11
|
+
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onConnectKalshi, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, showResolvingState, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
9
12
|
displayName: string;
|
|
10
13
|
};
|
|
@@ -3,8 +3,11 @@ export { PlaceOrderFailureView } from "./index.place-order.failure";
|
|
|
3
3
|
export type { PlaceOrderFailureViewProps } from "./index.place-order.failure";
|
|
4
4
|
export { PlaceOrderSuccessView } from "./index.place-order.success";
|
|
5
5
|
export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
|
|
6
|
+
export { PlaceOrderExecutionGroups, PlaceOrderExecutionHeader, PlaceOrderExecutionView, } from "./index.place-order.execution-view";
|
|
7
|
+
export type { PlaceOrderExecutionViewProps } from "./index.place-order.execution-view";
|
|
8
|
+
export type { ExecutionOrderGroup, ExecutionStep, ExecutionStepKind, ExecutionStepStatus, } from "./index.place-order.execution-steps";
|
|
6
9
|
export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
|
|
7
10
|
export declare const PlaceOrder: {
|
|
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;
|
|
11
|
+
({ className, classNames, eventTradingState, executionMode, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, isQuotePanelActive, chainBalancesOverride, onAmountChange, onClose, onConnectKalshi, onOutcomeChange, onPrimaryAction, onBeforePrimaryAction, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, showResolvingState, midpointsResult, }: PlaceOrderProps): JSX.Element;
|
|
9
12
|
displayName: string;
|
|
10
13
|
};
|