@seatlayer/core 0.57.0 → 0.59.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.
Files changed (39) hide show
  1. package/dist/{chunk-AQKYUJBX.js → chunk-4BVXDBFE.js} +1 -1
  2. package/dist/{chunk-6VTTBC5F.js → chunk-66HGMU7D.js} +1 -1
  3. package/dist/chunk-GHJUDU3U.js +1 -0
  4. package/dist/{chunk-55NOSZK5.js → chunk-IRFG5DVH.js} +1 -1
  5. package/dist/{chunk-7PT7OQUO.js → chunk-PMU3VPNK.js} +1 -1
  6. package/dist/{chunk-PXWKSYCK.js → chunk-PSHBUDSB.js} +1 -1
  7. package/dist/core/chart-ops/index.js +1 -1
  8. package/dist/core/inventory/index.cjs +1 -1
  9. package/dist/core/inventory/index.d.cts +2 -2
  10. package/dist/core/inventory/index.d.ts +2 -2
  11. package/dist/core/inventory/index.js +1 -1
  12. package/dist/core/layout/index.cjs +1 -1
  13. package/dist/core/layout/index.d.cts +2 -2
  14. package/dist/core/layout/index.d.ts +2 -2
  15. package/dist/core/layout/index.js +1 -1
  16. package/dist/core/quality/index.d.cts +2 -2
  17. package/dist/core/quality/index.d.ts +2 -2
  18. package/dist/core/sections/index.cjs +1 -1
  19. package/dist/core/sections/index.d.cts +1 -1
  20. package/dist/core/sections/index.d.ts +1 -1
  21. package/dist/core/sections/index.js +1 -1
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +9 -8
  24. package/dist/index.d.ts +9 -8
  25. package/dist/index.js +1 -1
  26. package/dist/{layout-Dlv5bIf2.d.cts → layout-Ds42yIZT.d.cts} +1 -1
  27. package/dist/{layout-ClQkmixY.d.ts → layout-GZ2DPliB.d.ts} +1 -1
  28. package/dist/{renderedQuality-bDkUOyBL.d.cts → renderedQuality-CU5I5Hrg.d.cts} +1 -1
  29. package/dist/{renderedQuality-B3jgdgPO.d.ts → renderedQuality-ChkM7pSo.d.ts} +1 -1
  30. package/dist/{renderer-B_g-W_QB.d.ts → renderer-Bk65QPKq.d.ts} +19 -6
  31. package/dist/{renderer-DySMcKAR.d.cts → renderer-C313N0nM.d.cts} +19 -6
  32. package/dist/{ticketRestrictions-CzchbX_o.d.cts → ticketRestrictions-C-ohIpd0.d.cts} +1 -1
  33. package/dist/{ticketRestrictions-DaYOCpEw.d.ts → ticketRestrictions-CC75C4L0.d.ts} +1 -1
  34. package/dist/view3d/index.cjs +25 -20
  35. package/dist/view3d/index.d.cts +1 -1
  36. package/dist/view3d/index.d.ts +1 -1
  37. package/dist/view3d/index.js +18 -13
  38. package/package.json +1 -1
  39. package/dist/chunk-VDZ24QVV.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { A as AccessibilityType, S as SeatOverride, R as RowObject, a as SeatViewMetadata, L as LabelStyle, b as RectTableSide, C as ChartDoc, c as ChartObject, B as BoothObject, T as TableObject, P as Point, F as Floor, d as SectionObject, e as RectTableSeatCounts } from './types-DTSG6_Hq.cjs';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-BNXEUeHp.cjs';
3
- import { E as ExpandedSeat } from './renderer-DySMcKAR.cjs';
3
+ import { E as ExpandedSeat } from './renderer-C313N0nM.cjs';
4
4
 
5
5
  /**
6
6
  * Pure geometry helpers — no Konva, no DOM. Turns the parametric chart
@@ -1,6 +1,6 @@
1
1
  import { A as AccessibilityType, S as SeatOverride, R as RowObject, a as SeatViewMetadata, L as LabelStyle, b as RectTableSide, C as ChartDoc, c as ChartObject, B as BoothObject, T as TableObject, P as Point, F as Floor, d as SectionObject, e as RectTableSeatCounts } from './types-DTSG6_Hq.js';
2
2
  import { S as SegmentedRowPlacement } from './segmentedRowModel-COXw4GCh.js';
3
- import { E as ExpandedSeat } from './renderer-B_g-W_QB.js';
3
+ import { E as ExpandedSeat } from './renderer-Bk65QPKq.js';
4
4
 
5
5
  /**
6
6
  * Pure geometry helpers — no Konva, no DOM. Turns the parametric chart
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-DySMcKAR.cjs';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-C313N0nM.cjs';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  type RenderedEvidenceState = 'overview' | 'interaction';
@@ -1,4 +1,4 @@
1
- import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-B_g-W_QB.js';
1
+ import { R as RendererQualityEvidence, a as RenderedFreeTextEvidence } from './renderer-Bk65QPKq.js';
2
2
 
3
3
  declare const RENDERED_QUALITY_REPORT_VERSION = 3;
4
4
  type RenderedEvidenceState = 'overview' | 'interaction';
@@ -97,12 +97,18 @@ interface RendererOptions extends RendererCallbacks {
97
97
  /** Max seats selectable at once (default 10). */
98
98
  maxSelection?: number;
99
99
  /**
100
- * Buyer-surface fit refinement: on containers much taller than the venue's
101
- * projection (phones in portrait), zoomToFit may zoom past the strict
102
- * width-contain by a bounded amount (≤30%) so the venue is not a thin band
103
- * in a dark field. The overflow crops equally on both sides and the buyer
104
- * pans freely. Off for the designer and export pipeline, which must always
105
- * show the complete chart.
100
+ * Fit refinement: on containers much taller than the venue's projection
101
+ * (phones in portrait), zoomToFit may zoom past the strict width-contain by
102
+ * a bounded amount (≤30%) so the venue is not a thin band in a dark field.
103
+ * The overflow crops equally on both sides and the buyer pans freely.
104
+ *
105
+ * OFF for the designer and export pipeline, which must always show the
106
+ * complete chart — and, since 2026-08-17, off for the buyer picker too
107
+ * (owner call). It bought a fuller-looking first paint with the venue's
108
+ * outer sections, which left the map: a buyer who never thinks to pan does
109
+ * not learn those sections exist, and a section nobody sees is a section
110
+ * nobody buys. A slightly small venue is a much cheaper problem than an
111
+ * invisible one. The option remains for hosts that want the crop.
106
112
  */
107
113
  portraitFitCrop?: boolean;
108
114
  /** Only these statuses are clickable (default ['free']). */
@@ -457,6 +463,13 @@ interface ISeatmapRenderer {
457
463
  * on hue alone. Off (the default) renders exactly as before.
458
464
  */
459
465
  setColorblindSafe?(on: boolean): void;
466
+ /**
467
+ * The color this category is drawn in right now — the authored hue normally,
468
+ * the Okabe-Ito hue while colorblind-safe mode is on. A legend built from
469
+ * `doc.categories[].color` disagrees with the canvas in colorblind mode,
470
+ * because the remap lives in the renderer; ask here instead.
471
+ */
472
+ categoryDisplayColor?(categoryKey: string): string;
460
473
  /**
461
474
  * Switch the projection. `'flat'` = normal top-down; `'isometric'` = the
462
475
  * legacy affine preview; `'perspective'` = projected 2.5D with exact pinhole
@@ -97,12 +97,18 @@ interface RendererOptions extends RendererCallbacks {
97
97
  /** Max seats selectable at once (default 10). */
98
98
  maxSelection?: number;
99
99
  /**
100
- * Buyer-surface fit refinement: on containers much taller than the venue's
101
- * projection (phones in portrait), zoomToFit may zoom past the strict
102
- * width-contain by a bounded amount (≤30%) so the venue is not a thin band
103
- * in a dark field. The overflow crops equally on both sides and the buyer
104
- * pans freely. Off for the designer and export pipeline, which must always
105
- * show the complete chart.
100
+ * Fit refinement: on containers much taller than the venue's projection
101
+ * (phones in portrait), zoomToFit may zoom past the strict width-contain by
102
+ * a bounded amount (≤30%) so the venue is not a thin band in a dark field.
103
+ * The overflow crops equally on both sides and the buyer pans freely.
104
+ *
105
+ * OFF for the designer and export pipeline, which must always show the
106
+ * complete chart — and, since 2026-08-17, off for the buyer picker too
107
+ * (owner call). It bought a fuller-looking first paint with the venue's
108
+ * outer sections, which left the map: a buyer who never thinks to pan does
109
+ * not learn those sections exist, and a section nobody sees is a section
110
+ * nobody buys. A slightly small venue is a much cheaper problem than an
111
+ * invisible one. The option remains for hosts that want the crop.
106
112
  */
107
113
  portraitFitCrop?: boolean;
108
114
  /** Only these statuses are clickable (default ['free']). */
@@ -457,6 +463,13 @@ interface ISeatmapRenderer {
457
463
  * on hue alone. Off (the default) renders exactly as before.
458
464
  */
459
465
  setColorblindSafe?(on: boolean): void;
466
+ /**
467
+ * The color this category is drawn in right now — the authored hue normally,
468
+ * the Okabe-Ito hue while colorblind-safe mode is on. A legend built from
469
+ * `doc.categories[].color` disagrees with the canvas in colorblind mode,
470
+ * because the remap lives in the renderer; ask here instead.
471
+ */
472
+ categoryDisplayColor?(categoryKey: string): string;
460
473
  /**
461
474
  * Switch the projection. `'flat'` = normal top-down; `'isometric'` = the
462
475
  * legacy affine preview; `'perspective'` = projected 2.5D with exact pinhole
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, k as GAInventorySegment, l as CategoryTier } from './types-DTSG6_Hq.cjs';
2
- import { E as ExpandedSeat } from './renderer-DySMcKAR.cjs';
2
+ import { E as ExpandedSeat } from './renderer-C313N0nM.cjs';
3
3
 
4
4
  declare const MAX_GA_CAPACITY = 100000;
5
5
  declare const MAX_EVENT_INVENTORY = 100000;
@@ -1,5 +1,5 @@
1
1
  import { C as ChartDoc, G as GAAreaObject, k as GAInventorySegment, l as CategoryTier } from './types-DTSG6_Hq.js';
2
- import { E as ExpandedSeat } from './renderer-B_g-W_QB.js';
2
+ import { E as ExpandedSeat } from './renderer-Bk65QPKq.js';
3
3
 
4
4
  declare const MAX_GA_CAPACITY = 100000;
5
5
  declare const MAX_EVENT_INVENTORY = 100000;