@seatlayer/core 0.71.2 → 0.71.4
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/ar-WXDW7P4F.js +1 -0
- package/dist/be-OZ73MTYV.js +1 -0
- package/dist/bg-NXBQVQ7X.js +1 -0
- package/dist/ca-4J7PKGEP.js +1 -0
- package/dist/{categoryInventory-BiUDSvBt.d.ts → categoryInventory-B8CDQtH4.d.ts} +1 -1
- package/dist/{categoryInventory-DBqgM5in.d.cts → categoryInventory-r3OfIEQn.d.cts} +1 -1
- package/dist/{chunk-AWPHGLTU.js → chunk-7KS6TAYH.js} +1 -1
- package/dist/{chunk-A27USMF7.js → chunk-AM2LRFAY.js} +1 -1
- package/dist/chunk-KCFEFP6H.js +1 -0
- package/dist/{chunk-7OJ6SB6V.js → chunk-KPSJDH3N.js} +1 -1
- package/dist/{chunk-UHPX2P7O.js → chunk-LR7WIR5Z.js} +1 -1
- package/dist/chunk-NKYPEBW3.js +1 -0
- package/dist/{chunk-5AHUGRHH.js → chunk-NXFDYBZY.js} +1 -1
- package/dist/chunk-SKO3DCVB.js +1 -0
- package/dist/{chunk-652LV66L.js → chunk-YSVXAUOH.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.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 -4
- package/dist/core/layout/index.d.ts +5 -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.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/cs-HOVL5PRG.js +1 -0
- package/dist/{cy-XWYNMRNE.js → cy-KJLPIGNL.js} +1 -1
- package/dist/da-4YKKGJN6.js +1 -0
- package/dist/de-QYK4NJIH.js +1 -0
- package/dist/el-XLXQE4YH.js +1 -0
- package/dist/es-IXMCGRNZ.js +1 -0
- package/dist/et-HK6GEAPP.js +1 -0
- package/dist/{eventConfigurations-CA2XhDig.d.ts → eventConfigurations-0OC43JJY.d.ts} +1 -1
- package/dist/{eventConfigurations-Csdxe89O.d.cts → eventConfigurations-ByU_uPeS.d.cts} +1 -1
- package/dist/fa-RZT7N54K.js +1 -0
- package/dist/fi-NQN2STMX.js +1 -0
- package/dist/fr-AK5TYGQK.js +1 -0
- package/dist/he-CMVTS5LG.js +1 -0
- package/dist/{hr-AIG6RMUY.js → hr-LVOAM3F2.js} +1 -1
- package/dist/hu-KT2PFOAI.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +133 -34
- package/dist/index.d.ts +133 -34
- package/dist/index.js +1 -1
- package/dist/it-IWWDBW67.js +1 -0
- package/dist/ja-QUYO5TKQ.js +1 -0
- package/dist/ku-FVXFA2DX.js +1 -0
- package/dist/{labeling-CxZWjZBN.d.ts → labeling-B05IJwd2.d.ts} +1 -1
- package/dist/{labeling-DG-Sc8VW.d.cts → labeling-DAGq3u0z.d.cts} +1 -1
- package/dist/{layout-C6YaCOnZ.d.ts → layout-DkDRcXvu.d.ts} +102 -60
- package/dist/{layout-BxJIZjPm.d.cts → layout-e0Qe7jmM.d.cts} +102 -60
- package/dist/localeLoaders-SZP47JPK.js +1 -0
- package/dist/lt-O5OARGHR.js +1 -0
- package/dist/{lv-NTO2456Y.js → lv-D5PW436N.js} +1 -1
- package/dist/nl-VDXV6VTH.js +1 -0
- package/dist/no-YS6QVD44.js +1 -0
- package/dist/pl-NP6YVWU6.js +1 -0
- package/dist/pt-YZLA6LO4.js +1 -0
- package/dist/{renderedQuality-CgBQYezj.d.cts → renderedQuality-BaejczsK.d.cts} +1 -1
- package/dist/{renderedQuality-CWwy14lb.d.ts → renderedQuality-BwwrqYzX.d.ts} +1 -1
- package/dist/{renderer-DmG3C8vD.d.cts → renderer-BNicx5sw.d.ts} +43 -1
- package/dist/{renderer-DIcDImOu.d.ts → renderer-Duv1HhQg.d.cts} +43 -1
- package/dist/ro-AOVPSQKL.js +1 -0
- package/dist/ru-4LGHGVZG.js +1 -0
- package/dist/{sections-Bb0L9lDT.d.cts → sections-BjGjR21N.d.cts} +1 -1
- package/dist/{sections-87qiciyN.d.ts → sections-CrX4vq-m.d.ts} +1 -1
- package/dist/{segmentedRowModel-CEP6crcl.d.ts → segmentedRowModel-BOO8w9Ng.d.ts} +1 -1
- package/dist/{segmentedRowModel-BqiM0U65.d.cts → segmentedRowModel-UO_YIQRB.d.cts} +1 -1
- package/dist/sk-4FRMG7ZG.js +1 -0
- package/dist/sl-FYABQLPI.js +1 -0
- package/dist/sr-W4SGB5AT.js +1 -0
- package/dist/sv-4LK4WE4H.js +1 -0
- package/dist/{ticketRestrictions-Bj8PBX_x.d.cts → ticketRestrictions-DUQrKTpS.d.cts} +2 -2
- package/dist/{ticketRestrictions-B_qXQobd.d.ts → ticketRestrictions-dvlNTwem.d.ts} +2 -2
- package/dist/tr-M5NWILAZ.js +1 -0
- package/dist/{types-DNztpn7q.d.ts → types-0yruRsAj.d.cts} +30 -1
- package/dist/{types-DNztpn7q.d.cts → types-0yruRsAj.d.ts} +30 -1
- package/dist/uk-REKJ4DVG.js +1 -0
- package/dist/view3d/crossfade/panorama.d.cts +1 -1
- package/dist/view3d/crossfade/panorama.d.ts +1 -1
- package/dist/view3d/index.cjs +31 -31
- package/dist/view3d/index.d.cts +36 -4
- package/dist/view3d/index.d.ts +36 -4
- package/dist/view3d/index.js +23 -23
- package/dist/view3d/scene/scene.worker.cjs +1 -1
- package/dist/view3d/scene/scene.worker.js +1 -1
- package/dist/{zh-Hans-ONBXTDHV.js → zh-Hans-F32F3VGF.js} +1 -1
- package/dist/{zh-Hant-LVTMHA6P.js → zh-Hant-NA3TGNDP.js} +1 -1
- package/package.json +1 -1
- package/dist/ar-R52D47QC.js +0 -1
- package/dist/be-P34NRZPF.js +0 -1
- package/dist/bg-4TEE6DSQ.js +0 -1
- package/dist/ca-V4A6DRPR.js +0 -1
- package/dist/chunk-WXWJZ5DO.js +0 -1
- package/dist/chunk-WYXHD6J2.js +0 -1
- package/dist/chunk-X3K36XZM.js +0 -1
- package/dist/cs-GR5H3ZRU.js +0 -1
- package/dist/da-NOYMEVP6.js +0 -1
- package/dist/de-LFHFC2XO.js +0 -1
- package/dist/el-AS3436E6.js +0 -1
- package/dist/es-IWBWYUHH.js +0 -1
- package/dist/et-VV7YGFEV.js +0 -1
- package/dist/fa-JYLN4BIM.js +0 -1
- package/dist/fi-TXRN726I.js +0 -1
- package/dist/fr-PKEU6NKI.js +0 -1
- package/dist/he-H53ZPEAF.js +0 -1
- package/dist/hu-KE64252D.js +0 -1
- package/dist/it-GVT7VIKV.js +0 -1
- package/dist/ja-WMRRUDVD.js +0 -1
- package/dist/ku-77V6NTW7.js +0 -1
- package/dist/localeLoaders-EMBA3SWS.js +0 -1
- package/dist/lt-7ICKT4ED.js +0 -1
- package/dist/nl-IYEEWC4A.js +0 -1
- package/dist/no-CKH6R5N2.js +0 -1
- package/dist/pl-ALK57HKB.js +0 -1
- package/dist/pt-EYFSXBVZ.js +0 -1
- package/dist/ro-EUFVCBVY.js +0 -1
- package/dist/ru-XAIYWENX.js +0 -1
- package/dist/sk-QIOFO4TV.js +0 -1
- package/dist/sl-37I57K2X.js +0 -1
- package/dist/sr-HE5DILFD.js +0 -1
- package/dist/sv-7SVBFLY3.js +0 -1
- package/dist/tr-JNA4YJEJ.js +0 -1
- package/dist/uk-2723G7DI.js +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,40 @@
|
|
|
1
|
-
import { C as ChartDoc, P as Point, A as AccessibilityType,
|
|
2
|
-
export {
|
|
3
|
-
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-
|
|
4
|
-
export { b as EVENT_CONFIGURATION_EXPORT_SCHEMA, c as EVENT_CONFIGURATION_SCHEMA, d as EventConfigurationBaseVenue, e as EventConfigurationCompatibilityIssue, f as EventConfigurationCompatibilityIssueCode, g as EventConfigurationCompatibilityResult, h as EventConfigurationExportEnvelope, i as EventConfigurationLifecycleStatus, j as EventConfigurationOcclusion, k as EventConfigurationOverlay, l as EventConfigurationParseIssue, m as EventConfigurationParseIssueCode, n as EventConfigurationParseResult, o as EventConfigurationProductionElement, p as EventConfigurationProductionElementKind, q as EventConfigurationVenueSnapshot, r as EventConfigurationVersionParseResult, s as EventConfigurationVersionSummary, L as LegacyEventConfigurationMigrationResult, t as canTransitionEventConfiguration, u as canonicalEventConfigurationJson, v as inspectEventConfigurationCompatibility, w as migrateLegacyEventConfigurations, x as parseEventConfigurationExport, y as parseEventConfigurationVersion, z as resolveEventConfigurationRollback } from './eventConfigurations-
|
|
5
|
-
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET,
|
|
6
|
-
import { c as TicketSelectionIssue } from './ticketRestrictions-
|
|
7
|
-
export { M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, v as validGAInventorySegments } from './ticketRestrictions-
|
|
8
|
-
export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from './sections-
|
|
9
|
-
export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from './renderedQuality-
|
|
10
|
-
import { I as ISeatmapRenderer, b as RendererOptions, S as SeatStatus, c as SeatMark, E as ExpandedSeat, G as GAAreaState, d as RendererViewMode, e as RendererMinimapSnapshot, L as LodRung, R as RendererQualityEvidence, f as RendererCallbacks } from './renderer-
|
|
11
|
-
export { C as CHART_STORAGE_KEY, g as RenderedBookableLabelEvidence, a as RenderedFreeTextEvidence, h as RenderedGAAreaEvidence, i as RenderedHierarchyLabelEvidence, j as RenderedLabelHiddenReason, k as RenderedRowLabelEvidence, l as RendererHoverDetails, m as RendererMinimapSeat, n as RendererMinimapSection, o as SeatMarkKind } from './renderer-
|
|
12
|
-
import './segmentedRowModel-
|
|
1
|
+
import { C as ChartDoc, F as FloorLabelStyle, P as Point, A as AccessibilityType, i as CategoryTier, S as SeatCommercialAttributes, w as ChartDeliveryPerformance } from './types-0yruRsAj.cjs';
|
|
2
|
+
export { x as ACCESSIBILITY_RING_COLOR, y as ACCESSIBILITY_TYPES, z as AccessibilityMeta, D as AuthoringObjectState, B as BoothObject, p as Category, E as ChartLayoutConstraint, a as ChartObject, o as ChartReferenceImage, H as ChartTheme, I as ConfidenceEvidenceScope, u as CubicPath, J as DecorImageObject, l as Floor, G as GAAreaObject, h as GAInventorySegment, K as LABEL_STYLE_MAX_SIZE, M as LABEL_STYLE_MIN_SIZE, N as LabelPresentation, L as LabelStyle, O as ObjectEditorState, Q as Physical3dEvidence, U as RadialClearanceLayoutConstraint, n as RectTableSeatCounts, k as RectTableSide, V as ReferenceAccessibilitySource, W as ReferenceCalibration, X as ReferenceCategorySource, Y as ReferenceDerivedScale, Z as ReferenceEnrichmentStatus, _ as ReferenceExtractEmptyReason, $ as ReferenceExtractEnrichment, a0 as ReferenceExtractInput, a1 as ReferenceExtractProposal, a2 as ReferenceExtractRegionSeats, a3 as ReferenceInventoryExclusionSource, a4 as ReferenceInventorySource, a5 as ReferenceMatchReport, a6 as ReferenceScanProposal, a7 as ReferenceScanRowProposal, a8 as ReferenceScanSectionProposal, a9 as ReferenceSeatSeed, aa as ReferenceSectionTraceBatchInput, ab as ReferenceSectionTraceBatchProposal, ac as ReferenceSectionTraceInput, ad as ReferenceSectionTraceProposal, c as ResolvedSeatConfidenceEvidence, R as RowObject, ae as SEAT_COMMERCIAL_MARKS, af as SURROUNDINGS_SHAPE_ROLES, ag as SeatCommercialMark, ah as SeatCommercialMeta, ai as SeatConfidenceCoverage, aj as SeatConfidenceEvidence, ak as SeatConfidenceModelLevel, al as SeatConfidenceModeledTarget, am as SeatConfidenceRealityLevel, d as SeatGlyphKind, j as SeatOverride, e as SeatViewCoverage, b as SeatViewMetadata, an as SeatViewVariant, m as SectionObject, f as SectionOutlinePath, g as SectionPathSegment, ao as SelectionLayer, q as ShapeLineCap, r as ShapeLineEnding, s as ShapeLineJoin, t as ShapeObject, T as TableObject, ap as TextAlignment, aq as TextBackground, v as TextObject, ar as TicketTierApplicability, as as TicketTierEvidence, at as TicketTierRestriction, au as Venue3DMaterialPalette, av as VenueSurveyRegistrationEvidence, aw as ZoneDef, ax as accessibilityMeta, ay as accessibilityRingColor, az as layerOf, aA as seatCommercialMeta } from './types-0yruRsAj.cjs';
|
|
3
|
+
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-ByU_uPeS.cjs';
|
|
4
|
+
export { b as EVENT_CONFIGURATION_EXPORT_SCHEMA, c as EVENT_CONFIGURATION_SCHEMA, d as EventConfigurationBaseVenue, e as EventConfigurationCompatibilityIssue, f as EventConfigurationCompatibilityIssueCode, g as EventConfigurationCompatibilityResult, h as EventConfigurationExportEnvelope, i as EventConfigurationLifecycleStatus, j as EventConfigurationOcclusion, k as EventConfigurationOverlay, l as EventConfigurationParseIssue, m as EventConfigurationParseIssueCode, n as EventConfigurationParseResult, o as EventConfigurationProductionElement, p as EventConfigurationProductionElementKind, q as EventConfigurationVenueSnapshot, r as EventConfigurationVersionParseResult, s as EventConfigurationVersionSummary, L as LegacyEventConfigurationMigrationResult, t as canTransitionEventConfiguration, u as canonicalEventConfigurationJson, v as inspectEventConfigurationCompatibility, w as migrateLegacyEventConfigurations, x as parseEventConfigurationExport, y as parseEventConfigurationVersion, z as resolveEventConfigurationRollback } from './eventConfigurations-ByU_uPeS.cjs';
|
|
5
|
+
export { C as ChartBoundsOptions, E as ExpandChartOptions, F as FLOOR_STACK_GAP_RATIO, a as FLOOR_STACK_MIN_SURFACE_PX, b as FloorStackOptions, c as FloorStackPlacement, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, d as TableSeatSlot, e as allObjects, f as chartBounds, g as expandBooth, h as expandChart, i as expandRow, j as expandRowSlots, k as expandTable, l as expandTableSlots, m as floorObjects, n as floorStackPlacements, o as floorsOf, p as initialFloorMode, q as layoutFloorStack, r as mainFloorId, s as objectCenter, t as owningSectionForObject, u as pointInPolygon, v as pointInPolygonWithHoles, w as polygonLabelPoint, x as rowInventoryCount, y as rowSeatPositions, z as stackFloors, A as tableInventoryCount, B as tableSeatCountsBySide, D as translateObject } from './layout-e0Qe7jmM.cjs';
|
|
6
|
+
import { c as TicketSelectionIssue } from './ticketRestrictions-DUQrKTpS.cjs';
|
|
7
|
+
export { M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, v as validGAInventorySegments } from './ticketRestrictions-DUQrKTpS.cjs';
|
|
8
|
+
export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from './sections-BjGjR21N.cjs';
|
|
9
|
+
export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from './renderedQuality-BaejczsK.cjs';
|
|
10
|
+
import { I as ISeatmapRenderer, b as RendererOptions, S as SeatStatus, c as SeatMark, E as ExpandedSeat, G as GAAreaState, d as RendererViewMode, e as RendererMinimapSnapshot, L as LodRung, R as RendererQualityEvidence, f as RendererCallbacks } from './renderer-Duv1HhQg.cjs';
|
|
11
|
+
export { C as CHART_STORAGE_KEY, g as RenderedBookableLabelEvidence, a as RenderedFreeTextEvidence, h as RenderedGAAreaEvidence, i as RenderedHierarchyLabelEvidence, j as RenderedLabelHiddenReason, k as RenderedRowLabelEvidence, l as RendererHoverDetails, m as RendererMinimapSeat, n as RendererMinimapSection, o as SeatMarkKind } from './renderer-Duv1HhQg.cjs';
|
|
12
|
+
import './segmentedRowModel-UO_YIQRB.cjs';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Host chrome over the canvas, and the box that leaves for camera framing.
|
|
16
|
+
*
|
|
17
|
+
* On a native shell the canvas fills the WebView but is not all VISIBLE: a top
|
|
18
|
+
* rail, a bottom dock and a peeking sheet sit over it. Framing that centres on
|
|
19
|
+
* the stage therefore parks a focused section behind the furniture. These are
|
|
20
|
+
* the two pure pieces of that: normalising what a host reports, and turning it
|
|
21
|
+
* into the rect every fit and glide aims at.
|
|
22
|
+
*
|
|
23
|
+
* Lives outside SeatmapRenderer because that file is at its size pin and this
|
|
24
|
+
* needs nothing from it but two numbers.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
interface ViewportInsets {
|
|
28
|
+
top: number;
|
|
29
|
+
right: number;
|
|
30
|
+
bottom: number;
|
|
31
|
+
left: number;
|
|
32
|
+
}
|
|
33
|
+
interface CameraPose {
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
scale: number;
|
|
37
|
+
}
|
|
13
38
|
|
|
14
39
|
declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
15
40
|
private container;
|
|
@@ -38,6 +63,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
38
63
|
private stacked;
|
|
39
64
|
/** Buyer-facing 2D overview: floors are rigidly arranged without altering topology. */
|
|
40
65
|
private floorOverview;
|
|
66
|
+
private floorLabelStyle;
|
|
41
67
|
/** Interactive node per seat/booth — a Circle for seats, a Rect for booths. */
|
|
42
68
|
private circleById;
|
|
43
69
|
/** Seats drawn as a chair glyph, and whether they are big enough to show it. */
|
|
@@ -188,6 +214,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
188
214
|
private fitScale;
|
|
189
215
|
/** Stage pose the last overview fit landed on — see zoomToFit. */
|
|
190
216
|
private fitPose;
|
|
217
|
+
private viewportInsets;
|
|
191
218
|
/** Effective seat radius (base × theme.seatScale), set per chart in setChart. */
|
|
192
219
|
private seatR;
|
|
193
220
|
private bounds;
|
|
@@ -317,6 +344,9 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
317
344
|
* as one rigid group for clarity; its authored internal topology is exact. */
|
|
318
345
|
setFloorOverview(on: boolean): void;
|
|
319
346
|
isFloorOverview(): boolean;
|
|
347
|
+
/** How the stacked view marks a level — see floorStack.ts. */
|
|
348
|
+
setFloorLabelStyle(style: FloorLabelStyle): void;
|
|
349
|
+
getFloorLabelStyle(): FloorLabelStyle;
|
|
320
350
|
/** Switch which floor is shown (2D). Re-renders + re-fits; no-op if unchanged. */
|
|
321
351
|
setActiveFloor(floorId: string): void;
|
|
322
352
|
/** Floors for the host's switcher (single-floor charts return one synthetic floor). */
|
|
@@ -391,6 +421,19 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
391
421
|
private focusSeat;
|
|
392
422
|
/** Pan/zoom so a seat sits on-screen at a legible scale (for keyboard focus). */
|
|
393
423
|
private ensureVisible;
|
|
424
|
+
/** The host's own chrome over the canvas, in CSS px; `null` clears. Refits
|
|
425
|
+
* the CURRENT view so the map slides out from under new chrome. */
|
|
426
|
+
setViewportInsets(insets: {
|
|
427
|
+
top?: number;
|
|
428
|
+
right?: number;
|
|
429
|
+
bottom?: number;
|
|
430
|
+
left?: number;
|
|
431
|
+
} | null): void;
|
|
432
|
+
/** In force now; all zero when the host set none. */
|
|
433
|
+
getViewportInsets(): ViewportInsets;
|
|
434
|
+
private framingViewport;
|
|
435
|
+
/** The visible band in world space — what "where the buyer is looking" means. */
|
|
436
|
+
private framingWorldRect;
|
|
394
437
|
zoomToFit(): void;
|
|
395
438
|
/**
|
|
396
439
|
* Reframe after a host/layout resize without throwing away section context.
|
|
@@ -400,6 +443,16 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
400
443
|
refitCurrentView(): void;
|
|
401
444
|
/** Step factor for the on-screen +/− buttons (B1) — same clamp path as pinch/wheel. */
|
|
402
445
|
private static readonly ZOOM_STEP;
|
|
446
|
+
/** The camera as it stands, for a caller rebuilding the scene under a buyer
|
|
447
|
+
* who has not moved: `setChart` re-fits, and a re-FRAME through focusRegion
|
|
448
|
+
* would zoom out by its 1.12 margin on every repaint. */
|
|
449
|
+
getCameraPose(): CameraPose;
|
|
450
|
+
/** Put the camera back exactly where {@link getCameraPose} found it.
|
|
451
|
+
* Any glide in flight is dropped first: a rebuild restores the focused
|
|
452
|
+
* section before the pose, and that focus starts an entrance glide whose
|
|
453
|
+
* next frame would otherwise overwrite the pose one tick later — the buyer
|
|
454
|
+
* saw a theme flip slide the map to a different table. */
|
|
455
|
+
setCameraPose(pose: CameraPose): void;
|
|
403
456
|
zoomIn(): void;
|
|
404
457
|
zoomOut(): void;
|
|
405
458
|
/**
|
|
@@ -711,21 +764,10 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
711
764
|
private refreshSectionFill;
|
|
712
765
|
private isSectionClosed;
|
|
713
766
|
/**
|
|
714
|
-
*
|
|
715
|
-
* hue an overview block is tinted with. Ties break on the stable category key
|
|
716
|
-
* so the same chart always tints the same way. Null when nothing here is for
|
|
717
|
-
* sale: a block with no price keeps the neutral treatment.
|
|
718
|
-
*/
|
|
767
|
+
* The hue an overview block is tinted with; see ./render/overviewPalette. */
|
|
719
768
|
private dominantSellableColor;
|
|
720
769
|
/**
|
|
721
|
-
* Free seats
|
|
722
|
-
*
|
|
723
|
-
* The count, not a boolean, because the block rung has two jobs for it: mark
|
|
724
|
-
* the sections that have anything at all, and tell the buyer how much. Zero
|
|
725
|
-
* when no filter is on — nothing at that rung asks the question then, and
|
|
726
|
-
* walking every section's members on every paint to answer an unasked
|
|
727
|
-
* question is exactly the per-frame cost this rung exists to avoid.
|
|
728
|
-
*/
|
|
770
|
+
* Free seats here matching the accessibility filter; see ./render/sectionLod. */
|
|
729
771
|
private sectionAccessibleFree;
|
|
730
772
|
private get sectionLodPaintContext();
|
|
731
773
|
/** Build the zone pills (name + FROM price) — see render/zoneScene.ts. */
|
|
@@ -837,13 +879,8 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
837
879
|
setRung(rung: LodRung): void;
|
|
838
880
|
private seatRungScale;
|
|
839
881
|
private narrowSeatDetailFocus;
|
|
840
|
-
/**
|
|
841
|
-
*
|
|
842
|
-
* A short `A-1` remains at the normal 7u target; a table label such as
|
|
843
|
-
* `T13-10` may fit at 4u and therefore needs a deeper camera target to reach
|
|
844
|
-
* the same 12 CSS-pixel floor. Measurement happens only on explicit rung
|
|
845
|
-
* navigation, never during pan/zoom frames.
|
|
846
|
-
*/
|
|
882
|
+
/** The camera scale every seat label needs to clear the legible floor.
|
|
883
|
+
* Derivation in ./render/seatLabelTargetScale. */
|
|
847
884
|
private seatLabelTargetScale;
|
|
848
885
|
/** Recompute LOD (cache/labels) after any pan/zoom settles. */
|
|
849
886
|
private afterViewChange;
|
|
@@ -916,6 +953,40 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
916
953
|
}
|
|
917
954
|
declare function createRenderer(container: HTMLDivElement, opts?: RendererOptions): ISeatmapRenderer;
|
|
918
955
|
|
|
956
|
+
/**
|
|
957
|
+
* Automatic row-letter label planning: where each authored row label wants to
|
|
958
|
+
* sit in world space, and how an automatic start/end label steps out of the way
|
|
959
|
+
* of seats and already-painted text.
|
|
960
|
+
*
|
|
961
|
+
* Moved verbatim out of SeatmapRenderer (2026-08-15 refactor, Phase 2B pass B);
|
|
962
|
+
* `this.` became either a `ctx` field or an explicit parameter, and
|
|
963
|
+
* `buildRowLabelPlan` returns the plan instead of assigning `this.rowLabelPlan`.
|
|
964
|
+
*/
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Reduce a globally-unique authored row name to the local identity a buyer
|
|
968
|
+
* needs, given the section that already names itself on screen.
|
|
969
|
+
*
|
|
970
|
+
* Persisted venue templates make row names unique across the whole venue, in
|
|
971
|
+
* two shapes this has to recognise:
|
|
972
|
+
*
|
|
973
|
+
* 1. the section name spelled out — "Grand Circle A H" inside "Grand Circle A";
|
|
974
|
+
* 2. an ABBREVIATION of it, delimited — "GALL-A" inside "Gallery".
|
|
975
|
+
*
|
|
976
|
+
* Only (1) was handled. A chart written in shape (2) painted the full
|
|
977
|
+
* "GALL-A" at every row end: six characters where one was meant, which is wide
|
|
978
|
+
* enough that the automatic placer could not find a clear spot beside a dense
|
|
979
|
+
* row and fell back to its least-colliding candidate — on top of the seats,
|
|
980
|
+
* and on top of the neighbouring rows' labels (3,605-seat auditorium, owner
|
|
981
|
+
* report 2026-08-27). The label size was never wrong; the STRING was.
|
|
982
|
+
*
|
|
983
|
+
* Deliberately conservative: the head is only dropped when the section
|
|
984
|
+
* corroborates it (one is a prefix of the other, case-insensitively) AND what
|
|
985
|
+
* remains is a plausible row identity. A row genuinely named "A-1" in
|
|
986
|
+
* "Gallery" keeps its name, because nothing licenses cutting it.
|
|
987
|
+
*/
|
|
988
|
+
declare function compactRowLabel(rowLabel: string, sectionLabel: string | undefined): string;
|
|
989
|
+
|
|
919
990
|
/**
|
|
920
991
|
* Public host contracts for the framework-agnostic buyer picker.
|
|
921
992
|
*
|
|
@@ -1063,8 +1134,15 @@ interface SectionSummary {
|
|
|
1063
1134
|
zoneLabel: string;
|
|
1064
1135
|
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
1065
1136
|
entrance?: string;
|
|
1066
|
-
/**
|
|
1137
|
+
/**
|
|
1138
|
+
* The card's dot: the dominant FREE category's colour, which is the same
|
|
1139
|
+
* derivation the renderer tints the section's overview block with. Falls
|
|
1140
|
+
* back to the dominant category overall (a sold-out section), then the zone
|
|
1141
|
+
* colour, then the designer's authored shell paint.
|
|
1142
|
+
*/
|
|
1067
1143
|
color: string;
|
|
1144
|
+
/** Which category `color` came from; absent when the section has no seats. */
|
|
1145
|
+
dominantCategoryKey?: string;
|
|
1068
1146
|
/** Free member seats right now. */
|
|
1069
1147
|
seatsLeft: number;
|
|
1070
1148
|
/**
|
|
@@ -1155,6 +1233,7 @@ interface PickerRealtimeConnection {
|
|
|
1155
1233
|
interface PickerTransport {
|
|
1156
1234
|
chart(key: string): Promise<{
|
|
1157
1235
|
doc: ChartDoc;
|
|
1236
|
+
chartDelivery?: ChartDeliveryPerformance;
|
|
1158
1237
|
event: {
|
|
1159
1238
|
key: string;
|
|
1160
1239
|
name: string;
|
|
@@ -1474,6 +1553,7 @@ declare class PickerController {
|
|
|
1474
1553
|
private liveDefault;
|
|
1475
1554
|
private currency;
|
|
1476
1555
|
private expiryTimer;
|
|
1556
|
+
private readonly snapshots;
|
|
1477
1557
|
constructor(options: PickerOptions);
|
|
1478
1558
|
get doc(): ChartDoc | null;
|
|
1479
1559
|
/**
|
|
@@ -1572,6 +1652,7 @@ declare class PickerController {
|
|
|
1572
1652
|
locale?: string | null;
|
|
1573
1653
|
/** Absolute event-poster URL, when the server can publicly serve one. */
|
|
1574
1654
|
posterUrl?: string | null;
|
|
1655
|
+
chartDelivery?: ChartDeliveryPerformance;
|
|
1575
1656
|
performanceProfile: PickerRenderPerformanceProfile;
|
|
1576
1657
|
} | null>;
|
|
1577
1658
|
getSelection(): PickerSeat[];
|
|
@@ -1711,6 +1792,22 @@ declare class PickerController {
|
|
|
1711
1792
|
zoomToFit(): void;
|
|
1712
1793
|
/** Preserve section focus while the usable map viewport changes. */
|
|
1713
1794
|
refitCurrentView(): void;
|
|
1795
|
+
/** The chrome a HOST draws over the canvas, in CSS px, so framing aims at
|
|
1796
|
+
* what is visible. Held here as well as forwarded: a native shell measures
|
|
1797
|
+
* its rails before the renderer exists. */
|
|
1798
|
+
setViewportInsets(insets: {
|
|
1799
|
+
top?: number;
|
|
1800
|
+
right?: number;
|
|
1801
|
+
bottom?: number;
|
|
1802
|
+
left?: number;
|
|
1803
|
+
} | null): void;
|
|
1804
|
+
/** In force now; all zero when the host set none. */
|
|
1805
|
+
getViewportInsets(): {
|
|
1806
|
+
top: number;
|
|
1807
|
+
right: number;
|
|
1808
|
+
bottom: number;
|
|
1809
|
+
left: number;
|
|
1810
|
+
};
|
|
1714
1811
|
worldToScreen(p: {
|
|
1715
1812
|
x: number;
|
|
1716
1813
|
y: number;
|
|
@@ -1729,6 +1826,7 @@ declare class PickerController {
|
|
|
1729
1826
|
* without reaching into the canvas for it.
|
|
1730
1827
|
*/
|
|
1731
1828
|
private accessFilter;
|
|
1829
|
+
private viewportInsets;
|
|
1732
1830
|
setAccessibilityFilter(types: string[] | null): void;
|
|
1733
1831
|
/** The buyer's active accessibility filter, or null. */
|
|
1734
1832
|
getAccessibilityFilter(): AccessibilityType[] | null;
|
|
@@ -1882,6 +1980,7 @@ declare class PickerController {
|
|
|
1882
1980
|
/** The live status of one unit, honouring the projection's default. */
|
|
1883
1981
|
private statusOf;
|
|
1884
1982
|
private clearBookedHoldIfSettled;
|
|
1983
|
+
/** Repaint from truth. Coalesced — see snapshotCoalescer.ts. */
|
|
1885
1984
|
private resnapshot;
|
|
1886
1985
|
/**
|
|
1887
1986
|
* Re-pull the status snapshot on demand. Live surfaces rarely need this (the
|
|
@@ -2171,4 +2270,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
|
|
|
2171
2270
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2172
2271
|
declare function currencySymbol(currency?: string): string;
|
|
2173
2272
|
|
|
2174
|
-
export { AccessibilityType, CURRENCY_CHOICES, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, GAAreaState, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LOCALE_NAMES, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, createRenderer, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, isLocaleLoaded, loadLocale, localeDirection, resolveLocale, setLocale, setMoneyLocale, setStringOverrides, t, tCount };
|
|
2273
|
+
export { AccessibilityType, CURRENCY_CHOICES, CategoryTier, ChartDeliveryPerformance, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LOCALE_NAMES, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, compactRowLabel, createRenderer, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, isLocaleLoaded, loadLocale, localeDirection, resolveLocale, setLocale, setMoneyLocale, setStringOverrides, t, tCount };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,40 @@
|
|
|
1
|
-
import { C as ChartDoc, P as Point, A as AccessibilityType,
|
|
2
|
-
export {
|
|
3
|
-
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-
|
|
4
|
-
export { b as EVENT_CONFIGURATION_EXPORT_SCHEMA, c as EVENT_CONFIGURATION_SCHEMA, d as EventConfigurationBaseVenue, e as EventConfigurationCompatibilityIssue, f as EventConfigurationCompatibilityIssueCode, g as EventConfigurationCompatibilityResult, h as EventConfigurationExportEnvelope, i as EventConfigurationLifecycleStatus, j as EventConfigurationOcclusion, k as EventConfigurationOverlay, l as EventConfigurationParseIssue, m as EventConfigurationParseIssueCode, n as EventConfigurationParseResult, o as EventConfigurationProductionElement, p as EventConfigurationProductionElementKind, q as EventConfigurationVenueSnapshot, r as EventConfigurationVersionParseResult, s as EventConfigurationVersionSummary, L as LegacyEventConfigurationMigrationResult, t as canTransitionEventConfiguration, u as canonicalEventConfigurationJson, v as inspectEventConfigurationCompatibility, w as migrateLegacyEventConfigurations, x as parseEventConfigurationExport, y as parseEventConfigurationVersion, z as resolveEventConfigurationRollback } from './eventConfigurations-
|
|
5
|
-
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET,
|
|
6
|
-
import { c as TicketSelectionIssue } from './ticketRestrictions-
|
|
7
|
-
export { M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, v as validGAInventorySegments } from './ticketRestrictions-
|
|
8
|
-
export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from './sections-
|
|
9
|
-
export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from './renderedQuality-
|
|
10
|
-
import { I as ISeatmapRenderer, b as RendererOptions, S as SeatStatus, c as SeatMark, E as ExpandedSeat, G as GAAreaState, d as RendererViewMode, e as RendererMinimapSnapshot, L as LodRung, R as RendererQualityEvidence, f as RendererCallbacks } from './renderer-
|
|
11
|
-
export { C as CHART_STORAGE_KEY, g as RenderedBookableLabelEvidence, a as RenderedFreeTextEvidence, h as RenderedGAAreaEvidence, i as RenderedHierarchyLabelEvidence, j as RenderedLabelHiddenReason, k as RenderedRowLabelEvidence, l as RendererHoverDetails, m as RendererMinimapSeat, n as RendererMinimapSection, o as SeatMarkKind } from './renderer-
|
|
12
|
-
import './segmentedRowModel-
|
|
1
|
+
import { C as ChartDoc, F as FloorLabelStyle, P as Point, A as AccessibilityType, i as CategoryTier, S as SeatCommercialAttributes, w as ChartDeliveryPerformance } from './types-0yruRsAj.js';
|
|
2
|
+
export { x as ACCESSIBILITY_RING_COLOR, y as ACCESSIBILITY_TYPES, z as AccessibilityMeta, D as AuthoringObjectState, B as BoothObject, p as Category, E as ChartLayoutConstraint, a as ChartObject, o as ChartReferenceImage, H as ChartTheme, I as ConfidenceEvidenceScope, u as CubicPath, J as DecorImageObject, l as Floor, G as GAAreaObject, h as GAInventorySegment, K as LABEL_STYLE_MAX_SIZE, M as LABEL_STYLE_MIN_SIZE, N as LabelPresentation, L as LabelStyle, O as ObjectEditorState, Q as Physical3dEvidence, U as RadialClearanceLayoutConstraint, n as RectTableSeatCounts, k as RectTableSide, V as ReferenceAccessibilitySource, W as ReferenceCalibration, X as ReferenceCategorySource, Y as ReferenceDerivedScale, Z as ReferenceEnrichmentStatus, _ as ReferenceExtractEmptyReason, $ as ReferenceExtractEnrichment, a0 as ReferenceExtractInput, a1 as ReferenceExtractProposal, a2 as ReferenceExtractRegionSeats, a3 as ReferenceInventoryExclusionSource, a4 as ReferenceInventorySource, a5 as ReferenceMatchReport, a6 as ReferenceScanProposal, a7 as ReferenceScanRowProposal, a8 as ReferenceScanSectionProposal, a9 as ReferenceSeatSeed, aa as ReferenceSectionTraceBatchInput, ab as ReferenceSectionTraceBatchProposal, ac as ReferenceSectionTraceInput, ad as ReferenceSectionTraceProposal, c as ResolvedSeatConfidenceEvidence, R as RowObject, ae as SEAT_COMMERCIAL_MARKS, af as SURROUNDINGS_SHAPE_ROLES, ag as SeatCommercialMark, ah as SeatCommercialMeta, ai as SeatConfidenceCoverage, aj as SeatConfidenceEvidence, ak as SeatConfidenceModelLevel, al as SeatConfidenceModeledTarget, am as SeatConfidenceRealityLevel, d as SeatGlyphKind, j as SeatOverride, e as SeatViewCoverage, b as SeatViewMetadata, an as SeatViewVariant, m as SectionObject, f as SectionOutlinePath, g as SectionPathSegment, ao as SelectionLayer, q as ShapeLineCap, r as ShapeLineEnding, s as ShapeLineJoin, t as ShapeObject, T as TableObject, ap as TextAlignment, aq as TextBackground, v as TextObject, ar as TicketTierApplicability, as as TicketTierEvidence, at as TicketTierRestriction, au as Venue3DMaterialPalette, av as VenueSurveyRegistrationEvidence, aw as ZoneDef, ax as accessibilityMeta, ay as accessibilityRingColor, az as layerOf, aA as seatCommercialMeta } from './types-0yruRsAj.js';
|
|
3
|
+
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-0OC43JJY.js';
|
|
4
|
+
export { b as EVENT_CONFIGURATION_EXPORT_SCHEMA, c as EVENT_CONFIGURATION_SCHEMA, d as EventConfigurationBaseVenue, e as EventConfigurationCompatibilityIssue, f as EventConfigurationCompatibilityIssueCode, g as EventConfigurationCompatibilityResult, h as EventConfigurationExportEnvelope, i as EventConfigurationLifecycleStatus, j as EventConfigurationOcclusion, k as EventConfigurationOverlay, l as EventConfigurationParseIssue, m as EventConfigurationParseIssueCode, n as EventConfigurationParseResult, o as EventConfigurationProductionElement, p as EventConfigurationProductionElementKind, q as EventConfigurationVenueSnapshot, r as EventConfigurationVersionParseResult, s as EventConfigurationVersionSummary, L as LegacyEventConfigurationMigrationResult, t as canTransitionEventConfiguration, u as canonicalEventConfigurationJson, v as inspectEventConfigurationCompatibility, w as migrateLegacyEventConfigurations, x as parseEventConfigurationExport, y as parseEventConfigurationVersion, z as resolveEventConfigurationRollback } from './eventConfigurations-0OC43JJY.js';
|
|
5
|
+
export { C as ChartBoundsOptions, E as ExpandChartOptions, F as FLOOR_STACK_GAP_RATIO, a as FLOOR_STACK_MIN_SURFACE_PX, b as FloorStackOptions, c as FloorStackPlacement, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, d as TableSeatSlot, e as allObjects, f as chartBounds, g as expandBooth, h as expandChart, i as expandRow, j as expandRowSlots, k as expandTable, l as expandTableSlots, m as floorObjects, n as floorStackPlacements, o as floorsOf, p as initialFloorMode, q as layoutFloorStack, r as mainFloorId, s as objectCenter, t as owningSectionForObject, u as pointInPolygon, v as pointInPolygonWithHoles, w as polygonLabelPoint, x as rowInventoryCount, y as rowSeatPositions, z as stackFloors, A as tableInventoryCount, B as tableSeatCountsBySide, D as translateObject } from './layout-DkDRcXvu.js';
|
|
6
|
+
import { c as TicketSelectionIssue } from './ticketRestrictions-dvlNTwem.js';
|
|
7
|
+
export { M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, v as validGAInventorySegments } from './ticketRestrictions-dvlNTwem.js';
|
|
8
|
+
export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from './sections-CrX4vq-m.js';
|
|
9
|
+
export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from './renderedQuality-BwwrqYzX.js';
|
|
10
|
+
import { I as ISeatmapRenderer, b as RendererOptions, S as SeatStatus, c as SeatMark, E as ExpandedSeat, G as GAAreaState, d as RendererViewMode, e as RendererMinimapSnapshot, L as LodRung, R as RendererQualityEvidence, f as RendererCallbacks } from './renderer-BNicx5sw.js';
|
|
11
|
+
export { C as CHART_STORAGE_KEY, g as RenderedBookableLabelEvidence, a as RenderedFreeTextEvidence, h as RenderedGAAreaEvidence, i as RenderedHierarchyLabelEvidence, j as RenderedLabelHiddenReason, k as RenderedRowLabelEvidence, l as RendererHoverDetails, m as RendererMinimapSeat, n as RendererMinimapSection, o as SeatMarkKind } from './renderer-BNicx5sw.js';
|
|
12
|
+
import './segmentedRowModel-BOO8w9Ng.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Host chrome over the canvas, and the box that leaves for camera framing.
|
|
16
|
+
*
|
|
17
|
+
* On a native shell the canvas fills the WebView but is not all VISIBLE: a top
|
|
18
|
+
* rail, a bottom dock and a peeking sheet sit over it. Framing that centres on
|
|
19
|
+
* the stage therefore parks a focused section behind the furniture. These are
|
|
20
|
+
* the two pure pieces of that: normalising what a host reports, and turning it
|
|
21
|
+
* into the rect every fit and glide aims at.
|
|
22
|
+
*
|
|
23
|
+
* Lives outside SeatmapRenderer because that file is at its size pin and this
|
|
24
|
+
* needs nothing from it but two numbers.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
interface ViewportInsets {
|
|
28
|
+
top: number;
|
|
29
|
+
right: number;
|
|
30
|
+
bottom: number;
|
|
31
|
+
left: number;
|
|
32
|
+
}
|
|
33
|
+
interface CameraPose {
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
scale: number;
|
|
37
|
+
}
|
|
13
38
|
|
|
14
39
|
declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
15
40
|
private container;
|
|
@@ -38,6 +63,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
38
63
|
private stacked;
|
|
39
64
|
/** Buyer-facing 2D overview: floors are rigidly arranged without altering topology. */
|
|
40
65
|
private floorOverview;
|
|
66
|
+
private floorLabelStyle;
|
|
41
67
|
/** Interactive node per seat/booth — a Circle for seats, a Rect for booths. */
|
|
42
68
|
private circleById;
|
|
43
69
|
/** Seats drawn as a chair glyph, and whether they are big enough to show it. */
|
|
@@ -188,6 +214,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
188
214
|
private fitScale;
|
|
189
215
|
/** Stage pose the last overview fit landed on — see zoomToFit. */
|
|
190
216
|
private fitPose;
|
|
217
|
+
private viewportInsets;
|
|
191
218
|
/** Effective seat radius (base × theme.seatScale), set per chart in setChart. */
|
|
192
219
|
private seatR;
|
|
193
220
|
private bounds;
|
|
@@ -317,6 +344,9 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
317
344
|
* as one rigid group for clarity; its authored internal topology is exact. */
|
|
318
345
|
setFloorOverview(on: boolean): void;
|
|
319
346
|
isFloorOverview(): boolean;
|
|
347
|
+
/** How the stacked view marks a level — see floorStack.ts. */
|
|
348
|
+
setFloorLabelStyle(style: FloorLabelStyle): void;
|
|
349
|
+
getFloorLabelStyle(): FloorLabelStyle;
|
|
320
350
|
/** Switch which floor is shown (2D). Re-renders + re-fits; no-op if unchanged. */
|
|
321
351
|
setActiveFloor(floorId: string): void;
|
|
322
352
|
/** Floors for the host's switcher (single-floor charts return one synthetic floor). */
|
|
@@ -391,6 +421,19 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
391
421
|
private focusSeat;
|
|
392
422
|
/** Pan/zoom so a seat sits on-screen at a legible scale (for keyboard focus). */
|
|
393
423
|
private ensureVisible;
|
|
424
|
+
/** The host's own chrome over the canvas, in CSS px; `null` clears. Refits
|
|
425
|
+
* the CURRENT view so the map slides out from under new chrome. */
|
|
426
|
+
setViewportInsets(insets: {
|
|
427
|
+
top?: number;
|
|
428
|
+
right?: number;
|
|
429
|
+
bottom?: number;
|
|
430
|
+
left?: number;
|
|
431
|
+
} | null): void;
|
|
432
|
+
/** In force now; all zero when the host set none. */
|
|
433
|
+
getViewportInsets(): ViewportInsets;
|
|
434
|
+
private framingViewport;
|
|
435
|
+
/** The visible band in world space — what "where the buyer is looking" means. */
|
|
436
|
+
private framingWorldRect;
|
|
394
437
|
zoomToFit(): void;
|
|
395
438
|
/**
|
|
396
439
|
* Reframe after a host/layout resize without throwing away section context.
|
|
@@ -400,6 +443,16 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
400
443
|
refitCurrentView(): void;
|
|
401
444
|
/** Step factor for the on-screen +/− buttons (B1) — same clamp path as pinch/wheel. */
|
|
402
445
|
private static readonly ZOOM_STEP;
|
|
446
|
+
/** The camera as it stands, for a caller rebuilding the scene under a buyer
|
|
447
|
+
* who has not moved: `setChart` re-fits, and a re-FRAME through focusRegion
|
|
448
|
+
* would zoom out by its 1.12 margin on every repaint. */
|
|
449
|
+
getCameraPose(): CameraPose;
|
|
450
|
+
/** Put the camera back exactly where {@link getCameraPose} found it.
|
|
451
|
+
* Any glide in flight is dropped first: a rebuild restores the focused
|
|
452
|
+
* section before the pose, and that focus starts an entrance glide whose
|
|
453
|
+
* next frame would otherwise overwrite the pose one tick later — the buyer
|
|
454
|
+
* saw a theme flip slide the map to a different table. */
|
|
455
|
+
setCameraPose(pose: CameraPose): void;
|
|
403
456
|
zoomIn(): void;
|
|
404
457
|
zoomOut(): void;
|
|
405
458
|
/**
|
|
@@ -711,21 +764,10 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
711
764
|
private refreshSectionFill;
|
|
712
765
|
private isSectionClosed;
|
|
713
766
|
/**
|
|
714
|
-
*
|
|
715
|
-
* hue an overview block is tinted with. Ties break on the stable category key
|
|
716
|
-
* so the same chart always tints the same way. Null when nothing here is for
|
|
717
|
-
* sale: a block with no price keeps the neutral treatment.
|
|
718
|
-
*/
|
|
767
|
+
* The hue an overview block is tinted with; see ./render/overviewPalette. */
|
|
719
768
|
private dominantSellableColor;
|
|
720
769
|
/**
|
|
721
|
-
* Free seats
|
|
722
|
-
*
|
|
723
|
-
* The count, not a boolean, because the block rung has two jobs for it: mark
|
|
724
|
-
* the sections that have anything at all, and tell the buyer how much. Zero
|
|
725
|
-
* when no filter is on — nothing at that rung asks the question then, and
|
|
726
|
-
* walking every section's members on every paint to answer an unasked
|
|
727
|
-
* question is exactly the per-frame cost this rung exists to avoid.
|
|
728
|
-
*/
|
|
770
|
+
* Free seats here matching the accessibility filter; see ./render/sectionLod. */
|
|
729
771
|
private sectionAccessibleFree;
|
|
730
772
|
private get sectionLodPaintContext();
|
|
731
773
|
/** Build the zone pills (name + FROM price) — see render/zoneScene.ts. */
|
|
@@ -837,13 +879,8 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
837
879
|
setRung(rung: LodRung): void;
|
|
838
880
|
private seatRungScale;
|
|
839
881
|
private narrowSeatDetailFocus;
|
|
840
|
-
/**
|
|
841
|
-
*
|
|
842
|
-
* A short `A-1` remains at the normal 7u target; a table label such as
|
|
843
|
-
* `T13-10` may fit at 4u and therefore needs a deeper camera target to reach
|
|
844
|
-
* the same 12 CSS-pixel floor. Measurement happens only on explicit rung
|
|
845
|
-
* navigation, never during pan/zoom frames.
|
|
846
|
-
*/
|
|
882
|
+
/** The camera scale every seat label needs to clear the legible floor.
|
|
883
|
+
* Derivation in ./render/seatLabelTargetScale. */
|
|
847
884
|
private seatLabelTargetScale;
|
|
848
885
|
/** Recompute LOD (cache/labels) after any pan/zoom settles. */
|
|
849
886
|
private afterViewChange;
|
|
@@ -916,6 +953,40 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
916
953
|
}
|
|
917
954
|
declare function createRenderer(container: HTMLDivElement, opts?: RendererOptions): ISeatmapRenderer;
|
|
918
955
|
|
|
956
|
+
/**
|
|
957
|
+
* Automatic row-letter label planning: where each authored row label wants to
|
|
958
|
+
* sit in world space, and how an automatic start/end label steps out of the way
|
|
959
|
+
* of seats and already-painted text.
|
|
960
|
+
*
|
|
961
|
+
* Moved verbatim out of SeatmapRenderer (2026-08-15 refactor, Phase 2B pass B);
|
|
962
|
+
* `this.` became either a `ctx` field or an explicit parameter, and
|
|
963
|
+
* `buildRowLabelPlan` returns the plan instead of assigning `this.rowLabelPlan`.
|
|
964
|
+
*/
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Reduce a globally-unique authored row name to the local identity a buyer
|
|
968
|
+
* needs, given the section that already names itself on screen.
|
|
969
|
+
*
|
|
970
|
+
* Persisted venue templates make row names unique across the whole venue, in
|
|
971
|
+
* two shapes this has to recognise:
|
|
972
|
+
*
|
|
973
|
+
* 1. the section name spelled out — "Grand Circle A H" inside "Grand Circle A";
|
|
974
|
+
* 2. an ABBREVIATION of it, delimited — "GALL-A" inside "Gallery".
|
|
975
|
+
*
|
|
976
|
+
* Only (1) was handled. A chart written in shape (2) painted the full
|
|
977
|
+
* "GALL-A" at every row end: six characters where one was meant, which is wide
|
|
978
|
+
* enough that the automatic placer could not find a clear spot beside a dense
|
|
979
|
+
* row and fell back to its least-colliding candidate — on top of the seats,
|
|
980
|
+
* and on top of the neighbouring rows' labels (3,605-seat auditorium, owner
|
|
981
|
+
* report 2026-08-27). The label size was never wrong; the STRING was.
|
|
982
|
+
*
|
|
983
|
+
* Deliberately conservative: the head is only dropped when the section
|
|
984
|
+
* corroborates it (one is a prefix of the other, case-insensitively) AND what
|
|
985
|
+
* remains is a plausible row identity. A row genuinely named "A-1" in
|
|
986
|
+
* "Gallery" keeps its name, because nothing licenses cutting it.
|
|
987
|
+
*/
|
|
988
|
+
declare function compactRowLabel(rowLabel: string, sectionLabel: string | undefined): string;
|
|
989
|
+
|
|
919
990
|
/**
|
|
920
991
|
* Public host contracts for the framework-agnostic buyer picker.
|
|
921
992
|
*
|
|
@@ -1063,8 +1134,15 @@ interface SectionSummary {
|
|
|
1063
1134
|
zoneLabel: string;
|
|
1064
1135
|
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
1065
1136
|
entrance?: string;
|
|
1066
|
-
/**
|
|
1137
|
+
/**
|
|
1138
|
+
* The card's dot: the dominant FREE category's colour, which is the same
|
|
1139
|
+
* derivation the renderer tints the section's overview block with. Falls
|
|
1140
|
+
* back to the dominant category overall (a sold-out section), then the zone
|
|
1141
|
+
* colour, then the designer's authored shell paint.
|
|
1142
|
+
*/
|
|
1067
1143
|
color: string;
|
|
1144
|
+
/** Which category `color` came from; absent when the section has no seats. */
|
|
1145
|
+
dominantCategoryKey?: string;
|
|
1068
1146
|
/** Free member seats right now. */
|
|
1069
1147
|
seatsLeft: number;
|
|
1070
1148
|
/**
|
|
@@ -1155,6 +1233,7 @@ interface PickerRealtimeConnection {
|
|
|
1155
1233
|
interface PickerTransport {
|
|
1156
1234
|
chart(key: string): Promise<{
|
|
1157
1235
|
doc: ChartDoc;
|
|
1236
|
+
chartDelivery?: ChartDeliveryPerformance;
|
|
1158
1237
|
event: {
|
|
1159
1238
|
key: string;
|
|
1160
1239
|
name: string;
|
|
@@ -1474,6 +1553,7 @@ declare class PickerController {
|
|
|
1474
1553
|
private liveDefault;
|
|
1475
1554
|
private currency;
|
|
1476
1555
|
private expiryTimer;
|
|
1556
|
+
private readonly snapshots;
|
|
1477
1557
|
constructor(options: PickerOptions);
|
|
1478
1558
|
get doc(): ChartDoc | null;
|
|
1479
1559
|
/**
|
|
@@ -1572,6 +1652,7 @@ declare class PickerController {
|
|
|
1572
1652
|
locale?: string | null;
|
|
1573
1653
|
/** Absolute event-poster URL, when the server can publicly serve one. */
|
|
1574
1654
|
posterUrl?: string | null;
|
|
1655
|
+
chartDelivery?: ChartDeliveryPerformance;
|
|
1575
1656
|
performanceProfile: PickerRenderPerformanceProfile;
|
|
1576
1657
|
} | null>;
|
|
1577
1658
|
getSelection(): PickerSeat[];
|
|
@@ -1711,6 +1792,22 @@ declare class PickerController {
|
|
|
1711
1792
|
zoomToFit(): void;
|
|
1712
1793
|
/** Preserve section focus while the usable map viewport changes. */
|
|
1713
1794
|
refitCurrentView(): void;
|
|
1795
|
+
/** The chrome a HOST draws over the canvas, in CSS px, so framing aims at
|
|
1796
|
+
* what is visible. Held here as well as forwarded: a native shell measures
|
|
1797
|
+
* its rails before the renderer exists. */
|
|
1798
|
+
setViewportInsets(insets: {
|
|
1799
|
+
top?: number;
|
|
1800
|
+
right?: number;
|
|
1801
|
+
bottom?: number;
|
|
1802
|
+
left?: number;
|
|
1803
|
+
} | null): void;
|
|
1804
|
+
/** In force now; all zero when the host set none. */
|
|
1805
|
+
getViewportInsets(): {
|
|
1806
|
+
top: number;
|
|
1807
|
+
right: number;
|
|
1808
|
+
bottom: number;
|
|
1809
|
+
left: number;
|
|
1810
|
+
};
|
|
1714
1811
|
worldToScreen(p: {
|
|
1715
1812
|
x: number;
|
|
1716
1813
|
y: number;
|
|
@@ -1729,6 +1826,7 @@ declare class PickerController {
|
|
|
1729
1826
|
* without reaching into the canvas for it.
|
|
1730
1827
|
*/
|
|
1731
1828
|
private accessFilter;
|
|
1829
|
+
private viewportInsets;
|
|
1732
1830
|
setAccessibilityFilter(types: string[] | null): void;
|
|
1733
1831
|
/** The buyer's active accessibility filter, or null. */
|
|
1734
1832
|
getAccessibilityFilter(): AccessibilityType[] | null;
|
|
@@ -1882,6 +1980,7 @@ declare class PickerController {
|
|
|
1882
1980
|
/** The live status of one unit, honouring the projection's default. */
|
|
1883
1981
|
private statusOf;
|
|
1884
1982
|
private clearBookedHoldIfSettled;
|
|
1983
|
+
/** Repaint from truth. Coalesced — see snapshotCoalescer.ts. */
|
|
1885
1984
|
private resnapshot;
|
|
1886
1985
|
/**
|
|
1887
1986
|
* Re-pull the status snapshot on demand. Live surfaces rarely need this (the
|
|
@@ -2171,4 +2270,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
|
|
|
2171
2270
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2172
2271
|
declare function currencySymbol(currency?: string): string;
|
|
2173
2272
|
|
|
2174
|
-
export { AccessibilityType, CURRENCY_CHOICES, CategoryTier, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, GAAreaState, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LOCALE_NAMES, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, createRenderer, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, isLocaleLoaded, loadLocale, localeDirection, resolveLocale, setLocale, setMoneyLocale, setStringOverrides, t, tCount };
|
|
2273
|
+
export { AccessibilityType, CURRENCY_CHOICES, CategoryTier, ChartDeliveryPerformance, ChartDoc, DEFAULT_CURRENCY, type Dict, type Direction, EventConfigurationRef, EventConfigurationVersion, ExpandedSeat, FloorLabelStyle, GAAreaState, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, ISeatmapRenderer, LOCALE_NAMES, type Locale, LodRung, type MoneyFormatOptions, type PanoramaResult, type PickerCallbacks, PickerController, type PickerGAArea, type PickerMapTheme, type PickerOptions, type PickerRealtimeConnection, type PickerRealtimeSink, type PickerRenderPerformanceProfile, type PickerSeat, PickerSelectionError, type PickerSelectionValidator, type PickerSelectionValidity, type PickerSelectionViolation, type PickerStatusChange, type PickerTransport, Point, RendererCallbacks, RendererMinimapSnapshot, RendererOptions, RendererQualityEvidence, RendererViewMode, SUPPORTED_LOCALES, SeatCommercialAttributes, type SeatHoverDetails, SeatMark, SeatStatus, SeatmapRenderer, type SectionCategory, type SectionSummary, TRANSLATED_LOCALES, type TableSelectionDetails, compactRowLabel, createRenderer, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, isLocaleLoaded, loadLocale, localeDirection, resolveLocale, setLocale, setMoneyLocale, setStringOverrides, t, tCount };
|