@seatlayer/js 0.68.1 → 0.69.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 +93 -15
- package/dist/index.d.cts +29 -2
- package/dist/index.d.ts +29 -2
- package/dist/index.js +92 -14
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -970,6 +970,7 @@ declare class SeatingChart {
|
|
|
970
970
|
/** Null for the ordinary public chart — the tokenless path is untouched. */
|
|
971
971
|
private readonly access;
|
|
972
972
|
private readonly api;
|
|
973
|
+
private readonly apiBase;
|
|
973
974
|
private readonly buyerAssetUrls;
|
|
974
975
|
private readonly immersive;
|
|
975
976
|
private realtime;
|
|
@@ -2307,6 +2308,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2307
2308
|
private lastPointerType;
|
|
2308
2309
|
private confirmEl;
|
|
2309
2310
|
private confirmSeat;
|
|
2311
|
+
private suppressConfirmationSeatId;
|
|
2310
2312
|
private tableDialogEl;
|
|
2311
2313
|
private tableDialog;
|
|
2312
2314
|
private tableDialogHeld;
|
|
@@ -2626,6 +2628,26 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2626
2628
|
* the sheet head (narrow). Never floats over the seats at the tap point.
|
|
2627
2629
|
*/
|
|
2628
2630
|
private renderSectionCard;
|
|
2631
|
+
/**
|
|
2632
|
+
* Flag the root while the phone locator is docked to the map's bottom edge,
|
|
2633
|
+
* so the map's own bottom-corner controls lift above it. The bar owns that
|
|
2634
|
+
* edge outright — without this the minimap/accessibility cluster and the
|
|
2635
|
+
* zoom/fit/eye stack sit underneath it and only their rounded corners show.
|
|
2636
|
+
*/
|
|
2637
|
+
private syncLocatorDock;
|
|
2638
|
+
/**
|
|
2639
|
+
* THE COUNT IS NEVER TRUNCATED. At 390px the strip carries a dot, the section
|
|
2640
|
+
* name, the seats-left count, prev/next, and a "‹ Overview" chip; when that
|
|
2641
|
+
* ran long the count was the flex item that shrank, and "73 seats left"
|
|
2642
|
+
* clipped to "7" — not a smaller answer but a WRONG one, and one the buyer
|
|
2643
|
+
* has no way to tell is wrong. The name is the answer to "where am I" and
|
|
2644
|
+
* keeps its room; the count yields, in order: full text → short form
|
|
2645
|
+
* ("7 left") → gone. Gone is honest; a clipped number is not.
|
|
2646
|
+
*
|
|
2647
|
+
* Re-run on every real host resize, so a rotation or a resized embed that
|
|
2648
|
+
* makes room gives the long form back.
|
|
2649
|
+
*/
|
|
2650
|
+
private fitSectionStripCount;
|
|
2629
2651
|
/** Collapse the expanded card to its slim pill (seat-picking started). */
|
|
2630
2652
|
private collapseSectionCard;
|
|
2631
2653
|
/**
|
|
@@ -2812,9 +2834,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2812
2834
|
* group whose wrapper did not supply the nights.
|
|
2813
2835
|
*/
|
|
2814
2836
|
private nightStripFor;
|
|
2815
|
-
/** Close a tapped-open card. Safe to call when nothing is pinned. */
|
|
2816
2837
|
private unpinTooltip;
|
|
2817
|
-
/** A press outside the card dismisses it; its own controls must reach click. */
|
|
2818
2838
|
private handleMapPointerDown;
|
|
2819
2839
|
private updateTooltip;
|
|
2820
2840
|
/**
|
|
@@ -2830,6 +2850,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2830
2850
|
getSelection(): PickerSeat[];
|
|
2831
2851
|
/** Select free objects by engine id or public label. */
|
|
2832
2852
|
selectObjects(objects: string[]): PickerSeat[];
|
|
2853
|
+
selectObjectsWithoutConfirmation(objects: string[]): PickerSeat[];
|
|
2833
2854
|
/** Deselect objects by engine id or public label. */
|
|
2834
2855
|
deselectObjects(objects: string[]): void;
|
|
2835
2856
|
/** Clear every unheld selection. */
|
|
@@ -3227,6 +3248,8 @@ interface PerformanceGroupPickerOptions {
|
|
|
3227
3248
|
view: SeatPickerBuyerView;
|
|
3228
3249
|
seatId?: string;
|
|
3229
3250
|
}) => void;
|
|
3251
|
+
/** Receives the underlying chart journey with Performance Group identity attached. */
|
|
3252
|
+
onAnalytics?: (event: string, props: Record<string, unknown>) => void;
|
|
3230
3253
|
hideBadge?: boolean;
|
|
3231
3254
|
theme?: SeatPickerTheme;
|
|
3232
3255
|
holdTtlMs?: number;
|
|
@@ -3292,6 +3315,9 @@ declare class PerformanceGroupPicker {
|
|
|
3292
3315
|
private datesSummaryHost;
|
|
3293
3316
|
private datesCardsHost;
|
|
3294
3317
|
private resettingFlexibleSelection;
|
|
3318
|
+
private selectingPartialSeat;
|
|
3319
|
+
/** The free dates advertised by a two-tone seat before the chart is narrowed. */
|
|
3320
|
+
private readonly partialSeatDates;
|
|
3295
3321
|
/** Labels pushed at the renderer on the last pull, so departures clear. */
|
|
3296
3322
|
private markedLabels;
|
|
3297
3323
|
private holdTicker;
|
|
@@ -3391,6 +3417,7 @@ declare class PerformanceGroupPicker {
|
|
|
3391
3417
|
private syncIncludedDates;
|
|
3392
3418
|
/** Turn one two-tone seat into a normal selection without changing charts. */
|
|
3393
3419
|
private selectPartialSeat;
|
|
3420
|
+
private applySeatDates;
|
|
3394
3421
|
/** One tick a second while a hold is live, so the countdown line is true. */
|
|
3395
3422
|
private syncHoldTicker;
|
|
3396
3423
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -970,6 +970,7 @@ declare class SeatingChart {
|
|
|
970
970
|
/** Null for the ordinary public chart — the tokenless path is untouched. */
|
|
971
971
|
private readonly access;
|
|
972
972
|
private readonly api;
|
|
973
|
+
private readonly apiBase;
|
|
973
974
|
private readonly buyerAssetUrls;
|
|
974
975
|
private readonly immersive;
|
|
975
976
|
private realtime;
|
|
@@ -2307,6 +2308,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2307
2308
|
private lastPointerType;
|
|
2308
2309
|
private confirmEl;
|
|
2309
2310
|
private confirmSeat;
|
|
2311
|
+
private suppressConfirmationSeatId;
|
|
2310
2312
|
private tableDialogEl;
|
|
2311
2313
|
private tableDialog;
|
|
2312
2314
|
private tableDialogHeld;
|
|
@@ -2626,6 +2628,26 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2626
2628
|
* the sheet head (narrow). Never floats over the seats at the tap point.
|
|
2627
2629
|
*/
|
|
2628
2630
|
private renderSectionCard;
|
|
2631
|
+
/**
|
|
2632
|
+
* Flag the root while the phone locator is docked to the map's bottom edge,
|
|
2633
|
+
* so the map's own bottom-corner controls lift above it. The bar owns that
|
|
2634
|
+
* edge outright — without this the minimap/accessibility cluster and the
|
|
2635
|
+
* zoom/fit/eye stack sit underneath it and only their rounded corners show.
|
|
2636
|
+
*/
|
|
2637
|
+
private syncLocatorDock;
|
|
2638
|
+
/**
|
|
2639
|
+
* THE COUNT IS NEVER TRUNCATED. At 390px the strip carries a dot, the section
|
|
2640
|
+
* name, the seats-left count, prev/next, and a "‹ Overview" chip; when that
|
|
2641
|
+
* ran long the count was the flex item that shrank, and "73 seats left"
|
|
2642
|
+
* clipped to "7" — not a smaller answer but a WRONG one, and one the buyer
|
|
2643
|
+
* has no way to tell is wrong. The name is the answer to "where am I" and
|
|
2644
|
+
* keeps its room; the count yields, in order: full text → short form
|
|
2645
|
+
* ("7 left") → gone. Gone is honest; a clipped number is not.
|
|
2646
|
+
*
|
|
2647
|
+
* Re-run on every real host resize, so a rotation or a resized embed that
|
|
2648
|
+
* makes room gives the long form back.
|
|
2649
|
+
*/
|
|
2650
|
+
private fitSectionStripCount;
|
|
2629
2651
|
/** Collapse the expanded card to its slim pill (seat-picking started). */
|
|
2630
2652
|
private collapseSectionCard;
|
|
2631
2653
|
/**
|
|
@@ -2812,9 +2834,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2812
2834
|
* group whose wrapper did not supply the nights.
|
|
2813
2835
|
*/
|
|
2814
2836
|
private nightStripFor;
|
|
2815
|
-
/** Close a tapped-open card. Safe to call when nothing is pinned. */
|
|
2816
2837
|
private unpinTooltip;
|
|
2817
|
-
/** A press outside the card dismisses it; its own controls must reach click. */
|
|
2818
2838
|
private handleMapPointerDown;
|
|
2819
2839
|
private updateTooltip;
|
|
2820
2840
|
/**
|
|
@@ -2830,6 +2850,7 @@ declare class SeatPicker implements GaPromptPicker {
|
|
|
2830
2850
|
getSelection(): PickerSeat[];
|
|
2831
2851
|
/** Select free objects by engine id or public label. */
|
|
2832
2852
|
selectObjects(objects: string[]): PickerSeat[];
|
|
2853
|
+
selectObjectsWithoutConfirmation(objects: string[]): PickerSeat[];
|
|
2833
2854
|
/** Deselect objects by engine id or public label. */
|
|
2834
2855
|
deselectObjects(objects: string[]): void;
|
|
2835
2856
|
/** Clear every unheld selection. */
|
|
@@ -3227,6 +3248,8 @@ interface PerformanceGroupPickerOptions {
|
|
|
3227
3248
|
view: SeatPickerBuyerView;
|
|
3228
3249
|
seatId?: string;
|
|
3229
3250
|
}) => void;
|
|
3251
|
+
/** Receives the underlying chart journey with Performance Group identity attached. */
|
|
3252
|
+
onAnalytics?: (event: string, props: Record<string, unknown>) => void;
|
|
3230
3253
|
hideBadge?: boolean;
|
|
3231
3254
|
theme?: SeatPickerTheme;
|
|
3232
3255
|
holdTtlMs?: number;
|
|
@@ -3292,6 +3315,9 @@ declare class PerformanceGroupPicker {
|
|
|
3292
3315
|
private datesSummaryHost;
|
|
3293
3316
|
private datesCardsHost;
|
|
3294
3317
|
private resettingFlexibleSelection;
|
|
3318
|
+
private selectingPartialSeat;
|
|
3319
|
+
/** The free dates advertised by a two-tone seat before the chart is narrowed. */
|
|
3320
|
+
private readonly partialSeatDates;
|
|
3295
3321
|
/** Labels pushed at the renderer on the last pull, so departures clear. */
|
|
3296
3322
|
private markedLabels;
|
|
3297
3323
|
private holdTicker;
|
|
@@ -3391,6 +3417,7 @@ declare class PerformanceGroupPicker {
|
|
|
3391
3417
|
private syncIncludedDates;
|
|
3392
3418
|
/** Turn one two-tone seat into a normal selection without changing charts. */
|
|
3393
3419
|
private selectPartialSeat;
|
|
3420
|
+
private applySeatDates;
|
|
3394
3421
|
/** One tick a second while a hold is live, so the countdown line is true. */
|
|
3395
3422
|
private syncHoldTicker;
|
|
3396
3423
|
/**
|