@seatlayer/js 0.111.0 → 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/dist/index.d.cts 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-CVhVwfEC.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 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-CVhVwfEC.cjs';
3
+ import { T as ThemeMode } from './channelsMode-rHChoJwY.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 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.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';
@@ -2900,11 +2900,15 @@ declare function bindSeatingChartHandle(getInstance: () => SeatingChart | null):
2900
2900
  * "live", it makes them silently ignored after mount, which is the worse of the
2901
2901
  * two behaviours. React already treated them this way; Vue and Angular did not
2902
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.
2903
2907
  */
2904
- 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"];
2905
2909
  type SeatingChartIdentityProp = (typeof SEATING_CHART_IDENTITY_PROPS)[number];
2906
2910
  /** Non-callback options a wrapper accepts as props/inputs and passes straight through. */
2907
- 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"];
2908
2912
  type SeatingChartValueProp = (typeof SEATING_CHART_VALUE_PROPS)[number];
2909
2913
  /** Every callback option a wrapper wires to its own event mechanism. */
2910
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"];
@@ -5525,6 +5529,12 @@ declare class SeatPicker implements GaPromptPicker {
5525
5529
  /** @internal */ closeView3dComparison(restoreFocus?: boolean): void;
5526
5530
  /** Current active/restored hold reflected in the tray. */
5527
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>;
5528
5538
  /** Explicit host-driven hold restore (automatic session restore is on by default). */
5529
5539
  resumeHold(holdId: string): Promise<HoldResult | null>;
5530
5540
  /** Re-hold one held seat on another ticket type; the server re-prices it. */
@@ -6591,6 +6601,11 @@ declare class SeasonPicker {
6591
6601
  * offering checkout, and this resolves `true`. It resolves `false`, leaving
6592
6602
  * the picker as it was, when nothing is held here or the operation is not
6593
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.
6594
6609
  */
6595
6610
  markBooked(): Promise<boolean>;
6596
6611
  release(releaseActionId: string): Promise<void>;
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-CVhVwfEC.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-CVhVwfEC.js';
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';
@@ -2900,11 +2900,15 @@ declare function bindSeatingChartHandle(getInstance: () => SeatingChart | null):
2900
2900
  * "live", it makes them silently ignored after mount, which is the worse of the
2901
2901
  * two behaviours. React already treated them this way; Vue and Angular did not
2902
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.
2903
2907
  */
2904
- 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"];
2905
2909
  type SeatingChartIdentityProp = (typeof SEATING_CHART_IDENTITY_PROPS)[number];
2906
2910
  /** Non-callback options a wrapper accepts as props/inputs and passes straight through. */
2907
- 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"];
2908
2912
  type SeatingChartValueProp = (typeof SEATING_CHART_VALUE_PROPS)[number];
2909
2913
  /** Every callback option a wrapper wires to its own event mechanism. */
2910
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"];
@@ -5525,6 +5529,12 @@ declare class SeatPicker implements GaPromptPicker {
5525
5529
  /** @internal */ closeView3dComparison(restoreFocus?: boolean): void;
5526
5530
  /** Current active/restored hold reflected in the tray. */
5527
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>;
5528
5538
  /** Explicit host-driven hold restore (automatic session restore is on by default). */
5529
5539
  resumeHold(holdId: string): Promise<HoldResult | null>;
5530
5540
  /** Re-hold one held seat on another ticket type; the server re-prices it. */
@@ -6591,6 +6601,11 @@ declare class SeasonPicker {
6591
6601
  * offering checkout, and this resolves `true`. It resolves `false`, leaving
6592
6602
  * the picker as it was, when nothing is held here or the operation is not
6593
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.
6594
6609
  */
6595
6610
  markBooked(): Promise<boolean>;
6596
6611
  release(releaseActionId: string): Promise<void>;