@seatmap.pro/renderer 1.66.2 → 1.66.9
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/lib/index.d.ts +11 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -297,6 +297,7 @@ interface IBookingApiClientSettings {
|
|
|
297
297
|
baseUrl: string;
|
|
298
298
|
publicKey: string;
|
|
299
299
|
debug?: boolean;
|
|
300
|
+
forceSvg?: boolean;
|
|
300
301
|
}
|
|
301
302
|
/**
|
|
302
303
|
* Metrics for API requests.
|
|
@@ -707,6 +708,7 @@ interface ISectionLabelInfo {
|
|
|
707
708
|
};
|
|
708
709
|
/** When true, label is centered on shape centroid (no vertical shift above seats) */
|
|
709
710
|
centroid?: boolean;
|
|
711
|
+
hideText?: boolean;
|
|
710
712
|
}
|
|
711
713
|
/**
|
|
712
714
|
* @hidden
|
|
@@ -1649,6 +1651,15 @@ interface IRendererSettings {
|
|
|
1649
1651
|
* @hidden
|
|
1650
1652
|
*/
|
|
1651
1653
|
gpuTier?: 'high' | 'constrained';
|
|
1654
|
+
/**
|
|
1655
|
+
* If true, the renderer skips preview and full PNG background loads and uses
|
|
1656
|
+
* the SVG background instead. The blurred PNG (inline base64) is still loaded
|
|
1657
|
+
* as an instant low-quality placeholder until SVG rasterization completes.
|
|
1658
|
+
* Useful when the PNG storage is not CORS-configured.
|
|
1659
|
+
* Also settable via URL parameter `?forceSvg=true` and propagated to the
|
|
1660
|
+
* booking-service `/event/` request as `forceSvg=true`.
|
|
1661
|
+
*/
|
|
1662
|
+
forceSvg?: boolean;
|
|
1652
1663
|
/**
|
|
1653
1664
|
* If true, shows the debug overlay layer (diagnostic lines from sections to venue center).
|
|
1654
1665
|
*/
|