@seatlayer/core 0.99.0 → 0.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/{categoryInventory-DdJdJ4Og.d.ts → categoryInventory-DZ5IcDOy.d.ts} +1 -1
  2. package/dist/{categoryInventory-DuOez0-4.d.cts → categoryInventory-H77A_8pF.d.cts} +1 -1
  3. package/dist/{chunk-KFVUBZMK.js → chunk-2RNZOV5I.js} +1 -1
  4. package/dist/{chunk-HYEZPOZU.js → chunk-52XO3LA7.js} +1 -1
  5. package/dist/{chunk-VWT44HBR.js → chunk-5HXTEMRE.js} +1 -1
  6. package/dist/{chunk-UIMDB6GZ.js → chunk-5PFYIYM5.js} +1 -1
  7. package/dist/chunk-FLZKBXHA.js +1 -0
  8. package/dist/{chunk-23OTKCJU.js → chunk-JK3DUFRX.js} +1 -1
  9. package/dist/chunk-NO6OLVTT.js +1 -0
  10. package/dist/core/chart-ops/index.cjs +1 -1
  11. package/dist/core/chart-ops/index.d.cts +4 -4
  12. package/dist/core/chart-ops/index.d.ts +4 -4
  13. package/dist/core/chart-ops/index.js +1 -1
  14. package/dist/core/inventory/index.d.cts +4 -4
  15. package/dist/core/inventory/index.d.ts +4 -4
  16. package/dist/core/inventory/index.js +1 -1
  17. package/dist/core/layout/index.d.cts +5 -5
  18. package/dist/core/layout/index.d.ts +5 -5
  19. package/dist/core/quality/index.d.cts +3 -3
  20. package/dist/core/quality/index.d.ts +3 -3
  21. package/dist/core/quality/index.js +1 -1
  22. package/dist/core/render-assets/index.d.cts +2 -2
  23. package/dist/core/render-assets/index.d.ts +2 -2
  24. package/dist/core/seatConfidence.d.cts +1 -1
  25. package/dist/core/seatConfidence.d.ts +1 -1
  26. package/dist/core/sections/index.d.cts +5 -5
  27. package/dist/core/sections/index.d.ts +5 -5
  28. package/dist/{eventConfigurations-BISNREZL.d.ts → eventConfigurations-B6aS6c-_.d.ts} +1 -1
  29. package/dist/{eventConfigurations-DYn5XP3J.d.cts → eventConfigurations-ClFqXQi9.d.cts} +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +18 -13
  32. package/dist/index.d.ts +18 -13
  33. package/dist/index.js +1 -1
  34. package/dist/{labeling-owTTG6e0.d.cts → labeling-ByEZkLee.d.cts} +1 -1
  35. package/dist/{labeling-CzuSxAkr.d.ts → labeling-CP3GhUrf.d.ts} +1 -1
  36. package/dist/{renderedQuality-Bl1Kq_XO.d.cts → renderedQuality--H0toc-2.d.cts} +1 -1
  37. package/dist/{renderedQuality-BMSbVkwu.d.ts → renderedQuality-Bo4k99GE.d.ts} +1 -1
  38. package/dist/{renderer-njHDbIqI.d.ts → renderer-BPhSZUGh.d.cts} +12 -1
  39. package/dist/{renderer-Ccv8ZDZS.d.cts → renderer-CWbam_zr.d.ts} +12 -1
  40. package/dist/{seatTypeIcons-QwEebl3k.d.cts → seatTypeIcons-B2tvcQ0H.d.cts} +1 -1
  41. package/dist/{seatTypeIcons-dy3XQVWN.d.ts → seatTypeIcons-CSt1isBY.d.ts} +1 -1
  42. package/dist/{sections-DSIfnBJY.d.cts → sections-C_AKwOIh.d.cts} +1 -1
  43. package/dist/{sections-C8VTe6BN.d.ts → sections-JHox6Lsw.d.ts} +1 -1
  44. package/dist/{segmentedRowModel-CDvvJJ4-.d.cts → segmentedRowModel-CZ0Ciea-.d.cts} +1 -1
  45. package/dist/{segmentedRowModel-I8eYUQft.d.ts → segmentedRowModel-DQO0vHR1.d.ts} +1 -1
  46. package/dist/{tableSizing-BLtQ-KV0.d.ts → tableSizing-ClgbhNks.d.ts} +3 -3
  47. package/dist/{tableSizing-CB8g2Fs0.d.cts → tableSizing-Cp5T_6Lw.d.cts} +3 -3
  48. package/dist/{ticketRestrictions-BvlWLw10.d.cts → ticketRestrictions-BHNbxzFT.d.cts} +2 -2
  49. package/dist/{ticketRestrictions-DUjN2bZn.d.ts → ticketRestrictions-DUdzkp4F.d.ts} +2 -2
  50. package/dist/{types-DWx32xXH.d.cts → types-5AlKCD4j.d.cts} +17 -0
  51. package/dist/{types-DWx32xXH.d.ts → types-5AlKCD4j.d.ts} +17 -0
  52. package/dist/view3d/crossfade/panorama.d.cts +1 -1
  53. package/dist/view3d/crossfade/panorama.d.ts +1 -1
  54. package/dist/view3d/index.cjs +127 -53
  55. package/dist/view3d/index.d.cts +34 -5
  56. package/dist/view3d/index.d.ts +34 -5
  57. package/dist/view3d/index.js +125 -51
  58. package/dist/view3d/scene/scene.worker.cjs +1 -1
  59. package/dist/view3d/scene/scene.worker.js +1 -1
  60. package/package.json +1 -1
  61. package/dist/chunk-K22SISYC.js +0 -1
  62. package/dist/chunk-QJXSZT3H.js +0 -1
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-DWx32xXH.cjs';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-DYn5XP3J.cjs';
3
- import { E as ExpandedSeat } from '../renderer-Ccv8ZDZS.cjs';
1
+ import { P as Point, C as ChartDoc } from '../types-5AlKCD4j.cjs';
2
+ import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-ClFqXQi9.cjs';
3
+ import { E as ExpandedSeat } from '../renderer-BPhSZUGh.cjs';
4
4
  import { S as StageKind } from '../stage-CKb7aNoH.cjs';
5
5
  import { SeatView } from './crossfade/panorama.cjs';
6
6
 
@@ -174,7 +174,7 @@ interface Theme3D {
174
174
  * unreadable confetti.
175
175
  */
176
176
 
177
- type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat';
177
+ type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'gate' | 'annotation' | 'booth' | 'row' | 'seat' | 'access';
178
178
  interface SceneLabel {
179
179
  id: string;
180
180
  kind: LabelKind;
@@ -193,6 +193,18 @@ interface SceneLabel {
193
193
  pinBase?: [number, number, number];
194
194
  /** A seat label's row, so the row under the pointer can show its numbers. */
195
195
  rowId?: string;
196
+ /** An `access` label's pictogram (a seat-type icon key, e.g. `wheelchair`). */
197
+ icon?: string;
198
+ /** Icon ink on an `access` chip; white when absent. */
199
+ ink?: string;
200
+ /**
201
+ * A section tag's category colour (the one most of its seats sell in), so
202
+ * the tag reads as its price band before it is read, as on seats.io's
203
+ * stadium (owner comparison, 2026-09-25).
204
+ */
205
+ tint?: string;
206
+ /** A section tag's wheelchair places, as seat instance indices, for its free-count badge. */
207
+ wheelchairSeats?: number[];
196
208
  }
197
209
 
198
210
  /**
@@ -811,6 +823,16 @@ interface Venue3DOptions {
811
823
  * The host can explain held/sold/filter state without turning inspection into
812
824
  * selection or briefly painting the unavailable seat as the buyer's choice. */
813
825
  onSeatInspect?: (seatId: string, state: SeatState3D) => void;
826
+ /**
827
+ * The seat under a MOUSE inside the section the buyer entered, with the
828
+ * cursor in the 3D container's pixels; null when it leaves the seats. A
829
+ * host shows its hover card here, as the 2D map does (owner, 2026-09-25).
830
+ * Never called for touch or pen: a finger has no hover.
831
+ */
832
+ onSeatHover?: (seatId: string | null, point: {
833
+ x: number;
834
+ y: number;
835
+ } | null) => void;
814
836
  /** Overview → section drill state. A stand tap reports its owning section;
815
837
  * Overview reports null so host navigation can stay in sync. */
816
838
  onSectionFocusChange?: (sectionId: string | null) => void;
@@ -937,7 +959,7 @@ interface Venue3DHandle {
937
959
  /** Select what a one-finger / primary-pointer drag controls. Touch buyers can
938
960
  * still use two fingers to move in either mode; this exists so native SDKs
939
961
  * can expose the same explicit Rotate / Move controls as the web picker. */
940
- setNavigationMode(mode: 'orbit' | 'pan'): void;
962
+ setNavigationMode(mode: 'auto' | 'orbit' | 'pan'): void;
941
963
  /** Programmatic camera controls for native/custom picker chrome. */
942
964
  zoomIn(): void;
943
965
  zoomOut(): void;
@@ -965,6 +987,13 @@ interface Venue3DHandle {
965
987
  /** The current view as a JPEG data URL, longest edge at most `maxEdge` px
966
988
  * (default 1280); null when the GPU context is gone. */
967
989
  captureImage(maxEdge?: number): string | null;
990
+ /**
991
+ * The view from a seat, as a 16:9 JPEG data URL `width` px wide, rendered
992
+ * from the pose its seat view arrives at, for a seat card to show before the
993
+ * buyer goes there. Cached per seat; null while another camera owns the view
994
+ * (a flight, a seat view, a 360 photo) or before the scene can draw.
995
+ */
996
+ captureSeatView?(seatId: string, width?: number): string | null;
968
997
  getQualityEvidence(): Venue3DQualityEvidence;
969
998
  getQualityReport(): Venue3DQualityReport;
970
999
  loseContextForTest(): void;
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-DWx32xXH.js';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-BISNREZL.js';
3
- import { E as ExpandedSeat } from '../renderer-njHDbIqI.js';
1
+ import { P as Point, C as ChartDoc } from '../types-5AlKCD4j.js';
2
+ import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-B6aS6c-_.js';
3
+ import { E as ExpandedSeat } from '../renderer-CWbam_zr.js';
4
4
  import { S as StageKind } from '../stage-CKb7aNoH.js';
5
5
  import { SeatView } from './crossfade/panorama.js';
6
6
 
@@ -174,7 +174,7 @@ interface Theme3D {
174
174
  * unreadable confetti.
175
175
  */
176
176
 
177
- type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat';
177
+ type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'gate' | 'annotation' | 'booth' | 'row' | 'seat' | 'access';
178
178
  interface SceneLabel {
179
179
  id: string;
180
180
  kind: LabelKind;
@@ -193,6 +193,18 @@ interface SceneLabel {
193
193
  pinBase?: [number, number, number];
194
194
  /** A seat label's row, so the row under the pointer can show its numbers. */
195
195
  rowId?: string;
196
+ /** An `access` label's pictogram (a seat-type icon key, e.g. `wheelchair`). */
197
+ icon?: string;
198
+ /** Icon ink on an `access` chip; white when absent. */
199
+ ink?: string;
200
+ /**
201
+ * A section tag's category colour (the one most of its seats sell in), so
202
+ * the tag reads as its price band before it is read, as on seats.io's
203
+ * stadium (owner comparison, 2026-09-25).
204
+ */
205
+ tint?: string;
206
+ /** A section tag's wheelchair places, as seat instance indices, for its free-count badge. */
207
+ wheelchairSeats?: number[];
196
208
  }
197
209
 
198
210
  /**
@@ -811,6 +823,16 @@ interface Venue3DOptions {
811
823
  * The host can explain held/sold/filter state without turning inspection into
812
824
  * selection or briefly painting the unavailable seat as the buyer's choice. */
813
825
  onSeatInspect?: (seatId: string, state: SeatState3D) => void;
826
+ /**
827
+ * The seat under a MOUSE inside the section the buyer entered, with the
828
+ * cursor in the 3D container's pixels; null when it leaves the seats. A
829
+ * host shows its hover card here, as the 2D map does (owner, 2026-09-25).
830
+ * Never called for touch or pen: a finger has no hover.
831
+ */
832
+ onSeatHover?: (seatId: string | null, point: {
833
+ x: number;
834
+ y: number;
835
+ } | null) => void;
814
836
  /** Overview → section drill state. A stand tap reports its owning section;
815
837
  * Overview reports null so host navigation can stay in sync. */
816
838
  onSectionFocusChange?: (sectionId: string | null) => void;
@@ -937,7 +959,7 @@ interface Venue3DHandle {
937
959
  /** Select what a one-finger / primary-pointer drag controls. Touch buyers can
938
960
  * still use two fingers to move in either mode; this exists so native SDKs
939
961
  * can expose the same explicit Rotate / Move controls as the web picker. */
940
- setNavigationMode(mode: 'orbit' | 'pan'): void;
962
+ setNavigationMode(mode: 'auto' | 'orbit' | 'pan'): void;
941
963
  /** Programmatic camera controls for native/custom picker chrome. */
942
964
  zoomIn(): void;
943
965
  zoomOut(): void;
@@ -965,6 +987,13 @@ interface Venue3DHandle {
965
987
  /** The current view as a JPEG data URL, longest edge at most `maxEdge` px
966
988
  * (default 1280); null when the GPU context is gone. */
967
989
  captureImage(maxEdge?: number): string | null;
990
+ /**
991
+ * The view from a seat, as a 16:9 JPEG data URL `width` px wide, rendered
992
+ * from the pose its seat view arrives at, for a seat card to show before the
993
+ * buyer goes there. Cached per seat; null while another camera owns the view
994
+ * (a flight, a seat view, a 360 photo) or before the scene can draw.
995
+ */
996
+ captureSeatView?(seatId: string, width?: number): string | null;
968
997
  getQualityEvidence(): Venue3DQualityEvidence;
969
998
  getQualityReport(): Venue3DQualityReport;
970
999
  loseContextForTest(): void;