@seatlayer/angular 0.111.0 → 0.113.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/README.md CHANGED
@@ -27,8 +27,9 @@ also re-exports the plain JavaScript `SeatPickerWidget` class and the
27
27
 
28
28
  - `SeatLayerSeatingChartComponent`: one standalone Angular component with the
29
29
  `seatlayer-seating-chart` selector.
30
- - `SeatLayerSeasonPickerComponent`: fixed-inclusion Season selection and
31
- returning-holder intent with the `seatlayer-season-picker` selector.
30
+ - `SeatLayerSeasonPickerComponent`: season tickets, with the
31
+ `seatlayer-season-picker` selector. The buyer picks a seat once and holds it
32
+ on every date of the season; returning holders can say they will renew.
32
33
  - `SeatLayerSeatManagerComponent`: the organizer control room, for dashboards
33
34
  that monitor and block live inventory, with the `seatlayer-seat-manager`
34
35
  selector. It lives on its own entry, `@seatlayer/angular/manager`, so a buyer
@@ -52,6 +53,39 @@ npm install @seatlayer/angular
52
53
 
53
54
  The component is **standalone**: import it directly, no NgModule needed.
54
55
 
56
+ ## Upgrading to 0.113.0
57
+
58
+ Nothing needs a code change, and no type changed. What a buyer sees:
59
+
60
+ - **A short server stall heals on its own.** A hold, release or resume that
61
+ gets no answer is sent again (at most three tries, seven seconds of waiting),
62
+ and the map's first load tries again for up to about 30 seconds while the
63
+ picker says it is taking longer. A real outage still ends on the same panel
64
+ and Try again button, only later.
65
+ - **"Check your connection and try again."** A hold or best-available that
66
+ still gets no answer says this and keeps the selection, where it used to say
67
+ the seats were taken.
68
+ - **One version of the SDK.** If your app also installs `@seatlayer/js`
69
+ itself, move it to 0.113.0 as well.
70
+
71
+ ## Upgrading to 0.112.0
72
+
73
+ Nothing needs a code change, and nothing changes for a page that already works.
74
+
75
+ - **`SeatingChart` and the Season picker take `enable3D`, `enable3DCrowd` and
76
+ `touchNavigation3D` as inputs.** Before 0.112.0 they had no such inputs.
77
+ `[enable3D]="false"` hides the 3D view, `[enable3DCrowd]="false"` leaves
78
+ standing areas an empty floor in 3D, and `touchNavigation3D="classic"` keeps
79
+ the earlier touch gestures. Unset, `true` and `'map'` are the defaults.
80
+ - **Changing one of the three after the first render rebuilds the picker.** A
81
+ page that drives `enable3D` from state, for example from the screen width,
82
+ remounts the chart each time the value changes, as a change of `event` or
83
+ `locale` does. Set it once where you can.
84
+ - **One version of the SDK.** `@seatlayer/js` and `@seatlayer/core` are
85
+ dependencies of this package, pinned to the same version. If your app also
86
+ installs `@seatlayer/js` itself, move it to 0.112.0 as well; an older direct
87
+ install leaves two copies of the SDK in your bundle.
88
+
55
89
  ## Quick start
56
90
 
57
91
  ```ts
@@ -125,7 +159,7 @@ hold. These tools do not take payment or book seats. See the
125
159
  [buyer WebMCP seat-selection guide](https://docs.seatlayer.io/buyer-sdk/webmcp-agent-tools/)
126
160
  for the full contract and iframe origin controls.
127
161
 
128
- ### Fixed renewable Season
162
+ ### Season tickets: the same seat on every date
129
163
 
130
164
  ```html
131
165
  <seatlayer-season-picker
@@ -151,6 +185,9 @@ the buyer chooses a type per seat before the hold, and the handoff's `seats`
151
185
  lists each seat's `priceTypeKey`. `seasonPicker.holdSameSeat(labels,
152
186
  operationId, { 'A-2': 'child' })` names them yourself; a label left out is adult.
153
187
 
188
+ The Season picker takes the same three 3D props as the seating chart:
189
+ `enable3D`, `enable3DCrowd` and `touchNavigation3D`. Changing one rebuilds it.
190
+
154
191
  The picker opens on step 1, the package with its dates and prices. Bind
155
192
  `package="spl_half"` (the package's key) to open on that package instead of the
156
193
  Season's first one; a host token is already bound to one package, so it ignores
@@ -182,6 +219,9 @@ order on the server.
182
219
  | `locale` | `string` | BCP-47 locale for built-in copy. |
183
220
  | `currency` | `string` | ISO currency for price formatting. |
184
221
  | `colorblindSafe` | `boolean` | Render colorblind-safe seat glyphs. |
222
+ | `enable3D` | `boolean` | Offer the 3D venue view. On by default; `false` hides it. |
223
+ | `enable3DCrowd` | `boolean` | The standing crowd in 3D. Drawn by default; `false` turns it off. |
224
+ | `touchNavigation3D` | `'map' \| 'classic'` | How fingers move the 3D view. `'map'` by default; `'classic'` keeps the older gestures. |
185
225
  | `seatTooltip` | `boolean` | Set `false` to draw your own popover from `(seatHover)`. |
186
226
  | `messages` | `object` | Copy overrides. Read once per rebuild. |
187
227
  | `initialView` | `RendererViewMode` | Initial 2D projection, read once per rebuild. |
@@ -353,63 +393,92 @@ and holds come from the SeatLayer API at runtime.
353
393
 
354
394
  ## Frequently asked questions
355
395
 
396
+ ### Which Angular seating chart component can I use?
397
+
398
+ `@seatlayer/angular` gives you a standalone seat map component
399
+ (`SeatLayerSeatingChartComponent`) and a ready buyer modal (`SeatPickerWidget`),
400
+ with seat holds, best available, season tickets and, on every plan, a 3D view
401
+ from each seat for venues up to 60,000 seats. A 200,000-seat stadium chart is
402
+ ready in 1.95 s on desktop, and the same charts run in React, Vue, iOS,
403
+ Android, Flutter and React Native. You pay only for sold seats, and your own
404
+ server and payment provider keep the order and the money.
405
+
356
406
  ### How do I add a seat map to an Angular app?
357
407
 
358
408
  Install `@seatlayer/angular`, import the standalone
359
- `SeatLayerSeatingChartComponent`, and put `<seatlayer-seating-chart
360
- event="ev_…">` on screen inside a block with a definite height. That is a
361
- complete interactive seating chart with live availability; the
362
- [seat-picker documentation](https://docs.seatlayer.io/buyer-sdk/seat-picker/)
363
- covers inputs, outputs, holds, and checkout in depth.
409
+ `SeatLayerSeatingChartComponent` and put `<seatlayer-seating-chart>` in a block
410
+ with a definite height: you get a live seat map with seat holds, best available
411
+ and the 3D view from each seat on charts up to 60,000 seats. For the ready buyer
412
+ modal with its priced tray, hold timer and checkout hand-off, call
413
+ `SeatPickerWidget.open()`. Call `holdSelection()` from your own button and
414
+ handle `(hold)`; your server then books the hold.
364
415
 
365
416
  ### Is this a real Angular component or an iframe?
366
417
 
367
418
  `SeatLayerSeatingChartComponent` is a real standalone Angular component whose
368
- template is a plain `<div>` in your own tree, with no iframe and no stylesheet of
369
- its own. Its render loop and pointer handlers are created outside the Angular
370
- zone and re-enter it only to emit, so a running chart does not schedule change
371
- detection on every frame. If you would rather embed the buyer picker in an iframe,
372
- `attachPickerFrame` is exported for that.
419
+ template is a plain `<div>` in your own tree, with no iframe. Its render loop
420
+ and pointer handlers run outside the Angular zone and re-enter it only to emit,
421
+ so a running chart does not trigger change detection on every frame. If you
422
+ would rather embed the buyer picker in an iframe, `attachPickerFrame` is
423
+ exported for that.
373
424
 
374
425
  ### How do temporary seat holds work?
375
426
 
376
- When a buyer commits to a selection, `holdSelection()` reserves that inventory
377
- against concurrent buyers for a limited checkout window and returns an opaque
378
- `holdId`. The hold lapses on its own if checkout never completes.
427
+ In the SeatLayer picker, a buyer's seats are held when they go to checkout;
428
+ with the bare chart, your code calls `holdSelection()`, which reserves that
429
+ inventory against concurrent buyers for a limited checkout window and returns
430
+ an opaque `holdId`. The hold lapses on its own if checkout never completes.
379
431
  `(holdExpired)` tells the app to return the buyer to the map, and
380
432
  `resumeHold()` restores it after a same-tab checkout navigation or a reload.
381
433
  This is what prevents double-selling without locking seats forever.
382
434
 
383
435
  ### Can I use my own payment provider?
384
436
 
385
- Yes. Nothing in this package takes a payment. The browser hands your code a
386
- `holdId` and priced line items, your backend charges through whatever provider
387
- you already use, and it then books the hold through the
388
- [server-side checkout flow](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/).
437
+ Yes. By default nothing in this package takes a payment. The browser hands your
438
+ code a `holdId` and priced line items, and your backend charges through the
439
+ provider you already use, then books the hold.
389
440
 
390
441
  ### Can I evaluate it without a SeatLayer account?
391
442
 
392
- You can explore a live seating chart in the browser at the
393
- [buyer seat-map demo](https://app.seatlayer.io/demo/play/grand-theatre) with no
394
- account. Rendering your own venue needs an event key, because the chart and its
395
- availability are served by the SeatLayer API: create a free test event for
396
- that, which books no real inventory.
443
+ Yes. The live Grand Theatre demo runs in your browser with no account. To show
444
+ your own venue you need an event key, and test mode is free with no time limit
445
+ and no card: test events, holds and webhooks work like production and use no
446
+ credits.
447
+
448
+ ### How much does the SeatLayer SDK cost?
449
+
450
+ Building and testing is free, and going live costs $0. You pay one credit per
451
+ sold seat: the first 100 sold seats each month are free, then 10¢ down to 5¢ a
452
+ seat, with no subscription, and credits you buy never expire. Browsing the map,
453
+ holds and the 3D view never use a credit.
454
+
455
+ ### Can I sell season tickets with it?
456
+
457
+ Yes. `SeatLayerSeasonPickerComponent` (`<seatlayer-season-picker>`) holds the
458
+ same seat on every date of a season in one step, with best available across
459
+ every date and a price type such as adult or child for each seat, and returning
460
+ holders can tell you they will renew. The hand-off
461
+ carries no price; by default your server applies the package price and books
462
+ it, and the opt-in `checkout: 'hosted'` takes the payment through SeatLayer's
463
+ checkout instead, into the organizer's own payment account. It is in `@seatlayer/angular` 0.72.0 and newer.
397
464
 
398
465
  ## Continue your Angular integration
399
466
 
400
467
  - [Follow the buyer SDK installation guide](https://docs.seatlayer.io/buyer-sdk/install/)
401
468
  for the full browser integration, options, and events.
469
+ - [Read the seat picker documentation](https://docs.seatlayer.io/buyer-sdk/seat-picker/)
470
+ for inputs, outputs, holds, and checkout in depth.
402
471
  - [Connect seat holds to secure server-side checkout](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/)
403
472
  without putting booking credentials in the browser.
404
473
  - [Run the complete checkout example](https://docs.seatlayer.io/examples/complete-checkout/)
405
474
  to connect a buyer hold id to payment and idempotent booking.
406
475
  - [Compare SeatLayer's mobile seat map SDKs](https://docs.seatlayer.io/buyer-sdk/mobile/)
407
- when the same event also has to render in native iOS, Android, Flutter, or
408
- React Native apps.
476
+ when the same event also has to appear in your iOS, Android, Flutter or React
477
+ Native app.
409
478
  - [Use the separate `@seatlayer/js` EmbeddedDesigner API](https://docs.seatlayer.io/platform/embedded-designer/)
410
479
  when organizers need hosted chart editing inside an Angular product.
411
- - [Explore the 3D seating chart](https://seatlayer.io/3d-seat-map/) for the
412
- interactive venue view available through `SeatPickerWidget` in supported browsers.
480
+ - [Explore the 3D seating chart](https://seatlayer.io/3d-seat-map/) for the 3D
481
+ venue and the view from each seat, which `SeatLayerSeatingChartComponent`, the Season picker and `SeatPickerWidget` all offer in supported browsers. 3D is offered for venues up to 60,000 seats.
413
482
  - [Point AI coding agents at the SeatLayer docs index](https://docs.seatlayer.io/llms.txt)
414
483
  (`llms.txt`) for an agent-readable map of the documentation.
415
484
 
package/dist/README.md CHANGED
@@ -27,8 +27,9 @@ also re-exports the plain JavaScript `SeatPickerWidget` class and the
27
27
 
28
28
  - `SeatLayerSeatingChartComponent`: one standalone Angular component with the
29
29
  `seatlayer-seating-chart` selector.
30
- - `SeatLayerSeasonPickerComponent`: fixed-inclusion Season selection and
31
- returning-holder intent with the `seatlayer-season-picker` selector.
30
+ - `SeatLayerSeasonPickerComponent`: season tickets, with the
31
+ `seatlayer-season-picker` selector. The buyer picks a seat once and holds it
32
+ on every date of the season; returning holders can say they will renew.
32
33
  - `SeatLayerSeatManagerComponent`: the organizer control room, for dashboards
33
34
  that monitor and block live inventory, with the `seatlayer-seat-manager`
34
35
  selector. It lives on its own entry, `@seatlayer/angular/manager`, so a buyer
@@ -52,6 +53,39 @@ npm install @seatlayer/angular
52
53
 
53
54
  The component is **standalone**: import it directly, no NgModule needed.
54
55
 
56
+ ## Upgrading to 0.113.0
57
+
58
+ Nothing needs a code change, and no type changed. What a buyer sees:
59
+
60
+ - **A short server stall heals on its own.** A hold, release or resume that
61
+ gets no answer is sent again (at most three tries, seven seconds of waiting),
62
+ and the map's first load tries again for up to about 30 seconds while the
63
+ picker says it is taking longer. A real outage still ends on the same panel
64
+ and Try again button, only later.
65
+ - **"Check your connection and try again."** A hold or best-available that
66
+ still gets no answer says this and keeps the selection, where it used to say
67
+ the seats were taken.
68
+ - **One version of the SDK.** If your app also installs `@seatlayer/js`
69
+ itself, move it to 0.113.0 as well.
70
+
71
+ ## Upgrading to 0.112.0
72
+
73
+ Nothing needs a code change, and nothing changes for a page that already works.
74
+
75
+ - **`SeatingChart` and the Season picker take `enable3D`, `enable3DCrowd` and
76
+ `touchNavigation3D` as inputs.** Before 0.112.0 they had no such inputs.
77
+ `[enable3D]="false"` hides the 3D view, `[enable3DCrowd]="false"` leaves
78
+ standing areas an empty floor in 3D, and `touchNavigation3D="classic"` keeps
79
+ the earlier touch gestures. Unset, `true` and `'map'` are the defaults.
80
+ - **Changing one of the three after the first render rebuilds the picker.** A
81
+ page that drives `enable3D` from state, for example from the screen width,
82
+ remounts the chart each time the value changes, as a change of `event` or
83
+ `locale` does. Set it once where you can.
84
+ - **One version of the SDK.** `@seatlayer/js` and `@seatlayer/core` are
85
+ dependencies of this package, pinned to the same version. If your app also
86
+ installs `@seatlayer/js` itself, move it to 0.112.0 as well; an older direct
87
+ install leaves two copies of the SDK in your bundle.
88
+
55
89
  ## Quick start
56
90
 
57
91
  ```ts
@@ -125,7 +159,7 @@ hold. These tools do not take payment or book seats. See the
125
159
  [buyer WebMCP seat-selection guide](https://docs.seatlayer.io/buyer-sdk/webmcp-agent-tools/)
126
160
  for the full contract and iframe origin controls.
127
161
 
128
- ### Fixed renewable Season
162
+ ### Season tickets: the same seat on every date
129
163
 
130
164
  ```html
131
165
  <seatlayer-season-picker
@@ -151,6 +185,9 @@ the buyer chooses a type per seat before the hold, and the handoff's `seats`
151
185
  lists each seat's `priceTypeKey`. `seasonPicker.holdSameSeat(labels,
152
186
  operationId, { 'A-2': 'child' })` names them yourself; a label left out is adult.
153
187
 
188
+ The Season picker takes the same three 3D props as the seating chart:
189
+ `enable3D`, `enable3DCrowd` and `touchNavigation3D`. Changing one rebuilds it.
190
+
154
191
  The picker opens on step 1, the package with its dates and prices. Bind
155
192
  `package="spl_half"` (the package's key) to open on that package instead of the
156
193
  Season's first one; a host token is already bound to one package, so it ignores
@@ -182,6 +219,9 @@ order on the server.
182
219
  | `locale` | `string` | BCP-47 locale for built-in copy. |
183
220
  | `currency` | `string` | ISO currency for price formatting. |
184
221
  | `colorblindSafe` | `boolean` | Render colorblind-safe seat glyphs. |
222
+ | `enable3D` | `boolean` | Offer the 3D venue view. On by default; `false` hides it. |
223
+ | `enable3DCrowd` | `boolean` | The standing crowd in 3D. Drawn by default; `false` turns it off. |
224
+ | `touchNavigation3D` | `'map' \| 'classic'` | How fingers move the 3D view. `'map'` by default; `'classic'` keeps the older gestures. |
185
225
  | `seatTooltip` | `boolean` | Set `false` to draw your own popover from `(seatHover)`. |
186
226
  | `messages` | `object` | Copy overrides. Read once per rebuild. |
187
227
  | `initialView` | `RendererViewMode` | Initial 2D projection, read once per rebuild. |
@@ -353,63 +393,92 @@ and holds come from the SeatLayer API at runtime.
353
393
 
354
394
  ## Frequently asked questions
355
395
 
396
+ ### Which Angular seating chart component can I use?
397
+
398
+ `@seatlayer/angular` gives you a standalone seat map component
399
+ (`SeatLayerSeatingChartComponent`) and a ready buyer modal (`SeatPickerWidget`),
400
+ with seat holds, best available, season tickets and, on every plan, a 3D view
401
+ from each seat for venues up to 60,000 seats. A 200,000-seat stadium chart is
402
+ ready in 1.95 s on desktop, and the same charts run in React, Vue, iOS,
403
+ Android, Flutter and React Native. You pay only for sold seats, and your own
404
+ server and payment provider keep the order and the money.
405
+
356
406
  ### How do I add a seat map to an Angular app?
357
407
 
358
408
  Install `@seatlayer/angular`, import the standalone
359
- `SeatLayerSeatingChartComponent`, and put `<seatlayer-seating-chart
360
- event="ev_…">` on screen inside a block with a definite height. That is a
361
- complete interactive seating chart with live availability; the
362
- [seat-picker documentation](https://docs.seatlayer.io/buyer-sdk/seat-picker/)
363
- covers inputs, outputs, holds, and checkout in depth.
409
+ `SeatLayerSeatingChartComponent` and put `<seatlayer-seating-chart>` in a block
410
+ with a definite height: you get a live seat map with seat holds, best available
411
+ and the 3D view from each seat on charts up to 60,000 seats. For the ready buyer
412
+ modal with its priced tray, hold timer and checkout hand-off, call
413
+ `SeatPickerWidget.open()`. Call `holdSelection()` from your own button and
414
+ handle `(hold)`; your server then books the hold.
364
415
 
365
416
  ### Is this a real Angular component or an iframe?
366
417
 
367
418
  `SeatLayerSeatingChartComponent` is a real standalone Angular component whose
368
- template is a plain `<div>` in your own tree, with no iframe and no stylesheet of
369
- its own. Its render loop and pointer handlers are created outside the Angular
370
- zone and re-enter it only to emit, so a running chart does not schedule change
371
- detection on every frame. If you would rather embed the buyer picker in an iframe,
372
- `attachPickerFrame` is exported for that.
419
+ template is a plain `<div>` in your own tree, with no iframe. Its render loop
420
+ and pointer handlers run outside the Angular zone and re-enter it only to emit,
421
+ so a running chart does not trigger change detection on every frame. If you
422
+ would rather embed the buyer picker in an iframe, `attachPickerFrame` is
423
+ exported for that.
373
424
 
374
425
  ### How do temporary seat holds work?
375
426
 
376
- When a buyer commits to a selection, `holdSelection()` reserves that inventory
377
- against concurrent buyers for a limited checkout window and returns an opaque
378
- `holdId`. The hold lapses on its own if checkout never completes.
427
+ In the SeatLayer picker, a buyer's seats are held when they go to checkout;
428
+ with the bare chart, your code calls `holdSelection()`, which reserves that
429
+ inventory against concurrent buyers for a limited checkout window and returns
430
+ an opaque `holdId`. The hold lapses on its own if checkout never completes.
379
431
  `(holdExpired)` tells the app to return the buyer to the map, and
380
432
  `resumeHold()` restores it after a same-tab checkout navigation or a reload.
381
433
  This is what prevents double-selling without locking seats forever.
382
434
 
383
435
  ### Can I use my own payment provider?
384
436
 
385
- Yes. Nothing in this package takes a payment. The browser hands your code a
386
- `holdId` and priced line items, your backend charges through whatever provider
387
- you already use, and it then books the hold through the
388
- [server-side checkout flow](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/).
437
+ Yes. By default nothing in this package takes a payment. The browser hands your
438
+ code a `holdId` and priced line items, and your backend charges through the
439
+ provider you already use, then books the hold.
389
440
 
390
441
  ### Can I evaluate it without a SeatLayer account?
391
442
 
392
- You can explore a live seating chart in the browser at the
393
- [buyer seat-map demo](https://app.seatlayer.io/demo/play/grand-theatre) with no
394
- account. Rendering your own venue needs an event key, because the chart and its
395
- availability are served by the SeatLayer API: create a free test event for
396
- that, which books no real inventory.
443
+ Yes. The live Grand Theatre demo runs in your browser with no account. To show
444
+ your own venue you need an event key, and test mode is free with no time limit
445
+ and no card: test events, holds and webhooks work like production and use no
446
+ credits.
447
+
448
+ ### How much does the SeatLayer SDK cost?
449
+
450
+ Building and testing is free, and going live costs $0. You pay one credit per
451
+ sold seat: the first 100 sold seats each month are free, then 10¢ down to 5¢ a
452
+ seat, with no subscription, and credits you buy never expire. Browsing the map,
453
+ holds and the 3D view never use a credit.
454
+
455
+ ### Can I sell season tickets with it?
456
+
457
+ Yes. `SeatLayerSeasonPickerComponent` (`<seatlayer-season-picker>`) holds the
458
+ same seat on every date of a season in one step, with best available across
459
+ every date and a price type such as adult or child for each seat, and returning
460
+ holders can tell you they will renew. The hand-off
461
+ carries no price; by default your server applies the package price and books
462
+ it, and the opt-in `checkout: 'hosted'` takes the payment through SeatLayer's
463
+ checkout instead, into the organizer's own payment account. It is in `@seatlayer/angular` 0.72.0 and newer.
397
464
 
398
465
  ## Continue your Angular integration
399
466
 
400
467
  - [Follow the buyer SDK installation guide](https://docs.seatlayer.io/buyer-sdk/install/)
401
468
  for the full browser integration, options, and events.
469
+ - [Read the seat picker documentation](https://docs.seatlayer.io/buyer-sdk/seat-picker/)
470
+ for inputs, outputs, holds, and checkout in depth.
402
471
  - [Connect seat holds to secure server-side checkout](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/)
403
472
  without putting booking credentials in the browser.
404
473
  - [Run the complete checkout example](https://docs.seatlayer.io/examples/complete-checkout/)
405
474
  to connect a buyer hold id to payment and idempotent booking.
406
475
  - [Compare SeatLayer's mobile seat map SDKs](https://docs.seatlayer.io/buyer-sdk/mobile/)
407
- when the same event also has to render in native iOS, Android, Flutter, or
408
- React Native apps.
476
+ when the same event also has to appear in your iOS, Android, Flutter or React
477
+ Native app.
409
478
  - [Use the separate `@seatlayer/js` EmbeddedDesigner API](https://docs.seatlayer.io/platform/embedded-designer/)
410
479
  when organizers need hosted chart editing inside an Angular product.
411
- - [Explore the 3D seating chart](https://seatlayer.io/3d-seat-map/) for the
412
- interactive venue view available through `SeatPickerWidget` in supported browsers.
480
+ - [Explore the 3D seating chart](https://seatlayer.io/3d-seat-map/) for the 3D
481
+ venue and the view from each seat, which `SeatLayerSeatingChartComponent`, the Season picker and `SeatPickerWidget` all offer in supported browsers. 3D is offered for venues up to 60,000 seats.
413
482
  - [Point AI coding agents at the SeatLayer docs index](https://docs.seatlayer.io/llms.txt)
414
483
  (`llms.txt`) for an agent-readable map of the documentation.
415
484
 
@@ -11,7 +11,8 @@ export { SeatPicker as SeatPickerWidget, attachPickerFrame } from '@seatlayer/js
11
11
  * The canvas is created once and torn down on destroy. Only the inputs that
12
12
  * change the chart's identity (`SEATING_CHART_IDENTITY_PROPS`: `event`,
13
13
  * `apiBase`, `maxSelection`, `numberOfPlacesToSelect`, `publicKey`, `locale`, `currency`,
14
- * `colorblindSafe`, `initialView`, `errorDisplay`) trigger a rebuild, so an
14
+ * `colorblindSafe`, `initialView`, `errorDisplay`, `enable3D`, `enable3DCrowd`,
15
+ * `touchNavigation3D`) trigger a rebuild, so an
15
16
  * unrelated change-detection pass never destroys the canvas mid-selection.
16
17
  *
17
18
  * @example
@@ -61,6 +62,12 @@ class SeatLayerSeatingChartComponent {
61
62
  * render their own failure UI from `errored`.
62
63
  */
63
64
  errorDisplay;
65
+ /** Offer the 3D venue view (default true). Changing it rebuilds. */
66
+ enable3D;
67
+ /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */
68
+ enable3DCrowd;
69
+ /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */
70
+ touchNavigation3D;
64
71
  /** Show the built-in seat tooltip. Set false to draw your own from `seatHover`. */
65
72
  seatTooltip;
66
73
  /** Copy overrides, read once per rebuild. */
@@ -251,6 +258,9 @@ class SeatLayerSeatingChartComponent {
251
258
  colorblindSafe: this.colorblindSafe,
252
259
  initialView: this.initialView,
253
260
  errorDisplay: this.errorDisplay,
261
+ enable3D: this.enable3D,
262
+ enable3DCrowd: this.enable3DCrowd,
263
+ touchNavigation3D: this.touchNavigation3D,
254
264
  messages: this.messages,
255
265
  seatTooltip: this.seatTooltip,
256
266
  buyerAccessTokenProvider: this.buyerAccessTokenProvider,
@@ -282,7 +292,7 @@ class SeatLayerSeatingChartComponent {
282
292
  this.chart = null;
283
293
  }
284
294
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.29", ngImport: i0, type: SeatLayerSeatingChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
285
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.29", type: SeatLayerSeatingChartComponent, isStandalone: true, selector: "seatlayer-seating-chart", inputs: { event: "event", apiBase: "apiBase", maxSelection: "maxSelection", selectedObjects: "selectedObjects", selectableObjects: "selectableObjects", numberOfPlacesToSelect: "numberOfPlacesToSelect", selectionValidators: "selectionValidators", publicKey: "publicKey", locale: "locale", currency: "currency", colorblindSafe: "colorblindSafe", initialView: "initialView", errorDisplay: "errorDisplay", seatTooltip: "seatTooltip", messages: "messages", buyerAccessTokenProvider: "buyerAccessTokenProvider", buyerAccessToken: "buyerAccessToken" }, outputs: { selectionChange: "selectionChange", selectionValidityChange: "selectionValidityChange", selectionValid: "selectionValid", selectionInvalid: "selectionInvalid", selectionLimit: "selectionLimit", hold: "hold", holdRestored: "holdRestored", holdExpired: "holdExpired", gaClick: "gaClick", errored: "errored", deckTap: "deckTap", hint: "hint", seatHover: "seatHover", accessExpired: "accessExpired", accessUnavailable: "accessUnavailable", selectedObjectUnavailable: "selectedObjectUnavailable" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="seatlayer-container"></div>', isInline: true, styles: [":host{display:block}.seatlayer-container{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
295
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.29", type: SeatLayerSeatingChartComponent, isStandalone: true, selector: "seatlayer-seating-chart", inputs: { event: "event", apiBase: "apiBase", maxSelection: "maxSelection", selectedObjects: "selectedObjects", selectableObjects: "selectableObjects", numberOfPlacesToSelect: "numberOfPlacesToSelect", selectionValidators: "selectionValidators", publicKey: "publicKey", locale: "locale", currency: "currency", colorblindSafe: "colorblindSafe", initialView: "initialView", errorDisplay: "errorDisplay", enable3D: "enable3D", enable3DCrowd: "enable3DCrowd", touchNavigation3D: "touchNavigation3D", seatTooltip: "seatTooltip", messages: "messages", buyerAccessTokenProvider: "buyerAccessTokenProvider", buyerAccessToken: "buyerAccessToken" }, outputs: { selectionChange: "selectionChange", selectionValidityChange: "selectionValidityChange", selectionValid: "selectionValid", selectionInvalid: "selectionInvalid", selectionLimit: "selectionLimit", hold: "hold", holdRestored: "holdRestored", holdExpired: "holdExpired", gaClick: "gaClick", errored: "errored", deckTap: "deckTap", hint: "hint", seatHover: "seatHover", accessExpired: "accessExpired", accessUnavailable: "accessUnavailable", selectedObjectUnavailable: "selectedObjectUnavailable" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="seatlayer-container"></div>', isInline: true, styles: [":host{display:block}.seatlayer-container{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
286
296
  }
287
297
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.29", ngImport: i0, type: SeatLayerSeatingChartComponent, decorators: [{
288
298
  type: Component,
@@ -314,6 +324,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.29", ngImpo
314
324
  type: Input
315
325
  }], errorDisplay: [{
316
326
  type: Input
327
+ }], enable3D: [{
328
+ type: Input
329
+ }], enable3DCrowd: [{
330
+ type: Input
331
+ }], touchNavigation3D: [{
332
+ type: Input
317
333
  }], seatTooltip: [{
318
334
  type: Input
319
335
  }], messages: [{
@@ -387,6 +403,12 @@ class SeatLayerSeasonPickerComponent {
387
403
  ticketsByEmail;
388
404
  /** Maximum recovery polling time. */
389
405
  recoveryTimeoutMs;
406
+ /** Offer the 3D venue view (default true). Changing it rebuilds. */
407
+ enable3D;
408
+ /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */
409
+ enable3DCrowd;
410
+ /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */
411
+ touchNavigation3D;
390
412
  /** Test or host fetch implementation. */
391
413
  fetch;
392
414
  /**
@@ -417,6 +439,7 @@ class SeatLayerSeasonPickerComponent {
417
439
  'season', 'apiBase', 'publicKey', 'checkout', 'returnUrl',
418
440
  'buyerAccessTokenProvider', 'buyerAccessToken',
419
441
  'initialOperationId', 'package', 'ticketsByEmail', 'recoveryTimeoutMs', 'fetch', 'priceTypes',
442
+ 'enable3D', 'enable3DCrowd', 'touchNavigation3D',
420
443
  ]);
421
444
  zone = inject(NgZone);
422
445
  picker = null;
@@ -498,6 +521,9 @@ class SeatLayerSeasonPickerComponent {
498
521
  package: this.package,
499
522
  ticketsByEmail: this.ticketsByEmail,
500
523
  recoveryTimeoutMs: this.recoveryTimeoutMs,
524
+ enable3D: this.enable3D,
525
+ enable3DCrowd: this.enable3DCrowd,
526
+ touchNavigation3D: this.touchNavigation3D,
501
527
  fetch: this.fetch,
502
528
  priceTypes: this.priceTypes,
503
529
  onHold: (value) => this.zone.run(() => this.hold.emit(value)),
@@ -524,7 +550,7 @@ class SeatLayerSeasonPickerComponent {
524
550
  this.picker = null;
525
551
  }
526
552
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.29", ngImport: i0, type: SeatLayerSeasonPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
527
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.29", type: SeatLayerSeasonPickerComponent, isStandalone: true, selector: "seatlayer-season-picker", inputs: { season: "season", apiBase: "apiBase", publicKey: "publicKey", checkout: "checkout", returnUrl: "returnUrl", buyerEmail: "buyerEmail", buyerName: "buyerName", buyerAccessTokenProvider: "buyerAccessTokenProvider", buyerAccessToken: "buyerAccessToken", initialOperationId: "initialOperationId", package: "package", ticketsByEmail: "ticketsByEmail", recoveryTimeoutMs: "recoveryTimeoutMs", fetch: "fetch", priceTypes: "priceTypes" }, outputs: { hold: "hold", holdChange: "holdChange", continued: "continued", renewalIntent: "renewalIntent", accessExpired: "accessExpired", accessUnavailable: "accessUnavailable", orderConfirmed: "orderConfirmed", statusChange: "statusChange", errored: "errored" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="seatlayer-season-container"></div>', isInline: true, styles: [":host{display:block}.seatlayer-season-container{width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
553
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.29", type: SeatLayerSeasonPickerComponent, isStandalone: true, selector: "seatlayer-season-picker", inputs: { season: "season", apiBase: "apiBase", publicKey: "publicKey", checkout: "checkout", returnUrl: "returnUrl", buyerEmail: "buyerEmail", buyerName: "buyerName", buyerAccessTokenProvider: "buyerAccessTokenProvider", buyerAccessToken: "buyerAccessToken", initialOperationId: "initialOperationId", package: "package", ticketsByEmail: "ticketsByEmail", recoveryTimeoutMs: "recoveryTimeoutMs", enable3D: "enable3D", enable3DCrowd: "enable3DCrowd", touchNavigation3D: "touchNavigation3D", fetch: "fetch", priceTypes: "priceTypes" }, outputs: { hold: "hold", holdChange: "holdChange", continued: "continued", renewalIntent: "renewalIntent", accessExpired: "accessExpired", accessUnavailable: "accessUnavailable", orderConfirmed: "orderConfirmed", statusChange: "statusChange", errored: "errored" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="seatlayer-season-container"></div>', isInline: true, styles: [":host{display:block}.seatlayer-season-container{width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
528
554
  }
529
555
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.29", ngImport: i0, type: SeatLayerSeasonPickerComponent, decorators: [{
530
556
  type: Component,
@@ -556,6 +582,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.29", ngImpo
556
582
  type: Input
557
583
  }], recoveryTimeoutMs: [{
558
584
  type: Input
585
+ }], enable3D: [{
586
+ type: Input
587
+ }], enable3DCrowd: [{
588
+ type: Input
589
+ }], touchNavigation3D: [{
590
+ type: Input
559
591
  }], fetch: [{
560
592
  type: Input
561
593
  }], priceTypes: [{
@@ -1 +1 @@
1
- {"version":3,"file":"seatlayer-angular.mjs","sources":["../../src/seating-chart.component.ts","../../src/season-picker.component.ts","../../src/index.ts","../../src/seatlayer-angular.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n Input,\n NgZone,\n OnChanges,\n Output,\n SimpleChanges,\n ViewChild,\n inject,\n} from '@angular/core';\nimport {\n SeatingChart as CoreSeatingChart,\n SEATING_CHART_IDENTITY_PROPS,\n bindSeatingChartHandle,\n buildSeatingChartOptions,\n type RendererViewMode,\n type SeatingChartHandle,\n type SeatingChartOptions,\n type SelectedSeat,\n type HoldResult,\n type BestAvailableResult,\n type GAAreaAvailability,\n type SeatHoverDetails,\n type PickerSelectionValidity,\n type PickerSelectionValidator,\n type BuyerAccessToken,\n type BuyerAccessTokenProvider,\n type BuyerAccessExpiredEvent,\n type BuyerAccessUnavailableEvent,\n type SelectedObjectUnavailableEvent,\n} from '@seatlayer/js';\n\n/**\n * Angular wrapper around the framework-agnostic `@seatlayer/js` SDK.\n *\n * Standalone, so it is imported directly rather than through an NgModule.\n *\n * The canvas is created once and torn down on destroy. Only the inputs that\n * change the chart's identity (`SEATING_CHART_IDENTITY_PROPS`: `event`,\n * `apiBase`, `maxSelection`, `numberOfPlacesToSelect`, `publicKey`, `locale`, `currency`,\n * `colorblindSafe`, `initialView`, `errorDisplay`) trigger a rebuild, so an\n * unrelated change-detection pass never destroys the canvas mid-selection.\n *\n * @example\n * ```html\n * <seatlayer-seating-chart\n * #chart\n * event=\"summer-gala\"\n * (selectionChange)=\"onSelectionChange($event)\"\n * (hold)=\"onHold($event)\"\n * />\n * <button (click)=\"chart.hold()\">Continue</button>\n * ```\n */\n@Component({\n selector: 'seatlayer-seating-chart',\n standalone: true,\n template: '<div #container class=\"seatlayer-container\"></div>',\n styles: [':host { display: block; } .seatlayer-container { width: 100%; height: 100%; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatLayerSeatingChartComponent implements OnChanges {\n /** Event key to render. Changing it rebuilds the chart. */\n @Input({ required: true }) event!: string;\n\n /** API base URL. Defaults to the public API. */\n @Input() apiBase?: string;\n\n /** Cap on how many seats a buyer may select. */\n @Input() maxSelection?: number;\n\n /** Object ids or public labels selected after availability loads. */\n @Input() selectedObjects?: string[];\n\n /** Object ids or public labels the buyer may select. */\n @Input() selectableObjects?: string[] | null;\n\n /** Exact ticket count required for a valid selection. */\n @Input() numberOfPlacesToSelect?: number;\n\n /** Local buyer selection guards. Changing them rebuilds the chart. */\n @Input() selectionValidators?: PickerSelectionValidator[];\n\n /** Publishable key, when your integration uses one. */\n @Input() publicKey?: string;\n\n /** BCP-47 locale for built-in copy. */\n @Input() locale?: string;\n\n /** ISO currency for price formatting. */\n @Input() currency?: string;\n\n /** Render with colorblind-safe seat glyphs. */\n @Input() colorblindSafe?: boolean;\n\n /**\n * Initial canvas projection. Read once when the chart is built, so changing\n * it rebuilds.\n * @deprecated `'isometric'` and `'perspective'` are retired in favour of the\n * real 3D venue view; use `'flat'`.\n */\n @Input() initialView?: RendererViewMode;\n\n /**\n * What the BUYER sees when the chart cannot load: `'message'` (default) is a\n * styleable notice with a Try again button, `'none'` is silent for hosts that\n * render their own failure UI from `errored`.\n */\n @Input() errorDisplay?: 'message' | 'none';\n\n /** Show the built-in seat tooltip. Set false to draw your own from `seatHover`. */\n @Input() seatTooltip?: boolean;\n\n /** Copy overrides, read once per rebuild. */\n @Input() messages?: SeatingChartOptions['messages'];\n\n /**\n * Sales Channels: mint a buyer access session on demand. Called with a\n * `reason`; returns `{ token, expiresAt }` from YOUR backend. The token is\n * held in memory only — never storage, never a URL, never a log.\n */\n @Input() buyerAccessTokenProvider?: BuyerAccessTokenProvider;\n\n /** One-shot session for hosts that own the lifecycle. Cannot be renewed. */\n @Input() buyerAccessToken?: string | BuyerAccessToken;\n\n /** The buyer's selection changed. */\n @Output() readonly selectionChange: EventEmitter<SelectedSeat[]> = new EventEmitter<SelectedSeat[]>();\n\n /** Exact-count state changed. */\n @Output() readonly selectionValidityChange: EventEmitter<PickerSelectionValidity> =\n new EventEmitter<PickerSelectionValidity>();\n\n /** The exact count was reached. */\n @Output() readonly selectionValid: EventEmitter<SelectedSeat[]> = new EventEmitter<SelectedSeat[]>();\n\n /** The selection is not at the exact count. */\n @Output() readonly selectionInvalid: EventEmitter<PickerSelectionValidity> =\n new EventEmitter<PickerSelectionValidity>();\n\n /** The active selection cap was reached. */\n @Output() readonly selectionLimit: EventEmitter<number> = new EventEmitter<number>();\n\n /** A hold succeeded. */\n @Output() readonly hold: EventEmitter<HoldResult> = new EventEmitter<HoldResult>();\n\n /** A previous hold was restored on mount. */\n @Output() readonly holdRestored: EventEmitter<HoldResult> = new EventEmitter<HoldResult>();\n\n /** The active hold lapsed. */\n @Output() readonly holdExpired: EventEmitter<void> = new EventEmitter<void>();\n\n /** A GA area was clicked. */\n @Output() readonly gaClick: EventEmitter<GAAreaAvailability> = new EventEmitter<GAAreaAvailability>();\n\n /** Something failed — a network error, a rejected hold. */\n @Output() readonly errored: EventEmitter<unknown> = new EventEmitter<unknown>();\n\n /** A floor deck was tapped in the 3D view. */\n @Output() readonly deckTap: EventEmitter<string> = new EventEmitter<string>();\n\n /** A transient hint worth showing the buyer, or `null` to clear it. */\n @Output() readonly hint: EventEmitter<string | null> = new EventEmitter<string | null>();\n\n /** The pointer moved onto a seat, or off one (`null`). */\n @Output() readonly seatHover: EventEmitter<SeatHoverDetails | null> = new EventEmitter<SeatHoverDetails | null>();\n\n /** The buyer access session lapsed; `refreshed` says whether it recovered. */\n @Output() readonly accessExpired: EventEmitter<BuyerAccessExpiredEvent> =\n new EventEmitter<BuyerAccessExpiredEvent>();\n\n /** Private inventory is unavailable and refreshing will not fix it. */\n @Output() readonly accessUnavailable: EventEmitter<BuyerAccessUnavailableEvent> =\n new EventEmitter<BuyerAccessUnavailableEvent>();\n\n /** Selected-but-unheld units stopped being selectable. */\n @Output() readonly selectedObjectUnavailable: EventEmitter<SelectedObjectUnavailableEvent> =\n new EventEmitter<SelectedObjectUnavailableEvent>();\n\n @ViewChild('container', { static: true })\n private readonly container!: ElementRef<HTMLDivElement>;\n\n private readonly zone = inject(NgZone);\n private chart: CoreSeatingChart | null = null;\n\n /**\n * Inputs that require tearing the canvas down and rebuilding it. The shared\n * list from `@seatlayer/js`, not a hand-copied one — this is exactly the place\n * Angular fell two inputs behind React.\n */\n private static readonly REBUILD_INPUTS = SEATING_CHART_IDENTITY_PROPS;\n\n /**\n * The canonical forwarding object. Every imperative method below is a\n * one-line delegate to it, so the component cannot forward a method the other\n * wrappers do not, or miss one they do.\n */\n private readonly handle: SeatingChartHandle = bindSeatingChartHandle(() => this.chart);\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.destroy());\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const needsRebuild = SeatLayerSeatingChartComponent.REBUILD_INPUTS.some((name) => name in changes);\n if (needsRebuild) {\n this.build();\n }\n }\n\n // ---------- imperative API, for a template ref ----------\n\n /** Hold the current selection. Resolves the hold, or `null` on a 409 conflict. */\n holdSelection(options?: { ttlMs?: number }): Promise<HoldResult | null> {\n return this.handle.hold(options);\n }\n\n /** Restore an active hold by its opaque id. */\n resumeHold(holdId: string): Promise<HoldResult | null> {\n return this.handle.resumeHold(holdId);\n }\n\n /** Current active hold known to the chart. */\n getCurrentHold(): HoldResult | null {\n return this.handle.getCurrentHold();\n }\n\n /** GA areas with live remaining capacity. */\n getGAAreas(): GAAreaAvailability[] {\n return this.handle.getGAAreas();\n }\n\n /** Atomically hold a quantity from one GA area. */\n holdGA(\n areaId: string,\n qty: number,\n options?: { tierId?: string | null; ttlMs?: number },\n ): Promise<HoldResult | null> {\n return this.handle.holdGA(areaId, qty, options);\n }\n\n /** Ask the server for the `qty` best free seats and hold them atomically. */\n bestAvailable(qty: number, categoryKey?: string): Promise<BestAvailableResult | null> {\n return this.handle.bestAvailable(qty, categoryKey);\n }\n\n /** Release the current hold (if any). */\n release(): Promise<void> {\n return this.handle.release();\n }\n\n /** Release some held labels while keeping the remainder active. */\n releaseLabels(labels: string[]): Promise<boolean> {\n return this.handle.releaseLabels(labels);\n }\n\n /** The current selection, with prices resolved from the chart categories. */\n getSelection(): SelectedSeat[] {\n return this.handle.getSelection();\n }\n\n selectObjects(objects: string[]): SelectedSeat[] {\n return this.handle.selectObjects(objects);\n }\n\n deselectObjects(objects: string[]): void {\n this.handle.deselectObjects(objects);\n }\n\n clearSelection(): void {\n this.handle.clearSelection();\n }\n\n selectCategories(categoryKeys: string[]): SelectedSeat[] {\n return this.handle.selectCategories(categoryKeys);\n }\n\n deselectCategories(categoryKeys: string[]): void {\n this.handle.deselectCategories(categoryKeys);\n }\n\n setSelectableObjects(objects: string[] | null): void {\n this.handle.setSelectableObjects(objects);\n }\n\n setMaxSelection(maxSelection: number): void {\n this.handle.setMaxSelection(maxSelection);\n }\n\n getSelectionValidity(): PickerSelectionValidity | null {\n return this.handle.getSelectionValidity();\n }\n\n /** Choose a ticket tier for a selected seat; `null` reverts to the default. */\n setSeatTier(seatId: string, tierId: string | null): void {\n this.handle.setSeatTier(seatId, tierId);\n }\n\n /** Floors of a multi-floor chart. Empty before the first render. */\n getFloors(): { id: string; name: string }[] {\n return this.handle.getFloors();\n }\n\n /** Switch the shown floor (2D). No-ops on single-floor charts. */\n setFloor(floorId: string): void {\n this.handle.setFloor(floorId);\n }\n\n /** Toggle colorblind-safe rendering at runtime. */\n setColorblindSafe(on: boolean): void {\n this.handle.setColorblindSafe(on);\n }\n\n /** Zoom in one step (same increment as the wheel/pinch gesture). */\n zoomIn(): void {\n this.handle.zoomIn();\n }\n\n /** Zoom out one step. */\n zoomOut(): void {\n this.handle.zoomOut();\n }\n\n /** Reset the camera so the whole chart fits the container. */\n zoomToFit(): void {\n this.handle.zoomToFit();\n }\n\n /**\n * Re-acquire the buyer access session after your app re-authorizes the buyer\n * (Sales Channels). Resolves false when the chart is not access-scoped.\n */\n refreshAccess(): Promise<boolean> {\n return this.handle.refreshAccess();\n }\n\n // ---------- internals ----------\n\n private build(): void {\n const element = this.container?.nativeElement;\n if (!element) return;\n\n this.destroy();\n\n // The chart runs a rAF render loop and pointer handlers. Left inside the\n // Angular zone, every frame would schedule change detection for the whole\n // application — so it is built outside, and each callback re-enters the zone\n // only to emit, which is the only part Angular needs to see.\n this.zone.runOutsideAngular(() => {\n const emit = <T>(emitter: EventEmitter<T>, value: T) =>\n this.zone.run(() => emitter.emit(value));\n\n const instance = new CoreSeatingChart(buildSeatingChartOptions(\n element,\n {\n event: this.event,\n apiBase: this.apiBase,\n maxSelection: this.maxSelection,\n selectedObjects: this.selectedObjects,\n selectableObjects: this.selectableObjects,\n numberOfPlacesToSelect: this.numberOfPlacesToSelect,\n selectionValidators: this.selectionValidators,\n publicKey: this.publicKey,\n locale: this.locale,\n currency: this.currency,\n colorblindSafe: this.colorblindSafe,\n initialView: this.initialView,\n errorDisplay: this.errorDisplay,\n messages: this.messages,\n seatTooltip: this.seatTooltip,\n buyerAccessTokenProvider: this.buyerAccessTokenProvider,\n buyerAccessToken: this.buyerAccessToken,\n },\n {\n onSelectionChange: (seats) => emit(this.selectionChange, seats),\n onSelectionValidityChange: (state) => emit(this.selectionValidityChange, state),\n onSelectionValid: (seats) => emit(this.selectionValid, seats),\n onSelectionInvalid: (state) => emit(this.selectionInvalid, state),\n onSelectionLimit: (max) => emit(this.selectionLimit, max),\n onHold: (result) => emit(this.hold, result),\n onHoldRestored: (result) => emit(this.holdRestored, result),\n onHoldExpired: () => this.zone.run(() => this.holdExpired.emit()),\n onGAClick: (area) => emit(this.gaClick, area),\n onError: (error) => emit(this.errored, error),\n onDeckTap: (floorId) => emit(this.deckTap, floorId),\n onHint: (message) => emit(this.hint, message),\n onSeatHover: (details) => emit(this.seatHover, details),\n onAccessExpired: (state) => emit(this.accessExpired, state),\n onAccessUnavailable: (state) => emit(this.accessUnavailable, state),\n onSelectedObjectUnavailable: (state) => emit(this.selectedObjectUnavailable, state),\n },\n ));\n\n this.chart = instance;\n void instance.render();\n });\n }\n\n private destroy(): void {\n this.chart?.destroy();\n this.chart = null;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n Input,\n NgZone,\n OnChanges,\n Output,\n SimpleChanges,\n ViewChild,\n inject,\n} from '@angular/core';\nimport {\n SeasonPicker as CoreSeasonPicker,\n type SeasonAvailability,\n type SeasonBestAvailableOptions,\n type SeasonCheckoutHandoff,\n type SeasonDescriptor,\n type SeasonHeldOrder,\n type SeasonPickerOptions,\n type SeasonPriceType,\n type SeasonRenewalIntent,\n type SeasonSeatPriceTypes,\n type SeasonStatusEvent,\n} from '@seatlayer/js';\n\n/** Standalone Angular adapter for the distinct fixed-inclusion Season buyer flow. */\n@Component({\n selector: 'seatlayer-season-picker',\n standalone: true,\n template: '<div #container class=\"seatlayer-season-container\"></div>',\n styles: [':host { display: block; } .seatlayer-season-container { width: 100%; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatLayerSeasonPickerComponent implements OnChanges {\n /** Season key to render. */\n @Input({ required: true }) season!: string;\n\n /** Public API base override. */\n @Input() apiBase?: string;\n\n /** Publishable account key, accepted for snippet parity. Never sent. */\n @Input() publicKey?: string;\n\n /** Who takes the money once the package is held. Default `'handoff'`. */\n @Input() checkout?: SeasonPickerOptions['checkout'];\n\n /** Where a redirecting gateway returns the buyer, for hosted checkout. */\n @Input() returnUrl?: string;\n /** Prefills SeatLayer checkout's email field (a signed-in member's). */\n @Input() buyerEmail?: string;\n /** Prefills SeatLayer checkout's name field. */\n @Input() buyerName?: string;\n\n /** Refreshable one-time browser bearer provider. */\n @Input() buyerAccessTokenProvider?: SeasonPickerOptions['buyerAccessTokenProvider'];\n\n /** One-time Season browser bearer. */\n @Input() buyerAccessToken?: SeasonPickerOptions['buyerAccessToken'];\n\n /** Operation restored after an uncertain create response. */\n @Input() initialOperationId?: string;\n\n /** The package to open on, by its key; the first package without it. */\n @Input() package?: string;\n\n /** The host emails a ticket per date itself: step 1 says so. */\n @Input() ticketsByEmail?: boolean;\n\n /** Maximum recovery polling time. */\n @Input() recoveryTimeoutMs?: number;\n\n /** Test or host fetch implementation. */\n @Input() fetch?: typeof fetch;\n\n /**\n * The price types the picker sells, e.g. `['adult', 'child']`. With a type\n * besides adult, the buyer chooses one per seat before the hold.\n */\n @Input() priceTypes?: readonly SeasonPriceType[];\n\n /** A same-seat hold reached a safe handoff. */\n @Output() readonly hold = new EventEmitter<SeasonCheckoutHandoff>();\n\n /** The active handoff changed or was released. */\n @Output() readonly holdChange = new EventEmitter<SeasonCheckoutHandoff | null>();\n\n /** The buyer continued with an opaque handoff. */\n @Output() readonly continued = new EventEmitter<SeasonCheckoutHandoff>();\n\n /** A returning holder recorded browser intent only. */\n @Output() readonly renewalIntent = new EventEmitter<SeasonRenewalIntent>();\n\n /** Buyer access expired. */\n @Output() readonly accessExpired = new EventEmitter<unknown>();\n\n /** Buyer access cannot be recovered. */\n @Output() readonly accessUnavailable = new EventEmitter<unknown>();\n\n /** Hosted checkout only: the gateway webhook landed and the order is paid. */\n @Output() readonly orderConfirmed = new EventEmitter<unknown>();\n\n /** Buyer-visible operation status changed. */\n @Output() readonly statusChange = new EventEmitter<SeasonStatusEvent>();\n\n /** The Season buyer flow failed. */\n @Output() readonly errored = new EventEmitter<unknown>();\n\n @ViewChild('container', { static: true })\n private readonly container!: ElementRef<HTMLDivElement>;\n\n private static readonly REBUILD_INPUTS = new Set([\n 'season', 'apiBase', 'publicKey', 'checkout', 'returnUrl',\n 'buyerAccessTokenProvider', 'buyerAccessToken',\n 'initialOperationId', 'package', 'ticketsByEmail', 'recoveryTimeoutMs', 'fetch', 'priceTypes',\n ]);\n private readonly zone = inject(NgZone);\n private picker: CoreSeasonPicker | null = null;\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.destroy());\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (Object.keys(changes).some((name) => SeatLayerSeasonPickerComponent.REBUILD_INPUTS.has(name))) {\n this.build();\n }\n }\n\n /**\n * Holds the same labels across every included occurrence. `priceTypes` names\n * each seat's price type by label (`{ 'A-2': 'child' }`); a label it leaves\n * out is adult.\n */\n holdSameSeat(\n labels: readonly string[], operationId: string, priceTypes?: SeasonSeatPriceTypes,\n ): Promise<SeasonCheckoutHandoff> {\n return this.current().holdSameSeat(labels, operationId, priceTypes);\n }\n\n /**\n * Holds the best `qty` seats free on every included performance, as a map\n * selection would. Same contract as `@seatlayer/js` `holdBestAvailable`: a\n * caller-stable `sop_` id, 1 to `maxSelection` seats, one call at a time.\n */\n holdBestAvailable(\n qty: number, operationId: string, options?: SeasonBestAvailableOptions,\n ): Promise<SeasonCheckoutHandoff> {\n return this.current().holdBestAvailable(qty, operationId, options);\n }\n\n /** Restores a caller-stable Season operation after uncertainty. */\n restoreOperation(operationId: string): Promise<SeasonCheckoutHandoff | null> {\n return this.current().restoreOperation(operationId);\n }\n\n /** Your server booked the held seats: show booked and stop the hold clock. */\n markBooked(): Promise<boolean> {\n return this.current().markBooked();\n }\n\n /** Releases the active selection with a caller-stable action id. */\n release(releaseActionId: string): Promise<void> {\n return this.current().release(releaseActionId);\n }\n\n /** Records renewal intent; trusted server code still inspects and commits it. */\n createRenewalIntent(offerId: string): Promise<SeasonRenewalIntent> {\n return this.current().createRenewalIntent(offerId);\n }\n\n /** Current immutable Season descriptor. */\n getDescriptor(): SeasonDescriptor | null {\n return this.picker?.getDescriptor() ?? null;\n }\n\n /** Current same-seat aggregate availability. */\n getAvailability(): SeasonAvailability | null {\n return this.picker?.getAvailability() ?? null;\n }\n\n /** Current opaque checkout handoff. */\n getHandoff(): SeasonCheckoutHandoff | null {\n return this.picker?.getHandoff() ?? null;\n }\n\n /**\n * The held Season order for your own order summary: each held seat with its\n * price type and package price, and the total. Null with no live hold.\n * Display only: checkout prices the order on the server.\n */\n getHeldOrder(): SeasonHeldOrder | null {\n return this.picker?.getHeldOrder() ?? null;\n }\n\n private build(): void {\n this.destroy();\n this.zone.runOutsideAngular(() => {\n const picker = new CoreSeasonPicker({\n container: this.container.nativeElement,\n season: this.season,\n apiBase: this.apiBase,\n publicKey: this.publicKey,\n checkout: this.checkout,\n returnUrl: this.returnUrl,\n buyerEmail: this.buyerEmail,\n buyerName: this.buyerName,\n buyerAccessTokenProvider: this.buyerAccessTokenProvider,\n buyerAccessToken: this.buyerAccessToken,\n initialOperationId: this.initialOperationId,\n package: this.package,\n ticketsByEmail: this.ticketsByEmail,\n recoveryTimeoutMs: this.recoveryTimeoutMs,\n fetch: this.fetch,\n priceTypes: this.priceTypes,\n onHold: (value) => this.zone.run(() => this.hold.emit(value)),\n onHoldChange: (value) => this.zone.run(() => this.holdChange.emit(value)),\n onContinue: (value) => this.zone.run(() => this.continued.emit(value)),\n onRenewalIntent: (value) => this.zone.run(() => this.renewalIntent.emit(value)),\n onAccessExpired: (value) => this.zone.run(() => this.accessExpired.emit(value)),\n onAccessUnavailable: (value) => this.zone.run(() => this.accessUnavailable.emit(value)),\n onOrderConfirmed: (value) => this.zone.run(() => this.orderConfirmed.emit(value)),\n onStatusChange: (value) => this.zone.run(() => this.statusChange.emit(value)),\n onError: (value) => this.zone.run(() => this.errored.emit(value)),\n });\n this.picker = picker;\n void picker.render().catch(() => undefined);\n });\n }\n\n private current(): CoreSeasonPicker {\n if (!this.picker) throw new Error('seatlayer: Angular SeasonPicker is not mounted');\n return this.picker;\n }\n\n private destroy(): void {\n this.picker?.destroy();\n this.picker = null;\n }\n}\n","/**\n * @seatlayer/angular — the Angular wrapper for the SeatLayer embed SDK.\n *\n * The component is standalone; import it directly rather than through an\n * NgModule.\n */\nexport { SeatLayerSeatingChartComponent } from './seating-chart.component';\nexport { SeatLayerSeasonPickerComponent } from './season-picker.component';\n\nexport type {\n SelectedSeat,\n HoldResult,\n BestAvailableResult,\n GAAreaAvailability,\n HoldLineItem,\n SeatHoverDetails,\n SeasonAvailability,\n SeasonBestAvailableOptions,\n SeasonCheckoutHandoff,\n SeasonCheckoutSeat,\n SeasonDescriptor,\n SeasonHeldOrder,\n SeasonHeldSeat,\n SeasonOperation,\n SeasonOperationState,\n SeasonPickerOptions,\n SeasonPriceType,\n SeasonRenewalIntent,\n SeasonSeatPriceTypes,\n SeasonStatusEvent,\n} from '@seatlayer/js';\n\n// Sales Channels — buyer access sessions for private channel inventory.\nexport type {\n BuyerAccessToken,\n BuyerAccessTokenProvider,\n BuyerAccessRefreshReason,\n BuyerAccessUnavailableReason,\n BuyerAccessExpiredEvent,\n BuyerAccessUnavailableEvent,\n SelectedObjectUnavailableEvent,\n} from '@seatlayer/js';\n\n// The framework-agnostic widget class — for the one-call modal (SeatPickerWidget.open()).\nexport { SeatPicker as SeatPickerWidget } from '@seatlayer/js';\n\n// Host-side embed helper: grows the iframe on `seatlayer:height` and pins it on\n// `seatlayer:fullscreen`. Angular hosts depend on this package alone, so it has to\n// be reachable here rather than only from @seatlayer/js.\nexport { attachPickerFrame } from '@seatlayer/js';\nexport type { AttachPickerFrameOptions } from '@seatlayer/js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreSeatingChart","CoreSeasonPicker"],"mappings":";;;;;AAoCA;;;;;;;;;;;;;;;;;;;;;AAqBG;MAQU,8BAA8B,CAAA;;AAEd,IAAA,KAAK;;AAGvB,IAAA,OAAO;;AAGP,IAAA,YAAY;;AAGZ,IAAA,eAAe;;AAGf,IAAA,iBAAi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CAAA,EAAA;;sBAI9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAGxB;;sBAGA;;sBAGA;;sBAGA;;sBAEA;;sBAEA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAMA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAEA,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;AC9G1C;;;;;AAKG;;ACLH;;AAEG;;;;"}
1
+ {"version":3,"file":"seatlayer-angular.mjs","sources":["../../src/seating-chart.component.ts","../../src/season-picker.component.ts","../../src/index.ts","../../src/seatlayer-angular.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n Input,\n NgZone,\n OnChanges,\n Output,\n SimpleChanges,\n ViewChild,\n inject,\n} from '@angular/core';\nimport {\n SeatingChart as CoreSeatingChart,\n SEATING_CHART_IDENTITY_PROPS,\n bindSeatingChartHandle,\n buildSeatingChartOptions,\n type RendererViewMode,\n type SeatingChartHandle,\n type SeatingChartOptions,\n type SelectedSeat,\n type HoldResult,\n type BestAvailableResult,\n type GAAreaAvailability,\n type SeatHoverDetails,\n type PickerSelectionValidity,\n type PickerSelectionValidator,\n type BuyerAccessToken,\n type BuyerAccessTokenProvider,\n type BuyerAccessExpiredEvent,\n type BuyerAccessUnavailableEvent,\n type SelectedObjectUnavailableEvent,\n} from '@seatlayer/js';\n\n/**\n * Angular wrapper around the framework-agnostic `@seatlayer/js` SDK.\n *\n * Standalone, so it is imported directly rather than through an NgModule.\n *\n * The canvas is created once and torn down on destroy. Only the inputs that\n * change the chart's identity (`SEATING_CHART_IDENTITY_PROPS`: `event`,\n * `apiBase`, `maxSelection`, `numberOfPlacesToSelect`, `publicKey`, `locale`, `currency`,\n * `colorblindSafe`, `initialView`, `errorDisplay`, `enable3D`, `enable3DCrowd`,\n * `touchNavigation3D`) trigger a rebuild, so an\n * unrelated change-detection pass never destroys the canvas mid-selection.\n *\n * @example\n * ```html\n * <seatlayer-seating-chart\n * #chart\n * event=\"summer-gala\"\n * (selectionChange)=\"onSelectionChange($event)\"\n * (hold)=\"onHold($event)\"\n * />\n * <button (click)=\"chart.hold()\">Continue</button>\n * ```\n */\n@Component({\n selector: 'seatlayer-seating-chart',\n standalone: true,\n template: '<div #container class=\"seatlayer-container\"></div>',\n styles: [':host { display: block; } .seatlayer-container { width: 100%; height: 100%; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatLayerSeatingChartComponent implements OnChanges {\n /** Event key to render. Changing it rebuilds the chart. */\n @Input({ required: true }) event!: string;\n\n /** API base URL. Defaults to the public API. */\n @Input() apiBase?: string;\n\n /** Cap on how many seats a buyer may select. */\n @Input() maxSelection?: number;\n\n /** Object ids or public labels selected after availability loads. */\n @Input() selectedObjects?: string[];\n\n /** Object ids or public labels the buyer may select. */\n @Input() selectableObjects?: string[] | null;\n\n /** Exact ticket count required for a valid selection. */\n @Input() numberOfPlacesToSelect?: number;\n\n /** Local buyer selection guards. Changing them rebuilds the chart. */\n @Input() selectionValidators?: PickerSelectionValidator[];\n\n /** Publishable key, when your integration uses one. */\n @Input() publicKey?: string;\n\n /** BCP-47 locale for built-in copy. */\n @Input() locale?: string;\n\n /** ISO currency for price formatting. */\n @Input() currency?: string;\n\n /** Render with colorblind-safe seat glyphs. */\n @Input() colorblindSafe?: boolean;\n\n /**\n * Initial canvas projection. Read once when the chart is built, so changing\n * it rebuilds.\n * @deprecated `'isometric'` and `'perspective'` are retired in favour of the\n * real 3D venue view; use `'flat'`.\n */\n @Input() initialView?: RendererViewMode;\n\n /**\n * What the BUYER sees when the chart cannot load: `'message'` (default) is a\n * styleable notice with a Try again button, `'none'` is silent for hosts that\n * render their own failure UI from `errored`.\n */\n @Input() errorDisplay?: 'message' | 'none';\n\n /** Offer the 3D venue view (default true). Changing it rebuilds. */\n @Input() enable3D?: boolean;\n\n /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */\n @Input() enable3DCrowd?: boolean;\n\n /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */\n @Input() touchNavigation3D?: 'map' | 'classic';\n\n /** Show the built-in seat tooltip. Set false to draw your own from `seatHover`. */\n @Input() seatTooltip?: boolean;\n\n /** Copy overrides, read once per rebuild. */\n @Input() messages?: SeatingChartOptions['messages'];\n\n /**\n * Sales Channels: mint a buyer access session on demand. Called with a\n * `reason`; returns `{ token, expiresAt }` from YOUR backend. The token is\n * held in memory only — never storage, never a URL, never a log.\n */\n @Input() buyerAccessTokenProvider?: BuyerAccessTokenProvider;\n\n /** One-shot session for hosts that own the lifecycle. Cannot be renewed. */\n @Input() buyerAccessToken?: string | BuyerAccessToken;\n\n /** The buyer's selection changed. */\n @Output() readonly selectionChange: EventEmitter<SelectedSeat[]> = new EventEmitter<SelectedSeat[]>();\n\n /** Exact-count state changed. */\n @Output() readonly selectionValidityChange: EventEmitter<PickerSelectionValidity> =\n new EventEmitter<PickerSelectionValidity>();\n\n /** The exact count was reached. */\n @Output() readonly selectionValid: EventEmitter<SelectedSeat[]> = new EventEmitter<SelectedSeat[]>();\n\n /** The selection is not at the exact count. */\n @Output() readonly selectionInvalid: EventEmitter<PickerSelectionValidity> =\n new EventEmitter<PickerSelectionValidity>();\n\n /** The active selection cap was reached. */\n @Output() readonly selectionLimit: EventEmitter<number> = new EventEmitter<number>();\n\n /** A hold succeeded. */\n @Output() readonly hold: EventEmitter<HoldResult> = new EventEmitter<HoldResult>();\n\n /** A previous hold was restored on mount. */\n @Output() readonly holdRestored: EventEmitter<HoldResult> = new EventEmitter<HoldResult>();\n\n /** The active hold lapsed. */\n @Output() readonly holdExpired: EventEmitter<void> = new EventEmitter<void>();\n\n /** A GA area was clicked. */\n @Output() readonly gaClick: EventEmitter<GAAreaAvailability> = new EventEmitter<GAAreaAvailability>();\n\n /** Something failed — a network error, a rejected hold. */\n @Output() readonly errored: EventEmitter<unknown> = new EventEmitter<unknown>();\n\n /** A floor deck was tapped in the 3D view. */\n @Output() readonly deckTap: EventEmitter<string> = new EventEmitter<string>();\n\n /** A transient hint worth showing the buyer, or `null` to clear it. */\n @Output() readonly hint: EventEmitter<string | null> = new EventEmitter<string | null>();\n\n /** The pointer moved onto a seat, or off one (`null`). */\n @Output() readonly seatHover: EventEmitter<SeatHoverDetails | null> = new EventEmitter<SeatHoverDetails | null>();\n\n /** The buyer access session lapsed; `refreshed` says whether it recovered. */\n @Output() readonly accessExpired: EventEmitter<BuyerAccessExpiredEvent> =\n new EventEmitter<BuyerAccessExpiredEvent>();\n\n /** Private inventory is unavailable and refreshing will not fix it. */\n @Output() readonly accessUnavailable: EventEmitter<BuyerAccessUnavailableEvent> =\n new EventEmitter<BuyerAccessUnavailableEvent>();\n\n /** Selected-but-unheld units stopped being selectable. */\n @Output() readonly selectedObjectUnavailable: EventEmitter<SelectedObjectUnavailableEvent> =\n new EventEmitter<SelectedObjectUnavailableEvent>();\n\n @ViewChild('container', { static: true })\n private readonly container!: ElementRef<HTMLDivElement>;\n\n private readonly zone = inject(NgZone);\n private chart: CoreSeatingChart | null = null;\n\n /**\n * Inputs that require tearing the canvas down and rebuilding it. The shared\n * list from `@seatlayer/js`, not a hand-copied one — this is exactly the place\n * Angular fell two inputs behind React.\n */\n private static readonly REBUILD_INPUTS = SEATING_CHART_IDENTITY_PROPS;\n\n /**\n * The canonical forwarding object. Every imperative method below is a\n * one-line delegate to it, so the component cannot forward a method the other\n * wrappers do not, or miss one they do.\n */\n private readonly handle: SeatingChartHandle = bindSeatingChartHandle(() => this.chart);\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.destroy());\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const needsRebuild = SeatLayerSeatingChartComponent.REBUILD_INPUTS.some((name) => name in changes);\n if (needsRebuild) {\n this.build();\n }\n }\n\n // ---------- imperative API, for a template ref ----------\n\n /** Hold the current selection. Resolves the hold, or `null` on a 409 conflict. */\n holdSelection(options?: { ttlMs?: number }): Promise<HoldResult | null> {\n return this.handle.hold(options);\n }\n\n /** Restore an active hold by its opaque id. */\n resumeHold(holdId: string): Promise<HoldResult | null> {\n return this.handle.resumeHold(holdId);\n }\n\n /** Current active hold known to the chart. */\n getCurrentHold(): HoldResult | null {\n return this.handle.getCurrentHold();\n }\n\n /** GA areas with live remaining capacity. */\n getGAAreas(): GAAreaAvailability[] {\n return this.handle.getGAAreas();\n }\n\n /** Atomically hold a quantity from one GA area. */\n holdGA(\n areaId: string,\n qty: number,\n options?: { tierId?: string | null; ttlMs?: number },\n ): Promise<HoldResult | null> {\n return this.handle.holdGA(areaId, qty, options);\n }\n\n /** Ask the server for the `qty` best free seats and hold them atomically. */\n bestAvailable(qty: number, categoryKey?: string): Promise<BestAvailableResult | null> {\n return this.handle.bestAvailable(qty, categoryKey);\n }\n\n /** Release the current hold (if any). */\n release(): Promise<void> {\n return this.handle.release();\n }\n\n /** Release some held labels while keeping the remainder active. */\n releaseLabels(labels: string[]): Promise<boolean> {\n return this.handle.releaseLabels(labels);\n }\n\n /** The current selection, with prices resolved from the chart categories. */\n getSelection(): SelectedSeat[] {\n return this.handle.getSelection();\n }\n\n selectObjects(objects: string[]): SelectedSeat[] {\n return this.handle.selectObjects(objects);\n }\n\n deselectObjects(objects: string[]): void {\n this.handle.deselectObjects(objects);\n }\n\n clearSelection(): void {\n this.handle.clearSelection();\n }\n\n selectCategories(categoryKeys: string[]): SelectedSeat[] {\n return this.handle.selectCategories(categoryKeys);\n }\n\n deselectCategories(categoryKeys: string[]): void {\n this.handle.deselectCategories(categoryKeys);\n }\n\n setSelectableObjects(objects: string[] | null): void {\n this.handle.setSelectableObjects(objects);\n }\n\n setMaxSelection(maxSelection: number): void {\n this.handle.setMaxSelection(maxSelection);\n }\n\n getSelectionValidity(): PickerSelectionValidity | null {\n return this.handle.getSelectionValidity();\n }\n\n /** Choose a ticket tier for a selected seat; `null` reverts to the default. */\n setSeatTier(seatId: string, tierId: string | null): void {\n this.handle.setSeatTier(seatId, tierId);\n }\n\n /** Floors of a multi-floor chart. Empty before the first render. */\n getFloors(): { id: string; name: string }[] {\n return this.handle.getFloors();\n }\n\n /** Switch the shown floor (2D). No-ops on single-floor charts. */\n setFloor(floorId: string): void {\n this.handle.setFloor(floorId);\n }\n\n /** Toggle colorblind-safe rendering at runtime. */\n setColorblindSafe(on: boolean): void {\n this.handle.setColorblindSafe(on);\n }\n\n /** Zoom in one step (same increment as the wheel/pinch gesture). */\n zoomIn(): void {\n this.handle.zoomIn();\n }\n\n /** Zoom out one step. */\n zoomOut(): void {\n this.handle.zoomOut();\n }\n\n /** Reset the camera so the whole chart fits the container. */\n zoomToFit(): void {\n this.handle.zoomToFit();\n }\n\n /**\n * Re-acquire the buyer access session after your app re-authorizes the buyer\n * (Sales Channels). Resolves false when the chart is not access-scoped.\n */\n refreshAccess(): Promise<boolean> {\n return this.handle.refreshAccess();\n }\n\n // ---------- internals ----------\n\n private build(): void {\n const element = this.container?.nativeElement;\n if (!element) return;\n\n this.destroy();\n\n // The chart runs a rAF render loop and pointer handlers. Left inside the\n // Angular zone, every frame would schedule change detection for the whole\n // application — so it is built outside, and each callback re-enters the zone\n // only to emit, which is the only part Angular needs to see.\n this.zone.runOutsideAngular(() => {\n const emit = <T>(emitter: EventEmitter<T>, value: T) =>\n this.zone.run(() => emitter.emit(value));\n\n const instance = new CoreSeatingChart(buildSeatingChartOptions(\n element,\n {\n event: this.event,\n apiBase: this.apiBase,\n maxSelection: this.maxSelection,\n selectedObjects: this.selectedObjects,\n selectableObjects: this.selectableObjects,\n numberOfPlacesToSelect: this.numberOfPlacesToSelect,\n selectionValidators: this.selectionValidators,\n publicKey: this.publicKey,\n locale: this.locale,\n currency: this.currency,\n colorblindSafe: this.colorblindSafe,\n initialView: this.initialView,\n errorDisplay: this.errorDisplay,\n enable3D: this.enable3D,\n enable3DCrowd: this.enable3DCrowd,\n touchNavigation3D: this.touchNavigation3D,\n messages: this.messages,\n seatTooltip: this.seatTooltip,\n buyerAccessTokenProvider: this.buyerAccessTokenProvider,\n buyerAccessToken: this.buyerAccessToken,\n },\n {\n onSelectionChange: (seats) => emit(this.selectionChange, seats),\n onSelectionValidityChange: (state) => emit(this.selectionValidityChange, state),\n onSelectionValid: (seats) => emit(this.selectionValid, seats),\n onSelectionInvalid: (state) => emit(this.selectionInvalid, state),\n onSelectionLimit: (max) => emit(this.selectionLimit, max),\n onHold: (result) => emit(this.hold, result),\n onHoldRestored: (result) => emit(this.holdRestored, result),\n onHoldExpired: () => this.zone.run(() => this.holdExpired.emit()),\n onGAClick: (area) => emit(this.gaClick, area),\n onError: (error) => emit(this.errored, error),\n onDeckTap: (floorId) => emit(this.deckTap, floorId),\n onHint: (message) => emit(this.hint, message),\n onSeatHover: (details) => emit(this.seatHover, details),\n onAccessExpired: (state) => emit(this.accessExpired, state),\n onAccessUnavailable: (state) => emit(this.accessUnavailable, state),\n onSelectedObjectUnavailable: (state) => emit(this.selectedObjectUnavailable, state),\n },\n ));\n\n this.chart = instance;\n void instance.render();\n });\n }\n\n private destroy(): void {\n this.chart?.destroy();\n this.chart = null;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n EventEmitter,\n Input,\n NgZone,\n OnChanges,\n Output,\n SimpleChanges,\n ViewChild,\n inject,\n} from '@angular/core';\nimport {\n SeasonPicker as CoreSeasonPicker,\n type SeasonAvailability,\n type SeasonBestAvailableOptions,\n type SeasonCheckoutHandoff,\n type SeasonDescriptor,\n type SeasonHeldOrder,\n type SeasonPickerOptions,\n type SeasonPriceType,\n type SeasonRenewalIntent,\n type SeasonSeatPriceTypes,\n type SeasonStatusEvent,\n} from '@seatlayer/js';\n\n/** Standalone Angular adapter for the distinct fixed-inclusion Season buyer flow. */\n@Component({\n selector: 'seatlayer-season-picker',\n standalone: true,\n template: '<div #container class=\"seatlayer-season-container\"></div>',\n styles: [':host { display: block; } .seatlayer-season-container { width: 100%; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatLayerSeasonPickerComponent implements OnChanges {\n /** Season key to render. */\n @Input({ required: true }) season!: string;\n\n /** Public API base override. */\n @Input() apiBase?: string;\n\n /** Publishable account key, accepted for snippet parity. Never sent. */\n @Input() publicKey?: string;\n\n /** Who takes the money once the package is held. Default `'handoff'`. */\n @Input() checkout?: SeasonPickerOptions['checkout'];\n\n /** Where a redirecting gateway returns the buyer, for hosted checkout. */\n @Input() returnUrl?: string;\n /** Prefills SeatLayer checkout's email field (a signed-in member's). */\n @Input() buyerEmail?: string;\n /** Prefills SeatLayer checkout's name field. */\n @Input() buyerName?: string;\n\n /** Refreshable one-time browser bearer provider. */\n @Input() buyerAccessTokenProvider?: SeasonPickerOptions['buyerAccessTokenProvider'];\n\n /** One-time Season browser bearer. */\n @Input() buyerAccessToken?: SeasonPickerOptions['buyerAccessToken'];\n\n /** Operation restored after an uncertain create response. */\n @Input() initialOperationId?: string;\n\n /** The package to open on, by its key; the first package without it. */\n @Input() package?: string;\n\n /** The host emails a ticket per date itself: step 1 says so. */\n @Input() ticketsByEmail?: boolean;\n\n /** Maximum recovery polling time. */\n @Input() recoveryTimeoutMs?: number;\n\n /** Offer the 3D venue view (default true). Changing it rebuilds. */\n @Input() enable3D?: boolean;\n\n /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */\n @Input() enable3DCrowd?: boolean;\n\n /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */\n @Input() touchNavigation3D?: 'map' | 'classic';\n\n /** Test or host fetch implementation. */\n @Input() fetch?: typeof fetch;\n\n /**\n * The price types the picker sells, e.g. `['adult', 'child']`. With a type\n * besides adult, the buyer chooses one per seat before the hold.\n */\n @Input() priceTypes?: readonly SeasonPriceType[];\n\n /** A same-seat hold reached a safe handoff. */\n @Output() readonly hold = new EventEmitter<SeasonCheckoutHandoff>();\n\n /** The active handoff changed or was released. */\n @Output() readonly holdChange = new EventEmitter<SeasonCheckoutHandoff | null>();\n\n /** The buyer continued with an opaque handoff. */\n @Output() readonly continued = new EventEmitter<SeasonCheckoutHandoff>();\n\n /** A returning holder recorded browser intent only. */\n @Output() readonly renewalIntent = new EventEmitter<SeasonRenewalIntent>();\n\n /** Buyer access expired. */\n @Output() readonly accessExpired = new EventEmitter<unknown>();\n\n /** Buyer access cannot be recovered. */\n @Output() readonly accessUnavailable = new EventEmitter<unknown>();\n\n /** Hosted checkout only: the gateway webhook landed and the order is paid. */\n @Output() readonly orderConfirmed = new EventEmitter<unknown>();\n\n /** Buyer-visible operation status changed. */\n @Output() readonly statusChange = new EventEmitter<SeasonStatusEvent>();\n\n /** The Season buyer flow failed. */\n @Output() readonly errored = new EventEmitter<unknown>();\n\n @ViewChild('container', { static: true })\n private readonly container!: ElementRef<HTMLDivElement>;\n\n private static readonly REBUILD_INPUTS = new Set([\n 'season', 'apiBase', 'publicKey', 'checkout', 'returnUrl',\n 'buyerAccessTokenProvider', 'buyerAccessToken',\n 'initialOperationId', 'package', 'ticketsByEmail', 'recoveryTimeoutMs', 'fetch', 'priceTypes',\n 'enable3D', 'enable3DCrowd', 'touchNavigation3D',\n ]);\n private readonly zone = inject(NgZone);\n private picker: CoreSeasonPicker | null = null;\n\n constructor() {\n inject(DestroyRef).onDestroy(() => this.destroy());\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (Object.keys(changes).some((name) => SeatLayerSeasonPickerComponent.REBUILD_INPUTS.has(name))) {\n this.build();\n }\n }\n\n /**\n * Holds the same labels across every included occurrence. `priceTypes` names\n * each seat's price type by label (`{ 'A-2': 'child' }`); a label it leaves\n * out is adult.\n */\n holdSameSeat(\n labels: readonly string[], operationId: string, priceTypes?: SeasonSeatPriceTypes,\n ): Promise<SeasonCheckoutHandoff> {\n return this.current().holdSameSeat(labels, operationId, priceTypes);\n }\n\n /**\n * Holds the best `qty` seats free on every included performance, as a map\n * selection would. Same contract as `@seatlayer/js` `holdBestAvailable`: a\n * caller-stable `sop_` id, 1 to `maxSelection` seats, one call at a time.\n */\n holdBestAvailable(\n qty: number, operationId: string, options?: SeasonBestAvailableOptions,\n ): Promise<SeasonCheckoutHandoff> {\n return this.current().holdBestAvailable(qty, operationId, options);\n }\n\n /** Restores a caller-stable Season operation after uncertainty. */\n restoreOperation(operationId: string): Promise<SeasonCheckoutHandoff | null> {\n return this.current().restoreOperation(operationId);\n }\n\n /** Your server booked the held seats: show booked and stop the hold clock. */\n markBooked(): Promise<boolean> {\n return this.current().markBooked();\n }\n\n /** Releases the active selection with a caller-stable action id. */\n release(releaseActionId: string): Promise<void> {\n return this.current().release(releaseActionId);\n }\n\n /** Records renewal intent; trusted server code still inspects and commits it. */\n createRenewalIntent(offerId: string): Promise<SeasonRenewalIntent> {\n return this.current().createRenewalIntent(offerId);\n }\n\n /** Current immutable Season descriptor. */\n getDescriptor(): SeasonDescriptor | null {\n return this.picker?.getDescriptor() ?? null;\n }\n\n /** Current same-seat aggregate availability. */\n getAvailability(): SeasonAvailability | null {\n return this.picker?.getAvailability() ?? null;\n }\n\n /** Current opaque checkout handoff. */\n getHandoff(): SeasonCheckoutHandoff | null {\n return this.picker?.getHandoff() ?? null;\n }\n\n /**\n * The held Season order for your own order summary: each held seat with its\n * price type and package price, and the total. Null with no live hold.\n * Display only: checkout prices the order on the server.\n */\n getHeldOrder(): SeasonHeldOrder | null {\n return this.picker?.getHeldOrder() ?? null;\n }\n\n private build(): void {\n this.destroy();\n this.zone.runOutsideAngular(() => {\n const picker = new CoreSeasonPicker({\n container: this.container.nativeElement,\n season: this.season,\n apiBase: this.apiBase,\n publicKey: this.publicKey,\n checkout: this.checkout,\n returnUrl: this.returnUrl,\n buyerEmail: this.buyerEmail,\n buyerName: this.buyerName,\n buyerAccessTokenProvider: this.buyerAccessTokenProvider,\n buyerAccessToken: this.buyerAccessToken,\n initialOperationId: this.initialOperationId,\n package: this.package,\n ticketsByEmail: this.ticketsByEmail,\n recoveryTimeoutMs: this.recoveryTimeoutMs,\n enable3D: this.enable3D,\n enable3DCrowd: this.enable3DCrowd,\n touchNavigation3D: this.touchNavigation3D,\n fetch: this.fetch,\n priceTypes: this.priceTypes,\n onHold: (value) => this.zone.run(() => this.hold.emit(value)),\n onHoldChange: (value) => this.zone.run(() => this.holdChange.emit(value)),\n onContinue: (value) => this.zone.run(() => this.continued.emit(value)),\n onRenewalIntent: (value) => this.zone.run(() => this.renewalIntent.emit(value)),\n onAccessExpired: (value) => this.zone.run(() => this.accessExpired.emit(value)),\n onAccessUnavailable: (value) => this.zone.run(() => this.accessUnavailable.emit(value)),\n onOrderConfirmed: (value) => this.zone.run(() => this.orderConfirmed.emit(value)),\n onStatusChange: (value) => this.zone.run(() => this.statusChange.emit(value)),\n onError: (value) => this.zone.run(() => this.errored.emit(value)),\n });\n this.picker = picker;\n void picker.render().catch(() => undefined);\n });\n }\n\n private current(): CoreSeasonPicker {\n if (!this.picker) throw new Error('seatlayer: Angular SeasonPicker is not mounted');\n return this.picker;\n }\n\n private destroy(): void {\n this.picker?.destroy();\n this.picker = null;\n }\n}\n","/**\n * @seatlayer/angular — the Angular wrapper for the SeatLayer embed SDK.\n *\n * The component is standalone; import it directly rather than through an\n * NgModule.\n */\nexport { SeatLayerSeatingChartComponent } from './seating-chart.component';\nexport { SeatLayerSeasonPickerComponent } from './season-picker.component';\n\nexport type {\n SelectedSeat,\n HoldResult,\n BestAvailableResult,\n GAAreaAvailability,\n HoldLineItem,\n SeatHoverDetails,\n SeasonAvailability,\n SeasonBestAvailableOptions,\n SeasonCheckoutHandoff,\n SeasonCheckoutSeat,\n SeasonDescriptor,\n SeasonHeldOrder,\n SeasonHeldSeat,\n SeasonOperation,\n SeasonOperationState,\n SeasonPickerOptions,\n SeasonPriceType,\n SeasonRenewalIntent,\n SeasonSeatPriceTypes,\n SeasonStatusEvent,\n} from '@seatlayer/js';\n\n// Sales Channels — buyer access sessions for private channel inventory.\nexport type {\n BuyerAccessToken,\n BuyerAccessTokenProvider,\n BuyerAccessRefreshReason,\n BuyerAccessUnavailableReason,\n BuyerAccessExpiredEvent,\n BuyerAccessUnavailableEvent,\n SelectedObjectUnavailableEvent,\n} from '@seatlayer/js';\n\n// The framework-agnostic widget class — for the one-call modal (SeatPickerWidget.open()).\nexport { SeatPicker as SeatPickerWidget } from '@seatlayer/js';\n\n// Host-side embed helper: grows the iframe on `seatlayer:height` and pins it on\n// `seatlayer:fullscreen`. Angular hosts depend on this package alone, so it has to\n// be reachable here rather than only from @seatlayer/js.\nexport { attachPickerFrame } from '@seatlayer/js';\nexport type { AttachPickerFrameOptions } from '@seatlayer/js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["CoreSeatingChart","CoreSeasonPicker"],"mappings":";;;;;AAoCA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAQU,8BAA8B,CAAA;;AAEd,IAAA,KAAK;;AAGvB,IAAA,OAAO;;AAGP,IAAA,YAAY;;AAGZ,IAAA,eAAe;;AAGf,IAAA,iBAAiB;;AAGjB,IAAA,sBAAsB;;AAGtB,IAAA,mBAAmB;;AAGnB,IAAA,SAAS;;AAGT,IAAA,MAAM;;AAGN,IAAA,QAAQ;;AAGR,IAAA,cAAc;AAEvB;;;;;AAKG;AACM,IAAA,WAAW;AAEpB;;;;AAIG;AACM,IAAA,YAAY;;AAGZ,IAAA,QAAQ;;AAGR,IAAA,aAAa;;AAGb,IAAA,iBAAiB;;AAGjB,IAAA,WAAW;;AAGX,IAAA,QAAQ;AAEjB;;;;AAIG;AACM,IAAA,wBAAwB;;AAGxB,IAAA,gBAAgB;;AAGN,IAAA,eAAe,GAAiC,IAAI,YAAY,EAAkB;;AAGlF,IAAA,uBAAuB,GACxC,IAAI,YAAY,EAA2B;;AAG1B,IAAA,cAAc,GAAiC,IAAI,YAAY,EAAkB;;AAGjF,IAAA,gBAAgB,GACjC,IAAI,YAAY,EAA2B;;AAG1B,IAAA,cAA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BAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAMA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAGA;;sBAEA,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;ACvH1C;;;;;AAKG;;ACLH;;AAEG;;;;"}
package/dist/index.d.ts CHANGED
@@ -11,7 +11,8 @@ export { AttachPickerFrameOptions, BestAvailableResult, BuyerAccessExpiredEvent,
11
11
  * The canvas is created once and torn down on destroy. Only the inputs that
12
12
  * change the chart's identity (`SEATING_CHART_IDENTITY_PROPS`: `event`,
13
13
  * `apiBase`, `maxSelection`, `numberOfPlacesToSelect`, `publicKey`, `locale`, `currency`,
14
- * `colorblindSafe`, `initialView`, `errorDisplay`) trigger a rebuild, so an
14
+ * `colorblindSafe`, `initialView`, `errorDisplay`, `enable3D`, `enable3DCrowd`,
15
+ * `touchNavigation3D`) trigger a rebuild, so an
15
16
  * unrelated change-detection pass never destroys the canvas mid-selection.
16
17
  *
17
18
  * @example
@@ -61,6 +62,12 @@ declare class SeatLayerSeatingChartComponent implements OnChanges {
61
62
  * render their own failure UI from `errored`.
62
63
  */
63
64
  errorDisplay?: 'message' | 'none';
65
+ /** Offer the 3D venue view (default true). Changing it rebuilds. */
66
+ enable3D?: boolean;
67
+ /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */
68
+ enable3DCrowd?: boolean;
69
+ /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */
70
+ touchNavigation3D?: 'map' | 'classic';
64
71
  /** Show the built-in seat tooltip. Set false to draw your own from `seatHover`. */
65
72
  seatTooltip?: boolean;
66
73
  /** Copy overrides, read once per rebuild. */
@@ -178,7 +185,7 @@ declare class SeatLayerSeatingChartComponent implements OnChanges {
178
185
  private build;
179
186
  private destroy;
180
187
  static ɵfac: i0.ɵɵFactoryDeclaration<SeatLayerSeatingChartComponent, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<SeatLayerSeatingChartComponent, "seatlayer-seating-chart", never, { "event": { "alias": "event"; "required": true; }; "apiBase": { "alias": "apiBase"; "required": false; }; "maxSelection": { "alias": "maxSelection"; "required": false; }; "selectedObjects": { "alias": "selectedObjects"; "required": false; }; "selectableObjects": { "alias": "selectableObjects"; "required": false; }; "numberOfPlacesToSelect": { "alias": "numberOfPlacesToSelect"; "required": false; }; "selectionValidators": { "alias": "selectionValidators"; "required": false; }; "publicKey": { "alias": "publicKey"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "colorblindSafe": { "alias": "colorblindSafe"; "required": false; }; "initialView": { "alias": "initialView"; "required": false; }; "errorDisplay": { "alias": "errorDisplay"; "required": false; }; "seatTooltip": { "alias": "seatTooltip"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "buyerAccessTokenProvider": { "alias": "buyerAccessTokenProvider"; "required": false; }; "buyerAccessToken": { "alias": "buyerAccessToken"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectionValidityChange": "selectionValidityChange"; "selectionValid": "selectionValid"; "selectionInvalid": "selectionInvalid"; "selectionLimit": "selectionLimit"; "hold": "hold"; "holdRestored": "holdRestored"; "holdExpired": "holdExpired"; "gaClick": "gaClick"; "errored": "errored"; "deckTap": "deckTap"; "hint": "hint"; "seatHover": "seatHover"; "accessExpired": "accessExpired"; "accessUnavailable": "accessUnavailable"; "selectedObjectUnavailable": "selectedObjectUnavailable"; }, never, never, true, never>;
188
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeatLayerSeatingChartComponent, "seatlayer-seating-chart", never, { "event": { "alias": "event"; "required": true; }; "apiBase": { "alias": "apiBase"; "required": false; }; "maxSelection": { "alias": "maxSelection"; "required": false; }; "selectedObjects": { "alias": "selectedObjects"; "required": false; }; "selectableObjects": { "alias": "selectableObjects"; "required": false; }; "numberOfPlacesToSelect": { "alias": "numberOfPlacesToSelect"; "required": false; }; "selectionValidators": { "alias": "selectionValidators"; "required": false; }; "publicKey": { "alias": "publicKey"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "colorblindSafe": { "alias": "colorblindSafe"; "required": false; }; "initialView": { "alias": "initialView"; "required": false; }; "errorDisplay": { "alias": "errorDisplay"; "required": false; }; "enable3D": { "alias": "enable3D"; "required": false; }; "enable3DCrowd": { "alias": "enable3DCrowd"; "required": false; }; "touchNavigation3D": { "alias": "touchNavigation3D"; "required": false; }; "seatTooltip": { "alias": "seatTooltip"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "buyerAccessTokenProvider": { "alias": "buyerAccessTokenProvider"; "required": false; }; "buyerAccessToken": { "alias": "buyerAccessToken"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectionValidityChange": "selectionValidityChange"; "selectionValid": "selectionValid"; "selectionInvalid": "selectionInvalid"; "selectionLimit": "selectionLimit"; "hold": "hold"; "holdRestored": "holdRestored"; "holdExpired": "holdExpired"; "gaClick": "gaClick"; "errored": "errored"; "deckTap": "deckTap"; "hint": "hint"; "seatHover": "seatHover"; "accessExpired": "accessExpired"; "accessUnavailable": "accessUnavailable"; "selectedObjectUnavailable": "selectedObjectUnavailable"; }, never, never, true, never>;
182
189
  }
183
190
 
184
191
  /** Standalone Angular adapter for the distinct fixed-inclusion Season buyer flow. */
@@ -209,6 +216,12 @@ declare class SeatLayerSeasonPickerComponent implements OnChanges {
209
216
  ticketsByEmail?: boolean;
210
217
  /** Maximum recovery polling time. */
211
218
  recoveryTimeoutMs?: number;
219
+ /** Offer the 3D venue view (default true). Changing it rebuilds. */
220
+ enable3D?: boolean;
221
+ /** The standing crowd in 3D, drawn by default; false turns it off. Changing it rebuilds. */
222
+ enable3DCrowd?: boolean;
223
+ /** How fingers move the 3D view: `'map'` (default) or `'classic'`. Changing it rebuilds. */
224
+ touchNavigation3D?: 'map' | 'classic';
212
225
  /** Test or host fetch implementation. */
213
226
  fetch?: typeof fetch;
214
227
  /**
@@ -276,7 +289,7 @@ declare class SeatLayerSeasonPickerComponent implements OnChanges {
276
289
  private current;
277
290
  private destroy;
278
291
  static ɵfac: i0.ɵɵFactoryDeclaration<SeatLayerSeasonPickerComponent, never>;
279
- static ɵcmp: i0.ɵɵComponentDeclaration<SeatLayerSeasonPickerComponent, "seatlayer-season-picker", never, { "season": { "alias": "season"; "required": true; }; "apiBase": { "alias": "apiBase"; "required": false; }; "publicKey": { "alias": "publicKey"; "required": false; }; "checkout": { "alias": "checkout"; "required": false; }; "returnUrl": { "alias": "returnUrl"; "required": false; }; "buyerEmail": { "alias": "buyerEmail"; "required": false; }; "buyerName": { "alias": "buyerName"; "required": false; }; "buyerAccessTokenProvider": { "alias": "buyerAccessTokenProvider"; "required": false; }; "buyerAccessToken": { "alias": "buyerAccessToken"; "required": false; }; "initialOperationId": { "alias": "initialOperationId"; "required": false; }; "package": { "alias": "package"; "required": false; }; "ticketsByEmail": { "alias": "ticketsByEmail"; "required": false; }; "recoveryTimeoutMs": { "alias": "recoveryTimeoutMs"; "required": false; }; "fetch": { "alias": "fetch"; "required": false; }; "priceTypes": { "alias": "priceTypes"; "required": false; }; }, { "hold": "hold"; "holdChange": "holdChange"; "continued": "continued"; "renewalIntent": "renewalIntent"; "accessExpired": "accessExpired"; "accessUnavailable": "accessUnavailable"; "orderConfirmed": "orderConfirmed"; "statusChange": "statusChange"; "errored": "errored"; }, never, never, true, never>;
292
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeatLayerSeasonPickerComponent, "seatlayer-season-picker", never, { "season": { "alias": "season"; "required": true; }; "apiBase": { "alias": "apiBase"; "required": false; }; "publicKey": { "alias": "publicKey"; "required": false; }; "checkout": { "alias": "checkout"; "required": false; }; "returnUrl": { "alias": "returnUrl"; "required": false; }; "buyerEmail": { "alias": "buyerEmail"; "required": false; }; "buyerName": { "alias": "buyerName"; "required": false; }; "buyerAccessTokenProvider": { "alias": "buyerAccessTokenProvider"; "required": false; }; "buyerAccessToken": { "alias": "buyerAccessToken"; "required": false; }; "initialOperationId": { "alias": "initialOperationId"; "required": false; }; "package": { "alias": "package"; "required": false; }; "ticketsByEmail": { "alias": "ticketsByEmail"; "required": false; }; "recoveryTimeoutMs": { "alias": "recoveryTimeoutMs"; "required": false; }; "enable3D": { "alias": "enable3D"; "required": false; }; "enable3DCrowd": { "alias": "enable3DCrowd"; "required": false; }; "touchNavigation3D": { "alias": "touchNavigation3D"; "required": false; }; "fetch": { "alias": "fetch"; "required": false; }; "priceTypes": { "alias": "priceTypes"; "required": false; }; }, { "hold": "hold"; "holdChange": "holdChange"; "continued": "continued"; "renewalIntent": "renewalIntent"; "accessExpired": "accessExpired"; "accessUnavailable": "accessUnavailable"; "orderConfirmed": "orderConfirmed"; "statusChange": "statusChange"; "errored": "errored"; }, never, never, true, never>;
280
293
  }
281
294
 
282
295
  export { SeatLayerSeasonPickerComponent, SeatLayerSeatingChartComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatlayer/angular",
3
- "version": "0.111.0",
3
+ "version": "0.113.0",
4
4
  "description": "SeatLayer's official Angular seating chart and seat map SDK: live availability, seat selection, temporary holds, and a typed TypeScript API for ticketing apps.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -36,8 +36,8 @@
36
36
  "typescript"
37
37
  ],
38
38
  "dependencies": {
39
- "@seatlayer/core": "0.111.0",
40
- "@seatlayer/js": "0.111.0",
39
+ "@seatlayer/core": "0.113.0",
40
+ "@seatlayer/js": "0.113.0",
41
41
  "tslib": "^2.8.1"
42
42
  },
43
43
  "peerDependencies": {