@seatlayer/core 0.31.0 → 0.33.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.
@@ -157,6 +157,32 @@ interface SeatCommercialAttributes {
157
157
  premium?: boolean;
158
158
  note?: string;
159
159
  }
160
+ /** The selling attributes that can be marked on a seat one at a time, the same
161
+ * way an accommodation can. `note` is free text and belongs to one seat, so it
162
+ * is deliberately not here. */
163
+ type SeatCommercialMark = 'obstructedView' | 'restrictedView' | 'premium';
164
+ interface SeatCommercialMeta {
165
+ key: SeatCommercialMark;
166
+ /** Full descriptive label (designer panel, tooltips). */
167
+ label: string;
168
+ /** Compact label for chips. */
169
+ short: string;
170
+ /** Single-glyph badge, matching the accessibility chips. */
171
+ icon: string;
172
+ }
173
+ /**
174
+ * Ordered taxonomy of sellable view attributes.
175
+ *
176
+ * Kept beside {@link ACCESSIBILITY_TYPES} and shaped identically because the
177
+ * designer paints them with the same tool: an author marking the back two rows
178
+ * of a stand as obstructed is doing the same gesture as marking a wheelchair
179
+ * space, and at a thousand seats it has to cost the same. They stay separate
180
+ * TYPES because they mean different things — an accommodation is a buyer's
181
+ * access need, a selling attribute is what the seat is worth.
182
+ */
183
+ declare const SEAT_COMMERCIAL_MARKS: SeatCommercialMeta[];
184
+ /** Metadata for one selling attribute (undefined for unknown keys). */
185
+ declare function seatCommercialMeta(key: SeatCommercialMark): SeatCommercialMeta | undefined;
160
186
  /**
161
187
  * Per-object label ink + size overrides layered on top of the chart-wide Theme
162
188
  * defaults (rowLabelColor / textColor for rows, the section-name ink for
@@ -1605,4 +1631,4 @@ interface ISeatmapRenderer {
1605
1631
  /** localStorage key the Designer writes and the Picker reads. */
1606
1632
  declare const CHART_STORAGE_KEY = "seatmap.chart";
1607
1633
 
1608
- export { type RenderedGAAreaEvidence as $, type AccessibilityType as A, type BoothObject as B, type ChartDoc as C, type DecorImageObject as D, type ExpandedSeat as E, type Floor as F, type GAAreaObject as G, type ReferenceCalibration as H, type ISeatmapRenderer as I, type ReferenceCategorySource as J, type ReferenceDerivedScale as K, type LabelStyle as L, type ReferenceInventoryExclusionSource as M, type ReferenceInventorySource as N, type ReferenceScanProposal as O, type Point as P, type ReferenceScanRowProposal as Q, type RowObject as R, type SeatOverride as S, type TableObject as T, type ReferenceScanSectionProposal as U, type ReferenceSeatSeed as V, type ReferenceSectionTraceBatchInput as W, type ReferenceSectionTraceBatchProposal as X, type ReferenceSectionTraceInput as Y, type ReferenceSectionTraceProposal as Z, type RenderedBookableLabelEvidence as _, type RectTableSide as a, type RenderedHierarchyLabelEvidence as a0, type RenderedLabelHiddenReason as a1, SURROUNDINGS_SHAPE_ROLES as a2, type SectionOutlinePath as a3, type SectionPathSegment as a4, type SelectionLayer as a5, type ShapeLineCap as a6, type ShapeLineEnding as a7, type ShapeLineJoin as a8, type ShapeObject as a9, type TextObject as aa, type ZoneDef as ab, accessibilityMeta as ac, accessibilityRingColor as ad, layerOf as ae, type ChartObject as b, type SectionObject as c, type RectTableSeatCounts as d, type GAInventorySegment as e, type RendererQualityEvidence as f, type RenderedFreeTextEvidence as g, type RendererOptions as h, type SeatStatus as i, type RendererViewMode as j, type LodRung as k, type CategoryTier as l, type SeatCommercialAttributes as m, type RendererCallbacks as n, ACCESSIBILITY_RING_COLOR as o, ACCESSIBILITY_TYPES as p, type AccessibilityMeta as q, CHART_STORAGE_KEY as r, type Category as s, type ChartReferenceImage as t, type ChartTheme as u, type CubicPath as v, LABEL_STYLE_MAX_SIZE as w, LABEL_STYLE_MIN_SIZE as x, type LabelPresentation as y, type ReferenceAccessibilitySource as z };
1634
+ export { type RenderedGAAreaEvidence as $, type AccessibilityType as A, type BoothObject as B, type ChartDoc as C, type DecorImageObject as D, type ExpandedSeat as E, type Floor as F, type GAAreaObject as G, type ReferenceCalibration as H, type ISeatmapRenderer as I, type ReferenceCategorySource as J, type ReferenceDerivedScale as K, type LabelStyle as L, type ReferenceInventoryExclusionSource as M, type ReferenceInventorySource as N, type ReferenceScanProposal as O, type Point as P, type ReferenceScanRowProposal as Q, type RowObject as R, type SeatOverride as S, type TableObject as T, type ReferenceScanSectionProposal as U, type ReferenceSeatSeed as V, type ReferenceSectionTraceBatchInput as W, type ReferenceSectionTraceBatchProposal as X, type ReferenceSectionTraceInput as Y, type ReferenceSectionTraceProposal as Z, type RenderedBookableLabelEvidence as _, type RectTableSide as a, type RenderedHierarchyLabelEvidence as a0, type RenderedLabelHiddenReason as a1, SEAT_COMMERCIAL_MARKS as a2, SURROUNDINGS_SHAPE_ROLES as a3, type SeatCommercialMark as a4, type SeatCommercialMeta as a5, type SectionOutlinePath as a6, type SectionPathSegment as a7, type SelectionLayer as a8, type ShapeLineCap as a9, type ShapeLineEnding as aa, type ShapeLineJoin as ab, type ShapeObject as ac, type TextObject as ad, type ZoneDef as ae, accessibilityMeta as af, accessibilityRingColor as ag, layerOf as ah, seatCommercialMeta as ai, type ChartObject as b, type SectionObject as c, type RectTableSeatCounts as d, type GAInventorySegment as e, type RendererQualityEvidence as f, type RenderedFreeTextEvidence as g, type RendererOptions as h, type SeatStatus as i, type RendererViewMode as j, type LodRung as k, type CategoryTier as l, type SeatCommercialAttributes as m, type RendererCallbacks as n, ACCESSIBILITY_RING_COLOR as o, ACCESSIBILITY_TYPES as p, type AccessibilityMeta as q, CHART_STORAGE_KEY as r, type Category as s, type ChartReferenceImage as t, type ChartTheme as u, type CubicPath as v, LABEL_STYLE_MAX_SIZE as w, LABEL_STYLE_MIN_SIZE as x, type LabelPresentation as y, type ReferenceAccessibilitySource as z };
@@ -157,6 +157,32 @@ interface SeatCommercialAttributes {
157
157
  premium?: boolean;
158
158
  note?: string;
159
159
  }
160
+ /** The selling attributes that can be marked on a seat one at a time, the same
161
+ * way an accommodation can. `note` is free text and belongs to one seat, so it
162
+ * is deliberately not here. */
163
+ type SeatCommercialMark = 'obstructedView' | 'restrictedView' | 'premium';
164
+ interface SeatCommercialMeta {
165
+ key: SeatCommercialMark;
166
+ /** Full descriptive label (designer panel, tooltips). */
167
+ label: string;
168
+ /** Compact label for chips. */
169
+ short: string;
170
+ /** Single-glyph badge, matching the accessibility chips. */
171
+ icon: string;
172
+ }
173
+ /**
174
+ * Ordered taxonomy of sellable view attributes.
175
+ *
176
+ * Kept beside {@link ACCESSIBILITY_TYPES} and shaped identically because the
177
+ * designer paints them with the same tool: an author marking the back two rows
178
+ * of a stand as obstructed is doing the same gesture as marking a wheelchair
179
+ * space, and at a thousand seats it has to cost the same. They stay separate
180
+ * TYPES because they mean different things — an accommodation is a buyer's
181
+ * access need, a selling attribute is what the seat is worth.
182
+ */
183
+ declare const SEAT_COMMERCIAL_MARKS: SeatCommercialMeta[];
184
+ /** Metadata for one selling attribute (undefined for unknown keys). */
185
+ declare function seatCommercialMeta(key: SeatCommercialMark): SeatCommercialMeta | undefined;
160
186
  /**
161
187
  * Per-object label ink + size overrides layered on top of the chart-wide Theme
162
188
  * defaults (rowLabelColor / textColor for rows, the section-name ink for
@@ -1605,4 +1631,4 @@ interface ISeatmapRenderer {
1605
1631
  /** localStorage key the Designer writes and the Picker reads. */
1606
1632
  declare const CHART_STORAGE_KEY = "seatmap.chart";
1607
1633
 
1608
- export { type RenderedGAAreaEvidence as $, type AccessibilityType as A, type BoothObject as B, type ChartDoc as C, type DecorImageObject as D, type ExpandedSeat as E, type Floor as F, type GAAreaObject as G, type ReferenceCalibration as H, type ISeatmapRenderer as I, type ReferenceCategorySource as J, type ReferenceDerivedScale as K, type LabelStyle as L, type ReferenceInventoryExclusionSource as M, type ReferenceInventorySource as N, type ReferenceScanProposal as O, type Point as P, type ReferenceScanRowProposal as Q, type RowObject as R, type SeatOverride as S, type TableObject as T, type ReferenceScanSectionProposal as U, type ReferenceSeatSeed as V, type ReferenceSectionTraceBatchInput as W, type ReferenceSectionTraceBatchProposal as X, type ReferenceSectionTraceInput as Y, type ReferenceSectionTraceProposal as Z, type RenderedBookableLabelEvidence as _, type RectTableSide as a, type RenderedHierarchyLabelEvidence as a0, type RenderedLabelHiddenReason as a1, SURROUNDINGS_SHAPE_ROLES as a2, type SectionOutlinePath as a3, type SectionPathSegment as a4, type SelectionLayer as a5, type ShapeLineCap as a6, type ShapeLineEnding as a7, type ShapeLineJoin as a8, type ShapeObject as a9, type TextObject as aa, type ZoneDef as ab, accessibilityMeta as ac, accessibilityRingColor as ad, layerOf as ae, type ChartObject as b, type SectionObject as c, type RectTableSeatCounts as d, type GAInventorySegment as e, type RendererQualityEvidence as f, type RenderedFreeTextEvidence as g, type RendererOptions as h, type SeatStatus as i, type RendererViewMode as j, type LodRung as k, type CategoryTier as l, type SeatCommercialAttributes as m, type RendererCallbacks as n, ACCESSIBILITY_RING_COLOR as o, ACCESSIBILITY_TYPES as p, type AccessibilityMeta as q, CHART_STORAGE_KEY as r, type Category as s, type ChartReferenceImage as t, type ChartTheme as u, type CubicPath as v, LABEL_STYLE_MAX_SIZE as w, LABEL_STYLE_MIN_SIZE as x, type LabelPresentation as y, type ReferenceAccessibilitySource as z };
1634
+ export { type RenderedGAAreaEvidence as $, type AccessibilityType as A, type BoothObject as B, type ChartDoc as C, type DecorImageObject as D, type ExpandedSeat as E, type Floor as F, type GAAreaObject as G, type ReferenceCalibration as H, type ISeatmapRenderer as I, type ReferenceCategorySource as J, type ReferenceDerivedScale as K, type LabelStyle as L, type ReferenceInventoryExclusionSource as M, type ReferenceInventorySource as N, type ReferenceScanProposal as O, type Point as P, type ReferenceScanRowProposal as Q, type RowObject as R, type SeatOverride as S, type TableObject as T, type ReferenceScanSectionProposal as U, type ReferenceSeatSeed as V, type ReferenceSectionTraceBatchInput as W, type ReferenceSectionTraceBatchProposal as X, type ReferenceSectionTraceInput as Y, type ReferenceSectionTraceProposal as Z, type RenderedBookableLabelEvidence as _, type RectTableSide as a, type RenderedHierarchyLabelEvidence as a0, type RenderedLabelHiddenReason as a1, SEAT_COMMERCIAL_MARKS as a2, SURROUNDINGS_SHAPE_ROLES as a3, type SeatCommercialMark as a4, type SeatCommercialMeta as a5, type SectionOutlinePath as a6, type SectionPathSegment as a7, type SelectionLayer as a8, type ShapeLineCap as a9, type ShapeLineEnding as aa, type ShapeLineJoin as ab, type ShapeObject as ac, type TextObject as ad, type ZoneDef as ae, accessibilityMeta as af, accessibilityRingColor as ag, layerOf as ah, seatCommercialMeta as ai, type ChartObject as b, type SectionObject as c, type RectTableSeatCounts as d, type GAInventorySegment as e, type RendererQualityEvidence as f, type RenderedFreeTextEvidence as g, type RendererOptions as h, type SeatStatus as i, type RendererViewMode as j, type LodRung as k, type CategoryTier as l, type SeatCommercialAttributes as m, type RendererCallbacks as n, ACCESSIBILITY_RING_COLOR as o, ACCESSIBILITY_TYPES as p, type AccessibilityMeta as q, CHART_STORAGE_KEY as r, type Category as s, type ChartReferenceImage as t, type ChartTheme as u, type CubicPath as v, LABEL_STYLE_MAX_SIZE as w, LABEL_STYLE_MIN_SIZE as x, type LabelPresentation as y, type ReferenceAccessibilitySource as z };