@seatlayer/core 0.60.0 → 0.61.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/core/chart-ops/index.js +1 -1
- package/dist/core/inventory/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/view3d/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1003,6 +1003,7 @@ interface PickerTransport {
|
|
|
1003
1003
|
mode?: string;
|
|
1004
1004
|
inventoryModelVersion?: 1 | 2;
|
|
1005
1005
|
posterUrl?: string | null;
|
|
1006
|
+
locale?: string | null;
|
|
1006
1007
|
};
|
|
1007
1008
|
}>;
|
|
1008
1009
|
/**
|
|
@@ -1303,6 +1304,19 @@ declare class PickerController {
|
|
|
1303
1304
|
* Returns whether anything actually changed, so a caller may call it freely.
|
|
1304
1305
|
*/
|
|
1305
1306
|
setMapTheme(theme: PickerMapTheme | null): boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* `setChart` with everything the buyer can see or has done put back: floor,
|
|
1309
|
+
* overview, palette, closed sections, the statuses we already hold, and the
|
|
1310
|
+
* SELECTION. Written once because two callers getting this subtly different
|
|
1311
|
+
* is how a buyer silently loses their seats. False = not mounted yet.
|
|
1312
|
+
*/
|
|
1313
|
+
private rebuildPreservingState;
|
|
1314
|
+
/**
|
|
1315
|
+
* Rebuild so every on-canvas string is re-evaluated. `map.seatsLeft` and
|
|
1316
|
+
* friends are baked into Konva `Text` when the scene is built, so a repaint
|
|
1317
|
+
* faithfully redraws the OLD language — only a rebuild picks up new copy.
|
|
1318
|
+
*/
|
|
1319
|
+
refreshMapCopy(): void;
|
|
1306
1320
|
/** Adopt a new hidden set; rebuild the visible chart only if it differs. */
|
|
1307
1321
|
private syncHidden;
|
|
1308
1322
|
/** Adopt a new closed-section set; restyle (grey + non-pickable) if it differs.
|
|
@@ -1346,6 +1360,8 @@ declare class PickerController {
|
|
|
1346
1360
|
currency?: string;
|
|
1347
1361
|
/** 'test' ⇒ sandbox event (hosts show a TEST MODE ribbon). */
|
|
1348
1362
|
mode?: string;
|
|
1363
|
+
/** The organizer's language, or null when they have no opinion. */
|
|
1364
|
+
locale?: string | null;
|
|
1349
1365
|
/** Absolute event-poster URL, when the server can publicly serve one. */
|
|
1350
1366
|
posterUrl?: string | null;
|
|
1351
1367
|
performanceProfile: PickerRenderPerformanceProfile;
|
package/dist/index.d.ts
CHANGED
|
@@ -1003,6 +1003,7 @@ interface PickerTransport {
|
|
|
1003
1003
|
mode?: string;
|
|
1004
1004
|
inventoryModelVersion?: 1 | 2;
|
|
1005
1005
|
posterUrl?: string | null;
|
|
1006
|
+
locale?: string | null;
|
|
1006
1007
|
};
|
|
1007
1008
|
}>;
|
|
1008
1009
|
/**
|
|
@@ -1303,6 +1304,19 @@ declare class PickerController {
|
|
|
1303
1304
|
* Returns whether anything actually changed, so a caller may call it freely.
|
|
1304
1305
|
*/
|
|
1305
1306
|
setMapTheme(theme: PickerMapTheme | null): boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* `setChart` with everything the buyer can see or has done put back: floor,
|
|
1309
|
+
* overview, palette, closed sections, the statuses we already hold, and the
|
|
1310
|
+
* SELECTION. Written once because two callers getting this subtly different
|
|
1311
|
+
* is how a buyer silently loses their seats. False = not mounted yet.
|
|
1312
|
+
*/
|
|
1313
|
+
private rebuildPreservingState;
|
|
1314
|
+
/**
|
|
1315
|
+
* Rebuild so every on-canvas string is re-evaluated. `map.seatsLeft` and
|
|
1316
|
+
* friends are baked into Konva `Text` when the scene is built, so a repaint
|
|
1317
|
+
* faithfully redraws the OLD language — only a rebuild picks up new copy.
|
|
1318
|
+
*/
|
|
1319
|
+
refreshMapCopy(): void;
|
|
1306
1320
|
/** Adopt a new hidden set; rebuild the visible chart only if it differs. */
|
|
1307
1321
|
private syncHidden;
|
|
1308
1322
|
/** Adopt a new closed-section set; restyle (grey + non-pickable) if it differs.
|
|
@@ -1346,6 +1360,8 @@ declare class PickerController {
|
|
|
1346
1360
|
currency?: string;
|
|
1347
1361
|
/** 'test' ⇒ sandbox event (hosts show a TEST MODE ribbon). */
|
|
1348
1362
|
mode?: string;
|
|
1363
|
+
/** The organizer's language, or null when they have no opinion. */
|
|
1364
|
+
locale?: string | null;
|
|
1349
1365
|
/** Absolute event-poster URL, when the server can publicly serve one. */
|
|
1350
1366
|
posterUrl?: string | null;
|
|
1351
1367
|
performanceProfile: PickerRenderPerformanceProfile;
|