@seatlayer/js 0.99.0 → 0.101.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.cjs +13 -13
- package/dist/index.d.cts +25 -3
- package/dist/index.d.ts +25 -3
- package/dist/index.js +13 -13
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -860,7 +860,14 @@ interface GaPromptPicker {
|
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
type SeatingChartBuyerView = 'map' | 'venue3d';
|
|
863
|
+
/** The pinned drag action a host can read back (native state decoders know these two). */
|
|
863
864
|
type SeatingChartNavigationMode = 'orbit' | 'pan';
|
|
865
|
+
/**
|
|
866
|
+
* What a host may ask a plain drag to do in 3D. `auto`, the default, turns the
|
|
867
|
+
* venue at the overview and moves the camera once the buyer has zoomed in;
|
|
868
|
+
* `orbit` and `pan` pin one action (a host's own Rotate / Move buttons).
|
|
869
|
+
*/
|
|
870
|
+
type SeatingChartNavigationRequest = SeatingChartNavigationMode | 'auto';
|
|
864
871
|
/** What the 2D seat-view panorama is showing, and what it would say about it. */
|
|
865
872
|
interface SeatingChartSeatViewInfo {
|
|
866
873
|
seatId: string;
|
|
@@ -2454,6 +2461,12 @@ declare class SeatingChart {
|
|
|
2454
2461
|
setPricing(pricing: {
|
|
2455
2462
|
prices?: HostPrices;
|
|
2456
2463
|
} | undefined): void;
|
|
2464
|
+
/**
|
|
2465
|
+
* The host's prices in the map's shape, so the seat hover card and the
|
|
2466
|
+
* canvas labels print what the host charges, not the chart's own price.
|
|
2467
|
+
* Undefined without host prices: the map then uses the chart's.
|
|
2468
|
+
*/
|
|
2469
|
+
private hostPriceRanges;
|
|
2457
2470
|
/** Toggle colorblind-safe rendering at runtime (see options.colorblindSafe). */
|
|
2458
2471
|
setColorblindSafe(on: boolean): void;
|
|
2459
2472
|
/** Switch the 2D canvas projection.
|
|
@@ -2509,8 +2522,9 @@ declare class SeatingChart {
|
|
|
2509
2522
|
getBuyerView(): SeatingChartBuyerView;
|
|
2510
2523
|
/** Open an authored or chart-derived 360° view for one physical seat. */
|
|
2511
2524
|
openSeatView(seatId: string): Promise<void>;
|
|
2512
|
-
/** Explicit Rotate / Move control for native and custom picker chrome
|
|
2513
|
-
|
|
2525
|
+
/** Explicit Rotate / Move control for native and custom picker chrome;
|
|
2526
|
+
* `auto` (the default) turns at the overview and moves once zoomed in. */
|
|
2527
|
+
setVenue3DNavigationMode(mode: SeatingChartNavigationRequest): void;
|
|
2514
2528
|
/**
|
|
2515
2529
|
* Enable or suppress all buyer input inside this chart without unmounting it.
|
|
2516
2530
|
*
|
|
@@ -4583,7 +4597,15 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4583
4597
|
/** The read itself. Never rejects — see the catch. */
|
|
4584
4598
|
private readOfferAvailability;
|
|
4585
4599
|
/** @internal */ offerPrice(categoryKey: string | undefined, tierId?: string | null): TicketOfferPrice | null;
|
|
4586
|
-
/**
|
|
4600
|
+
/**
|
|
4601
|
+
* Keep authored regular prices out of canvas labels during matrix offers,
|
|
4602
|
+
* and out of them whenever the host prices the event itself.
|
|
4603
|
+
*
|
|
4604
|
+
* Left undefined, the map prints the chart's own category prices. A host
|
|
4605
|
+
* that charges from its own catalogue (`pricing.prices`) then saw one price
|
|
4606
|
+
* in the list and another on the seat's hover card: DKK 411 against DKK 55 on
|
|
4607
|
+
* a DesiPass event (2026-09-25). The map now takes the list's answer.
|
|
4608
|
+
*/
|
|
4587
4609
|
private mapPriceRanges;
|
|
4588
4610
|
private syncMapPriceRanges;
|
|
4589
4611
|
private applyChannelPricing;
|
package/dist/index.d.ts
CHANGED
|
@@ -860,7 +860,14 @@ interface GaPromptPicker {
|
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
type SeatingChartBuyerView = 'map' | 'venue3d';
|
|
863
|
+
/** The pinned drag action a host can read back (native state decoders know these two). */
|
|
863
864
|
type SeatingChartNavigationMode = 'orbit' | 'pan';
|
|
865
|
+
/**
|
|
866
|
+
* What a host may ask a plain drag to do in 3D. `auto`, the default, turns the
|
|
867
|
+
* venue at the overview and moves the camera once the buyer has zoomed in;
|
|
868
|
+
* `orbit` and `pan` pin one action (a host's own Rotate / Move buttons).
|
|
869
|
+
*/
|
|
870
|
+
type SeatingChartNavigationRequest = SeatingChartNavigationMode | 'auto';
|
|
864
871
|
/** What the 2D seat-view panorama is showing, and what it would say about it. */
|
|
865
872
|
interface SeatingChartSeatViewInfo {
|
|
866
873
|
seatId: string;
|
|
@@ -2454,6 +2461,12 @@ declare class SeatingChart {
|
|
|
2454
2461
|
setPricing(pricing: {
|
|
2455
2462
|
prices?: HostPrices;
|
|
2456
2463
|
} | undefined): void;
|
|
2464
|
+
/**
|
|
2465
|
+
* The host's prices in the map's shape, so the seat hover card and the
|
|
2466
|
+
* canvas labels print what the host charges, not the chart's own price.
|
|
2467
|
+
* Undefined without host prices: the map then uses the chart's.
|
|
2468
|
+
*/
|
|
2469
|
+
private hostPriceRanges;
|
|
2457
2470
|
/** Toggle colorblind-safe rendering at runtime (see options.colorblindSafe). */
|
|
2458
2471
|
setColorblindSafe(on: boolean): void;
|
|
2459
2472
|
/** Switch the 2D canvas projection.
|
|
@@ -2509,8 +2522,9 @@ declare class SeatingChart {
|
|
|
2509
2522
|
getBuyerView(): SeatingChartBuyerView;
|
|
2510
2523
|
/** Open an authored or chart-derived 360° view for one physical seat. */
|
|
2511
2524
|
openSeatView(seatId: string): Promise<void>;
|
|
2512
|
-
/** Explicit Rotate / Move control for native and custom picker chrome
|
|
2513
|
-
|
|
2525
|
+
/** Explicit Rotate / Move control for native and custom picker chrome;
|
|
2526
|
+
* `auto` (the default) turns at the overview and moves once zoomed in. */
|
|
2527
|
+
setVenue3DNavigationMode(mode: SeatingChartNavigationRequest): void;
|
|
2514
2528
|
/**
|
|
2515
2529
|
* Enable or suppress all buyer input inside this chart without unmounting it.
|
|
2516
2530
|
*
|
|
@@ -4583,7 +4597,15 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
4583
4597
|
/** The read itself. Never rejects — see the catch. */
|
|
4584
4598
|
private readOfferAvailability;
|
|
4585
4599
|
/** @internal */ offerPrice(categoryKey: string | undefined, tierId?: string | null): TicketOfferPrice | null;
|
|
4586
|
-
/**
|
|
4600
|
+
/**
|
|
4601
|
+
* Keep authored regular prices out of canvas labels during matrix offers,
|
|
4602
|
+
* and out of them whenever the host prices the event itself.
|
|
4603
|
+
*
|
|
4604
|
+
* Left undefined, the map prints the chart's own category prices. A host
|
|
4605
|
+
* that charges from its own catalogue (`pricing.prices`) then saw one price
|
|
4606
|
+
* in the list and another on the seat's hover card: DKK 411 against DKK 55 on
|
|
4607
|
+
* a DesiPass event (2026-09-25). The map now takes the list's answer.
|
|
4608
|
+
*/
|
|
4587
4609
|
private mapPriceRanges;
|
|
4588
4610
|
private syncMapPriceRanges;
|
|
4589
4611
|
private applyChannelPricing;
|