@seatlayer/js 0.105.1 → 0.106.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/{channelsMode-BS7exzUF.d.cts → channelsMode-DV9D-48T.d.cts} +90 -6
- package/dist/{channelsMode-BS7exzUF.d.ts → channelsMode-DV9D-48T.d.ts} +90 -6
- package/dist/channelsMode-W5KNSQSJ.js +1 -0
- package/dist/{chunk-K6JOQ4VE.js → chunk-CNLSM36T.js} +99 -98
- package/dist/chunk-HHV7F37Y.js +29 -0
- package/dist/chunk-T57HSGPG.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/manager.cjs +347 -314
- package/dist/manager.d.cts +2 -2
- package/dist/manager.d.ts +2 -2
- package/dist/manager.js +89 -201
- package/dist/managerExtras-K2UGS5TD.js +546 -0
- package/package.json +2 -2
- package/dist/channelsMode-GTGKGXZ3.js +0 -1
- package/dist/chunk-LLQUHT5Q.js +0 -1
- package/dist/chunk-QB6PA3C6.js +0 -1
- package/dist/managerExtras-BP2MLTS5.js +0 -430
|
@@ -33,6 +33,8 @@ interface SeatStoryEntry {
|
|
|
33
33
|
note?: string | null;
|
|
34
34
|
ref?: string | null;
|
|
35
35
|
buyer?: string | null;
|
|
36
|
+
/** A cart's length as given (CR22 "· for 10 min"); absent on an API that does not say. */
|
|
37
|
+
holdMinutes?: number | null;
|
|
36
38
|
}
|
|
37
39
|
interface SeatStoryPage {
|
|
38
40
|
label: string;
|
|
@@ -1210,7 +1212,7 @@ declare class ManageApi {
|
|
|
1210
1212
|
* (Categories in `type`, Channels in `channel`, the rest in `status`), and the
|
|
1211
1213
|
* organizer's own choice is remembered per tool.
|
|
1212
1214
|
*/
|
|
1213
|
-
type ColourBy = 'status' | 'type' | 'channel';
|
|
1215
|
+
type ColourBy = 'status' | 'type' | 'price' | 'channel';
|
|
1214
1216
|
|
|
1215
1217
|
/**
|
|
1216
1218
|
* The control room's View menu (plan item 5, slice D).
|
|
@@ -1451,13 +1453,14 @@ interface SeatManagerOptions {
|
|
|
1451
1453
|
themeMode?: ThemeMode;
|
|
1452
1454
|
/**
|
|
1453
1455
|
* What the map's colours mean when a tool opens: `status` (what a buyer can
|
|
1454
|
-
* buy now), `type` (ticket type)
|
|
1455
|
-
*
|
|
1456
|
+
* buy now), `type` (ticket type), `price` (one blue scale, cheapest light;
|
|
1457
|
+
* a pricing check) or `channel` (who can sell each seat; the Channels tool
|
|
1458
|
+
* only). Without it each tool opens in its own mode —
|
|
1456
1459
|
* Categories by ticket type, Channels by channel, the rest by status — and
|
|
1457
1460
|
* the organizer's choice per tool is remembered. The map's Colour by menu
|
|
1458
1461
|
* switches it. `full` is the old name of `status`.
|
|
1459
1462
|
*/
|
|
1460
|
-
colourBy?: 'status' | 'type' | 'channel' | 'full';
|
|
1463
|
+
colourBy?: 'status' | 'type' | 'price' | 'channel' | 'full';
|
|
1461
1464
|
/**
|
|
1462
1465
|
* "Open order" on a booking the ⌘K search found (needs `event:orders:read`).
|
|
1463
1466
|
* The host shows the order its own way — the dashboard opens its Orders
|
|
@@ -1518,6 +1521,11 @@ interface SeatManagerOptions {
|
|
|
1518
1521
|
kpi: string;
|
|
1519
1522
|
sectionId?: string;
|
|
1520
1523
|
}) => void;
|
|
1524
|
+
/**
|
|
1525
|
+
* "Open the designer" on Sections when the chart has none to manage (board
|
|
1526
|
+
* CR16). Without it that empty state keeps its words and has no button.
|
|
1527
|
+
*/
|
|
1528
|
+
onOpenDesigner?: () => void;
|
|
1521
1529
|
/**
|
|
1522
1530
|
* Keep the canvas painting even when the tab is hidden/backgrounded (a war-room
|
|
1523
1531
|
* board on a second monitor). Calls `forceDraw()` after each delta so Chrome's
|
|
@@ -1682,6 +1690,10 @@ declare class SeatManager {
|
|
|
1682
1690
|
private doc;
|
|
1683
1691
|
private selectObserver;
|
|
1684
1692
|
private seatHistoryPanel;
|
|
1693
|
+
/** The seat the open history is about: live changes leave it open (CR22). */
|
|
1694
|
+
private historySeat?;
|
|
1695
|
+
/** The seat card's last read (seat and status, when, the page): the card repaints several times as a room opens. */
|
|
1696
|
+
private cardRead?;
|
|
1685
1697
|
/** Your changes today, each with Undo (CR22, extras): mounted on the first change or the first look at Watch → You. */
|
|
1686
1698
|
private changes;
|
|
1687
1699
|
private changesLoading;
|
|
@@ -1698,6 +1710,8 @@ declare class SeatManager {
|
|
|
1698
1710
|
private movingMap;
|
|
1699
1711
|
/** How a drag on the map chooses seats in the bulk tools: a box, or a freehand lasso (item 5, slice C). */
|
|
1700
1712
|
private marqueeShape;
|
|
1713
|
+
/** Until when the box hint stays up after a marquee (CR04). */
|
|
1714
|
+
private hintUntil;
|
|
1701
1715
|
private socketSnapshotSeen;
|
|
1702
1716
|
private monitorRefreshTimer;
|
|
1703
1717
|
/** `'auto'` is kept as asked, not as resolved — see {@link getThemeMode}. */
|
|
@@ -1713,10 +1727,14 @@ declare class SeatManager {
|
|
|
1713
1727
|
/** Selection undo and redo (boards CR04, CR10): earlier picks, newest last; cleared when the tool changes. */
|
|
1714
1728
|
private selBack;
|
|
1715
1729
|
private selAhead;
|
|
1730
|
+
/** The map as Channels found it: Channels moves the camera (section overview,
|
|
1731
|
+
* a channel's section), and the task you go back to gets the map you left. */
|
|
1732
|
+
private channelsReturn;
|
|
1716
1733
|
private selRestoring;
|
|
1717
1734
|
private selectionWasValid;
|
|
1718
1735
|
private initialSelectionApplied;
|
|
1719
1736
|
private labelToId;
|
|
1737
|
+
private idToLabel;
|
|
1720
1738
|
private labelToSeat;
|
|
1721
1739
|
private allIds;
|
|
1722
1740
|
/**
|
|
@@ -1784,6 +1802,20 @@ declare class SeatManager {
|
|
|
1784
1802
|
/** The last seat a click picked or read, for Shift + click runs and double-click rows. */
|
|
1785
1803
|
private lastPick;
|
|
1786
1804
|
private categoryBusy;
|
|
1805
|
+
/** The last move (CR07): kept on the card with Undo for 30 s; when some seats sold meanwhile, Done and "Undo the N". */
|
|
1806
|
+
private categoryDone;
|
|
1807
|
+
/** The last move failed: the footer offers Try again and the selection is kept (CR07). */
|
|
1808
|
+
private categoryFailed;
|
|
1809
|
+
private categoryUndoing;
|
|
1810
|
+
/** CR07 No permission's message, once the extras that word it have loaded. */
|
|
1811
|
+
private lockedTypes;
|
|
1812
|
+
/** Selected seats that sold while selected (CR07 "Selection went stale"): warn on the card, keep going. */
|
|
1813
|
+
private selJustSold;
|
|
1814
|
+
/** "Grand Circle A B-3 and B-4 left your selection." after a task dropped seats that sold (CR14); gone at the next pick. */
|
|
1815
|
+
private selLeft;
|
|
1816
|
+
private reconcilingSel;
|
|
1817
|
+
/** The selection is the whole venue, picked by ⌘A or Select all. */
|
|
1818
|
+
private selWhole;
|
|
1787
1819
|
private blockBusy;
|
|
1788
1820
|
private panelAlert;
|
|
1789
1821
|
private categoryTotalsCache;
|
|
@@ -1803,6 +1835,7 @@ declare class SeatManager {
|
|
|
1803
1835
|
private reservedBy;
|
|
1804
1836
|
/** Seats this room has asked to reserve, until the reservation list names them (audit M7). */
|
|
1805
1837
|
private reserving;
|
|
1838
|
+
private reservationWheres;
|
|
1806
1839
|
private reservedIds;
|
|
1807
1840
|
private reservationsTimer;
|
|
1808
1841
|
/** Find blocked's groups, read for Watch's blocked-seat card and ⌘K's "N reasons"; re-read when blocks change. */
|
|
@@ -1842,6 +1875,8 @@ declare class SeatManager {
|
|
|
1842
1875
|
/** The last block, for its Undo (30 s) or, when some seats sold meanwhile, its Done. */
|
|
1843
1876
|
private blockDone;
|
|
1844
1877
|
private blockFailedNow;
|
|
1878
|
+
/** The server refused Block for this role (403): the action stays, disabled, naming the permission (CR15). */
|
|
1879
|
+
private blockDenied;
|
|
1845
1880
|
private layoutObserver;
|
|
1846
1881
|
/** Height the minimal chrome's zoom column takes from the map's bottom edge. */
|
|
1847
1882
|
private chromeClearance;
|
|
@@ -1872,6 +1907,9 @@ declare class SeatManager {
|
|
|
1872
1907
|
private availabilityRules;
|
|
1873
1908
|
private effectiveHidden;
|
|
1874
1909
|
private effectiveClosed;
|
|
1910
|
+
/** The venue view's captions by section (CR06), from the block paint; painted once the extras chunk is in. */
|
|
1911
|
+
private blockCaptions;
|
|
1912
|
+
private captionsOn;
|
|
1875
1913
|
private lastSyncedAt;
|
|
1876
1914
|
private blockBrowse;
|
|
1877
1915
|
/**
|
|
@@ -2027,6 +2065,13 @@ declare class SeatManager {
|
|
|
2027
2065
|
/** Channel colours are the Channels tool's overlay; outside it there is nothing to colour by. */
|
|
2028
2066
|
private channelColoursAvailable;
|
|
2029
2067
|
private applyMapView;
|
|
2068
|
+
/** Colour by Price (CR06) is ticket-type colours with each type in its price's shade. */
|
|
2069
|
+
private priceMode;
|
|
2070
|
+
/** The shades the renderer holds now ('' = none), so a repaint happens only on a change. */
|
|
2071
|
+
private priceShadesOn;
|
|
2072
|
+
private applyPriceColours;
|
|
2073
|
+
/** Each type's price: the host's event price when it gave one, else the chart's. */
|
|
2074
|
+
private typePrices;
|
|
2030
2075
|
private paintMapViewMenu;
|
|
2031
2076
|
/** Toggle opt-in camera following for new buyer hold/book events. */
|
|
2032
2077
|
setFollowLive(enabled: boolean): void;
|
|
@@ -2120,6 +2165,11 @@ declare class SeatManager {
|
|
|
2120
2165
|
cancelBooking(labels: string[], bookingRef: string): Promise<void>;
|
|
2121
2166
|
/** Assign an event-only category to labels or the current manager selection. */
|
|
2122
2167
|
setCategory(categoryKey: string, labels?: string[]): Promise<void>;
|
|
2168
|
+
/** The seats now sell as `categoryKey`: the model, the map and the totals follow. */
|
|
2169
|
+
private applyCategory;
|
|
2170
|
+
/** Undo the last move (CR07): each seat goes back to the ticket type it sold as before. */
|
|
2171
|
+
private undoCategory;
|
|
2172
|
+
private alertOf;
|
|
2123
2173
|
/** Change event-only table booking identity, then reload authoritative
|
|
2124
2174
|
* geometry/inventory because individual chairs and grouped tables use
|
|
2125
2175
|
* different labels. */
|
|
@@ -2223,6 +2273,9 @@ declare class SeatManager {
|
|
|
2223
2273
|
}>;
|
|
2224
2274
|
setHoldTtl(ms: number | null): Promise<void>;
|
|
2225
2275
|
zoomToFit(): void;
|
|
2276
|
+
private mapReturnPoint;
|
|
2277
|
+
/** Put the map back where Channels found it: floor, section focus, camera. */
|
|
2278
|
+
private restoreMapReturn;
|
|
2226
2279
|
/**
|
|
2227
2280
|
* "−" walks back one level — seats → the section → the venue — the way the
|
|
2228
2281
|
* buyer picker's does; leaving a focused section also drops the focus. A
|
|
@@ -2245,6 +2298,8 @@ declare class SeatManager {
|
|
|
2245
2298
|
private typeKeyBySection;
|
|
2246
2299
|
private typeKeyBase;
|
|
2247
2300
|
private sectionTypeKeys;
|
|
2301
|
+
/** A ticket type's own colour (colour-blind safe when that is on), whatever the map is coloured by. */
|
|
2302
|
+
private typeColour;
|
|
2248
2303
|
/** A block's ticket-type colour, exactly as the map paints that type. */
|
|
2249
2304
|
private sectionTypeTint;
|
|
2250
2305
|
private legendSeats;
|
|
@@ -2272,6 +2327,8 @@ declare class SeatManager {
|
|
|
2272
2327
|
/** The ticket types this chart sells, named and coloured as the map shows them, with their free seats. */
|
|
2273
2328
|
/** The legend chip whose seats are lit up (CR06). */
|
|
2274
2329
|
private litChip;
|
|
2330
|
+
/** How many seats the lit chip's ⇧ click selected ("⇧ click selected all 33 blocked seats"); null after a plain click. */
|
|
2331
|
+
private chipPicked;
|
|
2275
2332
|
/** Seats the host asked to show (CR18), lit as the `shown` chip. */
|
|
2276
2333
|
private shownObjects;
|
|
2277
2334
|
/**
|
|
@@ -2310,6 +2367,13 @@ declare class SeatManager {
|
|
|
2310
2367
|
* category sellable.
|
|
2311
2368
|
*/
|
|
2312
2369
|
private hoverFactsFor;
|
|
2370
|
+
/** The hover card's head (CR14/CR15): the Watch card's plate, the seat's place, and its row/seat or who it is reserved for. */
|
|
2371
|
+
private hoverHeadFor;
|
|
2372
|
+
/** A section block's card head: its name and how many of its seats are free. */
|
|
2373
|
+
private sectionHeadFor;
|
|
2374
|
+
private seatOfId;
|
|
2375
|
+
/** "Stalls C rows C and E" for one reservation, worked out once per reservation list. */
|
|
2376
|
+
private reservationWhere;
|
|
2313
2377
|
/** Block always uses a marquee. Channels only enables its marquee after the
|
|
2314
2378
|
* organizer deliberately chooses Assign seats; Pan map keeps desktop drag
|
|
2315
2379
|
* available for large charts. */
|
|
@@ -2559,6 +2623,14 @@ declare class SeatManager {
|
|
|
2559
2623
|
/** Every table object on the chart, across floors. */
|
|
2560
2624
|
private tables;
|
|
2561
2625
|
private paintModeTabs;
|
|
2626
|
+
/**
|
|
2627
|
+
* CR07 No permission: a member who works in the room (it may change seats,
|
|
2628
|
+
* tables or channels) but may not manage ticket types sees the task, locked,
|
|
2629
|
+
* with the permission it needs. A grant that can only look keeps Watch alone
|
|
2630
|
+
* (M16: viewers never get a read-only room), and so does every grant from an
|
|
2631
|
+
* older host: nothing it shows changes.
|
|
2632
|
+
*/
|
|
2633
|
+
private typesLocked;
|
|
2562
2634
|
/** A declared grant without `event:block` cannot change seats; an undeclared (secret-key) host can. */
|
|
2563
2635
|
private canBlock;
|
|
2564
2636
|
/**
|
|
@@ -2632,6 +2704,8 @@ declare class SeatManager {
|
|
|
2632
2704
|
private extrasFailed;
|
|
2633
2705
|
/** Every table as the Tables panel reads it; a table is locked while any chair carries live inventory (the server enforces it too). */
|
|
2634
2706
|
private tableInfos;
|
|
2707
|
+
/** Keep a block's venue caption (CR06) for blockCaptions; the engine gets the paint as before. */
|
|
2708
|
+
private captioned;
|
|
2635
2709
|
/**
|
|
2636
2710
|
* Watch's seat card (board CR15; Inspect folded in): what the clicked seat is,
|
|
2637
2711
|
* who has it and what you can do from here. Nothing picked: how to read one.
|
|
@@ -2744,12 +2818,19 @@ declare function openRows(c: SeatChooser): void;
|
|
|
2744
2818
|
* picked here are shown, greyed. A pick past the limit is refused and said.
|
|
2745
2819
|
*/
|
|
2746
2820
|
declare function openSeatList(c: SeatChooser, filter?: string): void;
|
|
2821
|
+
/**
|
|
2822
|
+
* The pickers' lists, checkboxes, seat chips and footers (CR20). They load with
|
|
2823
|
+
* the pickers in the extras chunk; the scrim and dialog stay with the room
|
|
2824
|
+
* (managerDialog) because Channels' sheets and the section menu use them.
|
|
2825
|
+
*/
|
|
2826
|
+
declare const PICKER_LIST_CSS = "\n.slm-ch-seatlist{max-height:44vh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--slm-line);\n border-radius:10px;background:var(--slm-surface);margin-top:10px}\n.slm-ch-seatgroup{padding:8px 10px;border-bottom:1px solid var(--slm-line);display:flex;align-items:center;\n justify-content:space-between;gap:8px;font-size:11px;font-weight:800;color:var(--slm-muted);position:sticky;top:0;\n background:var(--slm-surface)}\n.slm-ch-seatgroup button{color:var(--slm-accent);font-weight:800;font-size:11px;min-height:32px}\n.slm-ch-seatitem{display:flex;width:100%;min-height:40px;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid var(--slm-line);\n text-align:left;font-size:12.5px;line-height:1.3;color:var(--slm-text)}\n.slm-ch-seatitem:hover:not(:disabled){background:var(--slm-tint)}\n.slm-ch-seatitem .box{width:16px;height:16px;border-radius:4px;border:1px solid var(--slm-muted);display:grid;\n place-items:center;font-size:10px;font-weight:900;color:transparent;flex:none}\n.slm-ch-seatitem[aria-checked=\"true\"] .box{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-seatitem .meta{margin-left:auto;color:var(--slm-muted);font-size:10.5px}\n.slm-ch-seatitem:disabled{opacity:.55;cursor:not-allowed}\n.slm-ch-seatitem .dot{width:9px;height:9px;border-radius:999px;flex:none}\n.slm-ch-seatlegend{flex:none;display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;font-size:11.5px;color:var(--slm-muted);font-weight:500}\n.slm-ch-seatlegend span{display:inline-flex;align-items:center;gap:5px}\n.slm-ch-seatlegend i{display:inline-block;width:10px;height:10px;border-radius:3px;border:1.5px solid}\n.slm-ch-seatlist.grid{max-height:52vh;margin-top:0}\n.slm-ch-rowcheck{display:flex;align-items:center;gap:8px;min-height:32px;padding:4px 6px;margin-left:-6px;border-radius:7px;font-size:12px;font-weight:800;color:var(--slm-text);text-align:left}\n.slm-ch-rowcheck:hover{background:var(--slm-tint)}\n.slm-ch-rowcheck .box{width:15px;height:15px;flex:none;display:grid;place-items:center;border:1.5px solid var(--slm-muted);border-radius:4px;color:transparent;font-size:9px;font-weight:900;box-sizing:border-box}\n.slm-ch-rowcheck[aria-checked=\"true\"] .box{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-rowcheck[aria-checked=\"mixed\"] .box{border-color:var(--slm-accent);background:linear-gradient(var(--slm-accent),var(--slm-accent)) center/7px 2px no-repeat}\n.slm-ch-rowcheck .name{min-width:0}\n.slm-ch-rowcheck .meta{margin-left:auto;padding-left:8px;color:var(--slm-muted);font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums}\n.slm-ch-seatchips{display:flex;flex-wrap:wrap;gap:7px;padding:1px 0}\n.slm .slm-ch-seatchip{min-width:30px;height:30px;padding:0 8px;border-radius:8px;border:1.5px solid var(--slm-line);background:transparent;color:var(--slm-text);\n font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;box-sizing:border-box;line-height:1;position:relative}\n.slm-ch-seatchip:hover{border-color:var(--slm-muted)}\n.slm-ch-seatchip:focus-visible{outline:2px solid var(--slm-accent);outline-offset:1px}\n/* Status has its own colours, never the host's accent or a ticket type's: a\n gold accent made every free seat read as \"in a cart\" (audit m24). Free is an\n open green ring; the rest are tinted and muted; picked is the accent. */\n.slm .slm-ch-seatchip.is-free,.slm-ch-seatlegend .is-free{border-color:#22a06b;background:transparent}\n.slm .slm-ch-seatchip.is-held,.slm-ch-seatlegend .is-held{border-color:#d99a0b;background:color-mix(in srgb,#d99a0b 18%,transparent);color:var(--slm-muted)}\n.slm .slm-ch-seatchip.is-booked,.slm-ch-seatlegend .is-booked{border-color:color-mix(in srgb,var(--slm-muted) 60%,var(--slm-surface));background:color-mix(in srgb,var(--slm-muted) 18%,transparent);color:var(--slm-muted)}\n.slm .slm-ch-seatchip.is-blocked,.slm-ch-seatlegend .is-blocked{border-color:color-mix(in srgb,var(--slm-muted) 85%,var(--slm-surface));background:color-mix(in srgb,var(--slm-muted) 12%,transparent);color:var(--slm-muted)}\n.slm-ch-seatlegend i[class]{background:transparent}\n.slm .slm-ch-seatchip[aria-checked=\"true\"]{border-color:var(--slm-accent);background:color-mix(in srgb,var(--slm-accent) 16%,var(--slm-surface));color:var(--slm-text)}\n/* The count on the left; Clear and Done small and together on the right (CR20). */\n.slm-ch-seatfoot{align-items:center;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--slm-line)}\n.slm-ch-seatfoot [data-sl-foot]{flex:1;min-width:0;display:flex;align-items:center;gap:10px}\n.slm-ch-seatfoot .slm-ch-seatcount{flex:1;min-width:0;font-size:12.5px;font-weight:600;color:var(--slm-text);font-variant-numeric:tabular-nums}\n.slm-ch-seatfoot .slm-ch-footsum.warn{flex:1}\n.slm .slm-ch-dialog .slm-ch-seatfoot.foot .slm-btn{flex:none;min-width:0;height:28px;padding:0 10px;border-radius:9px;font-size:12px;font-weight:600}\n.slm .slm-ch-seatfoot .slm-btn.ghost{background:var(--slm-surface);color:var(--slm-text);border:1px solid var(--slm-line)}\n.slm .slm-ch-seatfoot .slm-btn:disabled{opacity:.5}\n@media (pointer:coarse){.slm .slm-ch-dialog .slm-ch-seatfoot.foot .slm-btn{height:auto;min-height:40px;padding:0 14px}.slm .slm-ch-seatchip{min-width:36px;height:36px}}\n.slm-ch-scopegroup{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;\n gap:6px;padding:6px 8px;border-bottom:1px solid var(--slm-line);background:var(--slm-surface)}\n.slm-ch-groupcheck{display:flex;min-width:0;align-items:center;gap:8px;padding:5px 2px;text-align:left;font-size:11px;font-weight:800}\n.slm-ch-groupcheck .box{width:16px;height:16px;flex:none;display:grid;place-items:center;border:1px solid var(--slm-muted);border-radius:4px;\n color:transparent;font-size:10px}\n.slm-ch-groupcheck[aria-checked=\"true\"] .box,.slm-ch-groupcheck[aria-checked=\"mixed\"] .box{border-color:var(--slm-accent);\n background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-groupcheck .meta{min-width:0;margin-left:auto;color:var(--slm-muted);font-size:10.5px;font-weight:600;white-space:nowrap}\n/* Board CR20: pickers whose footer says what will be added; names wrap, never cut. */\n.slm-ch-dialog .foot .slm-ch-footsum{flex:1;min-width:0;align-self:center;font-size:12.5px;font-weight:600;color:var(--slm-text)}\n.slm-ch-dialog .foot .slm-ch-footsum.warn{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border-radius:8px;font-weight:500;color:color-mix(in srgb,#b45309 75%,var(--slm-text));background:color-mix(in srgb,#f59e0b 12%,transparent);border:1px solid color-mix(in srgb,#f59e0b 40%,transparent)}\n.slm-ch-footsum.warn svg{flex:none;margin-top:1px}.slm-ch-footsum.warn b{display:block;font-weight:700}\n.slm-ch-dialog .foot .slm-btn.slm-ch-close{flex:none;margin-left:auto;min-width:0;min-height:0;padding:7px 14px;font-size:12.5px;border-radius:8px}\n.slm-ch-dialog:has(.slm-ch-footsum) .foot .slm-btn{flex:none;min-width:110px}\n.slm-ch-findbox{margin:0 0 10px}.slm-ch-findbox .slm-input{width:100%;min-height:38px}\n.slm-ch-seatitem .name{flex:1;min-width:0}.slm-ch-seatitem .meta{white-space:nowrap}\n.slm-ch-seatitem .box.mixed,.slm-ch-groupcheck .box.mixed{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-groupcheck .name{font-size:13px;font-weight:600}\n.slm-ch-grouptoggle{display:grid;place-items:center;width:32px;min-height:32px;color:var(--slm-muted)}\n.slm-ch-grouptoggle svg{transition:transform var(--slm-mo-quick) var(--slm-mo-out)}.slm-ch-grouptoggle.open svg{transform:rotate(90deg)}\n.slm-ch-scoperows .slm-ch-seatitem{padding-left:34px}\n.slm-ch-scope-empty{padding:18px 12px;color:var(--slm-muted);font-size:12.5px;line-height:1.5;text-align:center}\n.slm-ch-scope-empty b{display:block;margin-bottom:4px;color:var(--slm-text);font-size:14px}\n/* A column whose list gives way, so in a short room the count, Clear and Done\n stay in view and the list scrolls, rather than the whole dialog. */\n.slm-ch-dialog:has(.slm-sl-grid){width:min(640px,100%);display:flex;flex-direction:column}\n.slm-ch-dialog:has(.slm-sl-grid)>*{flex:none}\n.slm .slm-ch-dialog>.slm-sl-grid{flex:0 1 auto;min-height:150px}\n.slm-sl-grid{display:grid;grid-template-columns:220px minmax(0,1fr);height:min(52vh,440px);border:1px solid var(--slm-line);border-radius:10px;overflow:hidden}\n.slm-sl-sections{overflow:auto;padding:6px;border-right:1px solid var(--slm-line)}\n.slm .slm-sl-section{display:flex;align-items:flex-start;gap:9px;width:100%;padding:9px 10px;border-radius:10px;text-align:left}\n.slm .slm-sl-section.on{background:color-mix(in srgb,var(--slm-accent) 14%,transparent)}\n.slm-sl-section svg{margin-left:auto;align-self:center;color:var(--slm-muted);flex:none}\n.slm-sl-rows{display:flex;flex-direction:column;min-height:0;padding:12px 18px 0}\n.slm-sl-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.slm-sl-head b{flex:1;min-width:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}\n.slm .slm-sl-head .slm-btn{flex:none;min-width:0;padding:6px 11px;font-size:12px}\n.slm-sl-rows .slm-ch-seatlegend{margin-bottom:6px}\n.slm-sl-rows .slm-ch-seatlist.grid{flex:1;max-height:none;border:0;border-radius:0;margin:0;overflow:auto}\n.slm-sl-row{padding:10px 0;border-top:1px solid var(--slm-line)}\n.slm-sl-row .slm-ch-seatchips{padding-left:27px;margin-top:8px;gap:5px}\n.slm-sl-note{margin:0 0 6px;font-size:12px;color:var(--slm-muted)}\n.slm .slm-ch-seatchip:disabled{opacity:.55;cursor:not-allowed}\n@media(max-width:620px){.slm-sl-grid{grid-template-columns:1fr;grid-template-rows:minmax(0,2fr) minmax(0,3fr);height:auto}.slm-sl-sections{border-right:0;border-bottom:1px solid var(--slm-line)}}\n";
|
|
2747
2827
|
|
|
2828
|
+
declare const __managerPickers_PICKER_LIST_CSS: typeof PICKER_LIST_CSS;
|
|
2748
2829
|
declare const __managerPickers_openCategory: typeof openCategory;
|
|
2749
2830
|
declare const __managerPickers_openRows: typeof openRows;
|
|
2750
2831
|
declare const __managerPickers_openSeatList: typeof openSeatList;
|
|
2751
2832
|
declare namespace __managerPickers {
|
|
2752
|
-
export { __managerPickers_openCategory as openCategory, __managerPickers_openRows as openRows, __managerPickers_openSeatList as openSeatList };
|
|
2833
|
+
export { __managerPickers_PICKER_LIST_CSS as PICKER_LIST_CSS, __managerPickers_openCategory as openCategory, __managerPickers_openRows as openRows, __managerPickers_openSeatList as openSeatList };
|
|
2753
2834
|
}
|
|
2754
2835
|
|
|
2755
2836
|
interface SeatChooserRow {
|
|
@@ -3102,7 +3183,8 @@ declare class ChannelsMode {
|
|
|
3102
3183
|
private assignmentVersion;
|
|
3103
3184
|
private loadError;
|
|
3104
3185
|
private loading;
|
|
3105
|
-
|
|
3186
|
+
/** Allocation, or the buyer preview (which paints statuses as a buyer sees them). */
|
|
3187
|
+
view: 'inspect' | 'preview';
|
|
3106
3188
|
/** Pan is intentionally the initial desktop interaction. Assignment's
|
|
3107
3189
|
* marquee is powerful, but must never make an organizer lose map navigation. */
|
|
3108
3190
|
private mapIntent;
|
|
@@ -3246,6 +3328,8 @@ declare class ChannelsMode {
|
|
|
3246
3328
|
* than a wrong "Public sale"). Unallocated = the public sale channel.
|
|
3247
3329
|
*/
|
|
3248
3330
|
channelNameForLabel(label: string): string | null;
|
|
3331
|
+
/** A picker's plate: the chosen channel's letter on its colour. */
|
|
3332
|
+
private plateHtml;
|
|
3249
3333
|
private markerFor;
|
|
3250
3334
|
/** Channels an organizer may assign INTO: public sale plus every live channel. */
|
|
3251
3335
|
private assignableChannels;
|
|
@@ -33,6 +33,8 @@ interface SeatStoryEntry {
|
|
|
33
33
|
note?: string | null;
|
|
34
34
|
ref?: string | null;
|
|
35
35
|
buyer?: string | null;
|
|
36
|
+
/** A cart's length as given (CR22 "· for 10 min"); absent on an API that does not say. */
|
|
37
|
+
holdMinutes?: number | null;
|
|
36
38
|
}
|
|
37
39
|
interface SeatStoryPage {
|
|
38
40
|
label: string;
|
|
@@ -1210,7 +1212,7 @@ declare class ManageApi {
|
|
|
1210
1212
|
* (Categories in `type`, Channels in `channel`, the rest in `status`), and the
|
|
1211
1213
|
* organizer's own choice is remembered per tool.
|
|
1212
1214
|
*/
|
|
1213
|
-
type ColourBy = 'status' | 'type' | 'channel';
|
|
1215
|
+
type ColourBy = 'status' | 'type' | 'price' | 'channel';
|
|
1214
1216
|
|
|
1215
1217
|
/**
|
|
1216
1218
|
* The control room's View menu (plan item 5, slice D).
|
|
@@ -1451,13 +1453,14 @@ interface SeatManagerOptions {
|
|
|
1451
1453
|
themeMode?: ThemeMode;
|
|
1452
1454
|
/**
|
|
1453
1455
|
* What the map's colours mean when a tool opens: `status` (what a buyer can
|
|
1454
|
-
* buy now), `type` (ticket type)
|
|
1455
|
-
*
|
|
1456
|
+
* buy now), `type` (ticket type), `price` (one blue scale, cheapest light;
|
|
1457
|
+
* a pricing check) or `channel` (who can sell each seat; the Channels tool
|
|
1458
|
+
* only). Without it each tool opens in its own mode —
|
|
1456
1459
|
* Categories by ticket type, Channels by channel, the rest by status — and
|
|
1457
1460
|
* the organizer's choice per tool is remembered. The map's Colour by menu
|
|
1458
1461
|
* switches it. `full` is the old name of `status`.
|
|
1459
1462
|
*/
|
|
1460
|
-
colourBy?: 'status' | 'type' | 'channel' | 'full';
|
|
1463
|
+
colourBy?: 'status' | 'type' | 'price' | 'channel' | 'full';
|
|
1461
1464
|
/**
|
|
1462
1465
|
* "Open order" on a booking the ⌘K search found (needs `event:orders:read`).
|
|
1463
1466
|
* The host shows the order its own way — the dashboard opens its Orders
|
|
@@ -1518,6 +1521,11 @@ interface SeatManagerOptions {
|
|
|
1518
1521
|
kpi: string;
|
|
1519
1522
|
sectionId?: string;
|
|
1520
1523
|
}) => void;
|
|
1524
|
+
/**
|
|
1525
|
+
* "Open the designer" on Sections when the chart has none to manage (board
|
|
1526
|
+
* CR16). Without it that empty state keeps its words and has no button.
|
|
1527
|
+
*/
|
|
1528
|
+
onOpenDesigner?: () => void;
|
|
1521
1529
|
/**
|
|
1522
1530
|
* Keep the canvas painting even when the tab is hidden/backgrounded (a war-room
|
|
1523
1531
|
* board on a second monitor). Calls `forceDraw()` after each delta so Chrome's
|
|
@@ -1682,6 +1690,10 @@ declare class SeatManager {
|
|
|
1682
1690
|
private doc;
|
|
1683
1691
|
private selectObserver;
|
|
1684
1692
|
private seatHistoryPanel;
|
|
1693
|
+
/** The seat the open history is about: live changes leave it open (CR22). */
|
|
1694
|
+
private historySeat?;
|
|
1695
|
+
/** The seat card's last read (seat and status, when, the page): the card repaints several times as a room opens. */
|
|
1696
|
+
private cardRead?;
|
|
1685
1697
|
/** Your changes today, each with Undo (CR22, extras): mounted on the first change or the first look at Watch → You. */
|
|
1686
1698
|
private changes;
|
|
1687
1699
|
private changesLoading;
|
|
@@ -1698,6 +1710,8 @@ declare class SeatManager {
|
|
|
1698
1710
|
private movingMap;
|
|
1699
1711
|
/** How a drag on the map chooses seats in the bulk tools: a box, or a freehand lasso (item 5, slice C). */
|
|
1700
1712
|
private marqueeShape;
|
|
1713
|
+
/** Until when the box hint stays up after a marquee (CR04). */
|
|
1714
|
+
private hintUntil;
|
|
1701
1715
|
private socketSnapshotSeen;
|
|
1702
1716
|
private monitorRefreshTimer;
|
|
1703
1717
|
/** `'auto'` is kept as asked, not as resolved — see {@link getThemeMode}. */
|
|
@@ -1713,10 +1727,14 @@ declare class SeatManager {
|
|
|
1713
1727
|
/** Selection undo and redo (boards CR04, CR10): earlier picks, newest last; cleared when the tool changes. */
|
|
1714
1728
|
private selBack;
|
|
1715
1729
|
private selAhead;
|
|
1730
|
+
/** The map as Channels found it: Channels moves the camera (section overview,
|
|
1731
|
+
* a channel's section), and the task you go back to gets the map you left. */
|
|
1732
|
+
private channelsReturn;
|
|
1716
1733
|
private selRestoring;
|
|
1717
1734
|
private selectionWasValid;
|
|
1718
1735
|
private initialSelectionApplied;
|
|
1719
1736
|
private labelToId;
|
|
1737
|
+
private idToLabel;
|
|
1720
1738
|
private labelToSeat;
|
|
1721
1739
|
private allIds;
|
|
1722
1740
|
/**
|
|
@@ -1784,6 +1802,20 @@ declare class SeatManager {
|
|
|
1784
1802
|
/** The last seat a click picked or read, for Shift + click runs and double-click rows. */
|
|
1785
1803
|
private lastPick;
|
|
1786
1804
|
private categoryBusy;
|
|
1805
|
+
/** The last move (CR07): kept on the card with Undo for 30 s; when some seats sold meanwhile, Done and "Undo the N". */
|
|
1806
|
+
private categoryDone;
|
|
1807
|
+
/** The last move failed: the footer offers Try again and the selection is kept (CR07). */
|
|
1808
|
+
private categoryFailed;
|
|
1809
|
+
private categoryUndoing;
|
|
1810
|
+
/** CR07 No permission's message, once the extras that word it have loaded. */
|
|
1811
|
+
private lockedTypes;
|
|
1812
|
+
/** Selected seats that sold while selected (CR07 "Selection went stale"): warn on the card, keep going. */
|
|
1813
|
+
private selJustSold;
|
|
1814
|
+
/** "Grand Circle A B-3 and B-4 left your selection." after a task dropped seats that sold (CR14); gone at the next pick. */
|
|
1815
|
+
private selLeft;
|
|
1816
|
+
private reconcilingSel;
|
|
1817
|
+
/** The selection is the whole venue, picked by ⌘A or Select all. */
|
|
1818
|
+
private selWhole;
|
|
1787
1819
|
private blockBusy;
|
|
1788
1820
|
private panelAlert;
|
|
1789
1821
|
private categoryTotalsCache;
|
|
@@ -1803,6 +1835,7 @@ declare class SeatManager {
|
|
|
1803
1835
|
private reservedBy;
|
|
1804
1836
|
/** Seats this room has asked to reserve, until the reservation list names them (audit M7). */
|
|
1805
1837
|
private reserving;
|
|
1838
|
+
private reservationWheres;
|
|
1806
1839
|
private reservedIds;
|
|
1807
1840
|
private reservationsTimer;
|
|
1808
1841
|
/** Find blocked's groups, read for Watch's blocked-seat card and ⌘K's "N reasons"; re-read when blocks change. */
|
|
@@ -1842,6 +1875,8 @@ declare class SeatManager {
|
|
|
1842
1875
|
/** The last block, for its Undo (30 s) or, when some seats sold meanwhile, its Done. */
|
|
1843
1876
|
private blockDone;
|
|
1844
1877
|
private blockFailedNow;
|
|
1878
|
+
/** The server refused Block for this role (403): the action stays, disabled, naming the permission (CR15). */
|
|
1879
|
+
private blockDenied;
|
|
1845
1880
|
private layoutObserver;
|
|
1846
1881
|
/** Height the minimal chrome's zoom column takes from the map's bottom edge. */
|
|
1847
1882
|
private chromeClearance;
|
|
@@ -1872,6 +1907,9 @@ declare class SeatManager {
|
|
|
1872
1907
|
private availabilityRules;
|
|
1873
1908
|
private effectiveHidden;
|
|
1874
1909
|
private effectiveClosed;
|
|
1910
|
+
/** The venue view's captions by section (CR06), from the block paint; painted once the extras chunk is in. */
|
|
1911
|
+
private blockCaptions;
|
|
1912
|
+
private captionsOn;
|
|
1875
1913
|
private lastSyncedAt;
|
|
1876
1914
|
private blockBrowse;
|
|
1877
1915
|
/**
|
|
@@ -2027,6 +2065,13 @@ declare class SeatManager {
|
|
|
2027
2065
|
/** Channel colours are the Channels tool's overlay; outside it there is nothing to colour by. */
|
|
2028
2066
|
private channelColoursAvailable;
|
|
2029
2067
|
private applyMapView;
|
|
2068
|
+
/** Colour by Price (CR06) is ticket-type colours with each type in its price's shade. */
|
|
2069
|
+
private priceMode;
|
|
2070
|
+
/** The shades the renderer holds now ('' = none), so a repaint happens only on a change. */
|
|
2071
|
+
private priceShadesOn;
|
|
2072
|
+
private applyPriceColours;
|
|
2073
|
+
/** Each type's price: the host's event price when it gave one, else the chart's. */
|
|
2074
|
+
private typePrices;
|
|
2030
2075
|
private paintMapViewMenu;
|
|
2031
2076
|
/** Toggle opt-in camera following for new buyer hold/book events. */
|
|
2032
2077
|
setFollowLive(enabled: boolean): void;
|
|
@@ -2120,6 +2165,11 @@ declare class SeatManager {
|
|
|
2120
2165
|
cancelBooking(labels: string[], bookingRef: string): Promise<void>;
|
|
2121
2166
|
/** Assign an event-only category to labels or the current manager selection. */
|
|
2122
2167
|
setCategory(categoryKey: string, labels?: string[]): Promise<void>;
|
|
2168
|
+
/** The seats now sell as `categoryKey`: the model, the map and the totals follow. */
|
|
2169
|
+
private applyCategory;
|
|
2170
|
+
/** Undo the last move (CR07): each seat goes back to the ticket type it sold as before. */
|
|
2171
|
+
private undoCategory;
|
|
2172
|
+
private alertOf;
|
|
2123
2173
|
/** Change event-only table booking identity, then reload authoritative
|
|
2124
2174
|
* geometry/inventory because individual chairs and grouped tables use
|
|
2125
2175
|
* different labels. */
|
|
@@ -2223,6 +2273,9 @@ declare class SeatManager {
|
|
|
2223
2273
|
}>;
|
|
2224
2274
|
setHoldTtl(ms: number | null): Promise<void>;
|
|
2225
2275
|
zoomToFit(): void;
|
|
2276
|
+
private mapReturnPoint;
|
|
2277
|
+
/** Put the map back where Channels found it: floor, section focus, camera. */
|
|
2278
|
+
private restoreMapReturn;
|
|
2226
2279
|
/**
|
|
2227
2280
|
* "−" walks back one level — seats → the section → the venue — the way the
|
|
2228
2281
|
* buyer picker's does; leaving a focused section also drops the focus. A
|
|
@@ -2245,6 +2298,8 @@ declare class SeatManager {
|
|
|
2245
2298
|
private typeKeyBySection;
|
|
2246
2299
|
private typeKeyBase;
|
|
2247
2300
|
private sectionTypeKeys;
|
|
2301
|
+
/** A ticket type's own colour (colour-blind safe when that is on), whatever the map is coloured by. */
|
|
2302
|
+
private typeColour;
|
|
2248
2303
|
/** A block's ticket-type colour, exactly as the map paints that type. */
|
|
2249
2304
|
private sectionTypeTint;
|
|
2250
2305
|
private legendSeats;
|
|
@@ -2272,6 +2327,8 @@ declare class SeatManager {
|
|
|
2272
2327
|
/** The ticket types this chart sells, named and coloured as the map shows them, with their free seats. */
|
|
2273
2328
|
/** The legend chip whose seats are lit up (CR06). */
|
|
2274
2329
|
private litChip;
|
|
2330
|
+
/** How many seats the lit chip's ⇧ click selected ("⇧ click selected all 33 blocked seats"); null after a plain click. */
|
|
2331
|
+
private chipPicked;
|
|
2275
2332
|
/** Seats the host asked to show (CR18), lit as the `shown` chip. */
|
|
2276
2333
|
private shownObjects;
|
|
2277
2334
|
/**
|
|
@@ -2310,6 +2367,13 @@ declare class SeatManager {
|
|
|
2310
2367
|
* category sellable.
|
|
2311
2368
|
*/
|
|
2312
2369
|
private hoverFactsFor;
|
|
2370
|
+
/** The hover card's head (CR14/CR15): the Watch card's plate, the seat's place, and its row/seat or who it is reserved for. */
|
|
2371
|
+
private hoverHeadFor;
|
|
2372
|
+
/** A section block's card head: its name and how many of its seats are free. */
|
|
2373
|
+
private sectionHeadFor;
|
|
2374
|
+
private seatOfId;
|
|
2375
|
+
/** "Stalls C rows C and E" for one reservation, worked out once per reservation list. */
|
|
2376
|
+
private reservationWhere;
|
|
2313
2377
|
/** Block always uses a marquee. Channels only enables its marquee after the
|
|
2314
2378
|
* organizer deliberately chooses Assign seats; Pan map keeps desktop drag
|
|
2315
2379
|
* available for large charts. */
|
|
@@ -2559,6 +2623,14 @@ declare class SeatManager {
|
|
|
2559
2623
|
/** Every table object on the chart, across floors. */
|
|
2560
2624
|
private tables;
|
|
2561
2625
|
private paintModeTabs;
|
|
2626
|
+
/**
|
|
2627
|
+
* CR07 No permission: a member who works in the room (it may change seats,
|
|
2628
|
+
* tables or channels) but may not manage ticket types sees the task, locked,
|
|
2629
|
+
* with the permission it needs. A grant that can only look keeps Watch alone
|
|
2630
|
+
* (M16: viewers never get a read-only room), and so does every grant from an
|
|
2631
|
+
* older host: nothing it shows changes.
|
|
2632
|
+
*/
|
|
2633
|
+
private typesLocked;
|
|
2562
2634
|
/** A declared grant without `event:block` cannot change seats; an undeclared (secret-key) host can. */
|
|
2563
2635
|
private canBlock;
|
|
2564
2636
|
/**
|
|
@@ -2632,6 +2704,8 @@ declare class SeatManager {
|
|
|
2632
2704
|
private extrasFailed;
|
|
2633
2705
|
/** Every table as the Tables panel reads it; a table is locked while any chair carries live inventory (the server enforces it too). */
|
|
2634
2706
|
private tableInfos;
|
|
2707
|
+
/** Keep a block's venue caption (CR06) for blockCaptions; the engine gets the paint as before. */
|
|
2708
|
+
private captioned;
|
|
2635
2709
|
/**
|
|
2636
2710
|
* Watch's seat card (board CR15; Inspect folded in): what the clicked seat is,
|
|
2637
2711
|
* who has it and what you can do from here. Nothing picked: how to read one.
|
|
@@ -2744,12 +2818,19 @@ declare function openRows(c: SeatChooser): void;
|
|
|
2744
2818
|
* picked here are shown, greyed. A pick past the limit is refused and said.
|
|
2745
2819
|
*/
|
|
2746
2820
|
declare function openSeatList(c: SeatChooser, filter?: string): void;
|
|
2821
|
+
/**
|
|
2822
|
+
* The pickers' lists, checkboxes, seat chips and footers (CR20). They load with
|
|
2823
|
+
* the pickers in the extras chunk; the scrim and dialog stay with the room
|
|
2824
|
+
* (managerDialog) because Channels' sheets and the section menu use them.
|
|
2825
|
+
*/
|
|
2826
|
+
declare const PICKER_LIST_CSS = "\n.slm-ch-seatlist{max-height:44vh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--slm-line);\n border-radius:10px;background:var(--slm-surface);margin-top:10px}\n.slm-ch-seatgroup{padding:8px 10px;border-bottom:1px solid var(--slm-line);display:flex;align-items:center;\n justify-content:space-between;gap:8px;font-size:11px;font-weight:800;color:var(--slm-muted);position:sticky;top:0;\n background:var(--slm-surface)}\n.slm-ch-seatgroup button{color:var(--slm-accent);font-weight:800;font-size:11px;min-height:32px}\n.slm-ch-seatitem{display:flex;width:100%;min-height:40px;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid var(--slm-line);\n text-align:left;font-size:12.5px;line-height:1.3;color:var(--slm-text)}\n.slm-ch-seatitem:hover:not(:disabled){background:var(--slm-tint)}\n.slm-ch-seatitem .box{width:16px;height:16px;border-radius:4px;border:1px solid var(--slm-muted);display:grid;\n place-items:center;font-size:10px;font-weight:900;color:transparent;flex:none}\n.slm-ch-seatitem[aria-checked=\"true\"] .box{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-seatitem .meta{margin-left:auto;color:var(--slm-muted);font-size:10.5px}\n.slm-ch-seatitem:disabled{opacity:.55;cursor:not-allowed}\n.slm-ch-seatitem .dot{width:9px;height:9px;border-radius:999px;flex:none}\n.slm-ch-seatlegend{flex:none;display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;font-size:11.5px;color:var(--slm-muted);font-weight:500}\n.slm-ch-seatlegend span{display:inline-flex;align-items:center;gap:5px}\n.slm-ch-seatlegend i{display:inline-block;width:10px;height:10px;border-radius:3px;border:1.5px solid}\n.slm-ch-seatlist.grid{max-height:52vh;margin-top:0}\n.slm-ch-rowcheck{display:flex;align-items:center;gap:8px;min-height:32px;padding:4px 6px;margin-left:-6px;border-radius:7px;font-size:12px;font-weight:800;color:var(--slm-text);text-align:left}\n.slm-ch-rowcheck:hover{background:var(--slm-tint)}\n.slm-ch-rowcheck .box{width:15px;height:15px;flex:none;display:grid;place-items:center;border:1.5px solid var(--slm-muted);border-radius:4px;color:transparent;font-size:9px;font-weight:900;box-sizing:border-box}\n.slm-ch-rowcheck[aria-checked=\"true\"] .box{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-rowcheck[aria-checked=\"mixed\"] .box{border-color:var(--slm-accent);background:linear-gradient(var(--slm-accent),var(--slm-accent)) center/7px 2px no-repeat}\n.slm-ch-rowcheck .name{min-width:0}\n.slm-ch-rowcheck .meta{margin-left:auto;padding-left:8px;color:var(--slm-muted);font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums}\n.slm-ch-seatchips{display:flex;flex-wrap:wrap;gap:7px;padding:1px 0}\n.slm .slm-ch-seatchip{min-width:30px;height:30px;padding:0 8px;border-radius:8px;border:1.5px solid var(--slm-line);background:transparent;color:var(--slm-text);\n font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;box-sizing:border-box;line-height:1;position:relative}\n.slm-ch-seatchip:hover{border-color:var(--slm-muted)}\n.slm-ch-seatchip:focus-visible{outline:2px solid var(--slm-accent);outline-offset:1px}\n/* Status has its own colours, never the host's accent or a ticket type's: a\n gold accent made every free seat read as \"in a cart\" (audit m24). Free is an\n open green ring; the rest are tinted and muted; picked is the accent. */\n.slm .slm-ch-seatchip.is-free,.slm-ch-seatlegend .is-free{border-color:#22a06b;background:transparent}\n.slm .slm-ch-seatchip.is-held,.slm-ch-seatlegend .is-held{border-color:#d99a0b;background:color-mix(in srgb,#d99a0b 18%,transparent);color:var(--slm-muted)}\n.slm .slm-ch-seatchip.is-booked,.slm-ch-seatlegend .is-booked{border-color:color-mix(in srgb,var(--slm-muted) 60%,var(--slm-surface));background:color-mix(in srgb,var(--slm-muted) 18%,transparent);color:var(--slm-muted)}\n.slm .slm-ch-seatchip.is-blocked,.slm-ch-seatlegend .is-blocked{border-color:color-mix(in srgb,var(--slm-muted) 85%,var(--slm-surface));background:color-mix(in srgb,var(--slm-muted) 12%,transparent);color:var(--slm-muted)}\n.slm-ch-seatlegend i[class]{background:transparent}\n.slm .slm-ch-seatchip[aria-checked=\"true\"]{border-color:var(--slm-accent);background:color-mix(in srgb,var(--slm-accent) 16%,var(--slm-surface));color:var(--slm-text)}\n/* The count on the left; Clear and Done small and together on the right (CR20). */\n.slm-ch-seatfoot{align-items:center;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--slm-line)}\n.slm-ch-seatfoot [data-sl-foot]{flex:1;min-width:0;display:flex;align-items:center;gap:10px}\n.slm-ch-seatfoot .slm-ch-seatcount{flex:1;min-width:0;font-size:12.5px;font-weight:600;color:var(--slm-text);font-variant-numeric:tabular-nums}\n.slm-ch-seatfoot .slm-ch-footsum.warn{flex:1}\n.slm .slm-ch-dialog .slm-ch-seatfoot.foot .slm-btn{flex:none;min-width:0;height:28px;padding:0 10px;border-radius:9px;font-size:12px;font-weight:600}\n.slm .slm-ch-seatfoot .slm-btn.ghost{background:var(--slm-surface);color:var(--slm-text);border:1px solid var(--slm-line)}\n.slm .slm-ch-seatfoot .slm-btn:disabled{opacity:.5}\n@media (pointer:coarse){.slm .slm-ch-dialog .slm-ch-seatfoot.foot .slm-btn{height:auto;min-height:40px;padding:0 14px}.slm .slm-ch-seatchip{min-width:36px;height:36px}}\n.slm-ch-scopegroup{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;\n gap:6px;padding:6px 8px;border-bottom:1px solid var(--slm-line);background:var(--slm-surface)}\n.slm-ch-groupcheck{display:flex;min-width:0;align-items:center;gap:8px;padding:5px 2px;text-align:left;font-size:11px;font-weight:800}\n.slm-ch-groupcheck .box{width:16px;height:16px;flex:none;display:grid;place-items:center;border:1px solid var(--slm-muted);border-radius:4px;\n color:transparent;font-size:10px}\n.slm-ch-groupcheck[aria-checked=\"true\"] .box,.slm-ch-groupcheck[aria-checked=\"mixed\"] .box{border-color:var(--slm-accent);\n background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-groupcheck .meta{min-width:0;margin-left:auto;color:var(--slm-muted);font-size:10.5px;font-weight:600;white-space:nowrap}\n/* Board CR20: pickers whose footer says what will be added; names wrap, never cut. */\n.slm-ch-dialog .foot .slm-ch-footsum{flex:1;min-width:0;align-self:center;font-size:12.5px;font-weight:600;color:var(--slm-text)}\n.slm-ch-dialog .foot .slm-ch-footsum.warn{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border-radius:8px;font-weight:500;color:color-mix(in srgb,#b45309 75%,var(--slm-text));background:color-mix(in srgb,#f59e0b 12%,transparent);border:1px solid color-mix(in srgb,#f59e0b 40%,transparent)}\n.slm-ch-footsum.warn svg{flex:none;margin-top:1px}.slm-ch-footsum.warn b{display:block;font-weight:700}\n.slm-ch-dialog .foot .slm-btn.slm-ch-close{flex:none;margin-left:auto;min-width:0;min-height:0;padding:7px 14px;font-size:12.5px;border-radius:8px}\n.slm-ch-dialog:has(.slm-ch-footsum) .foot .slm-btn{flex:none;min-width:110px}\n.slm-ch-findbox{margin:0 0 10px}.slm-ch-findbox .slm-input{width:100%;min-height:38px}\n.slm-ch-seatitem .name{flex:1;min-width:0}.slm-ch-seatitem .meta{white-space:nowrap}\n.slm-ch-seatitem .box.mixed,.slm-ch-groupcheck .box.mixed{border-color:var(--slm-accent);background:var(--slm-accent);color:var(--slm-accent-ink)}\n.slm-ch-groupcheck .name{font-size:13px;font-weight:600}\n.slm-ch-grouptoggle{display:grid;place-items:center;width:32px;min-height:32px;color:var(--slm-muted)}\n.slm-ch-grouptoggle svg{transition:transform var(--slm-mo-quick) var(--slm-mo-out)}.slm-ch-grouptoggle.open svg{transform:rotate(90deg)}\n.slm-ch-scoperows .slm-ch-seatitem{padding-left:34px}\n.slm-ch-scope-empty{padding:18px 12px;color:var(--slm-muted);font-size:12.5px;line-height:1.5;text-align:center}\n.slm-ch-scope-empty b{display:block;margin-bottom:4px;color:var(--slm-text);font-size:14px}\n/* A column whose list gives way, so in a short room the count, Clear and Done\n stay in view and the list scrolls, rather than the whole dialog. */\n.slm-ch-dialog:has(.slm-sl-grid){width:min(640px,100%);display:flex;flex-direction:column}\n.slm-ch-dialog:has(.slm-sl-grid)>*{flex:none}\n.slm .slm-ch-dialog>.slm-sl-grid{flex:0 1 auto;min-height:150px}\n.slm-sl-grid{display:grid;grid-template-columns:220px minmax(0,1fr);height:min(52vh,440px);border:1px solid var(--slm-line);border-radius:10px;overflow:hidden}\n.slm-sl-sections{overflow:auto;padding:6px;border-right:1px solid var(--slm-line)}\n.slm .slm-sl-section{display:flex;align-items:flex-start;gap:9px;width:100%;padding:9px 10px;border-radius:10px;text-align:left}\n.slm .slm-sl-section.on{background:color-mix(in srgb,var(--slm-accent) 14%,transparent)}\n.slm-sl-section svg{margin-left:auto;align-self:center;color:var(--slm-muted);flex:none}\n.slm-sl-rows{display:flex;flex-direction:column;min-height:0;padding:12px 18px 0}\n.slm-sl-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.slm-sl-head b{flex:1;min-width:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}\n.slm .slm-sl-head .slm-btn{flex:none;min-width:0;padding:6px 11px;font-size:12px}\n.slm-sl-rows .slm-ch-seatlegend{margin-bottom:6px}\n.slm-sl-rows .slm-ch-seatlist.grid{flex:1;max-height:none;border:0;border-radius:0;margin:0;overflow:auto}\n.slm-sl-row{padding:10px 0;border-top:1px solid var(--slm-line)}\n.slm-sl-row .slm-ch-seatchips{padding-left:27px;margin-top:8px;gap:5px}\n.slm-sl-note{margin:0 0 6px;font-size:12px;color:var(--slm-muted)}\n.slm .slm-ch-seatchip:disabled{opacity:.55;cursor:not-allowed}\n@media(max-width:620px){.slm-sl-grid{grid-template-columns:1fr;grid-template-rows:minmax(0,2fr) minmax(0,3fr);height:auto}.slm-sl-sections{border-right:0;border-bottom:1px solid var(--slm-line)}}\n";
|
|
2747
2827
|
|
|
2828
|
+
declare const __managerPickers_PICKER_LIST_CSS: typeof PICKER_LIST_CSS;
|
|
2748
2829
|
declare const __managerPickers_openCategory: typeof openCategory;
|
|
2749
2830
|
declare const __managerPickers_openRows: typeof openRows;
|
|
2750
2831
|
declare const __managerPickers_openSeatList: typeof openSeatList;
|
|
2751
2832
|
declare namespace __managerPickers {
|
|
2752
|
-
export { __managerPickers_openCategory as openCategory, __managerPickers_openRows as openRows, __managerPickers_openSeatList as openSeatList };
|
|
2833
|
+
export { __managerPickers_PICKER_LIST_CSS as PICKER_LIST_CSS, __managerPickers_openCategory as openCategory, __managerPickers_openRows as openRows, __managerPickers_openSeatList as openSeatList };
|
|
2753
2834
|
}
|
|
2754
2835
|
|
|
2755
2836
|
interface SeatChooserRow {
|
|
@@ -3102,7 +3183,8 @@ declare class ChannelsMode {
|
|
|
3102
3183
|
private assignmentVersion;
|
|
3103
3184
|
private loadError;
|
|
3104
3185
|
private loading;
|
|
3105
|
-
|
|
3186
|
+
/** Allocation, or the buyer preview (which paints statuses as a buyer sees them). */
|
|
3187
|
+
view: 'inspect' | 'preview';
|
|
3106
3188
|
/** Pan is intentionally the initial desktop interaction. Assignment's
|
|
3107
3189
|
* marquee is powerful, but must never make an organizer lose map navigation. */
|
|
3108
3190
|
private mapIntent;
|
|
@@ -3246,6 +3328,8 @@ declare class ChannelsMode {
|
|
|
3246
3328
|
* than a wrong "Public sale"). Unallocated = the public sale channel.
|
|
3247
3329
|
*/
|
|
3248
3330
|
channelNameForLabel(label: string): string | null;
|
|
3331
|
+
/** A picker's plate: the chosen channel's letter on its colour. */
|
|
3332
|
+
private plateHtml;
|
|
3249
3333
|
private markerFor;
|
|
3250
3334
|
/** Channels an organizer may assign INTO: public sale plus every live channel. */
|
|
3251
3335
|
private assignableChannels;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as a,Q as b,R as c}from"./chunk-CNLSM36T.js";import"./chunk-T57HSGPG.js";import"./chunk-UBFNMA7U.js";import"./chunk-OSZ7DOEH.js";export{b as CHANNELS_CSS,c as ChannelsMode,a as bucketRowsHtml};
|