@seatlayer/core 0.97.0 → 0.99.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 (80) hide show
  1. package/dist/{categoryInventory-4XH7dMDH.d.ts → categoryInventory-DdJdJ4Og.d.ts} +1 -1
  2. package/dist/{categoryInventory-C-bfH2av.d.cts → categoryInventory-DuOez0-4.d.cts} +1 -1
  3. package/dist/{chunk-M5VINTGE.js → chunk-23OTKCJU.js} +1 -1
  4. package/dist/{chunk-CUACREZL.js → chunk-CTIGUXXK.js} +1 -1
  5. package/dist/{chunk-P4C24CIZ.js → chunk-D723OZEY.js} +1 -1
  6. package/dist/chunk-FYJJSWEM.js +1 -0
  7. package/dist/chunk-GLGXP5I7.js +1 -0
  8. package/dist/{chunk-FLMKHAUT.js → chunk-HO4MFTVX.js} +1 -1
  9. package/dist/chunk-HYEZPOZU.js +1 -0
  10. package/dist/chunk-K22SISYC.js +1 -0
  11. package/dist/{chunk-YPESNMTC.js → chunk-KFVUBZMK.js} +1 -1
  12. package/dist/{chunk-OLGPAFXW.js → chunk-L34T3APU.js} +1 -1
  13. package/dist/{chunk-IW7QZIMF.js → chunk-N4J4CT6P.js} +1 -1
  14. package/dist/{chunk-2P72QUJR.js → chunk-UIMDB6GZ.js} +1 -1
  15. package/dist/chunk-UISTXRO5.js +1 -0
  16. package/dist/{chunk-ASIIXY5M.js → chunk-VWT44HBR.js} +1 -1
  17. package/dist/core/chart-ops/index.cjs +1 -1
  18. package/dist/core/chart-ops/index.d.cts +6 -4
  19. package/dist/core/chart-ops/index.d.ts +6 -4
  20. package/dist/core/chart-ops/index.js +1 -1
  21. package/dist/core/inventory/index.cjs +1 -1
  22. package/dist/core/inventory/index.d.cts +4 -4
  23. package/dist/core/inventory/index.d.ts +4 -4
  24. package/dist/core/inventory/index.js +1 -1
  25. package/dist/core/layout/index.cjs +1 -1
  26. package/dist/core/layout/index.d.cts +5 -5
  27. package/dist/core/layout/index.d.ts +5 -5
  28. package/dist/core/layout/index.js +1 -1
  29. package/dist/core/quality/index.d.cts +3 -3
  30. package/dist/core/quality/index.d.ts +3 -3
  31. package/dist/core/quality/index.js +1 -1
  32. package/dist/core/render-assets/index.d.cts +2 -2
  33. package/dist/core/render-assets/index.d.ts +2 -2
  34. package/dist/core/seatConfidence.d.cts +1 -1
  35. package/dist/core/seatConfidence.d.ts +1 -1
  36. package/dist/core/sections/index.cjs +1 -1
  37. package/dist/core/sections/index.d.cts +5 -5
  38. package/dist/core/sections/index.d.ts +5 -5
  39. package/dist/core/sections/index.js +1 -1
  40. package/dist/{eventConfigurations-BEyHDxBT.d.ts → eventConfigurations-BISNREZL.d.ts} +1 -1
  41. package/dist/{eventConfigurations-BE0rFmbQ.d.cts → eventConfigurations-DYn5XP3J.d.cts} +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.d.cts +13 -13
  44. package/dist/index.d.ts +13 -13
  45. package/dist/index.js +1 -1
  46. package/dist/{labeling-HWSKKrX8.d.ts → labeling-CzuSxAkr.d.ts} +1 -1
  47. package/dist/{labeling-SURRJh5u.d.cts → labeling-owTTG6e0.d.cts} +1 -1
  48. package/dist/{openPanorama-6FMXAJ6O.js → openPanorama-VD6PE3YZ.js} +2 -2
  49. package/dist/{renderedQuality-CZNfpB1H.d.ts → renderedQuality-BMSbVkwu.d.ts} +1 -1
  50. package/dist/{renderedQuality-QWHMvOej.d.cts → renderedQuality-Bl1Kq_XO.d.cts} +1 -1
  51. package/dist/{renderer-DEnthjgs.d.cts → renderer-Ccv8ZDZS.d.cts} +1 -1
  52. package/dist/{renderer-CuXYGgR3.d.ts → renderer-njHDbIqI.d.ts} +1 -1
  53. package/dist/{seatTypeIcons-BAyWebjw.d.cts → seatTypeIcons-QwEebl3k.d.cts} +1 -1
  54. package/dist/{seatTypeIcons-CqLiEH9C.d.ts → seatTypeIcons-dy3XQVWN.d.ts} +1 -1
  55. package/dist/{sections-DOk8zxm5.d.ts → sections-C8VTe6BN.d.ts} +1 -1
  56. package/dist/{sections-BlCiPWJJ.d.cts → sections-DSIfnBJY.d.cts} +1 -1
  57. package/dist/{segmentedRowModel-BbHdWqJy.d.cts → segmentedRowModel-CDvvJJ4-.d.cts} +1 -1
  58. package/dist/{segmentedRowModel-oVUtwW87.d.ts → segmentedRowModel-I8eYUQft.d.ts} +1 -1
  59. package/dist/{tableSizing-ExOrUwtX.d.ts → tableSizing-BLtQ-KV0.d.ts} +20 -13
  60. package/dist/{tableSizing-DaEXRHYs.d.cts → tableSizing-CB8g2Fs0.d.cts} +20 -13
  61. package/dist/{ticketRestrictions-BvG_INSV.d.cts → ticketRestrictions-BvlWLw10.d.cts} +2 -2
  62. package/dist/{ticketRestrictions-BHUMet7N.d.ts → ticketRestrictions-DUjN2bZn.d.ts} +2 -2
  63. package/dist/{types-BbqhOJ5L.d.ts → types-DWx32xXH.d.cts} +10 -1
  64. package/dist/{types-BbqhOJ5L.d.cts → types-DWx32xXH.d.ts} +10 -1
  65. package/dist/view3d/crossfade/panorama.cjs +1 -1
  66. package/dist/view3d/crossfade/panorama.d.cts +1 -1
  67. package/dist/view3d/crossfade/panorama.d.ts +1 -1
  68. package/dist/view3d/crossfade/panorama.js +1 -1
  69. package/dist/view3d/index.cjs +144 -46
  70. package/dist/view3d/index.d.cts +27 -4
  71. package/dist/view3d/index.d.ts +27 -4
  72. package/dist/view3d/index.js +142 -44
  73. package/dist/view3d/scene/scene.worker.cjs +1 -1
  74. package/dist/view3d/scene/scene.worker.js +1 -1
  75. package/package.json +1 -1
  76. package/dist/chunk-NGZXKXOY.js +0 -1
  77. package/dist/chunk-QEPYNCBJ.js +0 -1
  78. package/dist/chunk-SPM2LMKI.js +0 -1
  79. package/dist/chunk-VAI2VDQR.js +0 -1
  80. package/dist/chunk-Z43H6AWN.js +0 -1
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-BbqhOJ5L.cjs';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-BE0rFmbQ.cjs';
3
- import { E as ExpandedSeat } from '../renderer-DEnthjgs.cjs';
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';
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';
169
178
  interface SceneLabel {
170
179
  id: string;
171
180
  kind: LabelKind;
@@ -180,6 +189,10 @@ interface SceneLabel {
180
189
  rotation?: number;
181
190
  /** Owning physical level, so a focused floor never keeps another level's text. */
182
191
  floorIndex?: number;
192
+ /** A picked seat's pin base (scene/seatPin): its tag rides the pin's stem. */
193
+ pinBase?: [number, number, number];
194
+ /** A seat label's row, so the row under the pointer can show its numbers. */
195
+ rowId?: string;
183
196
  }
184
197
 
185
198
  /**
@@ -406,6 +419,14 @@ interface SceneModel {
406
419
  min: [number, number, number];
407
420
  max: [number, number, number];
408
421
  };
422
+ /** Sampled seats and stage corners the overview fits (OrbitBounds.fitPoints). */
423
+ fitPoints?: Float32Array;
424
+ };
425
+ /** An open-air venue (an open field and no drawn room): it shows a sky. */
426
+ outdoor?: boolean;
427
+ /** A walled room's centre, world metres (x, z): the dollhouse walls face it. */
428
+ room?: {
429
+ centre: [number, number];
409
430
  };
410
431
  /** Exact enclosing sphere for rendered solids plus near-field seat detail. */
411
432
  renderBounds: {
@@ -529,6 +550,8 @@ interface AutoVenueReport {
529
550
  sections: AutoVenueSection[];
530
551
  /** Free-standing row blocks given a hidden section in the 3D copy only. */
531
552
  looseRowBlocks?: number;
553
+ /** The chart's drawn walls enclose its seating: tiers were raked as a hall's. */
554
+ indoor?: boolean;
532
555
  /** Plain shapes given the role their label names (a Bar, the WC, a Screen). */
533
556
  roles?: {
534
557
  id: string;
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-BbqhOJ5L.js';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-BEyHDxBT.js';
3
- import { E as ExpandedSeat } from '../renderer-CuXYGgR3.js';
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';
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';
169
178
  interface SceneLabel {
170
179
  id: string;
171
180
  kind: LabelKind;
@@ -180,6 +189,10 @@ interface SceneLabel {
180
189
  rotation?: number;
181
190
  /** Owning physical level, so a focused floor never keeps another level's text. */
182
191
  floorIndex?: number;
192
+ /** A picked seat's pin base (scene/seatPin): its tag rides the pin's stem. */
193
+ pinBase?: [number, number, number];
194
+ /** A seat label's row, so the row under the pointer can show its numbers. */
195
+ rowId?: string;
183
196
  }
184
197
 
185
198
  /**
@@ -406,6 +419,14 @@ interface SceneModel {
406
419
  min: [number, number, number];
407
420
  max: [number, number, number];
408
421
  };
422
+ /** Sampled seats and stage corners the overview fits (OrbitBounds.fitPoints). */
423
+ fitPoints?: Float32Array;
424
+ };
425
+ /** An open-air venue (an open field and no drawn room): it shows a sky. */
426
+ outdoor?: boolean;
427
+ /** A walled room's centre, world metres (x, z): the dollhouse walls face it. */
428
+ room?: {
429
+ centre: [number, number];
409
430
  };
410
431
  /** Exact enclosing sphere for rendered solids plus near-field seat detail. */
411
432
  renderBounds: {
@@ -529,6 +550,8 @@ interface AutoVenueReport {
529
550
  sections: AutoVenueSection[];
530
551
  /** Free-standing row blocks given a hidden section in the 3D copy only. */
531
552
  looseRowBlocks?: number;
553
+ /** The chart's drawn walls enclose its seating: tiers were raked as a hall's. */
554
+ indoor?: boolean;
532
555
  /** Plain shapes given the role their label names (a Bar, the WC, a Screen). */
533
556
  roles?: {
534
557
  id: string;