@seatlayer/core 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{de-EIG65UFU.js → de-73TIXYJH.js} +2 -1
- package/dist/{de-EIG65UFU.js.map → de-73TIXYJH.js.map} +1 -1
- package/dist/{es-47HFAWS6.js → es-SKAODLTR.js} +2 -1
- package/dist/{es-47HFAWS6.js.map → es-SKAODLTR.js.map} +1 -1
- package/dist/{fr-7IXNNFBS.js → fr-J4637T6V.js} +2 -1
- package/dist/{fr-7IXNNFBS.js.map → fr-J4637T6V.js.map} +1 -1
- package/dist/index.cjs +476 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +136 -1
- package/dist/index.d.ts +136 -1
- package/dist/index.js +474 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -222,6 +222,12 @@ interface RowObject {
|
|
|
222
222
|
label: string;
|
|
223
223
|
/** Buyer-facing row name. `label` remains the legacy inventory prefix. */
|
|
224
224
|
displayLabel?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Buyer-facing type word override (seats.io "Displayed type"). Replaces the
|
|
227
|
+
* hardcoded "Row" in the picker tooltip/confirm/cart, e.g. "Table", "Bench",
|
|
228
|
+
* "Aisle". ≤24 chars; absent = the default "Row". Pure presentation.
|
|
229
|
+
*/
|
|
230
|
+
displayType?: string;
|
|
225
231
|
labelPresentation?: LabelPresentation;
|
|
226
232
|
/** Position of the FIRST seat. */
|
|
227
233
|
origin: Point;
|
|
@@ -329,6 +335,9 @@ interface GAAreaObject {
|
|
|
329
335
|
type: 'gaArea';
|
|
330
336
|
id: string;
|
|
331
337
|
label: string;
|
|
338
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
339
|
+
* Absent = the default type word. Pure presentation. */
|
|
340
|
+
displayType?: string;
|
|
332
341
|
/** Closed polygon, in chart units. */
|
|
333
342
|
points: Point[];
|
|
334
343
|
/** Explicit aisles/pillars/cutouts excluded from the sellable GA surface. */
|
|
@@ -417,6 +426,9 @@ interface TableObject {
|
|
|
417
426
|
id: string;
|
|
418
427
|
/** e.g. "T1" — seat labels are `${label}-${n}`. */
|
|
419
428
|
label: string;
|
|
429
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
430
|
+
* Absent = the default "Row"/"Table" word. Pure presentation. */
|
|
431
|
+
displayType?: string;
|
|
420
432
|
center: Point;
|
|
421
433
|
shape: 'round' | 'rect';
|
|
422
434
|
/** Seats around the perimeter (round) or along the enabled edges (rect). */
|
|
@@ -446,6 +458,9 @@ interface BoothObject {
|
|
|
446
458
|
type: 'booth';
|
|
447
459
|
id: string;
|
|
448
460
|
label: string;
|
|
461
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
462
|
+
* Absent = the default type word. Pure presentation. */
|
|
463
|
+
displayType?: string;
|
|
449
464
|
center: Point;
|
|
450
465
|
width: number;
|
|
451
466
|
height: number;
|
|
@@ -466,6 +481,11 @@ interface SectionObject {
|
|
|
466
481
|
label: string;
|
|
467
482
|
/** Buyer-facing section name; logical/id fields remain stable. */
|
|
468
483
|
displayLabel?: string;
|
|
484
|
+
/**
|
|
485
|
+
* Buyer-facing entrance/door hint shown in the picker section card
|
|
486
|
+
* ("Entrance X"). ≤40 chars; absent = no entrance line. Pure presentation.
|
|
487
|
+
*/
|
|
488
|
+
entrance?: string;
|
|
469
489
|
labelPresentation?: LabelPresentation;
|
|
470
490
|
/**
|
|
471
491
|
* Stable management/inventory identity shared by disconnected visual
|
|
@@ -1267,6 +1287,116 @@ declare function hiddenObjectIds(doc: ChartDoc, hidden: ReadonlySet<string>): Se
|
|
|
1267
1287
|
*/
|
|
1268
1288
|
declare function applyHidden(doc: ChartDoc, hidden: ReadonlySet<string>): ChartDoc;
|
|
1269
1289
|
|
|
1290
|
+
declare const RENDERED_QUALITY_REPORT_VERSION = 3;
|
|
1291
|
+
type RenderedEvidenceState = 'overview' | 'interaction';
|
|
1292
|
+
type RenderedQualityFindingCode = 'bookable-label-undersized' | 'bookable-label-contrast-low' | 'bookable-label-collision' | 'hierarchy-label-undersized' | 'hierarchy-label-contrast-low' | 'hierarchy-label-outside-section' | 'hierarchy-label-collision' | 'hierarchy-bookable-collision' | 'overview-section-category-paint' | 'overview-category-detail-visible' | 'overview-row-hints-visible' | 'overview-availability-clutter' | 'overview-ga-detail-visible' | 'free-text-undersized' | 'free-text-contrast-low' | 'free-text-collision' | 'free-text-bookable-collision' | 'free-text-hierarchy-collision' | 'ga-contrast-low' | 'detail-rung-missing' | 'detail-inventory-not-visible' | 'pointer-target-undersized' | 'pointer-target-inactive' | 'selected-state-missing' | 'selected-state-contrast-low' | 'held-state-missing' | 'booked-state-missing' | 'status-state-indistinct' | 'section-focus-missing' | 'category-filter-missing' | 'category-filter-ineffective' | 'target-category-not-visible' | 'target-category-filter-mismatch';
|
|
1293
|
+
interface RenderedQualitySample {
|
|
1294
|
+
primaryId: string;
|
|
1295
|
+
primaryLabel: string;
|
|
1296
|
+
secondaryId?: string;
|
|
1297
|
+
secondaryLabel?: string;
|
|
1298
|
+
measured?: number;
|
|
1299
|
+
minimum?: number;
|
|
1300
|
+
}
|
|
1301
|
+
interface RenderedQualityFinding {
|
|
1302
|
+
code: RenderedQualityFindingCode;
|
|
1303
|
+
message: string;
|
|
1304
|
+
count: number;
|
|
1305
|
+
samples: RenderedQualitySample[];
|
|
1306
|
+
}
|
|
1307
|
+
interface RenderedQualityReport {
|
|
1308
|
+
version: typeof RENDERED_QUALITY_REPORT_VERSION;
|
|
1309
|
+
passed: boolean;
|
|
1310
|
+
state: RenderedEvidenceState;
|
|
1311
|
+
/** Server-selected category exercised by a category-specific detail scene. */
|
|
1312
|
+
targetCategoryKey: string | null;
|
|
1313
|
+
/** Exact overview checks discharged by this browser-rendered report. */
|
|
1314
|
+
resolvedRules: string[];
|
|
1315
|
+
viewport: {
|
|
1316
|
+
width: number;
|
|
1317
|
+
height: number;
|
|
1318
|
+
};
|
|
1319
|
+
canvasBackground: string;
|
|
1320
|
+
effectiveScale: number;
|
|
1321
|
+
rung: RendererQualityEvidence['rung'];
|
|
1322
|
+
inventory: {
|
|
1323
|
+
totalBookableUnits: number;
|
|
1324
|
+
totalLabelledBookableUnits: number;
|
|
1325
|
+
visibleBookableLabels: number;
|
|
1326
|
+
hiddenBookableLabels: number;
|
|
1327
|
+
visibleHierarchyLabels: number;
|
|
1328
|
+
visibleFreeTextLabels: number;
|
|
1329
|
+
visibleGAAreas: number;
|
|
1330
|
+
};
|
|
1331
|
+
overviewStyle?: RendererQualityEvidence['overviewStyle'];
|
|
1332
|
+
/**
|
|
1333
|
+
* Coordinate-free identity evidence from the exact buyer scene. The Worker
|
|
1334
|
+
* uses this to compare persisted reference semantics with what Chromium
|
|
1335
|
+
* actually painted, without exposing screen boxes or accepting geometry.
|
|
1336
|
+
*/
|
|
1337
|
+
composition: {
|
|
1338
|
+
hierarchy: Array<{
|
|
1339
|
+
id: string;
|
|
1340
|
+
kind: 'section' | 'zone';
|
|
1341
|
+
label: string;
|
|
1342
|
+
visible: boolean;
|
|
1343
|
+
}>;
|
|
1344
|
+
labelledObjects: Array<{
|
|
1345
|
+
objectId: string;
|
|
1346
|
+
kind: RenderedFreeTextEvidence['kind'];
|
|
1347
|
+
text: string;
|
|
1348
|
+
visible: boolean;
|
|
1349
|
+
}>;
|
|
1350
|
+
gaAreas: Array<{
|
|
1351
|
+
areaId: string;
|
|
1352
|
+
label: string;
|
|
1353
|
+
categoryKey: string;
|
|
1354
|
+
sectionId?: string;
|
|
1355
|
+
visible: boolean;
|
|
1356
|
+
}>;
|
|
1357
|
+
bookableSectionIds: string[];
|
|
1358
|
+
categoryKeys: string[];
|
|
1359
|
+
/** Categories whose non-dimmed bookable paint is visible in this scene. */
|
|
1360
|
+
activeCategoryKeys: string[];
|
|
1361
|
+
};
|
|
1362
|
+
metrics: {
|
|
1363
|
+
minimumRenderedBookableLabelPx: number | null;
|
|
1364
|
+
minimumBookableLabelContrast: number | null;
|
|
1365
|
+
minimumRenderedHierarchyLabelPx: number | null;
|
|
1366
|
+
minimumHierarchyLabelContrast: number | null;
|
|
1367
|
+
minimumRenderedFreeTextPx: number | null;
|
|
1368
|
+
minimumFreeTextContrast: number | null;
|
|
1369
|
+
minimumGAContrast: number | null;
|
|
1370
|
+
minimumEffectivePointerTargetPx: number | null;
|
|
1371
|
+
selectedRingContrast: number | null;
|
|
1372
|
+
};
|
|
1373
|
+
interaction: {
|
|
1374
|
+
applicable: {
|
|
1375
|
+
detail: boolean;
|
|
1376
|
+
pointer: boolean;
|
|
1377
|
+
held: boolean;
|
|
1378
|
+
booked: boolean;
|
|
1379
|
+
sectionFocus: boolean;
|
|
1380
|
+
categoryFilter: boolean;
|
|
1381
|
+
};
|
|
1382
|
+
selectedUnits: number;
|
|
1383
|
+
heldUnits: number;
|
|
1384
|
+
bookedUnits: number;
|
|
1385
|
+
activePointerTargets: number;
|
|
1386
|
+
focusedSectionId: string | null;
|
|
1387
|
+
focusBackdropVisible: boolean;
|
|
1388
|
+
categoryFilterKeys: string[] | null;
|
|
1389
|
+
};
|
|
1390
|
+
findings: RenderedQualityFinding[];
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Inspect what the buyer renderer actually decided to paint at one exact
|
|
1394
|
+
* viewport. This is deliberately downstream of ChartDoc validation: screen
|
|
1395
|
+
* size, LOD visibility, fitted hierarchy text, transient paint, and label
|
|
1396
|
+
* collisions cannot be proven from stored geometry alone.
|
|
1397
|
+
*/
|
|
1398
|
+
declare function inspectRenderedQualityEvidence(evidence: RendererQualityEvidence, state?: RenderedEvidenceState, targetCategoryKey?: string | null): RenderedQualityReport;
|
|
1399
|
+
|
|
1270
1400
|
/**
|
|
1271
1401
|
* SeatmapRenderer — the shared canvas rendering core (buyer picker shell).
|
|
1272
1402
|
*
|
|
@@ -1890,6 +2020,9 @@ interface SeatHoverDetails extends PickerSeat {
|
|
|
1890
2020
|
sectionLabel?: string;
|
|
1891
2021
|
rowLabel?: string;
|
|
1892
2022
|
seatNumber?: string;
|
|
2023
|
+
/** Buyer-facing type word for the row/table (seats.io "Displayed type"),
|
|
2024
|
+
* overriding the default "Row" in tooltip/confirm/cart. Absent = "Row". */
|
|
2025
|
+
rowType?: string;
|
|
1893
2026
|
}
|
|
1894
2027
|
interface HoldConflict {
|
|
1895
2028
|
label: string;
|
|
@@ -1923,6 +2056,8 @@ interface SectionSummary {
|
|
|
1923
2056
|
label: string;
|
|
1924
2057
|
/** Zone label (from ChartDoc.zones); '' when the section has no zone. */
|
|
1925
2058
|
zoneLabel: string;
|
|
2059
|
+
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
2060
|
+
entrance?: string;
|
|
1926
2061
|
/** Mix/section colour for the card's dot (section.color → zone colour → dominant category). */
|
|
1927
2062
|
color: string;
|
|
1928
2063
|
/** Free member seats right now. */
|
|
@@ -2438,4 +2573,4 @@ declare function formatMoney(amount: number, currency?: string, fractionDigits?:
|
|
|
2438
2573
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2439
2574
|
declare function currencySymbol(currency?: string): string;
|
|
2440
2575
|
|
|
2441
|
-
export { ACCESSIBILITY_RING_COLOR, ACCESSIBILITY_TYPES, type AccessibilityMeta, type AccessibilityType, type AvailabilityRule, type BoothObject, CHART_STORAGE_KEY, type Category, type CategoryTier, type ChartDoc, type ChartObject, type ChartReferenceImage, type ChartTheme, type CubicPath, DEFAULT_CURRENCY, type DecorImageObject, type Dict, type ExpandedSeat, type Floor, type GAAreaObject, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, type ISeatmapRenderer, LABEL_STYLE_MAX_SIZE, LABEL_STYLE_MIN_SIZE, type LabelPresentation, type LabelStyle, type Locale, type LodRung, MAX_EVENT_INVENTORY, MAX_GA_CAPACITY, type PanoramaResult, type PickerCallbacks, PickerController, type PickerOptions, type PickerSeat, type PickerTransport, type Point, type ReferenceAccessibilitySource, type ReferenceCalibration, type ReferenceCategorySource, type ReferenceDerivedScale, type ReferenceInventoryExclusionSource, type ReferenceInventorySource, type RenderedBookableLabelEvidence, type RenderedFreeTextEvidence, type RenderedGAAreaEvidence, type RenderedHierarchyLabelEvidence, type RenderedLabelHiddenReason, type RendererCallbacks, type RendererOptions, type RendererQualityEvidence, type RowObject, type RowSeatSlot, SUPPORTED_LOCALES, type SeatCommercialAttributes, type SeatHoverDetails, type SeatOverride, type SeatStatus, SeatmapRenderer, type SectionCategory, type SectionNode, type SectionObject, type SectionOutlinePath, type SectionPathSegment, type SectionSummary, type SelectionLayer, type ShapeObject, type TableObject, type TextObject, UNGROUPED_ID, type ZoneDef, accessibilityMeta, accessibilityRingColor, allObjects, applyHidden, chartBounds, computeSections, createRenderer, currencySymbol, expandBooth, expandChart, expandRow, expandRowSlots, expandTable, floorObjects, floorsOf, formatDate, formatMoney, gaAreasOf, gaUnitLabel, gaUnitLabels, generateSeatPanorama, generateSeatThumb, getLocale, hiddenObjectIds, isGaUnitLabel, isSectionHidden, layerOf, loadLocale, objectCenter, pointInPolygon, pointInPolygonWithHoles, polygonLabelPoint, resolveLocale, rowSeatPositions, seatLabelPart, setLocale, setMoneyLocale, setStringOverrides, stackFloors, t, tCount };
|
|
2576
|
+
export { ACCESSIBILITY_RING_COLOR, ACCESSIBILITY_TYPES, type AccessibilityMeta, type AccessibilityType, type AvailabilityRule, type BoothObject, CHART_STORAGE_KEY, type Category, type CategoryTier, type ChartDoc, type ChartObject, type ChartReferenceImage, type ChartTheme, type CubicPath, DEFAULT_CURRENCY, type DecorImageObject, type Dict, type ExpandedSeat, type Floor, type GAAreaObject, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, type ISeatmapRenderer, LABEL_STYLE_MAX_SIZE, LABEL_STYLE_MIN_SIZE, type LabelPresentation, type LabelStyle, type Locale, type LodRung, MAX_EVENT_INVENTORY, MAX_GA_CAPACITY, type PanoramaResult, type PickerCallbacks, PickerController, type PickerOptions, type PickerSeat, type PickerTransport, type Point, RENDERED_QUALITY_REPORT_VERSION, type ReferenceAccessibilitySource, type ReferenceCalibration, type ReferenceCategorySource, type ReferenceDerivedScale, type ReferenceInventoryExclusionSource, type ReferenceInventorySource, type RenderedBookableLabelEvidence, type RenderedEvidenceState, type RenderedFreeTextEvidence, type RenderedGAAreaEvidence, type RenderedHierarchyLabelEvidence, type RenderedLabelHiddenReason, type RenderedQualityFinding, type RenderedQualityFindingCode, type RenderedQualityReport, type RenderedQualitySample, type RendererCallbacks, type RendererOptions, type RendererQualityEvidence, type RowObject, type RowSeatSlot, SUPPORTED_LOCALES, type SeatCommercialAttributes, type SeatHoverDetails, type SeatOverride, type SeatStatus, SeatmapRenderer, type SectionCategory, type SectionNode, type SectionObject, type SectionOutlinePath, type SectionPathSegment, type SectionSummary, type SelectionLayer, type ShapeObject, type TableObject, type TextObject, UNGROUPED_ID, type ZoneDef, accessibilityMeta, accessibilityRingColor, allObjects, applyHidden, chartBounds, computeSections, createRenderer, currencySymbol, expandBooth, expandChart, expandRow, expandRowSlots, expandTable, floorObjects, floorsOf, formatDate, formatMoney, gaAreasOf, gaUnitLabel, gaUnitLabels, generateSeatPanorama, generateSeatThumb, getLocale, hiddenObjectIds, inspectRenderedQualityEvidence, isGaUnitLabel, isSectionHidden, layerOf, loadLocale, objectCenter, pointInPolygon, pointInPolygonWithHoles, polygonLabelPoint, resolveLocale, rowSeatPositions, seatLabelPart, setLocale, setMoneyLocale, setStringOverrides, stackFloors, t, tCount };
|
package/dist/index.d.ts
CHANGED
|
@@ -222,6 +222,12 @@ interface RowObject {
|
|
|
222
222
|
label: string;
|
|
223
223
|
/** Buyer-facing row name. `label` remains the legacy inventory prefix. */
|
|
224
224
|
displayLabel?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Buyer-facing type word override (seats.io "Displayed type"). Replaces the
|
|
227
|
+
* hardcoded "Row" in the picker tooltip/confirm/cart, e.g. "Table", "Bench",
|
|
228
|
+
* "Aisle". ≤24 chars; absent = the default "Row". Pure presentation.
|
|
229
|
+
*/
|
|
230
|
+
displayType?: string;
|
|
225
231
|
labelPresentation?: LabelPresentation;
|
|
226
232
|
/** Position of the FIRST seat. */
|
|
227
233
|
origin: Point;
|
|
@@ -329,6 +335,9 @@ interface GAAreaObject {
|
|
|
329
335
|
type: 'gaArea';
|
|
330
336
|
id: string;
|
|
331
337
|
label: string;
|
|
338
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
339
|
+
* Absent = the default type word. Pure presentation. */
|
|
340
|
+
displayType?: string;
|
|
332
341
|
/** Closed polygon, in chart units. */
|
|
333
342
|
points: Point[];
|
|
334
343
|
/** Explicit aisles/pillars/cutouts excluded from the sellable GA surface. */
|
|
@@ -417,6 +426,9 @@ interface TableObject {
|
|
|
417
426
|
id: string;
|
|
418
427
|
/** e.g. "T1" — seat labels are `${label}-${n}`. */
|
|
419
428
|
label: string;
|
|
429
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
430
|
+
* Absent = the default "Row"/"Table" word. Pure presentation. */
|
|
431
|
+
displayType?: string;
|
|
420
432
|
center: Point;
|
|
421
433
|
shape: 'round' | 'rect';
|
|
422
434
|
/** Seats around the perimeter (round) or along the enabled edges (rect). */
|
|
@@ -446,6 +458,9 @@ interface BoothObject {
|
|
|
446
458
|
type: 'booth';
|
|
447
459
|
id: string;
|
|
448
460
|
label: string;
|
|
461
|
+
/** Buyer-facing type word override (seats.io "Displayed type"), ≤24 chars.
|
|
462
|
+
* Absent = the default type word. Pure presentation. */
|
|
463
|
+
displayType?: string;
|
|
449
464
|
center: Point;
|
|
450
465
|
width: number;
|
|
451
466
|
height: number;
|
|
@@ -466,6 +481,11 @@ interface SectionObject {
|
|
|
466
481
|
label: string;
|
|
467
482
|
/** Buyer-facing section name; logical/id fields remain stable. */
|
|
468
483
|
displayLabel?: string;
|
|
484
|
+
/**
|
|
485
|
+
* Buyer-facing entrance/door hint shown in the picker section card
|
|
486
|
+
* ("Entrance X"). ≤40 chars; absent = no entrance line. Pure presentation.
|
|
487
|
+
*/
|
|
488
|
+
entrance?: string;
|
|
469
489
|
labelPresentation?: LabelPresentation;
|
|
470
490
|
/**
|
|
471
491
|
* Stable management/inventory identity shared by disconnected visual
|
|
@@ -1267,6 +1287,116 @@ declare function hiddenObjectIds(doc: ChartDoc, hidden: ReadonlySet<string>): Se
|
|
|
1267
1287
|
*/
|
|
1268
1288
|
declare function applyHidden(doc: ChartDoc, hidden: ReadonlySet<string>): ChartDoc;
|
|
1269
1289
|
|
|
1290
|
+
declare const RENDERED_QUALITY_REPORT_VERSION = 3;
|
|
1291
|
+
type RenderedEvidenceState = 'overview' | 'interaction';
|
|
1292
|
+
type RenderedQualityFindingCode = 'bookable-label-undersized' | 'bookable-label-contrast-low' | 'bookable-label-collision' | 'hierarchy-label-undersized' | 'hierarchy-label-contrast-low' | 'hierarchy-label-outside-section' | 'hierarchy-label-collision' | 'hierarchy-bookable-collision' | 'overview-section-category-paint' | 'overview-category-detail-visible' | 'overview-row-hints-visible' | 'overview-availability-clutter' | 'overview-ga-detail-visible' | 'free-text-undersized' | 'free-text-contrast-low' | 'free-text-collision' | 'free-text-bookable-collision' | 'free-text-hierarchy-collision' | 'ga-contrast-low' | 'detail-rung-missing' | 'detail-inventory-not-visible' | 'pointer-target-undersized' | 'pointer-target-inactive' | 'selected-state-missing' | 'selected-state-contrast-low' | 'held-state-missing' | 'booked-state-missing' | 'status-state-indistinct' | 'section-focus-missing' | 'category-filter-missing' | 'category-filter-ineffective' | 'target-category-not-visible' | 'target-category-filter-mismatch';
|
|
1293
|
+
interface RenderedQualitySample {
|
|
1294
|
+
primaryId: string;
|
|
1295
|
+
primaryLabel: string;
|
|
1296
|
+
secondaryId?: string;
|
|
1297
|
+
secondaryLabel?: string;
|
|
1298
|
+
measured?: number;
|
|
1299
|
+
minimum?: number;
|
|
1300
|
+
}
|
|
1301
|
+
interface RenderedQualityFinding {
|
|
1302
|
+
code: RenderedQualityFindingCode;
|
|
1303
|
+
message: string;
|
|
1304
|
+
count: number;
|
|
1305
|
+
samples: RenderedQualitySample[];
|
|
1306
|
+
}
|
|
1307
|
+
interface RenderedQualityReport {
|
|
1308
|
+
version: typeof RENDERED_QUALITY_REPORT_VERSION;
|
|
1309
|
+
passed: boolean;
|
|
1310
|
+
state: RenderedEvidenceState;
|
|
1311
|
+
/** Server-selected category exercised by a category-specific detail scene. */
|
|
1312
|
+
targetCategoryKey: string | null;
|
|
1313
|
+
/** Exact overview checks discharged by this browser-rendered report. */
|
|
1314
|
+
resolvedRules: string[];
|
|
1315
|
+
viewport: {
|
|
1316
|
+
width: number;
|
|
1317
|
+
height: number;
|
|
1318
|
+
};
|
|
1319
|
+
canvasBackground: string;
|
|
1320
|
+
effectiveScale: number;
|
|
1321
|
+
rung: RendererQualityEvidence['rung'];
|
|
1322
|
+
inventory: {
|
|
1323
|
+
totalBookableUnits: number;
|
|
1324
|
+
totalLabelledBookableUnits: number;
|
|
1325
|
+
visibleBookableLabels: number;
|
|
1326
|
+
hiddenBookableLabels: number;
|
|
1327
|
+
visibleHierarchyLabels: number;
|
|
1328
|
+
visibleFreeTextLabels: number;
|
|
1329
|
+
visibleGAAreas: number;
|
|
1330
|
+
};
|
|
1331
|
+
overviewStyle?: RendererQualityEvidence['overviewStyle'];
|
|
1332
|
+
/**
|
|
1333
|
+
* Coordinate-free identity evidence from the exact buyer scene. The Worker
|
|
1334
|
+
* uses this to compare persisted reference semantics with what Chromium
|
|
1335
|
+
* actually painted, without exposing screen boxes or accepting geometry.
|
|
1336
|
+
*/
|
|
1337
|
+
composition: {
|
|
1338
|
+
hierarchy: Array<{
|
|
1339
|
+
id: string;
|
|
1340
|
+
kind: 'section' | 'zone';
|
|
1341
|
+
label: string;
|
|
1342
|
+
visible: boolean;
|
|
1343
|
+
}>;
|
|
1344
|
+
labelledObjects: Array<{
|
|
1345
|
+
objectId: string;
|
|
1346
|
+
kind: RenderedFreeTextEvidence['kind'];
|
|
1347
|
+
text: string;
|
|
1348
|
+
visible: boolean;
|
|
1349
|
+
}>;
|
|
1350
|
+
gaAreas: Array<{
|
|
1351
|
+
areaId: string;
|
|
1352
|
+
label: string;
|
|
1353
|
+
categoryKey: string;
|
|
1354
|
+
sectionId?: string;
|
|
1355
|
+
visible: boolean;
|
|
1356
|
+
}>;
|
|
1357
|
+
bookableSectionIds: string[];
|
|
1358
|
+
categoryKeys: string[];
|
|
1359
|
+
/** Categories whose non-dimmed bookable paint is visible in this scene. */
|
|
1360
|
+
activeCategoryKeys: string[];
|
|
1361
|
+
};
|
|
1362
|
+
metrics: {
|
|
1363
|
+
minimumRenderedBookableLabelPx: number | null;
|
|
1364
|
+
minimumBookableLabelContrast: number | null;
|
|
1365
|
+
minimumRenderedHierarchyLabelPx: number | null;
|
|
1366
|
+
minimumHierarchyLabelContrast: number | null;
|
|
1367
|
+
minimumRenderedFreeTextPx: number | null;
|
|
1368
|
+
minimumFreeTextContrast: number | null;
|
|
1369
|
+
minimumGAContrast: number | null;
|
|
1370
|
+
minimumEffectivePointerTargetPx: number | null;
|
|
1371
|
+
selectedRingContrast: number | null;
|
|
1372
|
+
};
|
|
1373
|
+
interaction: {
|
|
1374
|
+
applicable: {
|
|
1375
|
+
detail: boolean;
|
|
1376
|
+
pointer: boolean;
|
|
1377
|
+
held: boolean;
|
|
1378
|
+
booked: boolean;
|
|
1379
|
+
sectionFocus: boolean;
|
|
1380
|
+
categoryFilter: boolean;
|
|
1381
|
+
};
|
|
1382
|
+
selectedUnits: number;
|
|
1383
|
+
heldUnits: number;
|
|
1384
|
+
bookedUnits: number;
|
|
1385
|
+
activePointerTargets: number;
|
|
1386
|
+
focusedSectionId: string | null;
|
|
1387
|
+
focusBackdropVisible: boolean;
|
|
1388
|
+
categoryFilterKeys: string[] | null;
|
|
1389
|
+
};
|
|
1390
|
+
findings: RenderedQualityFinding[];
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Inspect what the buyer renderer actually decided to paint at one exact
|
|
1394
|
+
* viewport. This is deliberately downstream of ChartDoc validation: screen
|
|
1395
|
+
* size, LOD visibility, fitted hierarchy text, transient paint, and label
|
|
1396
|
+
* collisions cannot be proven from stored geometry alone.
|
|
1397
|
+
*/
|
|
1398
|
+
declare function inspectRenderedQualityEvidence(evidence: RendererQualityEvidence, state?: RenderedEvidenceState, targetCategoryKey?: string | null): RenderedQualityReport;
|
|
1399
|
+
|
|
1270
1400
|
/**
|
|
1271
1401
|
* SeatmapRenderer — the shared canvas rendering core (buyer picker shell).
|
|
1272
1402
|
*
|
|
@@ -1890,6 +2020,9 @@ interface SeatHoverDetails extends PickerSeat {
|
|
|
1890
2020
|
sectionLabel?: string;
|
|
1891
2021
|
rowLabel?: string;
|
|
1892
2022
|
seatNumber?: string;
|
|
2023
|
+
/** Buyer-facing type word for the row/table (seats.io "Displayed type"),
|
|
2024
|
+
* overriding the default "Row" in tooltip/confirm/cart. Absent = "Row". */
|
|
2025
|
+
rowType?: string;
|
|
1893
2026
|
}
|
|
1894
2027
|
interface HoldConflict {
|
|
1895
2028
|
label: string;
|
|
@@ -1923,6 +2056,8 @@ interface SectionSummary {
|
|
|
1923
2056
|
label: string;
|
|
1924
2057
|
/** Zone label (from ChartDoc.zones); '' when the section has no zone. */
|
|
1925
2058
|
zoneLabel: string;
|
|
2059
|
+
/** Buyer-facing entrance/door hint ("Entrance X"); absent when unset. */
|
|
2060
|
+
entrance?: string;
|
|
1926
2061
|
/** Mix/section colour for the card's dot (section.color → zone colour → dominant category). */
|
|
1927
2062
|
color: string;
|
|
1928
2063
|
/** Free member seats right now. */
|
|
@@ -2438,4 +2573,4 @@ declare function formatMoney(amount: number, currency?: string, fractionDigits?:
|
|
|
2438
2573
|
/** Bare symbol for input adornments ("€", "$", "₹"). */
|
|
2439
2574
|
declare function currencySymbol(currency?: string): string;
|
|
2440
2575
|
|
|
2441
|
-
export { ACCESSIBILITY_RING_COLOR, ACCESSIBILITY_TYPES, type AccessibilityMeta, type AccessibilityType, type AvailabilityRule, type BoothObject, CHART_STORAGE_KEY, type Category, type CategoryTier, type ChartDoc, type ChartObject, type ChartReferenceImage, type ChartTheme, type CubicPath, DEFAULT_CURRENCY, type DecorImageObject, type Dict, type ExpandedSeat, type Floor, type GAAreaObject, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, type ISeatmapRenderer, LABEL_STYLE_MAX_SIZE, LABEL_STYLE_MIN_SIZE, type LabelPresentation, type LabelStyle, type Locale, type LodRung, MAX_EVENT_INVENTORY, MAX_GA_CAPACITY, type PanoramaResult, type PickerCallbacks, PickerController, type PickerOptions, type PickerSeat, type PickerTransport, type Point, type ReferenceAccessibilitySource, type ReferenceCalibration, type ReferenceCategorySource, type ReferenceDerivedScale, type ReferenceInventoryExclusionSource, type ReferenceInventorySource, type RenderedBookableLabelEvidence, type RenderedFreeTextEvidence, type RenderedGAAreaEvidence, type RenderedHierarchyLabelEvidence, type RenderedLabelHiddenReason, type RendererCallbacks, type RendererOptions, type RendererQualityEvidence, type RowObject, type RowSeatSlot, SUPPORTED_LOCALES, type SeatCommercialAttributes, type SeatHoverDetails, type SeatOverride, type SeatStatus, SeatmapRenderer, type SectionCategory, type SectionNode, type SectionObject, type SectionOutlinePath, type SectionPathSegment, type SectionSummary, type SelectionLayer, type ShapeObject, type TableObject, type TextObject, UNGROUPED_ID, type ZoneDef, accessibilityMeta, accessibilityRingColor, allObjects, applyHidden, chartBounds, computeSections, createRenderer, currencySymbol, expandBooth, expandChart, expandRow, expandRowSlots, expandTable, floorObjects, floorsOf, formatDate, formatMoney, gaAreasOf, gaUnitLabel, gaUnitLabels, generateSeatPanorama, generateSeatThumb, getLocale, hiddenObjectIds, isGaUnitLabel, isSectionHidden, layerOf, loadLocale, objectCenter, pointInPolygon, pointInPolygonWithHoles, polygonLabelPoint, resolveLocale, rowSeatPositions, seatLabelPart, setLocale, setMoneyLocale, setStringOverrides, stackFloors, t, tCount };
|
|
2576
|
+
export { ACCESSIBILITY_RING_COLOR, ACCESSIBILITY_TYPES, type AccessibilityMeta, type AccessibilityType, type AvailabilityRule, type BoothObject, CHART_STORAGE_KEY, type Category, type CategoryTier, type ChartDoc, type ChartObject, type ChartReferenceImage, type ChartTheme, type CubicPath, DEFAULT_CURRENCY, type DecorImageObject, type Dict, type ExpandedSeat, type Floor, type GAAreaObject, type HoldConflict, type HoldInfo, type HoldSelectionRequest, type HoldServerItem, type ISeatmapRenderer, LABEL_STYLE_MAX_SIZE, LABEL_STYLE_MIN_SIZE, type LabelPresentation, type LabelStyle, type Locale, type LodRung, MAX_EVENT_INVENTORY, MAX_GA_CAPACITY, type PanoramaResult, type PickerCallbacks, PickerController, type PickerOptions, type PickerSeat, type PickerTransport, type Point, RENDERED_QUALITY_REPORT_VERSION, type ReferenceAccessibilitySource, type ReferenceCalibration, type ReferenceCategorySource, type ReferenceDerivedScale, type ReferenceInventoryExclusionSource, type ReferenceInventorySource, type RenderedBookableLabelEvidence, type RenderedEvidenceState, type RenderedFreeTextEvidence, type RenderedGAAreaEvidence, type RenderedHierarchyLabelEvidence, type RenderedLabelHiddenReason, type RenderedQualityFinding, type RenderedQualityFindingCode, type RenderedQualityReport, type RenderedQualitySample, type RendererCallbacks, type RendererOptions, type RendererQualityEvidence, type RowObject, type RowSeatSlot, SUPPORTED_LOCALES, type SeatCommercialAttributes, type SeatHoverDetails, type SeatOverride, type SeatStatus, SeatmapRenderer, type SectionCategory, type SectionNode, type SectionObject, type SectionOutlinePath, type SectionPathSegment, type SectionSummary, type SelectionLayer, type ShapeObject, type TableObject, type TextObject, UNGROUPED_ID, type ZoneDef, accessibilityMeta, accessibilityRingColor, allObjects, applyHidden, chartBounds, computeSections, createRenderer, currencySymbol, expandBooth, expandChart, expandRow, expandRowSlots, expandTable, floorObjects, floorsOf, formatDate, formatMoney, gaAreasOf, gaUnitLabel, gaUnitLabels, generateSeatPanorama, generateSeatThumb, getLocale, hiddenObjectIds, inspectRenderedQualityEvidence, isGaUnitLabel, isSectionHidden, layerOf, loadLocale, objectCenter, pointInPolygon, pointInPolygonWithHoles, polygonLabelPoint, resolveLocale, rowSeatPositions, seatLabelPart, setLocale, setMoneyLocale, setStringOverrides, stackFloors, t, tCount };
|