@seatlayer/core 0.67.12 → 0.67.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{categoryInventory-C3RogGHF.d.ts → categoryInventory-B1bjit6B.d.ts} +1 -1
- package/dist/{categoryInventory-DEgsjxCC.d.cts → categoryInventory-CAHGQ07K.d.cts} +1 -1
- package/dist/chunk-52MZJZMW.js +1 -0
- package/dist/chunk-5BGP7S3Q.js +1 -0
- package/dist/{chunk-F4GG7KDS.js → chunk-BV6FHURE.js} +1 -1
- package/dist/chunk-CRCGO52K.js +1 -0
- package/dist/{chunk-5S3OQBZJ.js → chunk-HZT2U5IY.js} +1 -1
- package/dist/chunk-I6DNJFRF.js +1 -0
- package/dist/chunk-IO2A6P65.js +1 -0
- package/dist/chunk-IUQZK7OA.js +1 -0
- package/dist/{chunk-VI3IZS2B.js → chunk-OBBSZUYF.js} +1 -1
- package/dist/{chunk-V7PECHME.js → chunk-QYZ3P5L6.js} +1 -1
- package/dist/{chunk-L35GJOTC.js → chunk-RMNTGICO.js} +1 -1
- package/dist/chunk-Y2J55NLS.js +1 -0
- package/dist/core/chart-ops/index.cjs +1 -1
- package/dist/core/chart-ops/index.d.cts +78 -7
- package/dist/core/chart-ops/index.d.ts +78 -7
- package/dist/core/chart-ops/index.js +1 -1
- package/dist/core/inventory/index.cjs +1 -1
- package/dist/core/inventory/index.d.cts +4 -4
- package/dist/core/inventory/index.d.ts +4 -4
- package/dist/core/inventory/index.js +1 -1
- package/dist/core/layout/index.cjs +1 -1
- package/dist/core/layout/index.d.cts +4 -4
- package/dist/core/layout/index.d.ts +4 -4
- package/dist/core/layout/index.js +1 -1
- package/dist/core/quality/index.d.cts +3 -3
- package/dist/core/quality/index.d.ts +3 -3
- package/dist/core/render-assets/index.d.cts +1 -1
- package/dist/core/render-assets/index.d.ts +1 -1
- package/dist/core/seatConfidence.cjs +1 -1
- package/dist/core/seatConfidence.d.cts +5 -3
- package/dist/core/seatConfidence.d.ts +5 -3
- package/dist/core/seatConfidence.js +1 -1
- package/dist/core/sections/index.cjs +1 -1
- package/dist/core/sections/index.d.cts +5 -5
- package/dist/core/sections/index.d.ts +5 -5
- package/dist/core/sections/index.js +1 -1
- package/dist/eventConfigurations-D66ZLfYS.d.cts +132 -0
- package/dist/eventConfigurations-IWEhHywT.d.ts +132 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +32 -11
- package/dist/index.d.ts +32 -11
- package/dist/index.js +1 -1
- package/dist/{labeling-DRFC35VK.d.cts → labeling-BCiv5l6e.d.cts} +1 -1
- package/dist/{labeling-DTHo03rf.d.ts → labeling-DO9p-xLj.d.ts} +1 -1
- package/dist/{layout-wVlsj-_w.d.cts → layout-BUz3xFCE.d.cts} +7 -3
- package/dist/{layout-BSb0-47G.d.ts → layout-DzuyZFRr.d.ts} +7 -3
- package/dist/{openPanorama-ALLZ6ADE.js → openPanorama-HGRYMWKC.js} +1 -1
- package/dist/{renderedQuality-8i9bYccr.d.cts → renderedQuality-L1g0XZ0i.d.cts} +1 -1
- package/dist/{renderedQuality-CbHiqt1W.d.ts → renderedQuality-Xaar1aMI.d.ts} +1 -1
- package/dist/{renderer-BxLV6zjl.d.ts → renderer-BQuknAQY.d.ts} +3 -1
- package/dist/{renderer-DOVelTZw.d.cts → renderer-DyVuc7SF.d.cts} +3 -1
- package/dist/{sections-D2bxgVgg.d.cts → sections-CkMXEJEf.d.cts} +1 -1
- package/dist/{sections-BrQV1WzI.d.ts → sections-j5aC-O5u.d.ts} +1 -1
- package/dist/{segmentedRowModel-Cl3X8SKt.d.ts → segmentedRowModel-CLLfsLFG.d.ts} +1 -1
- package/dist/{segmentedRowModel-BQYSdf7k.d.cts → segmentedRowModel-DhcYIheF.d.cts} +1 -1
- package/dist/{ticketRestrictions-D0GRRQ3i.d.cts → ticketRestrictions-AgAcdcYP.d.cts} +2 -2
- package/dist/{ticketRestrictions-SteRFSGg.d.ts → ticketRestrictions-BJVsVMnP.d.ts} +2 -2
- package/dist/{types-DmgX-iuD.d.cts → types-BKw6Dn_O.d.cts} +49 -3
- package/dist/{types-DmgX-iuD.d.ts → types-BKw6Dn_O.d.ts} +49 -3
- package/dist/view/panoramaDelivery.cjs +1 -1
- package/dist/view/panoramaDelivery.d.cts +5 -0
- package/dist/view/panoramaDelivery.d.ts +5 -0
- package/dist/view/panoramaDelivery.js +1 -1
- package/dist/view3d/crossfade/panorama.cjs +1 -1
- package/dist/view3d/crossfade/panorama.d.cts +7 -1
- package/dist/view3d/crossfade/panorama.d.ts +7 -1
- package/dist/view3d/crossfade/panorama.js +1 -1
- package/dist/view3d/index.cjs +52 -33
- package/dist/view3d/index.d.cts +39 -2
- package/dist/view3d/index.d.ts +39 -2
- package/dist/view3d/index.js +50 -31
- package/package.json +1 -1
- package/dist/chunk-EQM4FFN5.js +0 -1
- package/dist/chunk-IJI4WU57.js +0 -1
- package/dist/chunk-TTTRXXAA.js +0 -1
- package/dist/chunk-XHXBFFWR.js +0 -1
- package/dist/chunk-XPPT3OGQ.js +0 -1
package/dist/view3d/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { C as ChartDoc } from '../types-
|
|
2
|
-
import {
|
|
1
|
+
import { C as ChartDoc } from '../types-BKw6Dn_O.cjs';
|
|
2
|
+
import { p as EventConfigurationProductionElementKind, j as EventConfigurationOcclusion, a as EventConfigurationVersion } from '../eventConfigurations-D66ZLfYS.cjs';
|
|
3
|
+
import { E as ExpandedSeat } from '../renderer-DyVuc7SF.cjs';
|
|
3
4
|
import { SeatView } from './crossfade/panorama.cjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -79,6 +80,11 @@ interface Theme3D {
|
|
|
79
80
|
seatStates: Record<SeatState3D, RGB>;
|
|
80
81
|
/** Multiplier on the seat dot's world radius. */
|
|
81
82
|
seatScale: number;
|
|
83
|
+
materials: {
|
|
84
|
+
seat: RGB | null;
|
|
85
|
+
shell: RGB | null;
|
|
86
|
+
roughness: number;
|
|
87
|
+
};
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
/**
|
|
@@ -249,6 +255,24 @@ interface StageBounds {
|
|
|
249
255
|
halfX: number;
|
|
250
256
|
halfZ: number;
|
|
251
257
|
}
|
|
258
|
+
/** Event-specific semantics resolved onto base-chart geometry in world metres. */
|
|
259
|
+
interface SceneProductionElement {
|
|
260
|
+
id: string;
|
|
261
|
+
objectId: string;
|
|
262
|
+
kind: EventConfigurationProductionElementKind;
|
|
263
|
+
floorIndex: number;
|
|
264
|
+
baseY: number;
|
|
265
|
+
topY: number;
|
|
266
|
+
bounds: {
|
|
267
|
+
min: [number, number, number];
|
|
268
|
+
max: [number, number, number];
|
|
269
|
+
};
|
|
270
|
+
/** Retained as typed evidence only; item 5 owns visibility classification. */
|
|
271
|
+
occlusion: EventConfigurationOcclusion;
|
|
272
|
+
contentImageUrl?: string;
|
|
273
|
+
/** Four world-space corners (bottom-left, bottom-right, top-left, top-right). */
|
|
274
|
+
contentPlane?: [number, number, number][];
|
|
275
|
+
}
|
|
252
276
|
/**
|
|
253
277
|
* A navigable zone — the venue's own top-level grouping (Orchestra, Lower Bowl,
|
|
254
278
|
* Hall A), resolved for camera framing and for the section/zone LOD rung.
|
|
@@ -363,6 +387,8 @@ interface SceneModel {
|
|
|
363
387
|
* the hard part, the technique was.
|
|
364
388
|
*/
|
|
365
389
|
stages: StageBounds[];
|
|
390
|
+
/** Configuration geometry compiled for rendering; no visibility verdicts. */
|
|
391
|
+
productionElements: SceneProductionElement[];
|
|
366
392
|
/** Seated sections, in authored order — the navigable middle rung. */
|
|
367
393
|
sections: SceneSection[];
|
|
368
394
|
/** Rows used by the Section → Row → Seat locator. */
|
|
@@ -387,6 +413,10 @@ interface SceneModelInput {
|
|
|
387
413
|
seats: ExpandedSeat[];
|
|
388
414
|
/** Overrides the chart's active layout without mutating its authored data. */
|
|
389
415
|
eventConfigurationId?: string;
|
|
416
|
+
/** Retained at this lazy boundary for production overlay compilation. */
|
|
417
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
418
|
+
/** Validated, self-contained registered shell GLB bytes, loaded only on 3D entry. */
|
|
419
|
+
registeredShellGlb?: ArrayBuffer;
|
|
390
420
|
/** Optional initial per-seat state (default all available). */
|
|
391
421
|
initialState?: (seat: ExpandedSeat) => SeatState3D;
|
|
392
422
|
}
|
|
@@ -451,6 +481,9 @@ interface PrepareVenue3DInput {
|
|
|
451
481
|
doc: ChartDoc;
|
|
452
482
|
seats: ExpandedSeat[];
|
|
453
483
|
eventConfigurationId?: string;
|
|
484
|
+
/** Exact content delivered only with the lazy 3D request. */
|
|
485
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
486
|
+
registeredShellGlb?: ArrayBuffer;
|
|
454
487
|
}
|
|
455
488
|
/**
|
|
456
489
|
* Build the CPU-heavy merged mesh and seat buffers off the UI thread. Worker
|
|
@@ -586,6 +619,10 @@ interface Venue3DInput {
|
|
|
586
619
|
doc: ChartDoc;
|
|
587
620
|
/** Expanded seats (from `expandChart`) — carry x/y + resolved eyeHeightM. */
|
|
588
621
|
seats: ExpandedSeat[];
|
|
622
|
+
eventConfigurationId?: string;
|
|
623
|
+
/** Exact premium content; interpreted only inside the lazy 3D boundary. */
|
|
624
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
625
|
+
registeredShellGlb?: ArrayBuffer;
|
|
589
626
|
/** Optional initial per-seat state (default all available). */
|
|
590
627
|
initialState?: (seat: ExpandedSeat) => SeatState3D;
|
|
591
628
|
/** CPU scene prepared by `prepareVenue3D`; avoids rebuilding on mount. */
|
package/dist/view3d/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { C as ChartDoc } from '../types-
|
|
2
|
-
import {
|
|
1
|
+
import { C as ChartDoc } from '../types-BKw6Dn_O.js';
|
|
2
|
+
import { p as EventConfigurationProductionElementKind, j as EventConfigurationOcclusion, a as EventConfigurationVersion } from '../eventConfigurations-IWEhHywT.js';
|
|
3
|
+
import { E as ExpandedSeat } from '../renderer-BQuknAQY.js';
|
|
3
4
|
import { SeatView } from './crossfade/panorama.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -79,6 +80,11 @@ interface Theme3D {
|
|
|
79
80
|
seatStates: Record<SeatState3D, RGB>;
|
|
80
81
|
/** Multiplier on the seat dot's world radius. */
|
|
81
82
|
seatScale: number;
|
|
83
|
+
materials: {
|
|
84
|
+
seat: RGB | null;
|
|
85
|
+
shell: RGB | null;
|
|
86
|
+
roughness: number;
|
|
87
|
+
};
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
/**
|
|
@@ -249,6 +255,24 @@ interface StageBounds {
|
|
|
249
255
|
halfX: number;
|
|
250
256
|
halfZ: number;
|
|
251
257
|
}
|
|
258
|
+
/** Event-specific semantics resolved onto base-chart geometry in world metres. */
|
|
259
|
+
interface SceneProductionElement {
|
|
260
|
+
id: string;
|
|
261
|
+
objectId: string;
|
|
262
|
+
kind: EventConfigurationProductionElementKind;
|
|
263
|
+
floorIndex: number;
|
|
264
|
+
baseY: number;
|
|
265
|
+
topY: number;
|
|
266
|
+
bounds: {
|
|
267
|
+
min: [number, number, number];
|
|
268
|
+
max: [number, number, number];
|
|
269
|
+
};
|
|
270
|
+
/** Retained as typed evidence only; item 5 owns visibility classification. */
|
|
271
|
+
occlusion: EventConfigurationOcclusion;
|
|
272
|
+
contentImageUrl?: string;
|
|
273
|
+
/** Four world-space corners (bottom-left, bottom-right, top-left, top-right). */
|
|
274
|
+
contentPlane?: [number, number, number][];
|
|
275
|
+
}
|
|
252
276
|
/**
|
|
253
277
|
* A navigable zone — the venue's own top-level grouping (Orchestra, Lower Bowl,
|
|
254
278
|
* Hall A), resolved for camera framing and for the section/zone LOD rung.
|
|
@@ -363,6 +387,8 @@ interface SceneModel {
|
|
|
363
387
|
* the hard part, the technique was.
|
|
364
388
|
*/
|
|
365
389
|
stages: StageBounds[];
|
|
390
|
+
/** Configuration geometry compiled for rendering; no visibility verdicts. */
|
|
391
|
+
productionElements: SceneProductionElement[];
|
|
366
392
|
/** Seated sections, in authored order — the navigable middle rung. */
|
|
367
393
|
sections: SceneSection[];
|
|
368
394
|
/** Rows used by the Section → Row → Seat locator. */
|
|
@@ -387,6 +413,10 @@ interface SceneModelInput {
|
|
|
387
413
|
seats: ExpandedSeat[];
|
|
388
414
|
/** Overrides the chart's active layout without mutating its authored data. */
|
|
389
415
|
eventConfigurationId?: string;
|
|
416
|
+
/** Retained at this lazy boundary for production overlay compilation. */
|
|
417
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
418
|
+
/** Validated, self-contained registered shell GLB bytes, loaded only on 3D entry. */
|
|
419
|
+
registeredShellGlb?: ArrayBuffer;
|
|
390
420
|
/** Optional initial per-seat state (default all available). */
|
|
391
421
|
initialState?: (seat: ExpandedSeat) => SeatState3D;
|
|
392
422
|
}
|
|
@@ -451,6 +481,9 @@ interface PrepareVenue3DInput {
|
|
|
451
481
|
doc: ChartDoc;
|
|
452
482
|
seats: ExpandedSeat[];
|
|
453
483
|
eventConfigurationId?: string;
|
|
484
|
+
/** Exact content delivered only with the lazy 3D request. */
|
|
485
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
486
|
+
registeredShellGlb?: ArrayBuffer;
|
|
454
487
|
}
|
|
455
488
|
/**
|
|
456
489
|
* Build the CPU-heavy merged mesh and seat buffers off the UI thread. Worker
|
|
@@ -586,6 +619,10 @@ interface Venue3DInput {
|
|
|
586
619
|
doc: ChartDoc;
|
|
587
620
|
/** Expanded seats (from `expandChart`) — carry x/y + resolved eyeHeightM. */
|
|
588
621
|
seats: ExpandedSeat[];
|
|
622
|
+
eventConfigurationId?: string;
|
|
623
|
+
/** Exact premium content; interpreted only inside the lazy 3D boundary. */
|
|
624
|
+
eventConfiguration?: EventConfigurationVersion;
|
|
625
|
+
registeredShellGlb?: ArrayBuffer;
|
|
589
626
|
/** Optional initial per-seat state (default all available). */
|
|
590
627
|
initialState?: (seat: ExpandedSeat) => SeatState3D;
|
|
591
628
|
/** CPU scene prepared by `prepareVenue3D`; avoids rebuilding on mount. */
|