@seatlayer/core 0.98.0 → 0.100.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/dist/{categoryInventory-4XH7dMDH.d.ts → categoryInventory-DdJdJ4Og.d.ts} +1 -1
- package/dist/{categoryInventory-C-bfH2av.d.cts → categoryInventory-DuOez0-4.d.cts} +1 -1
- package/dist/{chunk-M5VINTGE.js → chunk-23OTKCJU.js} +1 -1
- package/dist/chunk-COOPHSHM.js +1 -0
- package/dist/{chunk-CUACREZL.js → chunk-CTIGUXXK.js} +1 -1
- package/dist/{chunk-P4C24CIZ.js → chunk-D723OZEY.js} +1 -1
- package/dist/chunk-FYJJSWEM.js +1 -0
- package/dist/chunk-GLGXP5I7.js +1 -0
- package/dist/{chunk-FLMKHAUT.js → chunk-HO4MFTVX.js} +1 -1
- package/dist/chunk-HYEZPOZU.js +1 -0
- package/dist/{chunk-YPESNMTC.js → chunk-KFVUBZMK.js} +1 -1
- package/dist/{chunk-OLGPAFXW.js → chunk-L34T3APU.js} +1 -1
- package/dist/{chunk-IW7QZIMF.js → chunk-N4J4CT6P.js} +1 -1
- package/dist/{chunk-2P72QUJR.js → chunk-UIMDB6GZ.js} +1 -1
- package/dist/chunk-UISTXRO5.js +1 -0
- package/dist/{chunk-ASIIXY5M.js → chunk-VWT44HBR.js} +1 -1
- package/dist/core/chart-ops/index.cjs +1 -1
- package/dist/core/chart-ops/index.d.cts +6 -4
- package/dist/core/chart-ops/index.d.ts +6 -4
- 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 +5 -5
- package/dist/core/layout/index.d.ts +5 -5
- 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/quality/index.js +1 -1
- package/dist/core/render-assets/index.d.cts +2 -2
- package/dist/core/render-assets/index.d.ts +2 -2
- package/dist/core/seatConfidence.d.cts +1 -1
- package/dist/core/seatConfidence.d.ts +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-BEyHDxBT.d.ts → eventConfigurations-BISNREZL.d.ts} +1 -1
- package/dist/{eventConfigurations-BE0rFmbQ.d.cts → eventConfigurations-DYn5XP3J.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +18 -13
- package/dist/index.d.ts +18 -13
- package/dist/index.js +1 -1
- package/dist/{labeling-HWSKKrX8.d.ts → labeling-CzuSxAkr.d.ts} +1 -1
- package/dist/{labeling-SURRJh5u.d.cts → labeling-owTTG6e0.d.cts} +1 -1
- package/dist/{openPanorama-6FMXAJ6O.js → openPanorama-VD6PE3YZ.js} +2 -2
- package/dist/{renderedQuality-QWHMvOej.d.cts → renderedQuality-BZycehrC.d.cts} +1 -1
- package/dist/{renderedQuality-CZNfpB1H.d.ts → renderedQuality-DPElQ3-x.d.ts} +1 -1
- package/dist/{renderer-CuXYGgR3.d.ts → renderer-DPKIlnuF.d.ts} +10 -1
- package/dist/{renderer-DEnthjgs.d.cts → renderer-DnsIDiWN.d.cts} +10 -1
- package/dist/{seatTypeIcons-BAyWebjw.d.cts → seatTypeIcons-QwEebl3k.d.cts} +1 -1
- package/dist/{seatTypeIcons-CqLiEH9C.d.ts → seatTypeIcons-dy3XQVWN.d.ts} +1 -1
- package/dist/{sections-DOk8zxm5.d.ts → sections-C8VTe6BN.d.ts} +1 -1
- package/dist/{sections-BlCiPWJJ.d.cts → sections-DSIfnBJY.d.cts} +1 -1
- package/dist/{segmentedRowModel-BbHdWqJy.d.cts → segmentedRowModel-CDvvJJ4-.d.cts} +1 -1
- package/dist/{segmentedRowModel-oVUtwW87.d.ts → segmentedRowModel-I8eYUQft.d.ts} +1 -1
- package/dist/{tableSizing-ExOrUwtX.d.ts → tableSizing-0PwrOWi5.d.ts} +20 -13
- package/dist/{tableSizing-DaEXRHYs.d.cts → tableSizing-x8ADFtKS.d.cts} +20 -13
- package/dist/{ticketRestrictions-BHUMet7N.d.ts → ticketRestrictions-C8H-XJha.d.ts} +2 -2
- package/dist/{ticketRestrictions-BvG_INSV.d.cts → ticketRestrictions-O-fv0Os6.d.cts} +2 -2
- package/dist/{types-BbqhOJ5L.d.ts → types-DWx32xXH.d.cts} +10 -1
- package/dist/{types-BbqhOJ5L.d.cts → types-DWx32xXH.d.ts} +10 -1
- package/dist/view3d/crossfade/panorama.cjs +1 -1
- package/dist/view3d/crossfade/panorama.d.cts +1 -1
- package/dist/view3d/crossfade/panorama.d.ts +1 -1
- package/dist/view3d/crossfade/panorama.js +1 -1
- package/dist/view3d/index.cjs +135 -47
- package/dist/view3d/index.d.cts +35 -4
- package/dist/view3d/index.d.ts +35 -4
- package/dist/view3d/index.js +133 -45
- package/dist/view3d/scene/scene.worker.cjs +1 -1
- package/dist/view3d/scene/scene.worker.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2MXDWZQ4.js +0 -1
- package/dist/chunk-QEPYNCBJ.js +0 -1
- package/dist/chunk-SPM2LMKI.js +0 -1
- package/dist/chunk-VAI2VDQR.js +0 -1
- package/dist/chunk-Z43H6AWN.js +0 -1
package/dist/view3d/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as Point, C as ChartDoc } from '../types-
|
|
2
|
-
import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-
|
|
3
|
-
import { E as ExpandedSeat } from '../renderer-
|
|
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-DnsIDiWN.cjs';
|
|
4
4
|
import { S as StageKind } from '../stage-CKb7aNoH.cjs';
|
|
5
5
|
import { SeatView } from './crossfade/panorama.cjs';
|
|
6
6
|
|
|
@@ -126,6 +126,15 @@ interface Theme3D {
|
|
|
126
126
|
top: RGB;
|
|
127
127
|
bottom: RGB;
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* The sky an open-air venue shows above its stands once the camera looks up
|
|
131
|
+
* from a seat (overhead, and at the horizon). A night match's floodlit haze
|
|
132
|
+
* on a dark chart, a clear day on a light one.
|
|
133
|
+
*/
|
|
134
|
+
sky: {
|
|
135
|
+
zenith: RGB;
|
|
136
|
+
horizon: RGB;
|
|
137
|
+
};
|
|
129
138
|
structure: typeof STRUCTURE;
|
|
130
139
|
seatStates: Record<SeatState3D, RGB>;
|
|
131
140
|
/** Multiplier on the seat dot's world radius. */
|
|
@@ -165,7 +174,7 @@ interface Theme3D {
|
|
|
165
174
|
* unreadable confetti.
|
|
166
175
|
*/
|
|
167
176
|
|
|
168
|
-
type LabelKind = 'floor' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat';
|
|
177
|
+
type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat' | 'access';
|
|
169
178
|
interface SceneLabel {
|
|
170
179
|
id: string;
|
|
171
180
|
kind: LabelKind;
|
|
@@ -184,6 +193,10 @@ interface SceneLabel {
|
|
|
184
193
|
pinBase?: [number, number, number];
|
|
185
194
|
/** A seat label's row, so the row under the pointer can show its numbers. */
|
|
186
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;
|
|
187
200
|
}
|
|
188
201
|
|
|
189
202
|
/**
|
|
@@ -410,6 +423,14 @@ interface SceneModel {
|
|
|
410
423
|
min: [number, number, number];
|
|
411
424
|
max: [number, number, number];
|
|
412
425
|
};
|
|
426
|
+
/** Sampled seats and stage corners the overview fits (OrbitBounds.fitPoints). */
|
|
427
|
+
fitPoints?: Float32Array;
|
|
428
|
+
};
|
|
429
|
+
/** An open-air venue (an open field and no drawn room): it shows a sky. */
|
|
430
|
+
outdoor?: boolean;
|
|
431
|
+
/** A walled room's centre, world metres (x, z): the dollhouse walls face it. */
|
|
432
|
+
room?: {
|
|
433
|
+
centre: [number, number];
|
|
413
434
|
};
|
|
414
435
|
/** Exact enclosing sphere for rendered solids plus near-field seat detail. */
|
|
415
436
|
renderBounds: {
|
|
@@ -794,6 +815,16 @@ interface Venue3DOptions {
|
|
|
794
815
|
* The host can explain held/sold/filter state without turning inspection into
|
|
795
816
|
* selection or briefly painting the unavailable seat as the buyer's choice. */
|
|
796
817
|
onSeatInspect?: (seatId: string, state: SeatState3D) => void;
|
|
818
|
+
/**
|
|
819
|
+
* The seat under a MOUSE inside the section the buyer entered, with the
|
|
820
|
+
* cursor in the 3D container's pixels; null when it leaves the seats. A
|
|
821
|
+
* host shows its hover card here, as the 2D map does (owner, 2026-09-25).
|
|
822
|
+
* Never called for touch or pen: a finger has no hover.
|
|
823
|
+
*/
|
|
824
|
+
onSeatHover?: (seatId: string | null, point: {
|
|
825
|
+
x: number;
|
|
826
|
+
y: number;
|
|
827
|
+
} | null) => void;
|
|
797
828
|
/** Overview → section drill state. A stand tap reports its owning section;
|
|
798
829
|
* Overview reports null so host navigation can stay in sync. */
|
|
799
830
|
onSectionFocusChange?: (sectionId: string | null) => void;
|
package/dist/view3d/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as Point, C as ChartDoc } from '../types-
|
|
2
|
-
import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-
|
|
3
|
-
import { E as ExpandedSeat } from '../renderer-
|
|
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-DPKIlnuF.js';
|
|
4
4
|
import { S as StageKind } from '../stage-CKb7aNoH.js';
|
|
5
5
|
import { SeatView } from './crossfade/panorama.js';
|
|
6
6
|
|
|
@@ -126,6 +126,15 @@ interface Theme3D {
|
|
|
126
126
|
top: RGB;
|
|
127
127
|
bottom: RGB;
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* The sky an open-air venue shows above its stands once the camera looks up
|
|
131
|
+
* from a seat (overhead, and at the horizon). A night match's floodlit haze
|
|
132
|
+
* on a dark chart, a clear day on a light one.
|
|
133
|
+
*/
|
|
134
|
+
sky: {
|
|
135
|
+
zenith: RGB;
|
|
136
|
+
horizon: RGB;
|
|
137
|
+
};
|
|
129
138
|
structure: typeof STRUCTURE;
|
|
130
139
|
seatStates: Record<SeatState3D, RGB>;
|
|
131
140
|
/** Multiplier on the seat dot's world radius. */
|
|
@@ -165,7 +174,7 @@ interface Theme3D {
|
|
|
165
174
|
* unreadable confetti.
|
|
166
175
|
*/
|
|
167
176
|
|
|
168
|
-
type LabelKind = 'floor' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat';
|
|
177
|
+
type LabelKind = 'floor' | 'stage' | 'zone' | 'section' | 'ga' | 'annotation' | 'booth' | 'row' | 'seat' | 'access';
|
|
169
178
|
interface SceneLabel {
|
|
170
179
|
id: string;
|
|
171
180
|
kind: LabelKind;
|
|
@@ -184,6 +193,10 @@ interface SceneLabel {
|
|
|
184
193
|
pinBase?: [number, number, number];
|
|
185
194
|
/** A seat label's row, so the row under the pointer can show its numbers. */
|
|
186
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;
|
|
187
200
|
}
|
|
188
201
|
|
|
189
202
|
/**
|
|
@@ -410,6 +423,14 @@ interface SceneModel {
|
|
|
410
423
|
min: [number, number, number];
|
|
411
424
|
max: [number, number, number];
|
|
412
425
|
};
|
|
426
|
+
/** Sampled seats and stage corners the overview fits (OrbitBounds.fitPoints). */
|
|
427
|
+
fitPoints?: Float32Array;
|
|
428
|
+
};
|
|
429
|
+
/** An open-air venue (an open field and no drawn room): it shows a sky. */
|
|
430
|
+
outdoor?: boolean;
|
|
431
|
+
/** A walled room's centre, world metres (x, z): the dollhouse walls face it. */
|
|
432
|
+
room?: {
|
|
433
|
+
centre: [number, number];
|
|
413
434
|
};
|
|
414
435
|
/** Exact enclosing sphere for rendered solids plus near-field seat detail. */
|
|
415
436
|
renderBounds: {
|
|
@@ -794,6 +815,16 @@ interface Venue3DOptions {
|
|
|
794
815
|
* The host can explain held/sold/filter state without turning inspection into
|
|
795
816
|
* selection or briefly painting the unavailable seat as the buyer's choice. */
|
|
796
817
|
onSeatInspect?: (seatId: string, state: SeatState3D) => void;
|
|
818
|
+
/**
|
|
819
|
+
* The seat under a MOUSE inside the section the buyer entered, with the
|
|
820
|
+
* cursor in the 3D container's pixels; null when it leaves the seats. A
|
|
821
|
+
* host shows its hover card here, as the 2D map does (owner, 2026-09-25).
|
|
822
|
+
* Never called for touch or pen: a finger has no hover.
|
|
823
|
+
*/
|
|
824
|
+
onSeatHover?: (seatId: string | null, point: {
|
|
825
|
+
x: number;
|
|
826
|
+
y: number;
|
|
827
|
+
} | null) => void;
|
|
797
828
|
/** Overview → section drill state. A stand tap reports its owning section;
|
|
798
829
|
* Overview reports null so host navigation can stay in sync. */
|
|
799
830
|
onSectionFocusChange?: (sectionId: string | null) => void;
|