@seatlayer/core 0.100.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 +14 -14
  32. package/dist/index.d.ts +14 -14
  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-BZycehrC.d.cts → renderedQuality--H0toc-2.d.cts} +1 -1
  37. package/dist/{renderedQuality-DPElQ3-x.d.ts → renderedQuality-Bo4k99GE.d.ts} +1 -1
  38. package/dist/{renderer-DnsIDiWN.d.cts → renderer-BPhSZUGh.d.cts} +5 -3
  39. package/dist/{renderer-DPKIlnuF.d.ts → renderer-CWbam_zr.d.ts} +5 -3
  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-0PwrOWi5.d.ts → tableSizing-ClgbhNks.d.ts} +3 -3
  47. package/dist/{tableSizing-x8ADFtKS.d.cts → tableSizing-Cp5T_6Lw.d.cts} +3 -3
  48. package/dist/{ticketRestrictions-O-fv0Os6.d.cts → ticketRestrictions-BHNbxzFT.d.cts} +2 -2
  49. package/dist/{ticketRestrictions-C8H-XJha.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 +102 -60
  55. package/dist/view3d/index.d.cts +20 -5
  56. package/dist/view3d/index.d.ts +20 -5
  57. package/dist/view3d/index.js +100 -58
  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-COOPHSHM.js +0 -1
  62. package/dist/chunk-QJXSZT3H.js +0 -1
@@ -1,4 +1,4 @@
1
- import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-DWx32xXH.cjs';
1
+ import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-5AlKCD4j.cjs';
2
2
 
3
3
  declare function sectionPathSegmentEnd(segment: SectionPathSegment): Point;
4
4
  /** Validate finite, continuous closed-path geometry without trusting renderer
@@ -1,4 +1,4 @@
1
- import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-DWx32xXH.js';
1
+ import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-5AlKCD4j.js';
2
2
 
3
3
  declare function sectionPathSegmentEnd(segment: SectionPathSegment): Point;
4
4
  /** Validate finite, continuous closed-path geometry without trusting renderer
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-DnsIDiWN.cjs';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-BPhSZUGh.cjs';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-DPKIlnuF.js';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-CWbam_zr.js';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { P as Point, A as AccessibilityType, b as SeatCommercialAttributes, c as SeatViewMetadata, d as ResolvedSeatConfidenceEvidence, L as LabelStyle, e as SeatGlyphKind, C as ChartDoc, F as FloorLabelStyle } from './types-DWx32xXH.cjs';
1
+ import { P as Point, A as AccessibilityType, b as SeatCommercialAttributes, c as SeatViewMetadata, d as ResolvedSeatConfidenceEvidence, L as LabelStyle, e as SeatGlyphKind, C as ChartDoc, F as FloorLabelStyle } from './types-5AlKCD4j.cjs';
2
2
 
3
3
  interface ExpandedSeat {
4
4
  /** Stable id: `${rowId}:${index}` */
@@ -812,12 +812,14 @@ interface ISeatmapRenderer {
812
812
  /**
813
813
  * Show the map's hover card for a seat another view has under its mouse (the
814
814
  * 3D view, drawn over the map), inside `over` at `at` (its pixels); a null
815
- * seat takes the card down. Optional: a renderer without a card omits it.
815
+ * seat takes the card down. `view` is an image URL of the view from that
816
+ * seat, shown across the card's top once the presenting view has one.
817
+ * Optional: a renderer without a card omits it.
816
818
  */
817
819
  presentSeatHover?(seatId: string | null, at: {
818
820
  x: number;
819
821
  y: number;
820
- } | null, over: object): void;
822
+ } | null, over: object, view?: string | null): void;
821
823
  /**
822
824
  * Phase 2 event-level section states: mark these section/zone ids `closed` —
823
825
  * flat grey block, seats greyed + not pickable, section stays rendered.
@@ -1,4 +1,4 @@
1
- import { P as Point, A as AccessibilityType, b as SeatCommercialAttributes, c as SeatViewMetadata, d as ResolvedSeatConfidenceEvidence, L as LabelStyle, e as SeatGlyphKind, C as ChartDoc, F as FloorLabelStyle } from './types-DWx32xXH.js';
1
+ import { P as Point, A as AccessibilityType, b as SeatCommercialAttributes, c as SeatViewMetadata, d as ResolvedSeatConfidenceEvidence, L as LabelStyle, e as SeatGlyphKind, C as ChartDoc, F as FloorLabelStyle } from './types-5AlKCD4j.js';
2
2
 
3
3
  interface ExpandedSeat {
4
4
  /** Stable id: `${rowId}:${index}` */
@@ -812,12 +812,14 @@ interface ISeatmapRenderer {
812
812
  /**
813
813
  * Show the map's hover card for a seat another view has under its mouse (the
814
814
  * 3D view, drawn over the map), inside `over` at `at` (its pixels); a null
815
- * seat takes the card down. Optional: a renderer without a card omits it.
815
+ * seat takes the card down. `view` is an image URL of the view from that
816
+ * seat, shown across the card's top once the presenting view has one.
817
+ * Optional: a renderer without a card omits it.
816
818
  */
817
819
  presentSeatHover?(seatId: string | null, at: {
818
820
  x: number;
819
821
  y: number;
820
- } | null, over: object): void;
822
+ } | null, over: object, view?: string | null): void;
821
823
  /**
822
824
  * Phase 2 event-level section states: mark these section/zone ids `closed` —
823
825
  * flat grey block, seats greyed + not pickable, section stays rendered.
@@ -1,4 +1,4 @@
1
- import { A as AccessibilityType, S as SeatCommercialMark } from './types-DWx32xXH.cjs';
1
+ import { A as AccessibilityType, S as SeatCommercialMark } from './types-5AlKCD4j.cjs';
2
2
 
3
3
  /**
4
4
  * ONE icon set for per-seat attributes, shared by every surface that names one.
@@ -1,4 +1,4 @@
1
- import { A as AccessibilityType, S as SeatCommercialMark } from './types-DWx32xXH.js';
1
+ import { A as AccessibilityType, S as SeatCommercialMark } from './types-5AlKCD4j.js';
2
2
 
3
3
  /**
4
4
  * ONE icon set for per-seat attributes, shared by every surface that names one.
@@ -1,4 +1,4 @@
1
- import { i as SectionObject, C as ChartDoc } from './types-DWx32xXH.cjs';
1
+ import { i as SectionObject, C as ChartDoc } from './types-5AlKCD4j.cjs';
2
2
 
3
3
  /**
4
4
  * Real-world scale primitives — the ONE place the app fixes chart-unit ↔ metre ↔
@@ -1,4 +1,4 @@
1
- import { i as SectionObject, C as ChartDoc } from './types-DWx32xXH.js';
1
+ import { i as SectionObject, C as ChartDoc } from './types-5AlKCD4j.js';
2
2
 
3
3
  /**
4
4
  * Real-world scale primitives — the ONE place the app fixes chart-unit ↔ metre ↔
@@ -1,4 +1,4 @@
1
- import { P as Point, R as RowObject, a as ChartObject } from './types-DWx32xXH.cjs';
1
+ import { P as Point, R as RowObject, a as ChartObject } from './types-5AlKCD4j.cjs';
2
2
 
3
3
  /**
4
4
  * The segmented-row model — one logical row made of several physical rows.
@@ -1,4 +1,4 @@
1
- import { P as Point, R as RowObject, a as ChartObject } from './types-DWx32xXH.js';
1
+ import { P as Point, R as RowObject, a as ChartObject } from './types-5AlKCD4j.js';
2
2
 
3
3
  /**
4
4
  * The segmented-row model — one logical row made of several physical rows.
@@ -1,6 +1,6 @@
1
- import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-DWx32xXH.js';
2
- import { S as SegmentedRowPlacement } from './segmentedRowModel-I8eYUQft.js';
3
- import { E as ExpandedSeat } from './renderer-DPKIlnuF.js';
1
+ import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-5AlKCD4j.js';
2
+ import { S as SegmentedRowPlacement } from './segmentedRowModel-DQO0vHR1.js';
3
+ import { E as ExpandedSeat } from './renderer-CWbam_zr.js';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -1,6 +1,6 @@
1
- import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-DWx32xXH.cjs';
2
- import { S as SegmentedRowPlacement } from './segmentedRowModel-CDvvJJ4-.cjs';
3
- import { E as ExpandedSeat } from './renderer-DnsIDiWN.cjs';
1
+ import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-5AlKCD4j.cjs';
2
+ import { S as SegmentedRowPlacement } from './segmentedRowModel-CZ0Ciea-.cjs';
3
+ import { E as ExpandedSeat } from './renderer-BPhSZUGh.cjs';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -1,5 +1,5 @@
1
- import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-DWx32xXH.cjs';
2
- import { E as ExpandedSeat } from './renderer-DnsIDiWN.cjs';
1
+ import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-5AlKCD4j.cjs';
2
+ import { E as ExpandedSeat } from './renderer-BPhSZUGh.cjs';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can
@@ -1,5 +1,5 @@
1
- import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-DWx32xXH.js';
2
- import { E as ExpandedSeat } from './renderer-DPKIlnuF.js';
1
+ import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-5AlKCD4j.js';
2
+ import { E as ExpandedSeat } from './renderer-CWbam_zr.js';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can
@@ -72,6 +72,18 @@ interface ReferenceScanRowProposal {
72
72
  start: Point;
73
73
  end: Point;
74
74
  seatCount: number;
75
+ /**
76
+ * Measured seat centres in row order, chart units. Present when the reader
77
+ * found each printed seat (the section seat-mark reader); the row then follows
78
+ * the plan's own curve instead of the start-end chord. `seats.length` equals
79
+ * `seatCount`.
80
+ */
81
+ seats?: Point[];
82
+ /** The seats are chairs around this printed table top (chart units). */
83
+ table?: {
84
+ center: Point;
85
+ radius: number;
86
+ };
75
87
  /** Browser-only reviewed direct-seat identity. Server scans never set this;
76
88
  * chartOps still validates and collision-allocates it before materializing. */
77
89
  rowLabel?: string;
@@ -1486,6 +1498,11 @@ interface TableObject extends AuthoringObjectState {
1486
1498
  minOccupancy?: number;
1487
1499
  maxOccupancy?: number;
1488
1500
  referenceInventorySource?: ReferenceInventorySource;
1501
+ /** Created by a reference-plan seat scan: a re-scan of the same section may replace it. */
1502
+ referenceScan?: {
1503
+ assetId: string;
1504
+ sectionId?: string;
1505
+ };
1489
1506
  }
1490
1507
  /** A booth: one bookable unit rendered as a block (trade shows, VIP boxes). */
1491
1508
  interface BoothObject extends AuthoringObjectState {
@@ -72,6 +72,18 @@ interface ReferenceScanRowProposal {
72
72
  start: Point;
73
73
  end: Point;
74
74
  seatCount: number;
75
+ /**
76
+ * Measured seat centres in row order, chart units. Present when the reader
77
+ * found each printed seat (the section seat-mark reader); the row then follows
78
+ * the plan's own curve instead of the start-end chord. `seats.length` equals
79
+ * `seatCount`.
80
+ */
81
+ seats?: Point[];
82
+ /** The seats are chairs around this printed table top (chart units). */
83
+ table?: {
84
+ center: Point;
85
+ radius: number;
86
+ };
75
87
  /** Browser-only reviewed direct-seat identity. Server scans never set this;
76
88
  * chartOps still validates and collision-allocates it before materializing. */
77
89
  rowLabel?: string;
@@ -1486,6 +1498,11 @@ interface TableObject extends AuthoringObjectState {
1486
1498
  minOccupancy?: number;
1487
1499
  maxOccupancy?: number;
1488
1500
  referenceInventorySource?: ReferenceInventorySource;
1501
+ /** Created by a reference-plan seat scan: a re-scan of the same section may replace it. */
1502
+ referenceScan?: {
1503
+ assetId: string;
1504
+ sectionId?: string;
1505
+ };
1489
1506
  }
1490
1507
  /** A booth: one bookable unit rendered as a block (trade shows, VIP boxes). */
1491
1508
  interface BoothObject extends AuthoringObjectState {
@@ -1,4 +1,4 @@
1
- import { f as SeatViewCoverage } from '../../types-DWx32xXH.cjs';
1
+ import { f as SeatViewCoverage } from '../../types-5AlKCD4j.cjs';
2
2
 
3
3
  /**
4
4
  * Slice 3 hand-off — the DOM panorama overlay the fly-to-seat cinematic
@@ -1,4 +1,4 @@
1
- import { f as SeatViewCoverage } from '../../types-DWx32xXH.js';
1
+ import { f as SeatViewCoverage } from '../../types-5AlKCD4j.js';
2
2
 
3
3
  /**
4
4
  * Slice 3 hand-off — the DOM panorama overlay the fly-to-seat cinematic