@seatlayer/js 0.96.0 → 0.98.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
@@ -1,7 +1,7 @@
1
1
  import { PickerSeat, PickerGAArea, PickerMapTheme, PickerTransport, PickerSelectionValidator, RendererViewMode, PickerSelectionValidity, 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-BOkMjgGL.cjs';
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 SeatManagerConnection, aa as SeatManagerFilteredSection, ab as SeatManagerMode, ac as SeatManagerOptions, ad as SeatManagerSelectionValidity, ae as SeatManagerTallies, af as SelectionSourceRow } from './channelsMode-BOkMjgGL.cjs';
3
+ import { T as ThemeMode } from './channelsMode-BkAe2N3o.cjs';
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 SeatManagerConnection, aa as SeatManagerFilteredSection, ab as SeatManagerMode, ac as SeatManagerOptions, ad as SeatManagerSelectionValidity, ae as SeatManagerTallies, af as SelectionSourceRow } from './channelsMode-BkAe2N3o.cjs';
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';
@@ -841,6 +841,10 @@ interface GaPromptPicker {
841
841
  gaQty: GaQtyMap;
842
842
  maxTickets: number;
843
843
  salesClosed: boolean;
844
+ /** The closed-sales words for this event's state; absent on older hosts. */
845
+ closedWords?(): {
846
+ toast: string;
847
+ };
844
848
  gaPromptEl: HTMLDivElement | null;
845
849
  gaPromptReturnFocus: HTMLElement | null;
846
850
  gaAreasExpanded: boolean;
@@ -3491,6 +3495,40 @@ interface WebMcpRegistration {
3491
3495
  /** What `PickerController.render()` reports back about the loaded event. */
3492
3496
  type PickerRenderInfo = NonNullable<Awaited<ReturnType<PickerController['render']>>>;
3493
3497
 
3498
+ /**
3499
+ * pickerTray — the renderable pieces of the selection tray: the ticket-card
3500
+ * identity grid, the card's icon rail, the best-available card, the tray's
3501
+ * opening line, and the hold countdown copy.
3502
+ *
3503
+ * The mobile peek bar used to live here too — a one-liner that restated the
3504
+ * count, the total and the way forward for a collapsed bottom sheet. The
3505
+ * collapsed sheet now shows the SAME footer block the desktop panel has (owner
3506
+ * call 2026-09-05), so there is one cart summary in the widget instead of two
3507
+ * that had to be kept saying the same thing.
3508
+ *
3509
+ * These are pure: they take values and return strings. Bodies are verbatim from
3510
+ * SeatPicker.ts; the only edits are that each value the closure used to read
3511
+ * off `this` (or look up mid-body) is now a parameter, and `this.tf` is the
3512
+ * `tfStatic` it always delegated to.
3513
+ *
3514
+ * NOT moved, deliberately: `syncTray` itself. It is ~350 lines of
3515
+ * orchestration that touches about fifty-five SeatPicker members and WRITES a
3516
+ * dozen of them (`baQty`, `baCat`, `baZone`, `baPremium`,
3517
+ * `bestAvailableConfirm`, `gaQty`, `lastTrayKeys`, `lastTrayCount`,
3518
+ * `lastTrayTotal`, `sideCollapsed`), wires fifteen event
3519
+ * handlers that call back into the widget, and re-enters itself from nine of
3520
+ * them. A host interface wide enough to carry that is the class with a layer of
3521
+ * indirection bolted on — strictly worse than leaving the orchestration on the
3522
+ * object it orchestrates. So the STRINGS moved and the wiring stayed.
3523
+ */
3524
+
3525
+ /** What every closed-sales surface says for one state: the pill, the button and the toast. */
3526
+ interface SalesClosedWords {
3527
+ pill: string;
3528
+ cta: string;
3529
+ toast: string;
3530
+ }
3531
+
3494
3532
  /**
3495
3533
  * Hosted checkout — the payment step, as a module nobody downloads until a
3496
3534
  * buyer actually asks to pay.
@@ -4188,6 +4226,8 @@ declare class SeatPicker implements GaPromptPicker {
4188
4226
  */
4189
4227
  /** @internal The host's GA prompt takeover, if it supplied one. */
4190
4228
  get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
4229
+ /** @internal The closed-sales words for this event's own sales state. */
4230
+ closedWords(): SalesClosedWords;
4191
4231
  /** @internal */ tf(key: string, fallback: string): string;
4192
4232
  /** Sold-out overlay — an informational state with no unavailable action. */
4193
4233
  private buildSoldoutOverlay;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { PickerSeat, PickerGAArea, PickerMapTheme, PickerTransport, PickerSelectionValidator, RendererViewMode, PickerSelectionValidity, 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-BOkMjgGL.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 SeatManagerConnection, aa as SeatManagerFilteredSection, ab as SeatManagerMode, ac as SeatManagerOptions, ad as SeatManagerSelectionValidity, ae as SeatManagerTallies, af as SelectionSourceRow } from './channelsMode-BOkMjgGL.js';
3
+ import { T as ThemeMode } from './channelsMode-BkAe2N3o.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 SeatManagerConnection, aa as SeatManagerFilteredSection, ab as SeatManagerMode, ac as SeatManagerOptions, ad as SeatManagerSelectionValidity, ae as SeatManagerTallies, af as SelectionSourceRow } from './channelsMode-BkAe2N3o.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';
@@ -841,6 +841,10 @@ interface GaPromptPicker {
841
841
  gaQty: GaQtyMap;
842
842
  maxTickets: number;
843
843
  salesClosed: boolean;
844
+ /** The closed-sales words for this event's state; absent on older hosts. */
845
+ closedWords?(): {
846
+ toast: string;
847
+ };
844
848
  gaPromptEl: HTMLDivElement | null;
845
849
  gaPromptReturnFocus: HTMLElement | null;
846
850
  gaAreasExpanded: boolean;
@@ -3491,6 +3495,40 @@ interface WebMcpRegistration {
3491
3495
  /** What `PickerController.render()` reports back about the loaded event. */
3492
3496
  type PickerRenderInfo = NonNullable<Awaited<ReturnType<PickerController['render']>>>;
3493
3497
 
3498
+ /**
3499
+ * pickerTray — the renderable pieces of the selection tray: the ticket-card
3500
+ * identity grid, the card's icon rail, the best-available card, the tray's
3501
+ * opening line, and the hold countdown copy.
3502
+ *
3503
+ * The mobile peek bar used to live here too — a one-liner that restated the
3504
+ * count, the total and the way forward for a collapsed bottom sheet. The
3505
+ * collapsed sheet now shows the SAME footer block the desktop panel has (owner
3506
+ * call 2026-09-05), so there is one cart summary in the widget instead of two
3507
+ * that had to be kept saying the same thing.
3508
+ *
3509
+ * These are pure: they take values and return strings. Bodies are verbatim from
3510
+ * SeatPicker.ts; the only edits are that each value the closure used to read
3511
+ * off `this` (or look up mid-body) is now a parameter, and `this.tf` is the
3512
+ * `tfStatic` it always delegated to.
3513
+ *
3514
+ * NOT moved, deliberately: `syncTray` itself. It is ~350 lines of
3515
+ * orchestration that touches about fifty-five SeatPicker members and WRITES a
3516
+ * dozen of them (`baQty`, `baCat`, `baZone`, `baPremium`,
3517
+ * `bestAvailableConfirm`, `gaQty`, `lastTrayKeys`, `lastTrayCount`,
3518
+ * `lastTrayTotal`, `sideCollapsed`), wires fifteen event
3519
+ * handlers that call back into the widget, and re-enters itself from nine of
3520
+ * them. A host interface wide enough to carry that is the class with a layer of
3521
+ * indirection bolted on — strictly worse than leaving the orchestration on the
3522
+ * object it orchestrates. So the STRINGS moved and the wiring stayed.
3523
+ */
3524
+
3525
+ /** What every closed-sales surface says for one state: the pill, the button and the toast. */
3526
+ interface SalesClosedWords {
3527
+ pill: string;
3528
+ cta: string;
3529
+ toast: string;
3530
+ }
3531
+
3494
3532
  /**
3495
3533
  * Hosted checkout — the payment step, as a module nobody downloads until a
3496
3534
  * buyer actually asks to pay.
@@ -4188,6 +4226,8 @@ declare class SeatPicker implements GaPromptPicker {
4188
4226
  */
4189
4227
  /** @internal The host's GA prompt takeover, if it supplied one. */
4190
4228
  get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
4229
+ /** @internal The closed-sales words for this event's own sales state. */
4230
+ closedWords(): SalesClosedWords;
4191
4231
  /** @internal */ tf(key: string, fallback: string): string;
4192
4232
  /** Sold-out overlay — an informational state with no unavailable action. */
4193
4233
  private buildSoldoutOverlay;