@seatlayer/core 0.91.1 → 0.92.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.
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-BI7dyJjD.js';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-B7IrAGHP.js';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-CMkBzwCP.cjs';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-BePADdjE.cjs';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  /**
@@ -162,6 +162,18 @@ interface RendererCallbacks {
162
162
  }
163
163
  /** Far-zoom level-of-detail rung: whole zones → section blocks → individual seats. */
164
164
  type LodRung = 'zones' | 'sections' | 'seats';
165
+ /**
166
+ * What `paintSeat` needs from the organizer glyph module, described here so the
167
+ * konva-free core can name it: `node` is the seat's Konva shape, kept opaque.
168
+ */
169
+ interface OrganizerSeatGlyphHook {
170
+ /** Install (or update) the glyph this seat draws inside its own disc. */
171
+ apply(node: unknown, glyph: 'cross' | 'clock', ink: string, radius: number): void;
172
+ /** Restore a node to its plain scene function. */
173
+ clear(node: unknown): void;
174
+ /** True while this node is drawing an organizer glyph. */
175
+ isPainted(node: unknown): boolean;
176
+ }
165
177
  interface RendererOptions extends RendererCallbacks {
166
178
  /**
167
179
  * Internal fixed-output mode used by the free maker's PNG/PDF pipeline.
@@ -225,6 +237,16 @@ interface RendererOptions extends RendererCallbacks {
225
237
  * false (every manage branch is gated on it). Default false.
226
238
  */
227
239
  manageMode?: boolean;
240
+ /**
241
+ * The organizer's per-seat glyph painter (clock on a hold, cross on a block),
242
+ * handed IN rather than imported. `render/organizerSeatGlyph` is organizer-only
243
+ * code, and a static import from the seat paint loop dragged it into the buyer
244
+ * bundle's graph — 130 lines a buyer never paints, on the one download that is
245
+ * measured before first paint. The manage surface (SDK SeatManager) supplies
246
+ * this; when it is absent the glyph branch is skipped entirely and the buyer
247
+ * paint is byte-identical to what it was before the hook existed.
248
+ */
249
+ organizerGlyph?: OrganizerSeatGlyphHook;
228
250
  /**
229
251
  * When `manageMode` is on, a mouse/pen primary-button drag at the seats rung
230
252
  * draws a rubber-band marquee that bulk-selects the seats it covers (emitting
@@ -869,4 +891,4 @@ interface RendererMinimapSnapshot {
869
891
  /** localStorage key the Designer writes and the Picker reads. */
870
892
  declare const CHART_STORAGE_KEY = "seatmap.chart";
871
893
 
872
- export { CHART_STORAGE_KEY as C, type ExpandedSeat as E, type GAAreaState as G, type ISeatmapRenderer as I, type LodRung as L, type RendererQualityEvidence as R, type SeatStatus as S, type RenderedFreeTextEvidence as a, type RendererOptions as b, type SeatMark as c, type RendererViewMode as d, type RendererMinimapSnapshot as e, type RendererCallbacks as f, type RenderedBookableLabelEvidence as g, type RenderedGAAreaEvidence as h, type RenderedHierarchyLabelEvidence as i, type RenderedLabelHiddenReason as j, type RenderedRowLabelEvidence as k, type RendererHoverDetails as l, type RendererMinimapSeat as m, type RendererMinimapSection as n, type SeatMarkKind as o };
894
+ export { CHART_STORAGE_KEY as C, type ExpandedSeat as E, type GAAreaState as G, type ISeatmapRenderer as I, type LodRung as L, type OrganizerSeatGlyphHook as O, type RendererQualityEvidence as R, type SeatStatus as S, type RenderedFreeTextEvidence as a, type RendererOptions as b, type SeatMark as c, type RendererViewMode as d, type RendererMinimapSnapshot as e, type RendererCallbacks as f, type RenderedBookableLabelEvidence as g, type RenderedGAAreaEvidence as h, type RenderedHierarchyLabelEvidence as i, type RenderedLabelHiddenReason as j, type RenderedRowLabelEvidence as k, type RendererHoverDetails as l, type RendererMinimapSeat as m, type RendererMinimapSection as n, type SeatMarkKind as o };
@@ -162,6 +162,18 @@ interface RendererCallbacks {
162
162
  }
163
163
  /** Far-zoom level-of-detail rung: whole zones → section blocks → individual seats. */
164
164
  type LodRung = 'zones' | 'sections' | 'seats';
165
+ /**
166
+ * What `paintSeat` needs from the organizer glyph module, described here so the
167
+ * konva-free core can name it: `node` is the seat's Konva shape, kept opaque.
168
+ */
169
+ interface OrganizerSeatGlyphHook {
170
+ /** Install (or update) the glyph this seat draws inside its own disc. */
171
+ apply(node: unknown, glyph: 'cross' | 'clock', ink: string, radius: number): void;
172
+ /** Restore a node to its plain scene function. */
173
+ clear(node: unknown): void;
174
+ /** True while this node is drawing an organizer glyph. */
175
+ isPainted(node: unknown): boolean;
176
+ }
165
177
  interface RendererOptions extends RendererCallbacks {
166
178
  /**
167
179
  * Internal fixed-output mode used by the free maker's PNG/PDF pipeline.
@@ -225,6 +237,16 @@ interface RendererOptions extends RendererCallbacks {
225
237
  * false (every manage branch is gated on it). Default false.
226
238
  */
227
239
  manageMode?: boolean;
240
+ /**
241
+ * The organizer's per-seat glyph painter (clock on a hold, cross on a block),
242
+ * handed IN rather than imported. `render/organizerSeatGlyph` is organizer-only
243
+ * code, and a static import from the seat paint loop dragged it into the buyer
244
+ * bundle's graph — 130 lines a buyer never paints, on the one download that is
245
+ * measured before first paint. The manage surface (SDK SeatManager) supplies
246
+ * this; when it is absent the glyph branch is skipped entirely and the buyer
247
+ * paint is byte-identical to what it was before the hook existed.
248
+ */
249
+ organizerGlyph?: OrganizerSeatGlyphHook;
228
250
  /**
229
251
  * When `manageMode` is on, a mouse/pen primary-button drag at the seats rung
230
252
  * draws a rubber-band marquee that bulk-selects the seats it covers (emitting
@@ -869,4 +891,4 @@ interface RendererMinimapSnapshot {
869
891
  /** localStorage key the Designer writes and the Picker reads. */
870
892
  declare const CHART_STORAGE_KEY = "seatmap.chart";
871
893
 
872
- export { CHART_STORAGE_KEY as C, type ExpandedSeat as E, type GAAreaState as G, type ISeatmapRenderer as I, type LodRung as L, type RendererQualityEvidence as R, type SeatStatus as S, type RenderedFreeTextEvidence as a, type RendererOptions as b, type SeatMark as c, type RendererViewMode as d, type RendererMinimapSnapshot as e, type RendererCallbacks as f, type RenderedBookableLabelEvidence as g, type RenderedGAAreaEvidence as h, type RenderedHierarchyLabelEvidence as i, type RenderedLabelHiddenReason as j, type RenderedRowLabelEvidence as k, type RendererHoverDetails as l, type RendererMinimapSeat as m, type RendererMinimapSection as n, type SeatMarkKind as o };
894
+ export { CHART_STORAGE_KEY as C, type ExpandedSeat as E, type GAAreaState as G, type ISeatmapRenderer as I, type LodRung as L, type OrganizerSeatGlyphHook as O, type RendererQualityEvidence as R, type SeatStatus as S, type RenderedFreeTextEvidence as a, type RendererOptions as b, type SeatMark as c, type RendererViewMode as d, type RendererMinimapSnapshot as e, type RendererCallbacks as f, type RenderedBookableLabelEvidence as g, type RenderedGAAreaEvidence as h, type RenderedHierarchyLabelEvidence as i, type RenderedLabelHiddenReason as j, type RenderedRowLabelEvidence as k, type RendererHoverDetails as l, type RendererMinimapSeat as m, type RendererMinimapSection as n, type SeatMarkKind as o };
@@ -1,6 +1,6 @@
1
1
  import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-BbqhOJ5L.js';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-oVUtwW87.js';
3
- import { E as ExpandedSeat } from './renderer-BI7dyJjD.js';
3
+ import { E as ExpandedSeat } from './renderer-B7IrAGHP.js';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -1,6 +1,6 @@
1
1
  import { F as FloorLabelStyle, P as Point, C as ChartDoc, A as AccessibilityType, j as SeatOverride, R as RowObject, e as SeatGlyphKind, c as SeatViewMetadata, L as LabelStyle, k as RectTableSide, a as ChartObject, B as BoothObject, T as TableObject, l as Floor, i as SectionObject, m as RectTableSeatCounts } from './types-BbqhOJ5L.cjs';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-BbHdWqJy.cjs';
3
- import { E as ExpandedSeat } from './renderer-CMkBzwCP.cjs';
3
+ import { E as ExpandedSeat } from './renderer-BePADdjE.cjs';
4
4
 
5
5
  /**
6
6
  * The buyer's "All floors" view: one venue, read bottom to top.
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-BbqhOJ5L.cjs';
2
- import { E as ExpandedSeat } from './renderer-CMkBzwCP.cjs';
2
+ import { E as ExpandedSeat } from './renderer-BePADdjE.cjs';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, v as GAInventorySegment, w as CategoryTier } from './types-BbqhOJ5L.js';
2
- import { E as ExpandedSeat } from './renderer-BI7dyJjD.js';
2
+ import { E as ExpandedSeat } from './renderer-B7IrAGHP.js';
3
3
 
4
4
  /**
5
5
  * General-admission unit labels, kept free of imports so a buyer surface can
@@ -1,6 +1,6 @@
1
1
  import { C as ChartDoc } from '../types-BbqhOJ5L.cjs';
2
2
  import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-BE0rFmbQ.cjs';
3
- import { E as ExpandedSeat } from '../renderer-CMkBzwCP.cjs';
3
+ import { E as ExpandedSeat } from '../renderer-BePADdjE.cjs';
4
4
  import { SeatView } from './crossfade/panorama.cjs';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { C as ChartDoc } from '../types-BbqhOJ5L.js';
2
2
  import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-BEyHDxBT.js';
3
- import { E as ExpandedSeat } from '../renderer-BI7dyJjD.js';
3
+ import { E as ExpandedSeat } from '../renderer-B7IrAGHP.js';
4
4
  import { SeatView } from './crossfade/panorama.js';
5
5
 
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatlayer/core",
3
- "version": "0.91.1",
3
+ "version": "0.92.0",
4
4
  "description": "SeatLayer's seat map rendering engine — the seating chart runtime behind @seatlayer/js and the React, Vue, and Angular SDKs.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": {