@seatlayer/js 0.110.1 → 0.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -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[];
@@ -3444,6 +3471,16 @@ interface PerformanceGroupPickerInternal {
3444
3471
  * is followed by what it always was.
3445
3472
  */
3446
3473
  subheader?: HTMLElement | null;
3474
+ /**
3475
+ * Whether the hold the buyer's press just made is ready to check out: the
3476
+ * wrapper accepted it as a committed hold (a Season's committed operation, a
3477
+ * run's held package). The picker asks straight after it has told the
3478
+ * wrapper about the hold, and on a yes goes on to checkout on that same
3479
+ * press, as an event does. A booked or partial answer, or a refusal, is a
3480
+ * no: the button stays as it was. Absent, a group hold stops at the button,
3481
+ * and checkout takes a second press (before 14 Nov).
3482
+ */
3483
+ checkoutReady?: (holdId: string) => boolean;
3447
3484
  }
3448
3485
  /** One seat's package line in the cart. */
3449
3486
  interface SeasonCartLine {
@@ -3731,6 +3768,8 @@ interface WebMcpEventFacts {
3731
3768
  timezone: string | null;
3732
3769
  currency: string;
3733
3770
  salesClosed: boolean;
3771
+ /** Closed because the event is for its invited guests (pickerGuestRefusal.ts); set only then. */
3772
+ guestsOnly?: true;
3734
3773
  }
3735
3774
  interface WebMcpCategoryFacts {
3736
3775
  key: string;
@@ -3879,6 +3918,8 @@ type SalesView = 'closed' | 'ended';
3879
3918
  interface SalesCloseHost {
3880
3919
  salesClosed: boolean;
3881
3920
  salesState: string | null;
3921
+ /** Invite-only (pickerGuestRefusal.ts): closed in the guest list's words, never this module's views. */
3922
+ guestsOnly?: boolean;
3882
3923
  readonly opts: {
3883
3924
  readOnly?: boolean;
3884
3925
  locale?: string;
@@ -3915,7 +3956,12 @@ declare function translate(t: Translate, tCount: (key: string, count: number) =>
3915
3956
  declare function salesView(salesClosed: boolean, salesState: string | null | undefined, readOnly?: boolean): SalesView | null;
3916
3957
  /** The designed view for this picker now, or null. */
3917
3958
  declare const view: (host: SalesCloseHost) => SalesView | null;
3918
- /** Closed online with seats already held: the buyer may still pay for them. */
3959
+ /**
3960
+ * Closed online with seats already held: the buyer may still pay for them. An
3961
+ * invite-only event shut the same way (pickerGuestRefusal.ts): the server
3962
+ * refuses a new or replaced public hold (`guests_only`), never the booking of
3963
+ * one that already lives.
3964
+ */
3919
3965
  declare function finishing(host: SalesCloseHost): boolean;
3920
3966
  /** The pill, CTA and toast words for the designed views; null leaves the picker's own. */
3921
3967
  declare function words(host: SalesCloseHost): {
@@ -4258,10 +4304,15 @@ declare class SeatPicker implements GaPromptPicker {
4258
4304
  * the wording it produces today.
4259
4305
  */
4260
4306
  /** @internal */ salesState: PickerSalesState | null;
4307
+ /** @internal The server said the event is for invited guests: closed, in those words (pickerGuestRefusal.ts). */
4308
+ guestsOnly: boolean;
4309
+ /** Cancels the open at the guests' deadline ("Guests, then everyone"), when one is set. */
4310
+ private guestsDeadlineStop;
4261
4311
  /** @internal EH18: the chart load's event facts the closed view reads (box office, date). */
4262
4312
  salesInfo: {
4263
4313
  venueSelling: boolean;
4264
4314
  startsAt?: number | null;
4315
+ mode?: string;
4265
4316
  } | null;
4266
4317
  /**
4267
4318
  * @internal EH18: the closed view (`seatlayer-sales.mjs`), fetched only once
@@ -4687,6 +4738,13 @@ declare class SeatPicker implements GaPromptPicker {
4687
4738
  get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
4688
4739
  /** @internal The closed-sales words for this event's own sales state. */
4689
4740
  closedWords(): SalesClosedWords;
4741
+ /**
4742
+ * The sales state the closed words read. A TEST event sells while
4743
+ * 'testable', so a closed one has stopped selling (its close time passed),
4744
+ * not "Sales haven't opened yet" (14 Nov). A live event in 'testable' is
4745
+ * still before its public sale and keeps those words.
4746
+ */
4747
+ private wordsSalesState;
4690
4748
  /** @internal Closed online with seats held: the buyer may still pay for them. */
4691
4749
  finishingHold(): boolean;
4692
4750
  /** Load the closed view once, then re-apply the closed state through it. */
@@ -4870,7 +4928,7 @@ declare class SeatPicker implements GaPromptPicker {
4870
4928
  * always wins; otherwise a small/low-core device gets half the desktop budget,
4871
4929
  * because it is the device that turns "slow" into "stalled".
4872
4930
  */
4873
- private max3dSeats;
4931
+ /** @internal */ max3dSeats(): number;
4874
4932
  /** Reflect the active floor onto the switcher rail. */
4875
4933
  /** @internal */ syncFloors(): void;
4876
4934
  /** The tapped-section summary card in all three of its forms. Built lazily:
@@ -5097,7 +5155,12 @@ declare class SeatPicker implements GaPromptPicker {
5097
5155
  * showed; it never rejects. A second call while one is in flight is `busy`.
5098
5156
  */
5099
5157
  holdSelection(): Promise<HoldSelectionResult>;
5100
- /** @internal */ handleCta(handoff?: boolean): Promise<HoldSelectionResult>;
5158
+ /**
5159
+ * @internal `groupHandoff: false` holds a new Season or run of dates without
5160
+ * going on to checkout (SeasonPicker.holdSameSeat); a hold that is already
5161
+ * there still hands off as `handoff` says.
5162
+ */
5163
+ handleCta(handoff?: boolean, groupHandoff?: boolean): Promise<HoldSelectionResult>;
5101
5164
  /** @internal */ startHoldTimer(expiresAt: number): void;
5102
5165
  /** @internal */ stopHoldTimer(): void;
5103
5166
  /** Show/refresh (or hide) the "Need more time?" prompt with the live seconds left. */
@@ -5124,6 +5187,8 @@ declare class SeatPicker implements GaPromptPicker {
5124
5187
  * success overlay that somehow got up is taken down with the same gesture
5125
5188
  * that reports the failure.
5126
5189
  */
5190
+ /** A guest-list refusal's words; `guests_only` also shuts the picker, as closed sales do (pickerGuestRefusal.ts). */
5191
+ private guestRefusalMessage;
5127
5192
  private raiseHoldConflict;
5128
5193
  /**
5129
5194
  * After the ticket count on the booked screen. Only SeatLayer checkout sends
@@ -5428,6 +5493,11 @@ declare class SeatPicker implements GaPromptPicker {
5428
5493
  /** @internal */ syncSelectionTo3d(): void;
5429
5494
  /** @internal */ seatViewFor3d(seatId: string): Promise<SeatView | null>;
5430
5495
  /** @internal */ onView3dSeatPick(seatId: string): void;
5496
+ /** @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. */
5497
+ openAreaChooser(areaId: string, anchor?: {
5498
+ x: number;
5499
+ y: number;
5500
+ } | null): void;
5431
5501
  /** @internal */ seatViewCaption(seatId: string): string;
5432
5502
  private saveView3dComparisonSeat;
5433
5503
  /** @internal */ clearView3dComparison(): void;
@@ -5745,7 +5815,9 @@ interface PerformanceGroupPickerOptions {
5745
5815
  colorblindSafe?: boolean;
5746
5816
  initialView?: RendererViewMode;
5747
5817
  enable3D?: boolean;
5748
- max3DSeats?: number;
5818
+ max3DSeats?: number; /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
5819
+ enable3DCrowd?: boolean; /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
5820
+ touchNavigation3D?: 'map' | 'classic';
5749
5821
  onBuyerViewChange?: (state: {
5750
5822
  view: SeatPickerBuyerView;
5751
5823
  seatId?: string;
@@ -6221,6 +6293,41 @@ interface SeasonCheckoutHandoff {
6221
6293
  */
6222
6294
  seats?: SeasonCheckoutSeat[];
6223
6295
  }
6296
+ /**
6297
+ * One held seat, as the picker's own cart and payment card show it
6298
+ * (`SeasonPicker.getHeldOrder()`). Display only.
6299
+ */
6300
+ interface SeasonHeldSeat {
6301
+ /** The seat's booking label ("G-1"). */
6302
+ label: string;
6303
+ /** The map's section, row and seat names, or null where the map has none. */
6304
+ section: string | null;
6305
+ row: string | null;
6306
+ seat: string | null;
6307
+ /** The seat's chart category, the package's price area, and its name. */
6308
+ categoryKey: string | null;
6309
+ area: string | null;
6310
+ /** The price type the seat is held as (`adult` where none was chosen). */
6311
+ priceType: SeasonPriceType;
6312
+ /** That type's name, when the picker's own card names it; null otherwise. */
6313
+ priceTypeName: string | null;
6314
+ /** The package price for this seat, in MINOR units; null when the package does not price it. */
6315
+ priceMinor: number | null;
6316
+ }
6317
+ /**
6318
+ * What the held seats cost, as the picker's own cart adds them up
6319
+ * (`SeasonPicker.getHeldOrder()`). Display only: checkout prices the order on
6320
+ * the server and sends no amount from the browser.
6321
+ */
6322
+ interface SeasonHeldOrder {
6323
+ operationId: string;
6324
+ expiresAt: number;
6325
+ /** ISO 4217, the package prices' own currency. */
6326
+ currency: string;
6327
+ seats: SeasonHeldSeat[];
6328
+ /** The sum of the seats' prices in MINOR units; null when any seat is unpriced, never a partial sum. */
6329
+ totalMinor: number | null;
6330
+ }
6224
6331
  /**
6225
6332
  * One category's package price, for one package and one price type.
6226
6333
  *
@@ -6408,6 +6515,10 @@ interface SeasonPickerOptions {
6408
6515
  initialView?: RendererViewMode;
6409
6516
  enable3D?: boolean;
6410
6517
  max3DSeats?: number;
6518
+ /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
6519
+ enable3DCrowd?: boolean;
6520
+ /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
6521
+ touchNavigation3D?: 'map' | 'classic';
6411
6522
  hideBadge?: boolean;
6412
6523
  theme?: SeatPickerTheme;
6413
6524
  confirmSelection?: boolean;
@@ -6487,6 +6598,14 @@ declare class SeasonPicker {
6487
6598
  getDescriptor(): SeasonDescriptor | null;
6488
6599
  getAvailability(): SeasonAvailability | null;
6489
6600
  getHandoff(): SeasonCheckoutHandoff | null;
6601
+ /**
6602
+ * The held seats and what they cost, as this picker's own cart and payment
6603
+ * card show them: each seat's place, area, price type and package price, the
6604
+ * total (null when any seat is unpriced) and the currency. Null while nothing
6605
+ * is held. Display only, for a host that draws its own payment step: the
6606
+ * server prices the order at checkout, and nothing here is sent to it.
6607
+ */
6608
+ getHeldOrder(): SeasonHeldOrder | null;
6490
6609
  destroy(): void;
6491
6610
  /** Close the picker: in a popup (open()) exactly as its ✕ does; inline, destroy it. */
6492
6611
  close(): void;
@@ -6540,4 +6659,4 @@ interface AttachPickerFrameOptions {
6540
6659
  */
6541
6660
  declare function attachPickerFrame(iframe: HTMLIFrameElement, opts?: AttachPickerFrameOptions): () => void;
6542
6661
 
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 };
6662
+ 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 };
package/dist/index.d.ts CHANGED
@@ -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[];
@@ -3444,6 +3471,16 @@ interface PerformanceGroupPickerInternal {
3444
3471
  * is followed by what it always was.
3445
3472
  */
3446
3473
  subheader?: HTMLElement | null;
3474
+ /**
3475
+ * Whether the hold the buyer's press just made is ready to check out: the
3476
+ * wrapper accepted it as a committed hold (a Season's committed operation, a
3477
+ * run's held package). The picker asks straight after it has told the
3478
+ * wrapper about the hold, and on a yes goes on to checkout on that same
3479
+ * press, as an event does. A booked or partial answer, or a refusal, is a
3480
+ * no: the button stays as it was. Absent, a group hold stops at the button,
3481
+ * and checkout takes a second press (before 14 Nov).
3482
+ */
3483
+ checkoutReady?: (holdId: string) => boolean;
3447
3484
  }
3448
3485
  /** One seat's package line in the cart. */
3449
3486
  interface SeasonCartLine {
@@ -3731,6 +3768,8 @@ interface WebMcpEventFacts {
3731
3768
  timezone: string | null;
3732
3769
  currency: string;
3733
3770
  salesClosed: boolean;
3771
+ /** Closed because the event is for its invited guests (pickerGuestRefusal.ts); set only then. */
3772
+ guestsOnly?: true;
3734
3773
  }
3735
3774
  interface WebMcpCategoryFacts {
3736
3775
  key: string;
@@ -3879,6 +3918,8 @@ type SalesView = 'closed' | 'ended';
3879
3918
  interface SalesCloseHost {
3880
3919
  salesClosed: boolean;
3881
3920
  salesState: string | null;
3921
+ /** Invite-only (pickerGuestRefusal.ts): closed in the guest list's words, never this module's views. */
3922
+ guestsOnly?: boolean;
3882
3923
  readonly opts: {
3883
3924
  readOnly?: boolean;
3884
3925
  locale?: string;
@@ -3915,7 +3956,12 @@ declare function translate(t: Translate, tCount: (key: string, count: number) =>
3915
3956
  declare function salesView(salesClosed: boolean, salesState: string | null | undefined, readOnly?: boolean): SalesView | null;
3916
3957
  /** The designed view for this picker now, or null. */
3917
3958
  declare const view: (host: SalesCloseHost) => SalesView | null;
3918
- /** Closed online with seats already held: the buyer may still pay for them. */
3959
+ /**
3960
+ * Closed online with seats already held: the buyer may still pay for them. An
3961
+ * invite-only event shut the same way (pickerGuestRefusal.ts): the server
3962
+ * refuses a new or replaced public hold (`guests_only`), never the booking of
3963
+ * one that already lives.
3964
+ */
3919
3965
  declare function finishing(host: SalesCloseHost): boolean;
3920
3966
  /** The pill, CTA and toast words for the designed views; null leaves the picker's own. */
3921
3967
  declare function words(host: SalesCloseHost): {
@@ -4258,10 +4304,15 @@ declare class SeatPicker implements GaPromptPicker {
4258
4304
  * the wording it produces today.
4259
4305
  */
4260
4306
  /** @internal */ salesState: PickerSalesState | null;
4307
+ /** @internal The server said the event is for invited guests: closed, in those words (pickerGuestRefusal.ts). */
4308
+ guestsOnly: boolean;
4309
+ /** Cancels the open at the guests' deadline ("Guests, then everyone"), when one is set. */
4310
+ private guestsDeadlineStop;
4261
4311
  /** @internal EH18: the chart load's event facts the closed view reads (box office, date). */
4262
4312
  salesInfo: {
4263
4313
  venueSelling: boolean;
4264
4314
  startsAt?: number | null;
4315
+ mode?: string;
4265
4316
  } | null;
4266
4317
  /**
4267
4318
  * @internal EH18: the closed view (`seatlayer-sales.mjs`), fetched only once
@@ -4687,6 +4738,13 @@ declare class SeatPicker implements GaPromptPicker {
4687
4738
  get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
4688
4739
  /** @internal The closed-sales words for this event's own sales state. */
4689
4740
  closedWords(): SalesClosedWords;
4741
+ /**
4742
+ * The sales state the closed words read. A TEST event sells while
4743
+ * 'testable', so a closed one has stopped selling (its close time passed),
4744
+ * not "Sales haven't opened yet" (14 Nov). A live event in 'testable' is
4745
+ * still before its public sale and keeps those words.
4746
+ */
4747
+ private wordsSalesState;
4690
4748
  /** @internal Closed online with seats held: the buyer may still pay for them. */
4691
4749
  finishingHold(): boolean;
4692
4750
  /** Load the closed view once, then re-apply the closed state through it. */
@@ -4870,7 +4928,7 @@ declare class SeatPicker implements GaPromptPicker {
4870
4928
  * always wins; otherwise a small/low-core device gets half the desktop budget,
4871
4929
  * because it is the device that turns "slow" into "stalled".
4872
4930
  */
4873
- private max3dSeats;
4931
+ /** @internal */ max3dSeats(): number;
4874
4932
  /** Reflect the active floor onto the switcher rail. */
4875
4933
  /** @internal */ syncFloors(): void;
4876
4934
  /** The tapped-section summary card in all three of its forms. Built lazily:
@@ -5097,7 +5155,12 @@ declare class SeatPicker implements GaPromptPicker {
5097
5155
  * showed; it never rejects. A second call while one is in flight is `busy`.
5098
5156
  */
5099
5157
  holdSelection(): Promise<HoldSelectionResult>;
5100
- /** @internal */ handleCta(handoff?: boolean): Promise<HoldSelectionResult>;
5158
+ /**
5159
+ * @internal `groupHandoff: false` holds a new Season or run of dates without
5160
+ * going on to checkout (SeasonPicker.holdSameSeat); a hold that is already
5161
+ * there still hands off as `handoff` says.
5162
+ */
5163
+ handleCta(handoff?: boolean, groupHandoff?: boolean): Promise<HoldSelectionResult>;
5101
5164
  /** @internal */ startHoldTimer(expiresAt: number): void;
5102
5165
  /** @internal */ stopHoldTimer(): void;
5103
5166
  /** Show/refresh (or hide) the "Need more time?" prompt with the live seconds left. */
@@ -5124,6 +5187,8 @@ declare class SeatPicker implements GaPromptPicker {
5124
5187
  * success overlay that somehow got up is taken down with the same gesture
5125
5188
  * that reports the failure.
5126
5189
  */
5190
+ /** A guest-list refusal's words; `guests_only` also shuts the picker, as closed sales do (pickerGuestRefusal.ts). */
5191
+ private guestRefusalMessage;
5127
5192
  private raiseHoldConflict;
5128
5193
  /**
5129
5194
  * After the ticket count on the booked screen. Only SeatLayer checkout sends
@@ -5428,6 +5493,11 @@ declare class SeatPicker implements GaPromptPicker {
5428
5493
  /** @internal */ syncSelectionTo3d(): void;
5429
5494
  /** @internal */ seatViewFor3d(seatId: string): Promise<SeatView | null>;
5430
5495
  /** @internal */ onView3dSeatPick(seatId: string): void;
5496
+ /** @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. */
5497
+ openAreaChooser(areaId: string, anchor?: {
5498
+ x: number;
5499
+ y: number;
5500
+ } | null): void;
5431
5501
  /** @internal */ seatViewCaption(seatId: string): string;
5432
5502
  private saveView3dComparisonSeat;
5433
5503
  /** @internal */ clearView3dComparison(): void;
@@ -5745,7 +5815,9 @@ interface PerformanceGroupPickerOptions {
5745
5815
  colorblindSafe?: boolean;
5746
5816
  initialView?: RendererViewMode;
5747
5817
  enable3D?: boolean;
5748
- max3DSeats?: number;
5818
+ max3DSeats?: number; /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
5819
+ enable3DCrowd?: boolean; /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
5820
+ touchNavigation3D?: 'map' | 'classic';
5749
5821
  onBuyerViewChange?: (state: {
5750
5822
  view: SeatPickerBuyerView;
5751
5823
  seatId?: string;
@@ -6221,6 +6293,41 @@ interface SeasonCheckoutHandoff {
6221
6293
  */
6222
6294
  seats?: SeasonCheckoutSeat[];
6223
6295
  }
6296
+ /**
6297
+ * One held seat, as the picker's own cart and payment card show it
6298
+ * (`SeasonPicker.getHeldOrder()`). Display only.
6299
+ */
6300
+ interface SeasonHeldSeat {
6301
+ /** The seat's booking label ("G-1"). */
6302
+ label: string;
6303
+ /** The map's section, row and seat names, or null where the map has none. */
6304
+ section: string | null;
6305
+ row: string | null;
6306
+ seat: string | null;
6307
+ /** The seat's chart category, the package's price area, and its name. */
6308
+ categoryKey: string | null;
6309
+ area: string | null;
6310
+ /** The price type the seat is held as (`adult` where none was chosen). */
6311
+ priceType: SeasonPriceType;
6312
+ /** That type's name, when the picker's own card names it; null otherwise. */
6313
+ priceTypeName: string | null;
6314
+ /** The package price for this seat, in MINOR units; null when the package does not price it. */
6315
+ priceMinor: number | null;
6316
+ }
6317
+ /**
6318
+ * What the held seats cost, as the picker's own cart adds them up
6319
+ * (`SeasonPicker.getHeldOrder()`). Display only: checkout prices the order on
6320
+ * the server and sends no amount from the browser.
6321
+ */
6322
+ interface SeasonHeldOrder {
6323
+ operationId: string;
6324
+ expiresAt: number;
6325
+ /** ISO 4217, the package prices' own currency. */
6326
+ currency: string;
6327
+ seats: SeasonHeldSeat[];
6328
+ /** The sum of the seats' prices in MINOR units; null when any seat is unpriced, never a partial sum. */
6329
+ totalMinor: number | null;
6330
+ }
6224
6331
  /**
6225
6332
  * One category's package price, for one package and one price type.
6226
6333
  *
@@ -6408,6 +6515,10 @@ interface SeasonPickerOptions {
6408
6515
  initialView?: RendererViewMode;
6409
6516
  enable3D?: boolean;
6410
6517
  max3DSeats?: number;
6518
+ /** The standing crowd in 3D, drawn by default: false turns it off for this picker. */
6519
+ enable3DCrowd?: boolean;
6520
+ /** How fingers move the 3D view, `map` by default: 'classic' keeps the older gestures on this picker. */
6521
+ touchNavigation3D?: 'map' | 'classic';
6411
6522
  hideBadge?: boolean;
6412
6523
  theme?: SeatPickerTheme;
6413
6524
  confirmSelection?: boolean;
@@ -6487,6 +6598,14 @@ declare class SeasonPicker {
6487
6598
  getDescriptor(): SeasonDescriptor | null;
6488
6599
  getAvailability(): SeasonAvailability | null;
6489
6600
  getHandoff(): SeasonCheckoutHandoff | null;
6601
+ /**
6602
+ * The held seats and what they cost, as this picker's own cart and payment
6603
+ * card show them: each seat's place, area, price type and package price, the
6604
+ * total (null when any seat is unpriced) and the currency. Null while nothing
6605
+ * is held. Display only, for a host that draws its own payment step: the
6606
+ * server prices the order at checkout, and nothing here is sent to it.
6607
+ */
6608
+ getHeldOrder(): SeasonHeldOrder | null;
6490
6609
  destroy(): void;
6491
6610
  /** Close the picker: in a popup (open()) exactly as its ✕ does; inline, destroy it. */
6492
6611
  close(): void;
@@ -6540,4 +6659,4 @@ interface AttachPickerFrameOptions {
6540
6659
  */
6541
6660
  declare function attachPickerFrame(iframe: HTMLIFrameElement, opts?: AttachPickerFrameOptions): () => void;
6542
6661
 
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 };
6662
+ 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 };