@seatlayer/js 0.110.1 → 0.112.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 +19 -0
- package/dist/{channelsMode-DS6TLE4L.js → channelsMode-3WSP6CYO.js} +1 -1
- package/dist/{channelsMode-CVhVwfEC.d.cts → channelsMode-rHChoJwY.d.cts} +46 -1
- package/dist/{channelsMode-CVhVwfEC.d.ts → channelsMode-rHChoJwY.d.ts} +46 -1
- package/dist/{chunk-ECM3ZZET.js → chunk-NTJ5PJXD.js} +6 -4
- package/dist/index.cjs +21 -21
- package/dist/index.d.cts +144 -10
- package/dist/index.d.ts +144 -10
- package/dist/index.js +19 -19
- package/dist/manager.cjs +180 -178
- package/dist/manager.d.cts +2 -2
- package/dist/manager.d.ts +2 -2
- package/dist/manager.js +41 -41
- package/dist/{managerExtras-XQSDPEQ7.js → managerExtras-MWCMUAZU.js} +1 -1
- package/dist/pickerSalesClose-Y7RUQ2MY.js +11 -0
- package/package.json +2 -2
- package/dist/pickerSalesClose-2APTQFVA.js +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PickerSeat, PickerGAArea, PickerMapTheme, PickerTransport, PickerSelectionValidator, RendererViewMode, PickerSelectionValidity, SeatPriceMap, ChartTheme, AccessibilityType, FloorLabelStyle, LodRung, SectionSummary, PickerAccessNeed, SeatHoverDetails, AccessibleSectionStep, AvailabilityRefreshOutcome, RendererMinimapSnapshot, ISeatmapRenderer, PickerController, ExpandedSeat, TableSelectionDetails, PickerSalesState } from '@seatlayer/core';
|
|
2
2
|
export { ExpandedSeat, PickerMapTheme, PickerSelectionValidator, PickerSelectionValidity, PickerSelectionViolation, RendererViewMode, SeatHoverDetails } from '@seatlayer/core';
|
|
3
|
-
import { T as ThemeMode } from './channelsMode-
|
|
4
|
-
export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerArea, a8 as SeatManagerCapability, a9 as SeatManagerCategoryPrice, aa as SeatManagerConnection, ab as SeatManagerFilteredSection, ac as SeatManagerMode, ad as SeatManagerOptions, ae as SeatManagerRoomState, af as SeatManagerSale, ag as SeatManagerSelectionValidity, ah as SeatManagerTallies, ai as SelectionSourceRow } from './channelsMode-
|
|
3
|
+
import { T as ThemeMode } from './channelsMode-rHChoJwY.js';
|
|
4
|
+
export { A as AccessIntentForbidsDetails, a as AccessLinkRecord, b as AccessLinkReveal, c as AccessLinkState, d as AccessLinkStatus, e as AccessLinkStatusRecord, f as ArchiveBlockedDetails, g as AssignmentBuckets, h as AssignmentDropDetails, i as AssignmentResult, B as BucketRow, C as ChannelAccessIntent, j as ChannelAccessSummary, k as ChannelAllocationPage, l as ChannelAttribution, m as ChannelAuditEntry, n as ChannelAuditPage, o as ChannelCounts, p as ChannelListResult, q as ChannelPreviewProjection, r as ChannelRecord, s as ChannelReport, t as ChannelReportLinkRecord, u as ChannelReportLinkReveal, v as ChannelReportResult, w as ChannelReportRow, x as ChannelSeatStatus, y as ChannelState, z as ChannelsCapabilities, D as ChannelsClient, E as ChannelsMode, F as ChannelsModeHost, G as ChannelsRowView, H as ChannelsSeatView, I as ControlRoomActivityEntry, J as ControlRoomSectionMetric, K as ControlRoomSnapshot, L as EventCategoryAssignmentResult, M as EventScopedManageToken, N as EventTableBookingMode, O as EventTableBookingResult, P as IntentSwitchBlockedDetails, Q as InventoryBooking, R as InventoryBookingActivity, S as InventoryBookingDetail, U as InventoryBookingObject, V as InventoryBookingState, W as InventoryBookingsPage, X as InventoryBookingsQuery, Y as LogEntry, Z as LogPage, _ as ManageApi, $ as ManageApiError, a0 as ReportByStatus, a1 as ReportCategoryMeta, a2 as ReportCategoryRow, a3 as ReportResult, a4 as SeatManager, a5 as SeatManagerActionResult, a6 as SeatManagerActivity, a7 as SeatManagerArea, a8 as SeatManagerCapability, a9 as SeatManagerCategoryPrice, aa as SeatManagerConnection, ab as SeatManagerFilteredSection, ac as SeatManagerMode, ad as SeatManagerOptions, ae as SeatManagerRoomState, af as SeatManagerSale, ag as SeatManagerSelectionValidity, ah as SeatManagerTallies, ai as SelectionSourceRow } from './channelsMode-rHChoJwY.js';
|
|
5
5
|
import * as _seatlayer_core_core_seatConfidence from '@seatlayer/core/core/seatConfidence';
|
|
6
6
|
import { SeatConfidenceDisclosure } from '@seatlayer/core/core/seatConfidence';
|
|
7
7
|
import { SeatViewStopName, Venue3DHandle, SeatState3D, SeatView } from '@seatlayer/core/view3d';
|
|
@@ -1425,6 +1425,23 @@ interface SeatPickerOptions {
|
|
|
1425
1425
|
* phones, which is why the small-device default stays conservative. The 3D
|
|
1426
1426
|
* scene holds every seat resident until a streaming rung exists. */
|
|
1427
1427
|
max3DSeats?: number;
|
|
1428
|
+
/**
|
|
1429
|
+
* A crowd in the standing areas of the 3D venue view. Drawn by default since
|
|
1430
|
+
* 0.111.0. It shows each area's capacity, not live sales, and is never part
|
|
1431
|
+
* of a tap. Set `false` to keep standing areas as an empty floor on this
|
|
1432
|
+
* picker. Left unset, the 3D engine's default applies, which is on; `true`
|
|
1433
|
+
* says the same. The device still limits it: up to 6,000 figures, 2,000 on a
|
|
1434
|
+
* phone, tablet or low-core device, and never past `max3DSeats`. */
|
|
1435
|
+
enable3DCrowd?: boolean;
|
|
1436
|
+
/**
|
|
1437
|
+
* How fingers move the 3D venue view. `map`, the default since 0.111.0: a
|
|
1438
|
+
* swipe always moves the view with the point under the finger, a pinch
|
|
1439
|
+
* zooms there, a twist turns, and two fingers dragged up or down together
|
|
1440
|
+
* tilt, like the 2D map. Set `classic` to keep the gestures from before
|
|
1441
|
+
* 0.111.0 on this picker: one finger turns the venue at the overview and
|
|
1442
|
+
* moves it once zoomed in. Left unset, the 3D engine's default applies,
|
|
1443
|
+
* which is `map`. A mouse and the wheel keep their own gestures either way. */
|
|
1444
|
+
touchNavigation3D?: 'map' | 'classic';
|
|
1428
1445
|
/**
|
|
1429
1446
|
* Expose this picker to an AI agent running in the buyer's browser (WebMCP).
|
|
1430
1447
|
*
|
|
@@ -2190,7 +2207,9 @@ interface SeatingChartOptions {
|
|
|
2190
2207
|
/** Offer authored/generated view-from-seat inspection. Default true. */
|
|
2191
2208
|
enableSeatView?: boolean;
|
|
2192
2209
|
/** Optional device-specific ceiling for offering the venue WebGL scene. */
|
|
2193
|
-
max3DSeats?: number;
|
|
2210
|
+
max3DSeats?: number; /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
|
|
2211
|
+
enable3DCrowd?: boolean; /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
|
|
2212
|
+
touchNavigation3D?: 'map' | 'classic';
|
|
2194
2213
|
/**
|
|
2195
2214
|
* Built-in seat tooltip on mouse hover (seat · category · price · status).
|
|
2196
2215
|
* Rendered inside the widget so every host gets it; default true. Turn off
|
|
@@ -2528,6 +2547,14 @@ declare class SeatingChart {
|
|
|
2528
2547
|
* timer is re-armed to match, so `onHoldExpired` won't fire early.
|
|
2529
2548
|
*/
|
|
2530
2549
|
extendHold(ttlMs?: number): Promise<HoldResult | null>;
|
|
2550
|
+
/**
|
|
2551
|
+
* A standing area was tapped, on the 2D map or in the 3D view: tell the host,
|
|
2552
|
+
* and offer it the request the full widget's "how many" prompt is built from.
|
|
2553
|
+
* This chart draws no quantity UI, so confirm/cancel are the host's own no-ops.
|
|
2554
|
+
*/
|
|
2555
|
+
/** The standing areas' states for the 3D view: the 2D map's record, its words, and this chart's category filter. */
|
|
2556
|
+
private areaStates3d;
|
|
2557
|
+
private areaClicked;
|
|
2531
2558
|
/** Current active hold known to this chart, if any. */
|
|
2532
2559
|
getCurrentHold(): HoldResult | null;
|
|
2533
2560
|
getGAAreas(): GAAreaAvailability[];
|
|
@@ -2873,11 +2900,15 @@ declare function bindSeatingChartHandle(getInstance: () => SeatingChart | null):
|
|
|
2873
2900
|
* "live", it makes them silently ignored after mount, which is the worse of the
|
|
2874
2901
|
* two behaviours. React already treated them this way; Vue and Angular did not
|
|
2875
2902
|
* expose them at all.
|
|
2903
|
+
*
|
|
2904
|
+
* `enable3D`, `enable3DCrowd` and `touchNavigation3D` are here for the same
|
|
2905
|
+
* reason: `SeatingChart` hands them to its 3D view once, in the constructor, and
|
|
2906
|
+
* has no setter for any of them.
|
|
2876
2907
|
*/
|
|
2877
|
-
declare const SEATING_CHART_IDENTITY_PROPS: readonly ["event", "apiBase", "maxSelection", "numberOfPlacesToSelect", "selectionValidators", "publicKey", "locale", "currency", "colorblindSafe", "initialView", "errorDisplay"];
|
|
2908
|
+
declare const SEATING_CHART_IDENTITY_PROPS: readonly ["event", "apiBase", "maxSelection", "numberOfPlacesToSelect", "selectionValidators", "publicKey", "locale", "currency", "colorblindSafe", "initialView", "errorDisplay", "enable3D", "enable3DCrowd", "touchNavigation3D"];
|
|
2878
2909
|
type SeatingChartIdentityProp = (typeof SEATING_CHART_IDENTITY_PROPS)[number];
|
|
2879
2910
|
/** Non-callback options a wrapper accepts as props/inputs and passes straight through. */
|
|
2880
|
-
declare const SEATING_CHART_VALUE_PROPS: readonly ["event", "apiBase", "maxSelection", "numberOfPlacesToSelect", "selectionValidators", "publicKey", "locale", "currency", "colorblindSafe", "initialView", "errorDisplay", "selectedObjects", "selectableObjects", "messages", "seatTooltip", "buyerAccessTokenProvider", "buyerAccessToken"];
|
|
2911
|
+
declare const SEATING_CHART_VALUE_PROPS: readonly ["event", "apiBase", "maxSelection", "numberOfPlacesToSelect", "selectionValidators", "publicKey", "locale", "currency", "colorblindSafe", "initialView", "errorDisplay", "enable3D", "enable3DCrowd", "touchNavigation3D", "selectedObjects", "selectableObjects", "messages", "seatTooltip", "buyerAccessTokenProvider", "buyerAccessToken"];
|
|
2881
2912
|
type SeatingChartValueProp = (typeof SEATING_CHART_VALUE_PROPS)[number];
|
|
2882
2913
|
/** Every callback option a wrapper wires to its own event mechanism. */
|
|
2883
2914
|
declare const SEATING_CHART_CALLBACK_PROPS: readonly ["onSelectionChange", "onSelectionValidityChange", "onSelectionValid", "onSelectionInvalid", "onSelectionLimit", "onHold", "onHoldRestored", "onHoldExpired", "onGAClick", "onGAPrompt", "onError", "onDeckTap", "onHint", "onSeatHover", "onAccessExpired", "onAccessUnavailable", "onSelectedObjectUnavailable"];
|
|
@@ -3444,6 +3475,16 @@ interface PerformanceGroupPickerInternal {
|
|
|
3444
3475
|
* is followed by what it always was.
|
|
3445
3476
|
*/
|
|
3446
3477
|
subheader?: HTMLElement | null;
|
|
3478
|
+
/**
|
|
3479
|
+
* Whether the hold the buyer's press just made is ready to check out: the
|
|
3480
|
+
* wrapper accepted it as a committed hold (a Season's committed operation, a
|
|
3481
|
+
* run's held package). The picker asks straight after it has told the
|
|
3482
|
+
* wrapper about the hold, and on a yes goes on to checkout on that same
|
|
3483
|
+
* press, as an event does. A booked or partial answer, or a refusal, is a
|
|
3484
|
+
* no: the button stays as it was. Absent, a group hold stops at the button,
|
|
3485
|
+
* and checkout takes a second press (before 14 Nov).
|
|
3486
|
+
*/
|
|
3487
|
+
checkoutReady?: (holdId: string) => boolean;
|
|
3447
3488
|
}
|
|
3448
3489
|
/** One seat's package line in the cart. */
|
|
3449
3490
|
interface SeasonCartLine {
|
|
@@ -3731,6 +3772,8 @@ interface WebMcpEventFacts {
|
|
|
3731
3772
|
timezone: string | null;
|
|
3732
3773
|
currency: string;
|
|
3733
3774
|
salesClosed: boolean;
|
|
3775
|
+
/** Closed because the event is for its invited guests (pickerGuestRefusal.ts); set only then. */
|
|
3776
|
+
guestsOnly?: true;
|
|
3734
3777
|
}
|
|
3735
3778
|
interface WebMcpCategoryFacts {
|
|
3736
3779
|
key: string;
|
|
@@ -3879,6 +3922,8 @@ type SalesView = 'closed' | 'ended';
|
|
|
3879
3922
|
interface SalesCloseHost {
|
|
3880
3923
|
salesClosed: boolean;
|
|
3881
3924
|
salesState: string | null;
|
|
3925
|
+
/** Invite-only (pickerGuestRefusal.ts): closed in the guest list's words, never this module's views. */
|
|
3926
|
+
guestsOnly?: boolean;
|
|
3882
3927
|
readonly opts: {
|
|
3883
3928
|
readOnly?: boolean;
|
|
3884
3929
|
locale?: string;
|
|
@@ -3915,7 +3960,12 @@ declare function translate(t: Translate, tCount: (key: string, count: number) =>
|
|
|
3915
3960
|
declare function salesView(salesClosed: boolean, salesState: string | null | undefined, readOnly?: boolean): SalesView | null;
|
|
3916
3961
|
/** The designed view for this picker now, or null. */
|
|
3917
3962
|
declare const view: (host: SalesCloseHost) => SalesView | null;
|
|
3918
|
-
/**
|
|
3963
|
+
/**
|
|
3964
|
+
* Closed online with seats already held: the buyer may still pay for them. An
|
|
3965
|
+
* invite-only event shut the same way (pickerGuestRefusal.ts): the server
|
|
3966
|
+
* refuses a new or replaced public hold (`guests_only`), never the booking of
|
|
3967
|
+
* one that already lives.
|
|
3968
|
+
*/
|
|
3919
3969
|
declare function finishing(host: SalesCloseHost): boolean;
|
|
3920
3970
|
/** The pill, CTA and toast words for the designed views; null leaves the picker's own. */
|
|
3921
3971
|
declare function words(host: SalesCloseHost): {
|
|
@@ -4258,10 +4308,15 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4258
4308
|
* the wording it produces today.
|
|
4259
4309
|
*/
|
|
4260
4310
|
/** @internal */ salesState: PickerSalesState | null;
|
|
4311
|
+
/** @internal The server said the event is for invited guests: closed, in those words (pickerGuestRefusal.ts). */
|
|
4312
|
+
guestsOnly: boolean;
|
|
4313
|
+
/** Cancels the open at the guests' deadline ("Guests, then everyone"), when one is set. */
|
|
4314
|
+
private guestsDeadlineStop;
|
|
4261
4315
|
/** @internal EH18: the chart load's event facts the closed view reads (box office, date). */
|
|
4262
4316
|
salesInfo: {
|
|
4263
4317
|
venueSelling: boolean;
|
|
4264
4318
|
startsAt?: number | null;
|
|
4319
|
+
mode?: string;
|
|
4265
4320
|
} | null;
|
|
4266
4321
|
/**
|
|
4267
4322
|
* @internal EH18: the closed view (`seatlayer-sales.mjs`), fetched only once
|
|
@@ -4687,6 +4742,13 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4687
4742
|
get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
|
|
4688
4743
|
/** @internal The closed-sales words for this event's own sales state. */
|
|
4689
4744
|
closedWords(): SalesClosedWords;
|
|
4745
|
+
/**
|
|
4746
|
+
* The sales state the closed words read. A TEST event sells while
|
|
4747
|
+
* 'testable', so a closed one has stopped selling (its close time passed),
|
|
4748
|
+
* not "Sales haven't opened yet" (14 Nov). A live event in 'testable' is
|
|
4749
|
+
* still before its public sale and keeps those words.
|
|
4750
|
+
*/
|
|
4751
|
+
private wordsSalesState;
|
|
4690
4752
|
/** @internal Closed online with seats held: the buyer may still pay for them. */
|
|
4691
4753
|
finishingHold(): boolean;
|
|
4692
4754
|
/** Load the closed view once, then re-apply the closed state through it. */
|
|
@@ -4870,7 +4932,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4870
4932
|
* always wins; otherwise a small/low-core device gets half the desktop budget,
|
|
4871
4933
|
* because it is the device that turns "slow" into "stalled".
|
|
4872
4934
|
*/
|
|
4873
|
-
|
|
4935
|
+
/** @internal */ max3dSeats(): number;
|
|
4874
4936
|
/** Reflect the active floor onto the switcher rail. */
|
|
4875
4937
|
/** @internal */ syncFloors(): void;
|
|
4876
4938
|
/** The tapped-section summary card in all three of its forms. Built lazily:
|
|
@@ -5097,7 +5159,12 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
5097
5159
|
* showed; it never rejects. A second call while one is in flight is `busy`.
|
|
5098
5160
|
*/
|
|
5099
5161
|
holdSelection(): Promise<HoldSelectionResult>;
|
|
5100
|
-
/**
|
|
5162
|
+
/**
|
|
5163
|
+
* @internal `groupHandoff: false` holds a new Season or run of dates without
|
|
5164
|
+
* going on to checkout (SeasonPicker.holdSameSeat); a hold that is already
|
|
5165
|
+
* there still hands off as `handoff` says.
|
|
5166
|
+
*/
|
|
5167
|
+
handleCta(handoff?: boolean, groupHandoff?: boolean): Promise<HoldSelectionResult>;
|
|
5101
5168
|
/** @internal */ startHoldTimer(expiresAt: number): void;
|
|
5102
5169
|
/** @internal */ stopHoldTimer(): void;
|
|
5103
5170
|
/** Show/refresh (or hide) the "Need more time?" prompt with the live seconds left. */
|
|
@@ -5124,6 +5191,8 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
5124
5191
|
* success overlay that somehow got up is taken down with the same gesture
|
|
5125
5192
|
* that reports the failure.
|
|
5126
5193
|
*/
|
|
5194
|
+
/** A guest-list refusal's words; `guests_only` also shuts the picker, as closed sales do (pickerGuestRefusal.ts). */
|
|
5195
|
+
private guestRefusalMessage;
|
|
5127
5196
|
private raiseHoldConflict;
|
|
5128
5197
|
/**
|
|
5129
5198
|
* After the ticket count on the booked screen. Only SeatLayer checkout sends
|
|
@@ -5428,6 +5497,11 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
5428
5497
|
/** @internal */ syncSelectionTo3d(): void;
|
|
5429
5498
|
/** @internal */ seatViewFor3d(seatId: string): Promise<SeatView | null>;
|
|
5430
5499
|
/** @internal */ onView3dSeatPick(seatId: string): void;
|
|
5500
|
+
/** @internal The "how many" chooser for one area: a tap on the 2D map and a tap in the 3D view both open it here. */
|
|
5501
|
+
openAreaChooser(areaId: string, anchor?: {
|
|
5502
|
+
x: number;
|
|
5503
|
+
y: number;
|
|
5504
|
+
} | null): void;
|
|
5431
5505
|
/** @internal */ seatViewCaption(seatId: string): string;
|
|
5432
5506
|
private saveView3dComparisonSeat;
|
|
5433
5507
|
/** @internal */ clearView3dComparison(): void;
|
|
@@ -5455,6 +5529,12 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
5455
5529
|
/** @internal */ closeView3dComparison(restoreFocus?: boolean): void;
|
|
5456
5530
|
/** Current active/restored hold reflected in the tray. */
|
|
5457
5531
|
getCurrentHold(): HoldResult | null;
|
|
5532
|
+
/**
|
|
5533
|
+
* Your page booked the held seats itself (its own checkout, or your server's book call). Settles the hold `holdId`
|
|
5534
|
+
* names, or the one held: booked state, no clock, nothing to restore, no checkout; resolves `true`. `false`, changing
|
|
5535
|
+
* nothing, for another hold, no hold or a destroyed picker. A live picker then reads the map again (pickerMarkBooked.ts).
|
|
5536
|
+
*/
|
|
5537
|
+
markBooked(holdId?: string): Promise<boolean>;
|
|
5458
5538
|
/** Explicit host-driven hold restore (automatic session restore is on by default). */
|
|
5459
5539
|
resumeHold(holdId: string): Promise<HoldResult | null>;
|
|
5460
5540
|
/** Re-hold one held seat on another ticket type; the server re-prices it. */
|
|
@@ -5745,7 +5825,9 @@ interface PerformanceGroupPickerOptions {
|
|
|
5745
5825
|
colorblindSafe?: boolean;
|
|
5746
5826
|
initialView?: RendererViewMode;
|
|
5747
5827
|
enable3D?: boolean;
|
|
5748
|
-
max3DSeats?: number;
|
|
5828
|
+
max3DSeats?: number; /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
|
|
5829
|
+
enable3DCrowd?: boolean; /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
|
|
5830
|
+
touchNavigation3D?: 'map' | 'classic';
|
|
5749
5831
|
onBuyerViewChange?: (state: {
|
|
5750
5832
|
view: SeatPickerBuyerView;
|
|
5751
5833
|
seatId?: string;
|
|
@@ -6221,6 +6303,41 @@ interface SeasonCheckoutHandoff {
|
|
|
6221
6303
|
*/
|
|
6222
6304
|
seats?: SeasonCheckoutSeat[];
|
|
6223
6305
|
}
|
|
6306
|
+
/**
|
|
6307
|
+
* One held seat, as the picker's own cart and payment card show it
|
|
6308
|
+
* (`SeasonPicker.getHeldOrder()`). Display only.
|
|
6309
|
+
*/
|
|
6310
|
+
interface SeasonHeldSeat {
|
|
6311
|
+
/** The seat's booking label ("G-1"). */
|
|
6312
|
+
label: string;
|
|
6313
|
+
/** The map's section, row and seat names, or null where the map has none. */
|
|
6314
|
+
section: string | null;
|
|
6315
|
+
row: string | null;
|
|
6316
|
+
seat: string | null;
|
|
6317
|
+
/** The seat's chart category, the package's price area, and its name. */
|
|
6318
|
+
categoryKey: string | null;
|
|
6319
|
+
area: string | null;
|
|
6320
|
+
/** The price type the seat is held as (`adult` where none was chosen). */
|
|
6321
|
+
priceType: SeasonPriceType;
|
|
6322
|
+
/** That type's name, when the picker's own card names it; null otherwise. */
|
|
6323
|
+
priceTypeName: string | null;
|
|
6324
|
+
/** The package price for this seat, in MINOR units; null when the package does not price it. */
|
|
6325
|
+
priceMinor: number | null;
|
|
6326
|
+
}
|
|
6327
|
+
/**
|
|
6328
|
+
* What the held seats cost, as the picker's own cart adds them up
|
|
6329
|
+
* (`SeasonPicker.getHeldOrder()`). Display only: checkout prices the order on
|
|
6330
|
+
* the server and sends no amount from the browser.
|
|
6331
|
+
*/
|
|
6332
|
+
interface SeasonHeldOrder {
|
|
6333
|
+
operationId: string;
|
|
6334
|
+
expiresAt: number;
|
|
6335
|
+
/** ISO 4217, the package prices' own currency. */
|
|
6336
|
+
currency: string;
|
|
6337
|
+
seats: SeasonHeldSeat[];
|
|
6338
|
+
/** The sum of the seats' prices in MINOR units; null when any seat is unpriced, never a partial sum. */
|
|
6339
|
+
totalMinor: number | null;
|
|
6340
|
+
}
|
|
6224
6341
|
/**
|
|
6225
6342
|
* One category's package price, for one package and one price type.
|
|
6226
6343
|
*
|
|
@@ -6408,6 +6525,10 @@ interface SeasonPickerOptions {
|
|
|
6408
6525
|
initialView?: RendererViewMode;
|
|
6409
6526
|
enable3D?: boolean;
|
|
6410
6527
|
max3DSeats?: number;
|
|
6528
|
+
/** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
|
|
6529
|
+
enable3DCrowd?: boolean;
|
|
6530
|
+
/** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
|
|
6531
|
+
touchNavigation3D?: 'map' | 'classic';
|
|
6411
6532
|
hideBadge?: boolean;
|
|
6412
6533
|
theme?: SeatPickerTheme;
|
|
6413
6534
|
confirmSelection?: boolean;
|
|
@@ -6480,6 +6601,11 @@ declare class SeasonPicker {
|
|
|
6480
6601
|
* offering checkout, and this resolves `true`. It resolves `false`, leaving
|
|
6481
6602
|
* the picker as it was, when nothing is held here or the operation is not
|
|
6482
6603
|
* booked yet.
|
|
6604
|
+
*
|
|
6605
|
+
* It also resolves `false` on a picker that is gone (destroyed, or the popup
|
|
6606
|
+
* that closed itself when the buyer pressed Continue): there is nothing left
|
|
6607
|
+
* to show, and your server's booking stands. A popup's next open() reads the
|
|
6608
|
+
* operation back and finds it booked.
|
|
6483
6609
|
*/
|
|
6484
6610
|
markBooked(): Promise<boolean>;
|
|
6485
6611
|
release(releaseActionId: string): Promise<void>;
|
|
@@ -6487,6 +6613,14 @@ declare class SeasonPicker {
|
|
|
6487
6613
|
getDescriptor(): SeasonDescriptor | null;
|
|
6488
6614
|
getAvailability(): SeasonAvailability | null;
|
|
6489
6615
|
getHandoff(): SeasonCheckoutHandoff | null;
|
|
6616
|
+
/**
|
|
6617
|
+
* The held seats and what they cost, as this picker's own cart and payment
|
|
6618
|
+
* card show them: each seat's place, area, price type and package price, the
|
|
6619
|
+
* total (null when any seat is unpriced) and the currency. Null while nothing
|
|
6620
|
+
* is held. Display only, for a host that draws its own payment step: the
|
|
6621
|
+
* server prices the order at checkout, and nothing here is sent to it.
|
|
6622
|
+
*/
|
|
6623
|
+
getHeldOrder(): SeasonHeldOrder | null;
|
|
6490
6624
|
destroy(): void;
|
|
6491
6625
|
/** Close the picker: in a popup (open()) exactly as its ✕ does; inline, destroy it. */
|
|
6492
6626
|
close(): void;
|
|
@@ -6540,4 +6674,4 @@ interface AttachPickerFrameOptions {
|
|
|
6540
6674
|
*/
|
|
6541
6675
|
declare function attachPickerFrame(iframe: HTMLIFrameElement, opts?: AttachPickerFrameOptions): () => void;
|
|
6542
6676
|
|
|
6543
|
-
export { ApiError, type AttachPickerFrameOptions, type AttendeeFieldMode, type BestAvailableResult, type BookingForm, type BookingFormFieldError, type BookingQuestion, type BookingQuestionType, BuyerAccessContext, type BuyerAccessExpiredEvent, type BuyerAccessRefreshReason, type BuyerAccessToken, type BuyerAccessTokenProvider, BuyerAccessUnavailableError, type BuyerAccessUnavailableEvent, type BuyerAccessUnavailableReason, BuyerRealtimeClient, type BuyerRealtimeOptions, type CheckoutAnswer, type CheckoutAttendee, type CheckoutHandoff, type CheckoutLineItem, type CheckoutSessionResult, EmbeddedDesigner, type EmbeddedDesignerEventType, type EmbeddedDesignerMessage, type EmbeddedDesignerOptions, type GAAreaAvailability, type GAPromptRequest, type GaPromptTier, type HoldConflict, type HoldLineItem, type HoldResult, type HoldSelectionRefusal, type HoldSelectionResult, type OrderStatusResult, type PaymentOptionsReason, type PaymentOptionsResult, type PaymentProviderName, type PerformanceGroupAvailability, type PerformanceGroupCheckoutHandoff, type PerformanceGroupDescriptor, PerformanceGroupDestroyedError, type PerformanceGroupHold, type PerformanceGroupHoldAllocation, type PerformanceGroupOperationEvent, type PerformanceGroupOperationState, PerformanceGroupPicker, type PerformanceGroupPickerOptions, type PerformanceGroupRecoveryState, type PerformanceGroupSeatAllocation, type PerformanceGroupSelectionMode, type PerformanceGroupStatusEvent, type Projection, type PubApiOptions, type RealtimeSink, type ResumedHoldResult, SEATING_CHART_CALLBACK_PROPS, SEATING_CHART_HANDLE_METHODS, SEATING_CHART_IDENTITY_PROPS, SEATING_CHART_VALUE_PROPS, type SaleState, type SeasonAccessTokenProvider, SeasonApiError, type SeasonAudience, type SeasonAvailability, type SeasonBestAvailableOptions, type SeasonCategoryPrice, type SeasonCheckoutHandoff, type SeasonCheckoutMode, type SeasonCheckoutRequest, type SeasonCheckoutSeat, type SeasonCheckoutSession, type SeasonDescriptor, type SeasonOperation, type SeasonOperationState, type SeasonPackagePrices, SeasonPicker, type SeasonPickerOpenOptions, type SeasonPickerOptions, type SeasonPriceType, type SeasonPrices, type SeasonPublicRefusalReason, type SeasonPublicSession, SeasonPublicSessionRefused, SeasonRecoveryTimeoutError, type SeasonRenewalIntent, type SeasonSeatPriceTypes, type SeasonStatusEvent, SeatPicker, type SeatPickerBestAvailableOptions, type SeatPickerBuyerView, type SeatPickerBuyerViewOptions, type SeatPickerOptions, type SeatPickerPrewarmOptions, type SeatPickerPricing, type SeatPickerTheme, type SeatPickerWebMcpOptions, SeatingChart, type SeatingChartCallbackProp, type SeatingChartCallbacks, type SeatingChartHandle, type SeatingChartHandleMethod, type SeatingChartIdentityProp, type SeatingChartOptions, type SeatingChartSeatViewInfo, type SeatingChartValueProp, type SeatingChartValues, type SelectedObjectUnavailableEvent, type SelectedSeat, type StatusChange, type SubscribeTicket, ThemeMode, type TicketKeyDetail, type TicketOfferAvailability, type TicketOfferPrice, type TicketOfferSummary, attachPickerFrame, bindSeatingChartHandle, buildSeatingChartOptions, createBuyerAccessContext, createControllerSink, parseTicketOfferAvailability, prewarmSeatPicker, shortOperationReference, ticketOfferPrices };
|
|
6677
|
+
export { ApiError, type AttachPickerFrameOptions, type AttendeeFieldMode, type BestAvailableResult, type BookingForm, type BookingFormFieldError, type BookingQuestion, type BookingQuestionType, BuyerAccessContext, type BuyerAccessExpiredEvent, type BuyerAccessRefreshReason, type BuyerAccessToken, type BuyerAccessTokenProvider, BuyerAccessUnavailableError, type BuyerAccessUnavailableEvent, type BuyerAccessUnavailableReason, BuyerRealtimeClient, type BuyerRealtimeOptions, type CheckoutAnswer, type CheckoutAttendee, type CheckoutHandoff, type CheckoutLineItem, type CheckoutSessionResult, EmbeddedDesigner, type EmbeddedDesignerEventType, type EmbeddedDesignerMessage, type EmbeddedDesignerOptions, type GAAreaAvailability, type GAPromptRequest, type GaPromptTier, type HoldConflict, type HoldLineItem, type HoldResult, type HoldSelectionRefusal, type HoldSelectionResult, type OrderStatusResult, type PaymentOptionsReason, type PaymentOptionsResult, type PaymentProviderName, type PerformanceGroupAvailability, type PerformanceGroupCheckoutHandoff, type PerformanceGroupDescriptor, PerformanceGroupDestroyedError, type PerformanceGroupHold, type PerformanceGroupHoldAllocation, type PerformanceGroupOperationEvent, type PerformanceGroupOperationState, PerformanceGroupPicker, type PerformanceGroupPickerOptions, type PerformanceGroupRecoveryState, type PerformanceGroupSeatAllocation, type PerformanceGroupSelectionMode, type PerformanceGroupStatusEvent, type Projection, type PubApiOptions, type RealtimeSink, type ResumedHoldResult, SEATING_CHART_CALLBACK_PROPS, SEATING_CHART_HANDLE_METHODS, SEATING_CHART_IDENTITY_PROPS, SEATING_CHART_VALUE_PROPS, type SaleState, type SeasonAccessTokenProvider, SeasonApiError, type SeasonAudience, type SeasonAvailability, type SeasonBestAvailableOptions, type SeasonCategoryPrice, type SeasonCheckoutHandoff, type SeasonCheckoutMode, type SeasonCheckoutRequest, type SeasonCheckoutSeat, type SeasonCheckoutSession, type SeasonDescriptor, type SeasonHeldOrder, type SeasonHeldSeat, type SeasonOperation, type SeasonOperationState, type SeasonPackagePrices, SeasonPicker, type SeasonPickerOpenOptions, type SeasonPickerOptions, type SeasonPriceType, type SeasonPrices, type SeasonPublicRefusalReason, type SeasonPublicSession, SeasonPublicSessionRefused, SeasonRecoveryTimeoutError, type SeasonRenewalIntent, type SeasonSeatPriceTypes, type SeasonStatusEvent, SeatPicker, type SeatPickerBestAvailableOptions, type SeatPickerBuyerView, type SeatPickerBuyerViewOptions, type SeatPickerOptions, type SeatPickerPrewarmOptions, type SeatPickerPricing, type SeatPickerTheme, type SeatPickerWebMcpOptions, SeatingChart, type SeatingChartCallbackProp, type SeatingChartCallbacks, type SeatingChartHandle, type SeatingChartHandleMethod, type SeatingChartIdentityProp, type SeatingChartOptions, type SeatingChartSeatViewInfo, type SeatingChartValueProp, type SeatingChartValues, type SelectedObjectUnavailableEvent, type SelectedSeat, type StatusChange, type SubscribeTicket, ThemeMode, type TicketKeyDetail, type TicketOfferAvailability, type TicketOfferPrice, type TicketOfferSummary, attachPickerFrame, bindSeatingChartHandle, buildSeatingChartOptions, createBuyerAccessContext, createControllerSink, parseTicketOfferAvailability, prewarmSeatPicker, shortOperationReference, ticketOfferPrices };
|