@seatlayer/core 0.103.0 → 0.104.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-D_gpkfsq.d.cts → categoryInventory-DYcNVyxN.d.cts} +1 -1
- package/dist/{categoryInventory-i-mGCBD3.d.ts → categoryInventory-QTVDRqNG.d.ts} +1 -1
- package/dist/{chunk-GPZFVQXV.js → chunk-4522UUXG.js} +1 -1
- package/dist/chunk-6YTPIDLM.js +1 -0
- package/dist/{chunk-2STEWCI2.js → chunk-BF3XROP5.js} +1 -1
- package/dist/{chunk-JRZHC75P.js → chunk-EE2CVYFJ.js} +1 -1
- package/dist/{chunk-33SRM2CP.js → chunk-GUNNA5LB.js} +1 -1
- package/dist/{chunk-QG7ZFUNX.js → chunk-HIU4MMID.js} +1 -1
- package/dist/chunk-HKVCBUON.js +1 -0
- package/dist/{chunk-76AUT55N.js → chunk-IEBXXGQC.js} +1 -1
- package/dist/{chunk-UEYHH7Y5.js → chunk-KYPY7GWB.js} +1 -1
- package/dist/{chunk-FAY7ARLB.js → chunk-O4ZAGGMP.js} +1 -1
- package/dist/{chunk-RF4QU72N.js → chunk-P2BTUNG6.js} +1 -1
- package/dist/{chunk-NWRHKTMV.js → chunk-P6ASVG3X.js} +1 -1
- package/dist/{chunk-WKWXU5QM.js → chunk-PBXGWYB4.js} +1 -1
- package/dist/{chunk-B75VUM6L.js → chunk-QFX6XSO6.js} +1 -1
- package/dist/{chunk-WH2EVBIG.js → chunk-UKODEMIM.js} +1 -1
- package/dist/{chunk-UEDS3HJ3.js → chunk-URW7MSCJ.js} +1 -1
- package/dist/core/chart-ops/index.cjs +1 -1
- package/dist/core/chart-ops/index.d.cts +4 -4
- package/dist/core/chart-ops/index.d.ts +4 -4
- package/dist/core/chart-ops/index.js +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 +6 -72
- package/dist/core/layout/index.d.ts +6 -72
- 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/render-assets/index.js +1 -1
- package/dist/core/seatConfidence.d.cts +1 -1
- package/dist/core/seatConfidence.d.ts +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-C0x_OtjQ.d.cts → eventConfigurations-1sMqxBpq.d.cts} +1 -1
- package/dist/{eventConfigurations-CDPqKz_8.d.ts → eventConfigurations-B7vGmmD3.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +36 -118
- package/dist/index.d.ts +36 -118
- package/dist/index.js +1 -1
- package/dist/{labeling-DW_pEMgl.d.cts → labeling-B-FQz2d2.d.cts} +1 -1
- package/dist/{labeling-20iLar-Q.d.ts → labeling-DqyXzIgw.d.ts} +1 -1
- package/dist/{renderedQuality-BIWwSRMS.d.cts → renderedQuality-D62MKRV8.d.cts} +1 -1
- package/dist/{renderedQuality-CdpKQidA.d.ts → renderedQuality-DZOIkUX_.d.ts} +1 -1
- package/dist/{renderer-BurPZ2Io.d.ts → renderer-BIR1jJrt.d.cts} +10 -18
- package/dist/{renderer-BSjyHBDK.d.cts → renderer-CiPst9uA.d.ts} +10 -18
- package/dist/{seatTypeIcons-BlEzPXFf.d.cts → seatTypeIcons-BTw3K-yP.d.cts} +1 -1
- package/dist/{seatTypeIcons-D_T5HfJs.d.ts → seatTypeIcons-qlLxwByo.d.ts} +1 -1
- package/dist/{sections-DXUcW0ZT.d.cts → sections-Cr6f5csG.d.cts} +1 -1
- package/dist/{sections-BySKMsFE.d.ts → sections-dqlb491l.d.ts} +1 -1
- package/dist/{segmentedRowModel-C5qFY6jJ.d.ts → segmentedRowModel-BSXPftwU.d.ts} +1 -1
- package/dist/{segmentedRowModel-CyW-LFuI.d.cts → segmentedRowModel-Dy_zNI1E.d.cts} +1 -1
- package/dist/{tableSizing-Bos5ueqg.d.cts → tableSizing-BnlXRH_v.d.ts} +39 -8
- package/dist/{tableSizing-CAiE_oii.d.ts → tableSizing-DuRJVaJs.d.cts} +39 -8
- package/dist/{ticketRestrictions-DKdJWh9u.d.cts → ticketRestrictions-BBZ5mbsi.d.cts} +2 -2
- package/dist/{ticketRestrictions-DRDtAVKw.d.ts → ticketRestrictions-BEHxDUyd.d.ts} +2 -2
- package/dist/{types-ZviQR7ch.d.ts → types-CB1llwVg.d.cts} +4 -6
- package/dist/{types-ZviQR7ch.d.cts → types-CB1llwVg.d.ts} +4 -6
- package/dist/view3d/crossfade/panorama.d.cts +1 -1
- package/dist/view3d/crossfade/panorama.d.ts +1 -1
- package/dist/view3d/index.cjs +2 -2
- package/dist/view3d/index.d.cts +8 -3
- package/dist/view3d/index.d.ts +8 -3
- package/dist/view3d/index.js +5 -5
- 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-3W4ZMU4G.js +0 -1
- package/dist/chunk-R2TRYVOY.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-
|
|
1
|
+
import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-CB1llwVg.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-
|
|
1
|
+
import { g as SectionOutlinePath, P as Point, h as SectionPathSegment } from './types-CB1llwVg.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 { 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-
|
|
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-CB1llwVg.cjs';
|
|
2
2
|
|
|
3
3
|
interface ExpandedSeat {
|
|
4
4
|
/** Stable id: `${rowId}:${index}` */
|
|
@@ -89,7 +89,11 @@ interface RendererHoverDetails {
|
|
|
89
89
|
*/
|
|
90
90
|
filteredOut?: boolean;
|
|
91
91
|
}
|
|
92
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Buyer canvas projection. Only `'flat'` remains. `'isometric'` and
|
|
94
|
+
* `'perspective'` stay in the type so older integrations still compile; the
|
|
95
|
+
* renderer shows the flat map for them (one console warning per page).
|
|
96
|
+
*/
|
|
93
97
|
type RendererViewMode = 'flat' | 'isometric' | 'perspective';
|
|
94
98
|
interface RendererCallbacks {
|
|
95
99
|
onSelect?: (seat: ExpandedSeat) => void;
|
|
@@ -497,15 +501,8 @@ interface RendererQualityEvidence {
|
|
|
497
501
|
width: number;
|
|
498
502
|
height: number;
|
|
499
503
|
};
|
|
500
|
-
/** Runtime projection actually used for the pixels and hit graph below. */
|
|
504
|
+
/** Runtime projection actually used for the pixels and hit graph below (always `'flat'`). */
|
|
501
505
|
projection: RendererViewMode;
|
|
502
|
-
/** Phase-C proof metadata. Present only in the projected-2.5D lane. */
|
|
503
|
-
perspective?: {
|
|
504
|
-
model: 'pinhole-exact-seat-anchors';
|
|
505
|
-
sectionSurfaceModel: 'tangent-plane';
|
|
506
|
-
exactSeatAnchorCount: number;
|
|
507
|
-
depthSorted: true;
|
|
508
|
-
};
|
|
509
506
|
canvasBackground: string;
|
|
510
507
|
effectiveScale: number;
|
|
511
508
|
rung: LodRung;
|
|
@@ -916,14 +913,9 @@ interface ISeatmapRenderer {
|
|
|
916
913
|
* because the remap lives in the renderer; ask here instead.
|
|
917
914
|
*/
|
|
918
915
|
categoryDisplayColor?(categoryKey: string): string;
|
|
919
|
-
/**
|
|
920
|
-
* Switch the projection. `'flat'` = normal top-down; `'isometric'` = the
|
|
921
|
-
* legacy affine preview; `'perspective'` = projected 2.5D with exact pinhole
|
|
922
|
-
* seat anchors/native hit shapes and bounded per-section tangent surfaces.
|
|
923
|
-
* Purely visual — the chart is authored flat.
|
|
924
|
-
*/
|
|
916
|
+
/** Set the projection. Only `'flat'` remains; older values show the flat map. */
|
|
925
917
|
setViewMode?(mode: RendererViewMode): void;
|
|
926
|
-
/** Current projection
|
|
918
|
+
/** Current projection: always `'flat'`. */
|
|
927
919
|
getViewMode?(): RendererViewMode;
|
|
928
920
|
/** Multi-floor (Batch 5): switch the shown floor; list floors; read the active id. */
|
|
929
921
|
setActiveFloor?(floorId: string): void;
|
|
@@ -932,7 +924,7 @@ interface ISeatmapRenderer {
|
|
|
932
924
|
name: string;
|
|
933
925
|
}[];
|
|
934
926
|
getActiveFloorId?(): string;
|
|
935
|
-
/** Render all floors stacked
|
|
927
|
+
/** Render all floors stacked vs the active floor. No-op single-floor. */
|
|
936
928
|
setStacked?(on: boolean): void;
|
|
937
929
|
isStacked?(): boolean;
|
|
938
930
|
/** Render every floor in its authored 2D coordinates so the buyer can choose a level. */
|
|
@@ -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-
|
|
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-CB1llwVg.js';
|
|
2
2
|
|
|
3
3
|
interface ExpandedSeat {
|
|
4
4
|
/** Stable id: `${rowId}:${index}` */
|
|
@@ -89,7 +89,11 @@ interface RendererHoverDetails {
|
|
|
89
89
|
*/
|
|
90
90
|
filteredOut?: boolean;
|
|
91
91
|
}
|
|
92
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Buyer canvas projection. Only `'flat'` remains. `'isometric'` and
|
|
94
|
+
* `'perspective'` stay in the type so older integrations still compile; the
|
|
95
|
+
* renderer shows the flat map for them (one console warning per page).
|
|
96
|
+
*/
|
|
93
97
|
type RendererViewMode = 'flat' | 'isometric' | 'perspective';
|
|
94
98
|
interface RendererCallbacks {
|
|
95
99
|
onSelect?: (seat: ExpandedSeat) => void;
|
|
@@ -497,15 +501,8 @@ interface RendererQualityEvidence {
|
|
|
497
501
|
width: number;
|
|
498
502
|
height: number;
|
|
499
503
|
};
|
|
500
|
-
/** Runtime projection actually used for the pixels and hit graph below. */
|
|
504
|
+
/** Runtime projection actually used for the pixels and hit graph below (always `'flat'`). */
|
|
501
505
|
projection: RendererViewMode;
|
|
502
|
-
/** Phase-C proof metadata. Present only in the projected-2.5D lane. */
|
|
503
|
-
perspective?: {
|
|
504
|
-
model: 'pinhole-exact-seat-anchors';
|
|
505
|
-
sectionSurfaceModel: 'tangent-plane';
|
|
506
|
-
exactSeatAnchorCount: number;
|
|
507
|
-
depthSorted: true;
|
|
508
|
-
};
|
|
509
506
|
canvasBackground: string;
|
|
510
507
|
effectiveScale: number;
|
|
511
508
|
rung: LodRung;
|
|
@@ -916,14 +913,9 @@ interface ISeatmapRenderer {
|
|
|
916
913
|
* because the remap lives in the renderer; ask here instead.
|
|
917
914
|
*/
|
|
918
915
|
categoryDisplayColor?(categoryKey: string): string;
|
|
919
|
-
/**
|
|
920
|
-
* Switch the projection. `'flat'` = normal top-down; `'isometric'` = the
|
|
921
|
-
* legacy affine preview; `'perspective'` = projected 2.5D with exact pinhole
|
|
922
|
-
* seat anchors/native hit shapes and bounded per-section tangent surfaces.
|
|
923
|
-
* Purely visual — the chart is authored flat.
|
|
924
|
-
*/
|
|
916
|
+
/** Set the projection. Only `'flat'` remains; older values show the flat map. */
|
|
925
917
|
setViewMode?(mode: RendererViewMode): void;
|
|
926
|
-
/** Current projection
|
|
918
|
+
/** Current projection: always `'flat'`. */
|
|
927
919
|
getViewMode?(): RendererViewMode;
|
|
928
920
|
/** Multi-floor (Batch 5): switch the shown floor; list floors; read the active id. */
|
|
929
921
|
setActiveFloor?(floorId: string): void;
|
|
@@ -932,7 +924,7 @@ interface ISeatmapRenderer {
|
|
|
932
924
|
name: string;
|
|
933
925
|
}[];
|
|
934
926
|
getActiveFloorId?(): string;
|
|
935
|
-
/** Render all floors stacked
|
|
927
|
+
/** Render all floors stacked vs the active floor. No-op single-floor. */
|
|
936
928
|
setStacked?(on: boolean): void;
|
|
937
929
|
isStacked?(): boolean;
|
|
938
930
|
/** Render every floor in its authored 2D coordinates so the buyer can choose a level. */
|
|
@@ -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,
|
|
2
|
-
import { S as SegmentedRowPlacement } from './segmentedRowModel-
|
|
3
|
-
import { E as ExpandedSeat } from './renderer-
|
|
1
|
+
import { F as FloorLabelStyle, P as Point, C as ChartDoc, a as ChartObject, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-CB1llwVg.js';
|
|
2
|
+
import { S as SegmentedRowPlacement } from './segmentedRowModel-BSXPftwU.js';
|
|
3
|
+
import { E as ExpandedSeat } from './renderer-CiPst9uA.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The buyer's "All floors" view: one venue, read bottom to top.
|
|
@@ -79,6 +79,37 @@ declare function layoutFloorStack(doc: ChartDoc, options?: FloorStackOptions): C
|
|
|
79
79
|
* Keep every inventory object at its authored position. Only identical copies
|
|
80
80
|
* of a shared stage are collapsed; distinct stages remain visible. */
|
|
81
81
|
declare function layoutCombinedFloorPlan(doc: ChartDoc): ChartDoc;
|
|
82
|
+
/**
|
|
83
|
+
* How "All levels" draws a multi-level venue: as built (`'combined'`) only
|
|
84
|
+
* when the organizer chose it, otherwise the vertical stack in level order
|
|
85
|
+
* (owner rule 2026-08-28, "floors = vertical stack", kept on 2026-09-28 for
|
|
86
|
+
* every chart that has not chosen).
|
|
87
|
+
*/
|
|
88
|
+
declare function effectiveFloorOverview(doc: ChartDoc): 'combined' | 'separated';
|
|
89
|
+
/**
|
|
90
|
+
* What the Designer suggests for "Whole venue view" (board: Buyer map levels,
|
|
91
|
+
* rule 4). As built (`'combined'`) when no level would hide another: a
|
|
92
|
+
* mezzanine ringing a dance floor reads as the building it is. Stacked when
|
|
93
|
+
* levels cover each other in plan: a balcony drawn over the stalls would put
|
|
94
|
+
* one level's seats under another's. A suggestion only: nothing changes until
|
|
95
|
+
* the organizer picks it.
|
|
96
|
+
*
|
|
97
|
+
* The test is the share of each level's seats that sit inside another level's
|
|
98
|
+
* sections or standing areas, or on top of another level's seats. A level
|
|
99
|
+
* hides another when more than {@link FLOOR_COVER_LIMIT} of its seats do.
|
|
100
|
+
*/
|
|
101
|
+
declare function suggestedFloorOverview(doc: ChartDoc): 'combined' | 'separated';
|
|
102
|
+
/** Above this share of covered seats, a level is hidden by another. */
|
|
103
|
+
declare const FLOOR_COVER_LIMIT = 0.1;
|
|
104
|
+
/** Ids of the faint other-level outlines (drawn on the overlay, never picked). */
|
|
105
|
+
declare const LEVEL_CONTEXT_PREFIX = "level-context:";
|
|
106
|
+
/**
|
|
107
|
+
* The other levels, as faint outlines under the one that is open (board:
|
|
108
|
+
* Buyer map levels, rule 5). Only for a venue drawn as built, where the
|
|
109
|
+
* levels sit around each other: opening the mezzanine still shows where the
|
|
110
|
+
* main floor is. Outlines only: no seats, no fill, and nothing to click.
|
|
111
|
+
*/
|
|
112
|
+
declare function levelContextOutlines(doc: ChartDoc, activeFloorId: string): ChartObject[];
|
|
82
113
|
/**
|
|
83
114
|
* The floor a narrow surface opens on.
|
|
84
115
|
*
|
|
@@ -262,10 +293,10 @@ declare function allObjects(doc: ChartDoc): ChartObject[];
|
|
|
262
293
|
/** A copy of an object translated by (dx, dy) — every coordinate field shifted. */
|
|
263
294
|
declare function translateObject(o: ChartObject, dx: number, dy: number): ChartObject;
|
|
264
295
|
/**
|
|
265
|
-
* Multi-floor
|
|
266
|
-
* lifted by `i * spread` in −y, so the
|
|
267
|
-
*
|
|
268
|
-
*
|
|
296
|
+
* Multi-floor stack (Batch 5): flatten every floor into ONE doc with floor `i`
|
|
297
|
+
* lifted by `i * spread` in −y, so the floors read as stacked decks (ground at
|
|
298
|
+
* the bottom). Returns a single-floor doc (no `floors`). Meant only for the
|
|
299
|
+
* stacked overview (`setStacked`); 2D shows one floor via `floorObjects`.
|
|
269
300
|
*/
|
|
270
301
|
declare function stackFloors(doc: ChartDoc, spread?: number): ChartDoc;
|
|
271
302
|
interface ExpandChartOptions {
|
|
@@ -325,4 +356,4 @@ declare const AUTOMATIC_ROUND_TABLE_RADIUS_MAX = 160;
|
|
|
325
356
|
*/
|
|
326
357
|
declare function automaticRoundTableRadius(seatCount: number, seatArc?: number): number;
|
|
327
358
|
|
|
328
|
-
export { AUTOMATIC_ROUND_TABLE_RADIUS_MAX as A,
|
|
359
|
+
export { AUTOMATIC_ROUND_TABLE_RADIUS_MAX as A, owningSectionForObject as B, type ChartBoundsOptions as C, pointInPolygon as D, type ExpandChartOptions as E, FLOOR_COVER_LIMIT as F, pointInPolygonWithHoles as G, pointOnPolygonBoundary as H, polygonLabelPoint as I, rowInventoryCount as J, rowSeatPositions as K, LEVEL_CONTEXT_PREFIX as L, stackFloors as M, suggestedFloorOverview as N, tableInventoryCount as O, tableSeatCountsBySide as P, translateObject as Q, type RowSeatSlot as R, usableHoles as S, TABLE_SEAT_OFFSET as T, AUTOMATIC_ROUND_TABLE_RADIUS_MIN as a, FLOOR_STACK_GAP_RATIO as b, FLOOR_STACK_MIN_SURFACE_PX as c, type FloorStackOptions as d, type FloorStackPlacement as e, type TableSeatSlot as f, allObjects as g, automaticRoundTableRadius as h, chartBounds as i, combinedFloorZoneId as j, effectiveFloorOverview as k, expandBooth as l, expandChart as m, expandRow as n, expandRowSlots as o, expandTable as p, expandTableSlots as q, floorObjects as r, floorStackPlacements as s, floorsOf as t, initialFloorMode as u, layoutCombinedFloorPlan as v, layoutFloorStack as w, levelContextOutlines as x, mainFloorId as y, objectCenter as z };
|
|
@@ -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,
|
|
2
|
-
import { S as SegmentedRowPlacement } from './segmentedRowModel-
|
|
3
|
-
import { E as ExpandedSeat } from './renderer-
|
|
1
|
+
import { F as FloorLabelStyle, P as Point, C as ChartDoc, a as ChartObject, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-CB1llwVg.cjs';
|
|
2
|
+
import { S as SegmentedRowPlacement } from './segmentedRowModel-Dy_zNI1E.cjs';
|
|
3
|
+
import { E as ExpandedSeat } from './renderer-BIR1jJrt.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The buyer's "All floors" view: one venue, read bottom to top.
|
|
@@ -79,6 +79,37 @@ declare function layoutFloorStack(doc: ChartDoc, options?: FloorStackOptions): C
|
|
|
79
79
|
* Keep every inventory object at its authored position. Only identical copies
|
|
80
80
|
* of a shared stage are collapsed; distinct stages remain visible. */
|
|
81
81
|
declare function layoutCombinedFloorPlan(doc: ChartDoc): ChartDoc;
|
|
82
|
+
/**
|
|
83
|
+
* How "All levels" draws a multi-level venue: as built (`'combined'`) only
|
|
84
|
+
* when the organizer chose it, otherwise the vertical stack in level order
|
|
85
|
+
* (owner rule 2026-08-28, "floors = vertical stack", kept on 2026-09-28 for
|
|
86
|
+
* every chart that has not chosen).
|
|
87
|
+
*/
|
|
88
|
+
declare function effectiveFloorOverview(doc: ChartDoc): 'combined' | 'separated';
|
|
89
|
+
/**
|
|
90
|
+
* What the Designer suggests for "Whole venue view" (board: Buyer map levels,
|
|
91
|
+
* rule 4). As built (`'combined'`) when no level would hide another: a
|
|
92
|
+
* mezzanine ringing a dance floor reads as the building it is. Stacked when
|
|
93
|
+
* levels cover each other in plan: a balcony drawn over the stalls would put
|
|
94
|
+
* one level's seats under another's. A suggestion only: nothing changes until
|
|
95
|
+
* the organizer picks it.
|
|
96
|
+
*
|
|
97
|
+
* The test is the share of each level's seats that sit inside another level's
|
|
98
|
+
* sections or standing areas, or on top of another level's seats. A level
|
|
99
|
+
* hides another when more than {@link FLOOR_COVER_LIMIT} of its seats do.
|
|
100
|
+
*/
|
|
101
|
+
declare function suggestedFloorOverview(doc: ChartDoc): 'combined' | 'separated';
|
|
102
|
+
/** Above this share of covered seats, a level is hidden by another. */
|
|
103
|
+
declare const FLOOR_COVER_LIMIT = 0.1;
|
|
104
|
+
/** Ids of the faint other-level outlines (drawn on the overlay, never picked). */
|
|
105
|
+
declare const LEVEL_CONTEXT_PREFIX = "level-context:";
|
|
106
|
+
/**
|
|
107
|
+
* The other levels, as faint outlines under the one that is open (board:
|
|
108
|
+
* Buyer map levels, rule 5). Only for a venue drawn as built, where the
|
|
109
|
+
* levels sit around each other: opening the mezzanine still shows where the
|
|
110
|
+
* main floor is. Outlines only: no seats, no fill, and nothing to click.
|
|
111
|
+
*/
|
|
112
|
+
declare function levelContextOutlines(doc: ChartDoc, activeFloorId: string): ChartObject[];
|
|
82
113
|
/**
|
|
83
114
|
* The floor a narrow surface opens on.
|
|
84
115
|
*
|
|
@@ -262,10 +293,10 @@ declare function allObjects(doc: ChartDoc): ChartObject[];
|
|
|
262
293
|
/** A copy of an object translated by (dx, dy) — every coordinate field shifted. */
|
|
263
294
|
declare function translateObject(o: ChartObject, dx: number, dy: number): ChartObject;
|
|
264
295
|
/**
|
|
265
|
-
* Multi-floor
|
|
266
|
-
* lifted by `i * spread` in −y, so the
|
|
267
|
-
*
|
|
268
|
-
*
|
|
296
|
+
* Multi-floor stack (Batch 5): flatten every floor into ONE doc with floor `i`
|
|
297
|
+
* lifted by `i * spread` in −y, so the floors read as stacked decks (ground at
|
|
298
|
+
* the bottom). Returns a single-floor doc (no `floors`). Meant only for the
|
|
299
|
+
* stacked overview (`setStacked`); 2D shows one floor via `floorObjects`.
|
|
269
300
|
*/
|
|
270
301
|
declare function stackFloors(doc: ChartDoc, spread?: number): ChartDoc;
|
|
271
302
|
interface ExpandChartOptions {
|
|
@@ -325,4 +356,4 @@ declare const AUTOMATIC_ROUND_TABLE_RADIUS_MAX = 160;
|
|
|
325
356
|
*/
|
|
326
357
|
declare function automaticRoundTableRadius(seatCount: number, seatArc?: number): number;
|
|
327
358
|
|
|
328
|
-
export { AUTOMATIC_ROUND_TABLE_RADIUS_MAX as A,
|
|
359
|
+
export { AUTOMATIC_ROUND_TABLE_RADIUS_MAX as A, owningSectionForObject as B, type ChartBoundsOptions as C, pointInPolygon as D, type ExpandChartOptions as E, FLOOR_COVER_LIMIT as F, pointInPolygonWithHoles as G, pointOnPolygonBoundary as H, polygonLabelPoint as I, rowInventoryCount as J, rowSeatPositions as K, LEVEL_CONTEXT_PREFIX as L, stackFloors as M, suggestedFloorOverview as N, tableInventoryCount as O, tableSeatCountsBySide as P, translateObject as Q, type RowSeatSlot as R, usableHoles as S, TABLE_SEAT_OFFSET as T, AUTOMATIC_ROUND_TABLE_RADIUS_MIN as a, FLOOR_STACK_GAP_RATIO as b, FLOOR_STACK_MIN_SURFACE_PX as c, type FloorStackOptions as d, type FloorStackPlacement as e, type TableSeatSlot as f, allObjects as g, automaticRoundTableRadius as h, chartBounds as i, combinedFloorZoneId as j, effectiveFloorOverview as k, expandBooth as l, expandChart as m, expandRow as n, expandRowSlots as o, expandTable as p, expandTableSlots as q, floorObjects as r, floorStackPlacements as s, floorsOf as t, initialFloorMode as u, layoutCombinedFloorPlan as v, layoutFloorStack as w, levelContextOutlines as x, mainFloorId as y, objectCenter as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChartDoc, G as GAAreaObject, t as GAInventorySegment, u as CategoryTier } from './types-
|
|
2
|
-
import { E as ExpandedSeat } from './renderer-
|
|
1
|
+
import { C as ChartDoc, G as GAAreaObject, t as GAInventorySegment, u as CategoryTier } from './types-CB1llwVg.cjs';
|
|
2
|
+
import { E as ExpandedSeat } from './renderer-BIR1jJrt.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, t as GAInventorySegment, u as CategoryTier } from './types-
|
|
2
|
-
import { E as ExpandedSeat } from './renderer-
|
|
1
|
+
import { C as ChartDoc, G as GAAreaObject, t as GAInventorySegment, u as CategoryTier } from './types-CB1llwVg.js';
|
|
2
|
+
import { E as ExpandedSeat } from './renderer-CiPst9uA.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* General-admission unit labels, kept free of imports so a buyer surface can
|
|
@@ -1786,9 +1786,8 @@ interface SectionObject extends AuthoringObjectState, GateEntranceRef {
|
|
|
1786
1786
|
/** Zone this section belongs to (id into `ChartDoc.zones`). Far-zoom nav + pricing group. */
|
|
1787
1787
|
zone?: string;
|
|
1788
1788
|
/**
|
|
1789
|
-
* Tier height. 0 = floor (default). Higher values
|
|
1790
|
-
*
|
|
1791
|
-
* future multi-floor mode reuses — authored in 2D, never drawn by the user.
|
|
1789
|
+
* Tier height. 0 = floor (default). Higher values raise the section in the
|
|
1790
|
+
* 3D venue view. Authored in 2D, never drawn by the user.
|
|
1792
1791
|
*
|
|
1793
1792
|
* This is the coarse, back-compat source for {@link height}/{@link rake}: when
|
|
1794
1793
|
* those are absent, {@link sectionGeometry} derives real geometry from this
|
|
@@ -1803,9 +1802,8 @@ interface SectionObject extends AuthoringObjectState, GateEntranceRef {
|
|
|
1803
1802
|
* front-height + {@link rake} fully determine a rectangular tier's back-height.
|
|
1804
1803
|
*
|
|
1805
1804
|
* NOTE: no consumer reads this raw field directly — all callers go through
|
|
1806
|
-
* {@link sectionGeometry}
|
|
1807
|
-
*
|
|
1808
|
-
* generator) are intentionally NOT wired in Phase A. Range 0–120 m.
|
|
1805
|
+
* {@link sectionGeometry} (the 3D venue view and the per-seat eye height in
|
|
1806
|
+
* the `generatePanorama` 360° generator). Range 0–120 m.
|
|
1809
1807
|
*/
|
|
1810
1808
|
height?: number;
|
|
1811
1809
|
/**
|
|
@@ -1786,9 +1786,8 @@ interface SectionObject extends AuthoringObjectState, GateEntranceRef {
|
|
|
1786
1786
|
/** Zone this section belongs to (id into `ChartDoc.zones`). Far-zoom nav + pricing group. */
|
|
1787
1787
|
zone?: string;
|
|
1788
1788
|
/**
|
|
1789
|
-
* Tier height. 0 = floor (default). Higher values
|
|
1790
|
-
*
|
|
1791
|
-
* future multi-floor mode reuses — authored in 2D, never drawn by the user.
|
|
1789
|
+
* Tier height. 0 = floor (default). Higher values raise the section in the
|
|
1790
|
+
* 3D venue view. Authored in 2D, never drawn by the user.
|
|
1792
1791
|
*
|
|
1793
1792
|
* This is the coarse, back-compat source for {@link height}/{@link rake}: when
|
|
1794
1793
|
* those are absent, {@link sectionGeometry} derives real geometry from this
|
|
@@ -1803,9 +1802,8 @@ interface SectionObject extends AuthoringObjectState, GateEntranceRef {
|
|
|
1803
1802
|
* front-height + {@link rake} fully determine a rectangular tier's back-height.
|
|
1804
1803
|
*
|
|
1805
1804
|
* NOTE: no consumer reads this raw field directly — all callers go through
|
|
1806
|
-
* {@link sectionGeometry}
|
|
1807
|
-
*
|
|
1808
|
-
* generator) are intentionally NOT wired in Phase A. Range 0–120 m.
|
|
1805
|
+
* {@link sectionGeometry} (the 3D venue view and the per-seat eye height in
|
|
1806
|
+
* the `generatePanorama` 360° generator). Range 0–120 m.
|
|
1809
1807
|
*/
|
|
1810
1808
|
height?: number;
|
|
1811
1809
|
/**
|