@seatlayer/js 0.108.0 → 0.109.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/{channelsMode-DV9D-48T.d.cts → channelsMode-BbYRQd0-.d.cts} +12 -0
- package/dist/{channelsMode-DV9D-48T.d.ts → channelsMode-BbYRQd0-.d.ts} +12 -0
- package/dist/chunk-U2Z2AGRX.js +1 -0
- package/dist/index.cjs +32 -22
- package/dist/index.d.cts +194 -16
- package/dist/index.d.ts +194 -16
- package/dist/index.js +21 -21
- package/dist/manager.cjs +46 -46
- package/dist/manager.d.cts +2 -2
- package/dist/manager.d.ts +2 -2
- package/dist/manager.js +18 -18
- package/dist/{managerExtras-K2UGS5TD.js → managerExtras-CHNB5GFR.js} +1 -1
- package/dist/pickerSalesClose-AVOFKQPC.js +11 -0
- package/package.json +2 -2
- package/dist/chunk-X7FRGMS2.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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';
|
|
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-BbYRQd0-.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-BbYRQd0-.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';
|
|
@@ -340,6 +340,12 @@ interface RealtimeSink {
|
|
|
340
340
|
shoppingSessions: number;
|
|
341
341
|
activeHolds: number;
|
|
342
342
|
}): void;
|
|
343
|
+
/** EH18: the event's raw `sales` frame; the closed view reads `state` and `revision`. */
|
|
344
|
+
onSales?(notice: {
|
|
345
|
+
state: string;
|
|
346
|
+
revision: number;
|
|
347
|
+
changedAt: number | null;
|
|
348
|
+
}): void;
|
|
343
349
|
}
|
|
344
350
|
interface SubscribeTicket {
|
|
345
351
|
ticket?: string;
|
|
@@ -1137,6 +1143,14 @@ interface SeatPickerPricing {
|
|
|
1137
1143
|
base?: number;
|
|
1138
1144
|
tiers?: Record<string, number>;
|
|
1139
1145
|
}>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Unit prices for single seats or tables, by label: a flat number, or
|
|
1148
|
+
* `{ tiers: { tierId: price } }`. They win over `prices` and over the
|
|
1149
|
+
* event's own seat prices for exactly those seats.
|
|
1150
|
+
*/
|
|
1151
|
+
objects?: Record<string, number | {
|
|
1152
|
+
tiers: Record<string, number>;
|
|
1153
|
+
}>;
|
|
1140
1154
|
/** Custom money renderer (e.g. `(n) => n + '€'`). Defaults to Intl currency formatting. */
|
|
1141
1155
|
formatter?: (amount: number, currency: string) => string;
|
|
1142
1156
|
}
|
|
@@ -1672,6 +1686,15 @@ interface SeatPickerOptions {
|
|
|
1672
1686
|
* prices the hold, so a wrong entry can misprint a price, never mischarge one.
|
|
1673
1687
|
*/
|
|
1674
1688
|
type HostPrices = NonNullable<SeatPickerPricing['prices']>;
|
|
1689
|
+
/** Host unit prices for single seats or tables, by label (`pricing.objects`). */
|
|
1690
|
+
type HostObjectPrices = NonNullable<SeatPickerPricing['objects']>;
|
|
1691
|
+
/** Everything that can price one seat for a host. */
|
|
1692
|
+
interface HostSeatPricing {
|
|
1693
|
+
prices?: HostPrices;
|
|
1694
|
+
objects?: HostObjectPrices;
|
|
1695
|
+
/** The event's own seat prices (the chart's `seatPrices`). */
|
|
1696
|
+
seatPrices?: SeatPriceMap;
|
|
1697
|
+
}
|
|
1675
1698
|
|
|
1676
1699
|
/**
|
|
1677
1700
|
* Two things a NATIVE shell drawing its own chrome over the map needs from the
|
|
@@ -2073,6 +2096,7 @@ interface SeatingChartOptions {
|
|
|
2073
2096
|
*/
|
|
2074
2097
|
pricing?: {
|
|
2075
2098
|
prices?: HostPrices;
|
|
2099
|
+
objects?: HostObjectPrices;
|
|
2076
2100
|
};
|
|
2077
2101
|
/**
|
|
2078
2102
|
* Colorblind-safe rendering: category hues switch to an Okabe-Ito palette
|
|
@@ -2271,6 +2295,7 @@ declare class SeatingChart {
|
|
|
2271
2295
|
private maxSelection_;
|
|
2272
2296
|
private colorblindSafe_;
|
|
2273
2297
|
private hostPrices_;
|
|
2298
|
+
private hostObjects_;
|
|
2274
2299
|
private readonly hostSurface;
|
|
2275
2300
|
private categoryFilter_;
|
|
2276
2301
|
private accessibilityFilter_;
|
|
@@ -2371,6 +2396,9 @@ declare class SeatingChart {
|
|
|
2371
2396
|
getPickerState(): SeatingChartPickerState;
|
|
2372
2397
|
/** The host prices the picker state is using (see options.pricing). */
|
|
2373
2398
|
getHostPrices(): HostPrices | undefined;
|
|
2399
|
+
/** Everything that prices a seat for the host: its prices, its per-seat
|
|
2400
|
+
* prices and the event's own seat prices. */
|
|
2401
|
+
getHostPricing(): HostSeatPricing;
|
|
2374
2402
|
getCategoryAvailability(): Record<string, number>;
|
|
2375
2403
|
getBestAvailableZones(): Array<{
|
|
2376
2404
|
id: string;
|
|
@@ -2541,7 +2569,10 @@ declare class SeatingChart {
|
|
|
2541
2569
|
*/
|
|
2542
2570
|
setPricing(pricing: {
|
|
2543
2571
|
prices?: HostPrices;
|
|
2572
|
+
objects?: HostObjectPrices;
|
|
2544
2573
|
} | undefined): void;
|
|
2574
|
+
/** The host's own price for one seat (pricing.objects) as the map writes it; undefined when it set none. */
|
|
2575
|
+
private hostSeatPriceLabel;
|
|
2545
2576
|
/**
|
|
2546
2577
|
* The host's prices in the map's shape, so the seat hover card and the
|
|
2547
2578
|
* canvas labels print what the host charges, not the chart's own price.
|
|
@@ -3508,8 +3539,8 @@ interface SeatViewChrome {
|
|
|
3508
3539
|
/**
|
|
3509
3540
|
* The cart's arithmetic, in ONE place.
|
|
3510
3541
|
*
|
|
3511
|
-
* Held server lines
|
|
3512
|
-
*
|
|
3542
|
+
* Held server lines (priced by the picker's `heldPrice`), freshly-picked seats
|
|
3543
|
+
* and pending GA quantities (its `paidPrice`). The tray renders from this and the
|
|
3513
3544
|
* WebMCP `get_selection` tool reads it, so a buyer looking at the sheet and an
|
|
3514
3545
|
* agent asking what is selected can never be told two different totals — which
|
|
3515
3546
|
* is exactly what a second copy of these six reduces would eventually produce.
|
|
@@ -3676,6 +3707,112 @@ interface SalesClosedWords {
|
|
|
3676
3707
|
toast: string;
|
|
3677
3708
|
}
|
|
3678
3709
|
|
|
3710
|
+
/**
|
|
3711
|
+
* EH18 (owner-approved boards, 2026-10-23): the closed view of a picker whose
|
|
3712
|
+
* online sales closed, or whose event ended — a grey map with one card over it,
|
|
3713
|
+
* an open picker switched live by the event's `sales` frame, and held seats
|
|
3714
|
+
* that can still be paid for.
|
|
3715
|
+
*
|
|
3716
|
+
* Built as its own CDN asset (`seatlayer-sales.mjs`) and fetched only once a
|
|
3717
|
+
* picker is closed at load or a `sales` frame closes it, so a buyer on an open
|
|
3718
|
+
* event downloads none of it. Without it the picker still refuses picks and
|
|
3719
|
+
* shows "Sales closed"; this module adds the designed words and the card.
|
|
3720
|
+
*
|
|
3721
|
+
* IT IMPORTS NOTHING AT RUNTIME, for the reason given in hostedCheckout.ts: a
|
|
3722
|
+
* value import from the engine would put a second copy of it in this asset.
|
|
3723
|
+
* Everything arrives through {@link SalesCloseHost}, which SeatPicker is.
|
|
3724
|
+
*/
|
|
3725
|
+
/** `closed`: online sales shut (paused, or a close time passed while live). `ended`: the event is over. */
|
|
3726
|
+
type SalesView = 'closed' | 'ended';
|
|
3727
|
+
/** What this module reads and calls on the picker. */
|
|
3728
|
+
interface SalesCloseHost {
|
|
3729
|
+
salesClosed: boolean;
|
|
3730
|
+
salesState: string | null;
|
|
3731
|
+
readonly opts: {
|
|
3732
|
+
readOnly?: boolean;
|
|
3733
|
+
locale?: string;
|
|
3734
|
+
};
|
|
3735
|
+
hold: {
|
|
3736
|
+
items?: ReadonlyArray<{
|
|
3737
|
+
label: string;
|
|
3738
|
+
}>;
|
|
3739
|
+
} | null;
|
|
3740
|
+
salesInfo: {
|
|
3741
|
+
venueSelling: boolean;
|
|
3742
|
+
startsAt?: number | null;
|
|
3743
|
+
} | null;
|
|
3744
|
+
eventTimezone: string | null;
|
|
3745
|
+
root: HTMLDivElement | null;
|
|
3746
|
+
els: Record<string, HTMLElement>;
|
|
3747
|
+
destroyed: boolean;
|
|
3748
|
+
controller: {
|
|
3749
|
+
getSelection(): ReadonlyArray<{
|
|
3750
|
+
id: string;
|
|
3751
|
+
label: string;
|
|
3752
|
+
}>;
|
|
3753
|
+
deselect(ids: string[]): void;
|
|
3754
|
+
};
|
|
3755
|
+
heldTicketCount(): number;
|
|
3756
|
+
dismissConfirm(): void;
|
|
3757
|
+
applySalesClosed(): void;
|
|
3758
|
+
toast(message: string, tone: 'neutral'): void;
|
|
3759
|
+
}
|
|
3760
|
+
type Translate = (key: string, params?: Record<string, string | number>) => string;
|
|
3761
|
+
/** The picker's own translators, handed over once at load: this module imports nothing. */
|
|
3762
|
+
declare function translate(t: Translate, tCount: (key: string, count: number) => string): void;
|
|
3763
|
+
/** Which designed view applies; null keeps today's words (not yet on sale, a preview, an unnamed state). */
|
|
3764
|
+
declare function salesView(salesClosed: boolean, salesState: string | null | undefined, readOnly?: boolean): SalesView | null;
|
|
3765
|
+
/** The designed view for this picker now, or null. */
|
|
3766
|
+
declare const view: (host: SalesCloseHost) => SalesView | null;
|
|
3767
|
+
/** Closed online with seats already held: the buyer may still pay for them. */
|
|
3768
|
+
declare function finishing(host: SalesCloseHost): boolean;
|
|
3769
|
+
/** The pill, CTA and toast words for the designed views; null leaves the picker's own. */
|
|
3770
|
+
declare function words(host: SalesCloseHost): {
|
|
3771
|
+
pill: string;
|
|
3772
|
+
cta: string;
|
|
3773
|
+
toast: string;
|
|
3774
|
+
} | null;
|
|
3775
|
+
/** The tray's closed note: the view's title alone, as the card over the map carries the second line. */
|
|
3776
|
+
declare function note(host: SalesCloseHost): {
|
|
3777
|
+
heading: string;
|
|
3778
|
+
sentence: string;
|
|
3779
|
+
} | null;
|
|
3780
|
+
/** "It was on Fri 23 Oct at 19:30." in the event's own zone; '' when undated. */
|
|
3781
|
+
declare function eventEndedWhen(host: Pick<SalesCloseHost, 'salesInfo' | 'eventTimezone' | 'opts'>): string;
|
|
3782
|
+
/**
|
|
3783
|
+
* The one card over a closed map: what happened, and the one thing still true
|
|
3784
|
+
* for this buyer — the box office, the held seats they can still pay for, or
|
|
3785
|
+
* the date the event was on.
|
|
3786
|
+
*/
|
|
3787
|
+
declare function bannerHtml(host: SalesCloseHost, current: SalesView): string;
|
|
3788
|
+
/** The grey map and its one card. Idempotent; the picker runs it on every tray sync. */
|
|
3789
|
+
declare function sync(host: SalesCloseHost): void;
|
|
3790
|
+
/**
|
|
3791
|
+
* The event's live sales notice. Paused or ended closes the map at once, with
|
|
3792
|
+
* one toast; live opens it again. Picks not yet held are dropped; held seats
|
|
3793
|
+
* stay the buyer's. It never touches seat data.
|
|
3794
|
+
*/
|
|
3795
|
+
declare function applyNotice(host: SalesCloseHost, notice: {
|
|
3796
|
+
state?: unknown;
|
|
3797
|
+
revision?: unknown;
|
|
3798
|
+
}): void;
|
|
3799
|
+
|
|
3800
|
+
type __pickerSalesClose_SalesCloseHost = SalesCloseHost;
|
|
3801
|
+
type __pickerSalesClose_SalesView = SalesView;
|
|
3802
|
+
declare const __pickerSalesClose_applyNotice: typeof applyNotice;
|
|
3803
|
+
declare const __pickerSalesClose_bannerHtml: typeof bannerHtml;
|
|
3804
|
+
declare const __pickerSalesClose_eventEndedWhen: typeof eventEndedWhen;
|
|
3805
|
+
declare const __pickerSalesClose_finishing: typeof finishing;
|
|
3806
|
+
declare const __pickerSalesClose_note: typeof note;
|
|
3807
|
+
declare const __pickerSalesClose_salesView: typeof salesView;
|
|
3808
|
+
declare const __pickerSalesClose_sync: typeof sync;
|
|
3809
|
+
declare const __pickerSalesClose_translate: typeof translate;
|
|
3810
|
+
declare const __pickerSalesClose_view: typeof view;
|
|
3811
|
+
declare const __pickerSalesClose_words: typeof words;
|
|
3812
|
+
declare namespace __pickerSalesClose {
|
|
3813
|
+
export { type __pickerSalesClose_SalesCloseHost as SalesCloseHost, type __pickerSalesClose_SalesView as SalesView, __pickerSalesClose_applyNotice as applyNotice, __pickerSalesClose_bannerHtml as bannerHtml, __pickerSalesClose_eventEndedWhen as eventEndedWhen, __pickerSalesClose_finishing as finishing, __pickerSalesClose_note as note, __pickerSalesClose_salesView as salesView, __pickerSalesClose_sync as sync, __pickerSalesClose_translate as translate, __pickerSalesClose_view as view, __pickerSalesClose_words as words };
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3679
3816
|
/**
|
|
3680
3817
|
* Hosted checkout — the payment step, as a module nobody downloads until a
|
|
3681
3818
|
* buyer actually asks to pay.
|
|
@@ -3732,6 +3869,9 @@ interface CheckoutOrderStatus {
|
|
|
3732
3869
|
pdfUrl?: string;
|
|
3733
3870
|
}
|
|
3734
3871
|
|
|
3872
|
+
/** The closed-view functions SeatPicker calls; see pickerSalesClose.ts. */
|
|
3873
|
+
type SalesCloseModule = Pick<typeof __pickerSalesClose, 'translate' | 'view' | 'words' | 'note' | 'finishing' | 'sync' | 'applyNotice'>;
|
|
3874
|
+
|
|
3735
3875
|
/**
|
|
3736
3876
|
* THE PHONE SHEET HAS THREE RESTING HEIGHTS, smallest first.
|
|
3737
3877
|
*
|
|
@@ -3778,8 +3918,9 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3778
3918
|
/** Exact ticket count required before checkout; null keeps ordinary 1..max behavior. */
|
|
3779
3919
|
/** @internal */ readonly exactTickets: number | null;
|
|
3780
3920
|
private lastSelectionValidity;
|
|
3781
|
-
/**
|
|
3782
|
-
|
|
3921
|
+
/** The host's own pricing (mount option or `setPricing`), kept separate from
|
|
3922
|
+
* live server offer overrides. */
|
|
3923
|
+
private hostPricing;
|
|
3783
3924
|
/** @internal */ readonly performanceGroup: PerformanceGroupPickerInternal | null;
|
|
3784
3925
|
/** Structural (not CSS) removal of per-performance money — see pickerInternal. */
|
|
3785
3926
|
/** @internal */ readonly suppressPricing: boolean;
|
|
@@ -3822,7 +3963,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3822
3963
|
* intentionally fetched in parallel, so its faster response is stored but
|
|
3823
3964
|
* stays visually quiet until this becomes true. */
|
|
3824
3965
|
private currencyResolved;
|
|
3825
|
-
|
|
3966
|
+
/** @internal */ eventTimezone: string | null;
|
|
3826
3967
|
/** The event's formatted date-time (event-zone), reused by the closed-state note. */
|
|
3827
3968
|
private eventWhenText;
|
|
3828
3969
|
private offerAvailability;
|
|
@@ -3959,6 +4100,18 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
3959
4100
|
* the wording it produces today.
|
|
3960
4101
|
*/
|
|
3961
4102
|
/** @internal */ salesState: PickerSalesState | null;
|
|
4103
|
+
/** @internal EH18: the chart load's event facts the closed view reads (box office, date). */
|
|
4104
|
+
salesInfo: {
|
|
4105
|
+
venueSelling: boolean;
|
|
4106
|
+
startsAt?: number | null;
|
|
4107
|
+
} | null;
|
|
4108
|
+
/**
|
|
4109
|
+
* @internal EH18: the closed view (`seatlayer-sales.mjs`), fetched only once
|
|
4110
|
+
* this picker is closed at load or a `sales` frame closes it. Until then, and
|
|
4111
|
+
* where the asset cannot load, the picker still refuses picks and says
|
|
4112
|
+
* "Sales closed".
|
|
4113
|
+
*/ salesUi: SalesCloseModule | null;
|
|
4114
|
+
private salesUiLoad;
|
|
3962
4115
|
/** Every seated category's live availability is 0 (sold-out overlay is up). */
|
|
3963
4116
|
private soldOut;
|
|
3964
4117
|
private soldoutEl;
|
|
@@ -4377,6 +4530,12 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4377
4530
|
get onGAPromptHook(): SeatPickerOptions['onGAPrompt'];
|
|
4378
4531
|
/** @internal The closed-sales words for this event's own sales state. */
|
|
4379
4532
|
closedWords(): SalesClosedWords;
|
|
4533
|
+
/** @internal Closed online with seats held: the buyer may still pay for them. */
|
|
4534
|
+
finishingHold(): boolean;
|
|
4535
|
+
/** Load the closed view once, then re-apply the closed state through it. */
|
|
4536
|
+
private withSalesUi;
|
|
4537
|
+
/** A `sales` frame. An open picker told sales are live has nothing to load. */
|
|
4538
|
+
private salesNotice;
|
|
4380
4539
|
/** @internal */ tf(key: string, fallback: string): string;
|
|
4381
4540
|
/** Sold-out overlay — an informational state with no unavailable action. */
|
|
4382
4541
|
private buildSoldoutOverlay;
|
|
@@ -4404,7 +4563,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4404
4563
|
* idempotent DOM apply used at load and on transition.
|
|
4405
4564
|
*/
|
|
4406
4565
|
private setSalesClosed;
|
|
4407
|
-
|
|
4566
|
+
/** @internal */ applySalesClosed(): void;
|
|
4408
4567
|
/**
|
|
4409
4568
|
* The badge follows the SERVED chart theme, and nothing else.
|
|
4410
4569
|
*
|
|
@@ -4593,6 +4752,14 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4593
4752
|
* hover surface they never reach, so the same facts arrive here as prose.
|
|
4594
4753
|
*/
|
|
4595
4754
|
private markedSeatAnnouncement;
|
|
4755
|
+
/**
|
|
4756
|
+
* What one seat sells at, per ticket type, priced as the cart prices it
|
|
4757
|
+
* (paidPrice: the host's price for the seat, the event's, a channel, an
|
|
4758
|
+
* offer, then the category). Undefined for an unpriced category.
|
|
4759
|
+
*/
|
|
4760
|
+
private seatPriceRangeOf;
|
|
4761
|
+
/** "£88", or "£60–£88" when the range is open. */
|
|
4762
|
+
private moneyRange;
|
|
4596
4763
|
/** aria-live readout when keyboard focus lands on a seat. */
|
|
4597
4764
|
/** @internal */ announceSeat(seat: ExpandedSeat | null): void;
|
|
4598
4765
|
/** @internal */ showTableDialog(table: TableSelectionDetails, held: boolean, returnFocus?: HTMLElement | null): void;
|
|
@@ -4700,12 +4867,23 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4700
4867
|
private applyChannelPricing;
|
|
4701
4868
|
private syncOffer;
|
|
4702
4869
|
/**
|
|
4703
|
-
* The price the buyer will actually pay for an object/category/tier:
|
|
4870
|
+
* The price the buyer will actually pay for an object/category/tier: the
|
|
4871
|
+
* seat's own price (the host's `pricing.objects`, then the event's), its
|
|
4704
4872
|
* scoped channel override, then the host/server offer, then the chart. Every
|
|
4705
4873
|
* price the widget DISPLAYS or hands off must flow through here — a map
|
|
4706
4874
|
* that shows one price while checkout charges another destroys trust.
|
|
4875
|
+
* A seat already on the hold is priced by `heldPrice` instead.
|
|
4707
4876
|
*/
|
|
4708
4877
|
/** @internal */ paidPrice(categoryKey: string | undefined, tierId: string | null | undefined, fallback: number, objectLabel?: string): number;
|
|
4878
|
+
/**
|
|
4879
|
+
* What a HELD line costs: the price the server froze on the hold, which is
|
|
4880
|
+
* what it charges. An offer read after the hold, or a channel price (the
|
|
4881
|
+
* server already applied it), never replaces it. Only an SDK-checkout host's
|
|
4882
|
+
* OWN price may — that host charges on its side — and its category price
|
|
4883
|
+
* only for a seat the event did not price on its own.
|
|
4884
|
+
*/
|
|
4885
|
+
/** @internal */ heldPrice(item: HoldLineItem): number;
|
|
4886
|
+
/** @internal */ hostObjectPrices(): SeatPickerPricing['objects'];
|
|
4709
4887
|
/** The half of a legend's inputs the rail and the price list share, resolved
|
|
4710
4888
|
* once so the two renderings cannot be given different answers. */
|
|
4711
4889
|
/** @internal */ legendDeps(): LegendDeps;
|
|
@@ -4992,12 +5170,12 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4992
5170
|
* allowed to wait on it. Remounting the widget to hand it new options would
|
|
4993
5171
|
* tear down a live hold, so the override is settable in place.
|
|
4994
5172
|
*
|
|
4995
|
-
*
|
|
4996
|
-
*
|
|
4997
|
-
*
|
|
4998
|
-
*
|
|
4999
|
-
*
|
|
5000
|
-
*
|
|
5173
|
+
* These are the HOST'S prices. Live server offers stay merged on top of them,
|
|
5174
|
+
* as at mount. They reprice seats not yet held (`paidPrice`); a held line
|
|
5175
|
+
* keeps the hold's price, except that with SDK checkout the host's own price
|
|
5176
|
+
* for its category also reprices held lines and the handoff (`heldPrice`).
|
|
5177
|
+
* The worker still charges its hold, so with SeatLayer checkout a wrong call
|
|
5178
|
+
* here can misprint a fresh seat's price, never mischarge one.
|
|
5001
5179
|
*
|
|
5002
5180
|
* A no-op when the map is unchanged, so a host may call it on every poll.
|
|
5003
5181
|
*/
|