@seatlayer/core 0.89.2 → 0.90.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 (45) hide show
  1. package/dist/{chunk-A4GTB3SG.js → chunk-52CBK5HX.js} +1 -1
  2. package/dist/{chunk-R7TV7RYQ.js → chunk-77QFA3F4.js} +1 -1
  3. package/dist/{chunk-FVTW2IBN.js → chunk-EH47GKSO.js} +1 -1
  4. package/dist/{chunk-PMBS3VZM.js → chunk-FMPQZEXD.js} +1 -1
  5. package/dist/{chunk-66Q5LOBH.js → chunk-GISLORLL.js} +1 -1
  6. package/dist/{chunk-BCMCXHLH.js → chunk-K4TZQOTG.js} +1 -1
  7. package/dist/{chunk-WAGKI44J.js → chunk-OYKT5CCU.js} +1 -1
  8. package/dist/chunk-W4RS6OW7.js +1 -0
  9. package/dist/{chunk-PI3UH2EN.js → chunk-YAWJTFYK.js} +1 -1
  10. package/dist/core/chart-ops/index.cjs +1 -1
  11. package/dist/core/chart-ops/index.js +1 -1
  12. package/dist/core/inventory/index.cjs +1 -1
  13. package/dist/core/inventory/index.d.cts +2 -2
  14. package/dist/core/inventory/index.d.ts +2 -2
  15. package/dist/core/inventory/index.js +1 -1
  16. package/dist/core/layout/index.cjs +1 -1
  17. package/dist/core/layout/index.d.cts +2 -2
  18. package/dist/core/layout/index.d.ts +2 -2
  19. package/dist/core/layout/index.js +1 -1
  20. package/dist/core/quality/index.d.cts +2 -2
  21. package/dist/core/quality/index.d.ts +2 -2
  22. package/dist/core/sections/index.cjs +1 -1
  23. package/dist/core/sections/index.d.cts +1 -1
  24. package/dist/core/sections/index.d.ts +1 -1
  25. package/dist/core/sections/index.js +1 -1
  26. package/dist/index.cjs +1 -1
  27. package/dist/index.d.cts +18 -8
  28. package/dist/index.d.ts +18 -8
  29. package/dist/index.js +1 -1
  30. package/dist/{renderedQuality-CrlBXHzi.d.ts → renderedQuality-CHm4mIjB.d.ts} +1 -1
  31. package/dist/{renderedQuality-CeSE6pEM.d.cts → renderedQuality-x1_lUJYV.d.cts} +1 -1
  32. package/dist/{renderer-B1mEhbA7.d.cts → renderer-DLTYfHV2.d.cts} +6 -2
  33. package/dist/{renderer-BwZhXv8G.d.ts → renderer-DN1yCX7-.d.ts} +6 -2
  34. package/dist/{tableSizing-wnW3HNga.d.cts → tableSizing-f-hh6kCg.d.cts} +2 -2
  35. package/dist/{tableSizing-DyS3UAha.d.ts → tableSizing-oDI0D8c2.d.ts} +2 -2
  36. package/dist/{ticketRestrictions-DuYWl2uy.d.ts → ticketRestrictions-BXtFOUqJ.d.ts} +1 -1
  37. package/dist/{ticketRestrictions-BTTN-LzH.d.cts → ticketRestrictions-Bc08-Hip.d.cts} +1 -1
  38. package/dist/view3d/index.cjs +12 -12
  39. package/dist/view3d/index.d.cts +1 -1
  40. package/dist/view3d/index.d.ts +1 -1
  41. package/dist/view3d/index.js +1 -1
  42. package/dist/view3d/scene/scene.worker.cjs +1 -1
  43. package/dist/view3d/scene/scene.worker.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/chunk-E7TOTX6I.js +0 -1
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-BwZhXv8G.js';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-DN1yCX7-.js';
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-B1mEhbA7.cjs';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-DLTYfHV2.cjs';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  /**
@@ -180,8 +180,11 @@ interface RendererOptions extends RendererCallbacks {
180
180
  * latency to something already instant.
181
181
  *
182
182
  * 'plain' keeps the single synchronous build. Export mode always does.
183
+ * 'viewport' is experimental: flat sectioned charts build visible seat
184
+ * graphics on demand and retain a small warm cache. Full-scene export and
185
+ * projection changes finish all nodes. It does not emit onSeatsRevealed.
183
186
  */
184
- loadingReveal?: 'progressive' | 'plain';
187
+ loadingReveal?: 'progressive' | 'plain' | 'viewport';
185
188
  /** Every seat of a progressively revealed chart is now on screen. Fires once
186
189
  * per chart, and not at all when the scene was built in one step. */
187
190
  onSeatsRevealed?: () => void;
@@ -539,7 +542,8 @@ interface ISeatmapRenderer {
539
542
  */
540
543
  flashSection?(sectionId: string, color?: string): void;
541
544
  zoomToFit(): void;
542
- /** True until progressive seat construction and its final camera fit finish. */
545
+ /** Progressive mode: full construction/final fit pending. Viewport mode:
546
+ * current requested seat graphics pending; false does not mean all seats exist. */
543
547
  isSeatRevealPending?(): boolean;
544
548
  /**
545
549
  * Screen-space padding, in CSS px, that the HOST's own chrome covers.
@@ -180,8 +180,11 @@ interface RendererOptions extends RendererCallbacks {
180
180
  * latency to something already instant.
181
181
  *
182
182
  * 'plain' keeps the single synchronous build. Export mode always does.
183
+ * 'viewport' is experimental: flat sectioned charts build visible seat
184
+ * graphics on demand and retain a small warm cache. Full-scene export and
185
+ * projection changes finish all nodes. It does not emit onSeatsRevealed.
183
186
  */
184
- loadingReveal?: 'progressive' | 'plain';
187
+ loadingReveal?: 'progressive' | 'plain' | 'viewport';
185
188
  /** Every seat of a progressively revealed chart is now on screen. Fires once
186
189
  * per chart, and not at all when the scene was built in one step. */
187
190
  onSeatsRevealed?: () => void;
@@ -539,7 +542,8 @@ interface ISeatmapRenderer {
539
542
  */
540
543
  flashSection?(sectionId: string, color?: string): void;
541
544
  zoomToFit(): void;
542
- /** True until progressive seat construction and its final camera fit finish. */
545
+ /** Progressive mode: full construction/final fit pending. Viewport mode:
546
+ * current requested seat graphics pending; false does not mean all seats exist. */
543
547
  isSeatRevealPending?(): boolean;
544
548
  /**
545
549
  * Screen-space padding, in CSS px, that the HOST's own chrome covers.
@@ -1,6 +1,6 @@
1
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-D91PAu7c.cjs';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-DR7Xz6mb.cjs';
3
- import { E as ExpandedSeat } from './renderer-B1mEhbA7.cjs';
3
+ import { E as ExpandedSeat } from './renderer-DLTYfHV2.cjs';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -228,7 +228,7 @@ declare function objectCenter(o: ChartObject): Point;
228
228
  * Keeping this primitive in layout lets section inventory, category painting,
229
229
  * and buyer view inheritance share one ownership decision.
230
230
  */
231
- declare function owningSectionForObject(objects: ChartObject[], object: ChartObject): SectionObject | undefined;
231
+ declare function owningSectionForObject(objects: ChartObject[], object: ChartObject, sections?: readonly SectionObject[], center?: Point): SectionObject | undefined;
232
232
  /**
233
233
  * Normalized floor list (Batch 5): a multi-floor chart's `floors`, or a synthetic
234
234
  * single floor wrapping a single-floor chart's `objects`. Every consumer that needs
@@ -1,6 +1,6 @@
1
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-D91PAu7c.js';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-CfVeZaOw.js';
3
- import { E as ExpandedSeat } from './renderer-BwZhXv8G.js';
3
+ import { E as ExpandedSeat } from './renderer-DN1yCX7-.js';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -228,7 +228,7 @@ declare function objectCenter(o: ChartObject): Point;
228
228
  * Keeping this primitive in layout lets section inventory, category painting,
229
229
  * and buyer view inheritance share one ownership decision.
230
230
  */
231
- declare function owningSectionForObject(objects: ChartObject[], object: ChartObject): SectionObject | undefined;
231
+ declare function owningSectionForObject(objects: ChartObject[], object: ChartObject, sections?: readonly SectionObject[], center?: Point): SectionObject | undefined;
232
232
  /**
233
233
  * Normalized floor list (Batch 5): a multi-floor chart's `floors`, or a synthetic
234
234
  * single floor wrapping a single-floor chart's `objects`. Every consumer that needs
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, t as GAInventorySegment, u as CategoryTier } from './types-D91PAu7c.js';
2
- import { E as ExpandedSeat } from './renderer-BwZhXv8G.js';
2
+ import { E as ExpandedSeat } from './renderer-DN1yCX7-.js';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, t as GAInventorySegment, u as CategoryTier } from './types-D91PAu7c.cjs';
2
- import { E as ExpandedSeat } from './renderer-B1mEhbA7.cjs';
2
+ import { E as ExpandedSeat } from './renderer-DLTYfHV2.cjs';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can