@seatlayer/core 0.71.2 → 0.71.3
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/chunk-AB4ALUEW.js +1 -0
- package/dist/{chunk-UHPX2P7O.js → chunk-FBRBY6NE.js} +1 -1
- package/dist/{chunk-AWPHGLTU.js → chunk-GK4ILJFB.js} +1 -1
- package/dist/{chunk-5AHUGRHH.js → chunk-TQWKQGXF.js} +1 -1
- package/dist/core/chart-ops/index.js +1 -1
- package/dist/core/inventory/index.d.cts +2 -2
- package/dist/core/inventory/index.d.ts +2 -2
- package/dist/core/inventory/index.js +1 -1
- package/dist/core/layout/index.d.cts +2 -2
- package/dist/core/layout/index.d.ts +2 -2
- package/dist/core/quality/index.d.cts +2 -2
- package/dist/core/quality/index.d.ts +2 -2
- package/dist/core/sections/index.d.cts +1 -1
- package/dist/core/sections/index.d.ts +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/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 +119 -28
- package/dist/index.d.ts +119 -28
- 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/{layout-C6YaCOnZ.d.ts → layout-BjTtYIy8.d.ts} +1 -1
- package/dist/{layout-BxJIZjPm.d.cts → layout-CUiLkR8o.d.cts} +1 -1
- 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-CWwy14lb.d.ts → renderedQuality-DrOWtrO-.d.ts} +1 -1
- package/dist/{renderedQuality-CgBQYezj.d.cts → renderedQuality-ZDPLvzcZ.d.cts} +1 -1
- package/dist/{renderer-DmG3C8vD.d.cts → renderer-DIebhcYo.d.cts} +39 -0
- package/dist/{renderer-DIcDImOu.d.ts → renderer-DtR3EaF4.d.ts} +39 -0
- package/dist/ro-AOVPSQKL.js +1 -0
- package/dist/ru-4LGHGVZG.js +1 -0
- 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-B_qXQobd.d.ts → ticketRestrictions-Ch3ZKeMR.d.ts} +1 -1
- package/dist/{ticketRestrictions-Bj8PBX_x.d.cts → ticketRestrictions-NKWgOV-D.d.cts} +1 -1
- package/dist/tr-M5NWILAZ.js +1 -0
- package/dist/uk-REKJ4DVG.js +1 -0
- package/dist/view3d/index.cjs +31 -31
- package/dist/view3d/index.d.cts +34 -2
- package/dist/view3d/index.d.ts +34 -2
- 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-WYXHD6J2.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
|
@@ -2,15 +2,40 @@ import { C as ChartDoc, P as Point, A as AccessibilityType, m as CategoryTier, g
|
|
|
2
2
|
export { v as ACCESSIBILITY_RING_COLOR, w as ACCESSIBILITY_TYPES, x as AccessibilityMeta, y as AuthoringObjectState, B as BoothObject, o as Category, z as ChartLayoutConstraint, d as ChartObject, n as ChartReferenceImage, D as ChartTheme, E as ConfidenceEvidenceScope, t as CubicPath, H as DecorImageObject, F as Floor, G as GAAreaObject, l as GAInventorySegment, I as LABEL_STYLE_MAX_SIZE, J as LABEL_STYLE_MIN_SIZE, K as LabelPresentation, L as LabelStyle, O as ObjectEditorState, M as Physical3dEvidence, N as RadialClearanceLayoutConstraint, f as RectTableSeatCounts, c as RectTableSide, Q as ReferenceAccessibilitySource, U as ReferenceCalibration, V as ReferenceCategorySource, W as ReferenceDerivedScale, X as ReferenceEnrichmentStatus, Y as ReferenceExtractEmptyReason, Z as ReferenceExtractEnrichment, _ as ReferenceExtractInput, $ as ReferenceExtractProposal, a0 as ReferenceExtractRegionSeats, a1 as ReferenceInventoryExclusionSource, a2 as ReferenceInventorySource, a3 as ReferenceMatchReport, a4 as ReferenceScanProposal, a5 as ReferenceScanRowProposal, a6 as ReferenceScanSectionProposal, a7 as ReferenceSeatSeed, a8 as ReferenceSectionTraceBatchInput, a9 as ReferenceSectionTraceBatchProposal, aa as ReferenceSectionTraceInput, ab as ReferenceSectionTraceProposal, h as ResolvedSeatConfidenceEvidence, R as RowObject, ac as SEAT_COMMERCIAL_MARKS, ad as SURROUNDINGS_SHAPE_ROLES, ae as SeatCommercialMark, af as SeatCommercialMeta, ag as SeatConfidenceCoverage, ah as SeatConfidenceEvidence, ai as SeatConfidenceModelLevel, aj as SeatConfidenceModeledTarget, ak as SeatConfidenceRealityLevel, a as SeatGlyphKind, S as SeatOverride, i as SeatViewCoverage, b as SeatViewMetadata, al as SeatViewVariant, e as SectionObject, j as SectionOutlinePath, k as SectionPathSegment, am as SelectionLayer, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject, T as TableObject, an as TextAlignment, ao as TextBackground, u as TextObject, ap as TicketTierApplicability, aq as TicketTierEvidence, ar as TicketTierRestriction, as as Venue3DMaterialPalette, at as VenueSurveyRegistrationEvidence, au as ZoneDef, av as accessibilityMeta, aw as accessibilityRingColor, ax as layerOf, ay as seatCommercialMeta } from './types-DNztpn7q.cjs';
|
|
3
3
|
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-Csdxe89O.cjs';
|
|
4
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-Csdxe89O.cjs';
|
|
5
|
-
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from './layout-
|
|
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-
|
|
5
|
+
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from './layout-CUiLkR8o.cjs';
|
|
6
|
+
import { c as TicketSelectionIssue } from './ticketRestrictions-NKWgOV-D.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-NKWgOV-D.cjs';
|
|
8
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-Bb0L9lDT.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-
|
|
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-
|
|
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-ZDPLvzcZ.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-DIebhcYo.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-DIebhcYo.cjs';
|
|
12
12
|
import './segmentedRowModel-BqiM0U65.cjs';
|
|
13
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
|
+
}
|
|
38
|
+
|
|
14
39
|
declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
15
40
|
private container;
|
|
16
41
|
private opts;
|
|
@@ -188,6 +213,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
188
213
|
private fitScale;
|
|
189
214
|
/** Stage pose the last overview fit landed on — see zoomToFit. */
|
|
190
215
|
private fitPose;
|
|
216
|
+
private viewportInsets;
|
|
191
217
|
/** Effective seat radius (base × theme.seatScale), set per chart in setChart. */
|
|
192
218
|
private seatR;
|
|
193
219
|
private bounds;
|
|
@@ -391,6 +417,19 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
391
417
|
private focusSeat;
|
|
392
418
|
/** Pan/zoom so a seat sits on-screen at a legible scale (for keyboard focus). */
|
|
393
419
|
private ensureVisible;
|
|
420
|
+
/** The host's own chrome over the canvas, in CSS px; `null` clears. Refits
|
|
421
|
+
* the CURRENT view so the map slides out from under new chrome. */
|
|
422
|
+
setViewportInsets(insets: {
|
|
423
|
+
top?: number;
|
|
424
|
+
right?: number;
|
|
425
|
+
bottom?: number;
|
|
426
|
+
left?: number;
|
|
427
|
+
} | null): void;
|
|
428
|
+
/** In force now; all zero when the host set none. */
|
|
429
|
+
getViewportInsets(): ViewportInsets;
|
|
430
|
+
private framingViewport;
|
|
431
|
+
/** The visible band in world space — what "where the buyer is looking" means. */
|
|
432
|
+
private framingWorldRect;
|
|
394
433
|
zoomToFit(): void;
|
|
395
434
|
/**
|
|
396
435
|
* Reframe after a host/layout resize without throwing away section context.
|
|
@@ -400,6 +439,16 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
400
439
|
refitCurrentView(): void;
|
|
401
440
|
/** Step factor for the on-screen +/− buttons (B1) — same clamp path as pinch/wheel. */
|
|
402
441
|
private static readonly ZOOM_STEP;
|
|
442
|
+
/** The camera as it stands, for a caller rebuilding the scene under a buyer
|
|
443
|
+
* who has not moved: `setChart` re-fits, and a re-FRAME through focusRegion
|
|
444
|
+
* would zoom out by its 1.12 margin on every repaint. */
|
|
445
|
+
getCameraPose(): CameraPose;
|
|
446
|
+
/** Put the camera back exactly where {@link getCameraPose} found it.
|
|
447
|
+
* Any glide in flight is dropped first: a rebuild restores the focused
|
|
448
|
+
* section before the pose, and that focus starts an entrance glide whose
|
|
449
|
+
* next frame would otherwise overwrite the pose one tick later — the buyer
|
|
450
|
+
* saw a theme flip slide the map to a different table. */
|
|
451
|
+
setCameraPose(pose: CameraPose): void;
|
|
403
452
|
zoomIn(): void;
|
|
404
453
|
zoomOut(): void;
|
|
405
454
|
/**
|
|
@@ -711,21 +760,10 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
711
760
|
private refreshSectionFill;
|
|
712
761
|
private isSectionClosed;
|
|
713
762
|
/**
|
|
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
|
-
*/
|
|
763
|
+
* The hue an overview block is tinted with; see ./render/overviewPalette. */
|
|
719
764
|
private dominantSellableColor;
|
|
720
765
|
/**
|
|
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
|
-
*/
|
|
766
|
+
* Free seats here matching the accessibility filter; see ./render/sectionLod. */
|
|
729
767
|
private sectionAccessibleFree;
|
|
730
768
|
private get sectionLodPaintContext();
|
|
731
769
|
/** Build the zone pills (name + FROM price) — see render/zoneScene.ts. */
|
|
@@ -837,13 +875,8 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
837
875
|
setRung(rung: LodRung): void;
|
|
838
876
|
private seatRungScale;
|
|
839
877
|
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
|
-
*/
|
|
878
|
+
/** The camera scale every seat label needs to clear the legible floor.
|
|
879
|
+
* Derivation in ./render/seatLabelTargetScale. */
|
|
847
880
|
private seatLabelTargetScale;
|
|
848
881
|
/** Recompute LOD (cache/labels) after any pan/zoom settles. */
|
|
849
882
|
private afterViewChange;
|
|
@@ -916,6 +949,40 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
916
949
|
}
|
|
917
950
|
declare function createRenderer(container: HTMLDivElement, opts?: RendererOptions): ISeatmapRenderer;
|
|
918
951
|
|
|
952
|
+
/**
|
|
953
|
+
* Automatic row-letter label planning: where each authored row label wants to
|
|
954
|
+
* sit in world space, and how an automatic start/end label steps out of the way
|
|
955
|
+
* of seats and already-painted text.
|
|
956
|
+
*
|
|
957
|
+
* Moved verbatim out of SeatmapRenderer (2026-08-15 refactor, Phase 2B pass B);
|
|
958
|
+
* `this.` became either a `ctx` field or an explicit parameter, and
|
|
959
|
+
* `buildRowLabelPlan` returns the plan instead of assigning `this.rowLabelPlan`.
|
|
960
|
+
*/
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Reduce a globally-unique authored row name to the local identity a buyer
|
|
964
|
+
* needs, given the section that already names itself on screen.
|
|
965
|
+
*
|
|
966
|
+
* Persisted venue templates make row names unique across the whole venue, in
|
|
967
|
+
* two shapes this has to recognise:
|
|
968
|
+
*
|
|
969
|
+
* 1. the section name spelled out — "Grand Circle A H" inside "Grand Circle A";
|
|
970
|
+
* 2. an ABBREVIATION of it, delimited — "GALL-A" inside "Gallery".
|
|
971
|
+
*
|
|
972
|
+
* Only (1) was handled. A chart written in shape (2) painted the full
|
|
973
|
+
* "GALL-A" at every row end: six characters where one was meant, which is wide
|
|
974
|
+
* enough that the automatic placer could not find a clear spot beside a dense
|
|
975
|
+
* row and fell back to its least-colliding candidate — on top of the seats,
|
|
976
|
+
* and on top of the neighbouring rows' labels (3,605-seat auditorium, owner
|
|
977
|
+
* report 2026-08-27). The label size was never wrong; the STRING was.
|
|
978
|
+
*
|
|
979
|
+
* Deliberately conservative: the head is only dropped when the section
|
|
980
|
+
* corroborates it (one is a prefix of the other, case-insensitively) AND what
|
|
981
|
+
* remains is a plausible row identity. A row genuinely named "A-1" in
|
|
982
|
+
* "Gallery" keeps its name, because nothing licenses cutting it.
|
|
983
|
+
*/
|
|
984
|
+
declare function compactRowLabel(rowLabel: string, sectionLabel: string | undefined): string;
|
|
985
|
+
|
|
919
986
|
/**
|
|
920
987
|
* Public host contracts for the framework-agnostic buyer picker.
|
|
921
988
|
*
|
|
@@ -1063,8 +1130,15 @@ interface SectionSummary {
|
|
|
1063
1130
|
zoneLabel: string;
|
|
1064
1131
|
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
1065
1132
|
entrance?: string;
|
|
1066
|
-
/**
|
|
1133
|
+
/**
|
|
1134
|
+
* The card's dot: the dominant FREE category's colour, which is the same
|
|
1135
|
+
* derivation the renderer tints the section's overview block with. Falls
|
|
1136
|
+
* back to the dominant category overall (a sold-out section), then the zone
|
|
1137
|
+
* colour, then the designer's authored shell paint.
|
|
1138
|
+
*/
|
|
1067
1139
|
color: string;
|
|
1140
|
+
/** Which category `color` came from; absent when the section has no seats. */
|
|
1141
|
+
dominantCategoryKey?: string;
|
|
1068
1142
|
/** Free member seats right now. */
|
|
1069
1143
|
seatsLeft: number;
|
|
1070
1144
|
/**
|
|
@@ -1711,6 +1785,22 @@ declare class PickerController {
|
|
|
1711
1785
|
zoomToFit(): void;
|
|
1712
1786
|
/** Preserve section focus while the usable map viewport changes. */
|
|
1713
1787
|
refitCurrentView(): void;
|
|
1788
|
+
/** The chrome a HOST draws over the canvas, in CSS px, so framing aims at
|
|
1789
|
+
* what is visible. Held here as well as forwarded: a native shell measures
|
|
1790
|
+
* its rails before the renderer exists. */
|
|
1791
|
+
setViewportInsets(insets: {
|
|
1792
|
+
top?: number;
|
|
1793
|
+
right?: number;
|
|
1794
|
+
bottom?: number;
|
|
1795
|
+
left?: number;
|
|
1796
|
+
} | null): void;
|
|
1797
|
+
/** In force now; all zero when the host set none. */
|
|
1798
|
+
getViewportInsets(): {
|
|
1799
|
+
top: number;
|
|
1800
|
+
right: number;
|
|
1801
|
+
bottom: number;
|
|
1802
|
+
left: number;
|
|
1803
|
+
};
|
|
1714
1804
|
worldToScreen(p: {
|
|
1715
1805
|
x: number;
|
|
1716
1806
|
y: number;
|
|
@@ -1729,6 +1819,7 @@ declare class PickerController {
|
|
|
1729
1819
|
* without reaching into the canvas for it.
|
|
1730
1820
|
*/
|
|
1731
1821
|
private accessFilter;
|
|
1822
|
+
private viewportInsets;
|
|
1732
1823
|
setAccessibilityFilter(types: string[] | null): void;
|
|
1733
1824
|
/** The buyer's active accessibility filter, or null. */
|
|
1734
1825
|
getAccessibilityFilter(): AccessibilityType[] | null;
|
|
@@ -2171,4 +2262,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
|
|
|
2171
2262
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2172
2263
|
declare function currencySymbol(currency?: string): string;
|
|
2173
2264
|
|
|
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 };
|
|
2265
|
+
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, 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
|
@@ -2,15 +2,40 @@ import { C as ChartDoc, P as Point, A as AccessibilityType, m as CategoryTier, g
|
|
|
2
2
|
export { v as ACCESSIBILITY_RING_COLOR, w as ACCESSIBILITY_TYPES, x as AccessibilityMeta, y as AuthoringObjectState, B as BoothObject, o as Category, z as ChartLayoutConstraint, d as ChartObject, n as ChartReferenceImage, D as ChartTheme, E as ConfidenceEvidenceScope, t as CubicPath, H as DecorImageObject, F as Floor, G as GAAreaObject, l as GAInventorySegment, I as LABEL_STYLE_MAX_SIZE, J as LABEL_STYLE_MIN_SIZE, K as LabelPresentation, L as LabelStyle, O as ObjectEditorState, M as Physical3dEvidence, N as RadialClearanceLayoutConstraint, f as RectTableSeatCounts, c as RectTableSide, Q as ReferenceAccessibilitySource, U as ReferenceCalibration, V as ReferenceCategorySource, W as ReferenceDerivedScale, X as ReferenceEnrichmentStatus, Y as ReferenceExtractEmptyReason, Z as ReferenceExtractEnrichment, _ as ReferenceExtractInput, $ as ReferenceExtractProposal, a0 as ReferenceExtractRegionSeats, a1 as ReferenceInventoryExclusionSource, a2 as ReferenceInventorySource, a3 as ReferenceMatchReport, a4 as ReferenceScanProposal, a5 as ReferenceScanRowProposal, a6 as ReferenceScanSectionProposal, a7 as ReferenceSeatSeed, a8 as ReferenceSectionTraceBatchInput, a9 as ReferenceSectionTraceBatchProposal, aa as ReferenceSectionTraceInput, ab as ReferenceSectionTraceProposal, h as ResolvedSeatConfidenceEvidence, R as RowObject, ac as SEAT_COMMERCIAL_MARKS, ad as SURROUNDINGS_SHAPE_ROLES, ae as SeatCommercialMark, af as SeatCommercialMeta, ag as SeatConfidenceCoverage, ah as SeatConfidenceEvidence, ai as SeatConfidenceModelLevel, aj as SeatConfidenceModeledTarget, ak as SeatConfidenceRealityLevel, a as SeatGlyphKind, S as SeatOverride, i as SeatViewCoverage, b as SeatViewMetadata, al as SeatViewVariant, e as SectionObject, j as SectionOutlinePath, k as SectionPathSegment, am as SelectionLayer, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject, T as TableObject, an as TextAlignment, ao as TextBackground, u as TextObject, ap as TicketTierApplicability, aq as TicketTierEvidence, ar as TicketTierRestriction, as as Venue3DMaterialPalette, at as VenueSurveyRegistrationEvidence, au as ZoneDef, av as accessibilityMeta, aw as accessibilityRingColor, ax as layerOf, ay as seatCommercialMeta } from './types-DNztpn7q.js';
|
|
3
3
|
import { E as EventConfigurationRef, a as EventConfigurationVersion } from './eventConfigurations-CA2XhDig.js';
|
|
4
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-CA2XhDig.js';
|
|
5
|
-
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from './layout-
|
|
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-
|
|
5
|
+
export { C as ChartBoundsOptions, E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from './layout-BjTtYIy8.js';
|
|
6
|
+
import { c as TicketSelectionIssue } from './ticketRestrictions-Ch3ZKeMR.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-Ch3ZKeMR.js';
|
|
8
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-87qiciyN.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-
|
|
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-
|
|
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-DrOWtrO-.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-DtR3EaF4.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-DtR3EaF4.js';
|
|
12
12
|
import './segmentedRowModel-CEP6crcl.js';
|
|
13
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
|
+
}
|
|
38
|
+
|
|
14
39
|
declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
15
40
|
private container;
|
|
16
41
|
private opts;
|
|
@@ -188,6 +213,7 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
188
213
|
private fitScale;
|
|
189
214
|
/** Stage pose the last overview fit landed on — see zoomToFit. */
|
|
190
215
|
private fitPose;
|
|
216
|
+
private viewportInsets;
|
|
191
217
|
/** Effective seat radius (base × theme.seatScale), set per chart in setChart. */
|
|
192
218
|
private seatR;
|
|
193
219
|
private bounds;
|
|
@@ -391,6 +417,19 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
391
417
|
private focusSeat;
|
|
392
418
|
/** Pan/zoom so a seat sits on-screen at a legible scale (for keyboard focus). */
|
|
393
419
|
private ensureVisible;
|
|
420
|
+
/** The host's own chrome over the canvas, in CSS px; `null` clears. Refits
|
|
421
|
+
* the CURRENT view so the map slides out from under new chrome. */
|
|
422
|
+
setViewportInsets(insets: {
|
|
423
|
+
top?: number;
|
|
424
|
+
right?: number;
|
|
425
|
+
bottom?: number;
|
|
426
|
+
left?: number;
|
|
427
|
+
} | null): void;
|
|
428
|
+
/** In force now; all zero when the host set none. */
|
|
429
|
+
getViewportInsets(): ViewportInsets;
|
|
430
|
+
private framingViewport;
|
|
431
|
+
/** The visible band in world space — what "where the buyer is looking" means. */
|
|
432
|
+
private framingWorldRect;
|
|
394
433
|
zoomToFit(): void;
|
|
395
434
|
/**
|
|
396
435
|
* Reframe after a host/layout resize without throwing away section context.
|
|
@@ -400,6 +439,16 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
400
439
|
refitCurrentView(): void;
|
|
401
440
|
/** Step factor for the on-screen +/− buttons (B1) — same clamp path as pinch/wheel. */
|
|
402
441
|
private static readonly ZOOM_STEP;
|
|
442
|
+
/** The camera as it stands, for a caller rebuilding the scene under a buyer
|
|
443
|
+
* who has not moved: `setChart` re-fits, and a re-FRAME through focusRegion
|
|
444
|
+
* would zoom out by its 1.12 margin on every repaint. */
|
|
445
|
+
getCameraPose(): CameraPose;
|
|
446
|
+
/** Put the camera back exactly where {@link getCameraPose} found it.
|
|
447
|
+
* Any glide in flight is dropped first: a rebuild restores the focused
|
|
448
|
+
* section before the pose, and that focus starts an entrance glide whose
|
|
449
|
+
* next frame would otherwise overwrite the pose one tick later — the buyer
|
|
450
|
+
* saw a theme flip slide the map to a different table. */
|
|
451
|
+
setCameraPose(pose: CameraPose): void;
|
|
403
452
|
zoomIn(): void;
|
|
404
453
|
zoomOut(): void;
|
|
405
454
|
/**
|
|
@@ -711,21 +760,10 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
711
760
|
private refreshSectionFill;
|
|
712
761
|
private isSectionClosed;
|
|
713
762
|
/**
|
|
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
|
-
*/
|
|
763
|
+
* The hue an overview block is tinted with; see ./render/overviewPalette. */
|
|
719
764
|
private dominantSellableColor;
|
|
720
765
|
/**
|
|
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
|
-
*/
|
|
766
|
+
* Free seats here matching the accessibility filter; see ./render/sectionLod. */
|
|
729
767
|
private sectionAccessibleFree;
|
|
730
768
|
private get sectionLodPaintContext();
|
|
731
769
|
/** Build the zone pills (name + FROM price) — see render/zoneScene.ts. */
|
|
@@ -837,13 +875,8 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
837
875
|
setRung(rung: LodRung): void;
|
|
838
876
|
private seatRungScale;
|
|
839
877
|
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
|
-
*/
|
|
878
|
+
/** The camera scale every seat label needs to clear the legible floor.
|
|
879
|
+
* Derivation in ./render/seatLabelTargetScale. */
|
|
847
880
|
private seatLabelTargetScale;
|
|
848
881
|
/** Recompute LOD (cache/labels) after any pan/zoom settles. */
|
|
849
882
|
private afterViewChange;
|
|
@@ -916,6 +949,40 @@ declare class SeatmapRenderer implements ISeatmapRenderer {
|
|
|
916
949
|
}
|
|
917
950
|
declare function createRenderer(container: HTMLDivElement, opts?: RendererOptions): ISeatmapRenderer;
|
|
918
951
|
|
|
952
|
+
/**
|
|
953
|
+
* Automatic row-letter label planning: where each authored row label wants to
|
|
954
|
+
* sit in world space, and how an automatic start/end label steps out of the way
|
|
955
|
+
* of seats and already-painted text.
|
|
956
|
+
*
|
|
957
|
+
* Moved verbatim out of SeatmapRenderer (2026-08-15 refactor, Phase 2B pass B);
|
|
958
|
+
* `this.` became either a `ctx` field or an explicit parameter, and
|
|
959
|
+
* `buildRowLabelPlan` returns the plan instead of assigning `this.rowLabelPlan`.
|
|
960
|
+
*/
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Reduce a globally-unique authored row name to the local identity a buyer
|
|
964
|
+
* needs, given the section that already names itself on screen.
|
|
965
|
+
*
|
|
966
|
+
* Persisted venue templates make row names unique across the whole venue, in
|
|
967
|
+
* two shapes this has to recognise:
|
|
968
|
+
*
|
|
969
|
+
* 1. the section name spelled out — "Grand Circle A H" inside "Grand Circle A";
|
|
970
|
+
* 2. an ABBREVIATION of it, delimited — "GALL-A" inside "Gallery".
|
|
971
|
+
*
|
|
972
|
+
* Only (1) was handled. A chart written in shape (2) painted the full
|
|
973
|
+
* "GALL-A" at every row end: six characters where one was meant, which is wide
|
|
974
|
+
* enough that the automatic placer could not find a clear spot beside a dense
|
|
975
|
+
* row and fell back to its least-colliding candidate — on top of the seats,
|
|
976
|
+
* and on top of the neighbouring rows' labels (3,605-seat auditorium, owner
|
|
977
|
+
* report 2026-08-27). The label size was never wrong; the STRING was.
|
|
978
|
+
*
|
|
979
|
+
* Deliberately conservative: the head is only dropped when the section
|
|
980
|
+
* corroborates it (one is a prefix of the other, case-insensitively) AND what
|
|
981
|
+
* remains is a plausible row identity. A row genuinely named "A-1" in
|
|
982
|
+
* "Gallery" keeps its name, because nothing licenses cutting it.
|
|
983
|
+
*/
|
|
984
|
+
declare function compactRowLabel(rowLabel: string, sectionLabel: string | undefined): string;
|
|
985
|
+
|
|
919
986
|
/**
|
|
920
987
|
* Public host contracts for the framework-agnostic buyer picker.
|
|
921
988
|
*
|
|
@@ -1063,8 +1130,15 @@ interface SectionSummary {
|
|
|
1063
1130
|
zoneLabel: string;
|
|
1064
1131
|
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
1065
1132
|
entrance?: string;
|
|
1066
|
-
/**
|
|
1133
|
+
/**
|
|
1134
|
+
* The card's dot: the dominant FREE category's colour, which is the same
|
|
1135
|
+
* derivation the renderer tints the section's overview block with. Falls
|
|
1136
|
+
* back to the dominant category overall (a sold-out section), then the zone
|
|
1137
|
+
* colour, then the designer's authored shell paint.
|
|
1138
|
+
*/
|
|
1067
1139
|
color: string;
|
|
1140
|
+
/** Which category `color` came from; absent when the section has no seats. */
|
|
1141
|
+
dominantCategoryKey?: string;
|
|
1068
1142
|
/** Free member seats right now. */
|
|
1069
1143
|
seatsLeft: number;
|
|
1070
1144
|
/**
|
|
@@ -1711,6 +1785,22 @@ declare class PickerController {
|
|
|
1711
1785
|
zoomToFit(): void;
|
|
1712
1786
|
/** Preserve section focus while the usable map viewport changes. */
|
|
1713
1787
|
refitCurrentView(): void;
|
|
1788
|
+
/** The chrome a HOST draws over the canvas, in CSS px, so framing aims at
|
|
1789
|
+
* what is visible. Held here as well as forwarded: a native shell measures
|
|
1790
|
+
* its rails before the renderer exists. */
|
|
1791
|
+
setViewportInsets(insets: {
|
|
1792
|
+
top?: number;
|
|
1793
|
+
right?: number;
|
|
1794
|
+
bottom?: number;
|
|
1795
|
+
left?: number;
|
|
1796
|
+
} | null): void;
|
|
1797
|
+
/** In force now; all zero when the host set none. */
|
|
1798
|
+
getViewportInsets(): {
|
|
1799
|
+
top: number;
|
|
1800
|
+
right: number;
|
|
1801
|
+
bottom: number;
|
|
1802
|
+
left: number;
|
|
1803
|
+
};
|
|
1714
1804
|
worldToScreen(p: {
|
|
1715
1805
|
x: number;
|
|
1716
1806
|
y: number;
|
|
@@ -1729,6 +1819,7 @@ declare class PickerController {
|
|
|
1729
1819
|
* without reaching into the canvas for it.
|
|
1730
1820
|
*/
|
|
1731
1821
|
private accessFilter;
|
|
1822
|
+
private viewportInsets;
|
|
1732
1823
|
setAccessibilityFilter(types: string[] | null): void;
|
|
1733
1824
|
/** The buyer's active accessibility filter, or null. */
|
|
1734
1825
|
getAccessibilityFilter(): AccessibilityType[] | null;
|
|
@@ -2171,4 +2262,4 @@ declare function formatMinor(minor: number, currency?: string, locale?: string):
|
|
|
2171
2262
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2172
2263
|
declare function currencySymbol(currency?: string): string;
|
|
2173
2264
|
|
|
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 };
|
|
2265
|
+
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, compactRowLabel, createRenderer, currencyExponent, currencySymbol, formatDate, formatMinor, formatMoney, fromMinorUnits, generateSeatPanorama, generateSeatThumb, getLocale, isLocaleLoaded, loadLocale, localeDirection, resolveLocale, setLocale, setMoneyLocale, setStringOverrides, t, tCount };
|