@seatlayer/js 0.43.2 → 0.44.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/index.d.cts CHANGED
@@ -3550,6 +3550,18 @@ declare class ChannelsMode {
3550
3550
  private focusedSectionId;
3551
3551
  private showArchived;
3552
3552
  private detailChannelId;
3553
+ /**
3554
+ * Whether the organizer has asked to assign seats.
3555
+ *
3556
+ * The list rail leads with the CHANNELS. The assignment tooling — destination
3557
+ * picker plus five select-by routes — used to paint unconditionally above that
3558
+ * list, so a first-time organizer met a workbench for a job they had not asked
3559
+ * to do, with the thing they came for pushed below the fold. It is now
3560
+ * disclosed on intent: the "Assign seats to a channel" action under the list,
3561
+ * the map's own "Assign seats" segment, or simply having a selection. The
3562
+ * selection rail always shows the tools, because there the intent is proven.
3563
+ */
3564
+ private assignOpen;
3553
3565
  private targetChannelId;
3554
3566
  private conflict;
3555
3567
  private dialog;
@@ -3576,7 +3588,16 @@ declare class ChannelsMode {
3576
3588
  private previewAudience;
3577
3589
  private previewIncludePublic;
3578
3590
  private previewProjection;
3579
- private previewSupported;
3591
+ /**
3592
+ * The buyer-preview read, as one honest state rather than a boolean.
3593
+ *
3594
+ * `previewSupported: boolean | null` could say "this worker has no projection
3595
+ * route", but it could not say "the read is in flight" or "the read failed" —
3596
+ * both of those painted an audience picker with no result underneath, which
3597
+ * reads as "this audience can buy nothing". Loading and error are now states
3598
+ * of their own, and the error one offers a retry.
3599
+ */
3600
+ private previewState;
3580
3601
  private pollTimer;
3581
3602
  private layer;
3582
3603
  private canvas;
@@ -3702,15 +3723,27 @@ declare class ChannelsMode {
3702
3723
  private countsHtml;
3703
3724
  private channelRowHtml;
3704
3725
  private listRailHtml;
3726
+ /**
3727
+ * The assignment entry point on the list rail.
3728
+ *
3729
+ * Collapsed it is ONE plain-language action, so the channels the organizer came
3730
+ * for stay at the top of the panel. Opened it is the same tool set that has
3731
+ * always worked, in the same order, plus the way back out — and opening it is
3732
+ * also what the map's "Assign seats" segment does, so the two routes into the
3733
+ * job cannot disagree about whether it is running.
3734
+ */
3735
+ private assignEntryHtml;
3705
3736
  /**
3706
3737
  * Destination-first assignment controls.
3707
3738
  *
3708
3739
  * These used to live only inside the selection rail, which meant every route
3709
3740
  * into them was gated behind "select a seat on the map first" — the section,
3710
3741
  * row and category choosers were invisible until the organizer had already
3711
- * done the work by hand. They now paint above the channel list too, so the
3712
- * destination is chosen first and whole sections and rows are discoverable
3713
- * without learning a hidden seat-first workflow.
3742
+ * done the work by hand. They are still reachable before a seat is selected,
3743
+ * but they are no longer the first thing in the panel: on the list rail they
3744
+ * are disclosed by `assignEntryHtml`, and there they carry a way back out
3745
+ * (`collapsible`). In the selection rail there is nothing to disclose — a
3746
+ * selection IS the intent — so they paint unconditionally and without Done.
3714
3747
  */
3715
3748
  private assignmentToolsHtml;
3716
3749
  private selectionRailHtml;
@@ -3757,6 +3790,8 @@ declare class ChannelsMode {
3757
3790
  private previewRailHtml;
3758
3791
  private paintSelection;
3759
3792
  private wireRail;
3793
+ /** Open a channel's detail panel and start its buyer-link read. */
3794
+ private openChannel;
3760
3795
  private railAction;
3761
3796
  /** Derived once per mode entry — see `assignmentRowsCache`. */
3762
3797
  private assignmentRows;
@@ -3806,6 +3841,17 @@ declare class ChannelsMode {
3806
3841
  */
3807
3842
  private showApplied;
3808
3843
  private shakeStaged;
3844
+ /**
3845
+ * The ⋯ menu.
3846
+ *
3847
+ * Opening a channel is the ROW's job now, so ⋯ carries what is left: the
3848
+ * secondary and destructive lifecycle actions. It is rendered through the same
3849
+ * scrim primitive as every other sheet, which is what gives it a focus trap,
3850
+ * Escape, and a name — a bare absolutely-positioned popup would have had none
3851
+ * of those. Archive keeps its own confirmation dialog; this menu never
3852
+ * destroys anything by itself.
3853
+ */
3854
+ private renderMenuDialog;
3809
3855
  private renderRenameDialog;
3810
3856
  /**
3811
3857
  * "Get embed code" — mark the channel as reached through the organizer's own
@@ -3816,6 +3862,8 @@ declare class ChannelsMode {
3816
3862
  */
3817
3863
  private chooseWebsiteIntegration;
3818
3864
  private setAccessIntent;
3865
+ /** `channelId` is explicit because this is reachable from the ⋯ menu on a row
3866
+ * that is NOT the open channel, as well as from the detail panel itself. */
3819
3867
  private togglePause;
3820
3868
  private renderArchiveDialog;
3821
3869
  private archive;
package/dist/index.d.ts CHANGED
@@ -3550,6 +3550,18 @@ declare class ChannelsMode {
3550
3550
  private focusedSectionId;
3551
3551
  private showArchived;
3552
3552
  private detailChannelId;
3553
+ /**
3554
+ * Whether the organizer has asked to assign seats.
3555
+ *
3556
+ * The list rail leads with the CHANNELS. The assignment tooling — destination
3557
+ * picker plus five select-by routes — used to paint unconditionally above that
3558
+ * list, so a first-time organizer met a workbench for a job they had not asked
3559
+ * to do, with the thing they came for pushed below the fold. It is now
3560
+ * disclosed on intent: the "Assign seats to a channel" action under the list,
3561
+ * the map's own "Assign seats" segment, or simply having a selection. The
3562
+ * selection rail always shows the tools, because there the intent is proven.
3563
+ */
3564
+ private assignOpen;
3553
3565
  private targetChannelId;
3554
3566
  private conflict;
3555
3567
  private dialog;
@@ -3576,7 +3588,16 @@ declare class ChannelsMode {
3576
3588
  private previewAudience;
3577
3589
  private previewIncludePublic;
3578
3590
  private previewProjection;
3579
- private previewSupported;
3591
+ /**
3592
+ * The buyer-preview read, as one honest state rather than a boolean.
3593
+ *
3594
+ * `previewSupported: boolean | null` could say "this worker has no projection
3595
+ * route", but it could not say "the read is in flight" or "the read failed" —
3596
+ * both of those painted an audience picker with no result underneath, which
3597
+ * reads as "this audience can buy nothing". Loading and error are now states
3598
+ * of their own, and the error one offers a retry.
3599
+ */
3600
+ private previewState;
3580
3601
  private pollTimer;
3581
3602
  private layer;
3582
3603
  private canvas;
@@ -3702,15 +3723,27 @@ declare class ChannelsMode {
3702
3723
  private countsHtml;
3703
3724
  private channelRowHtml;
3704
3725
  private listRailHtml;
3726
+ /**
3727
+ * The assignment entry point on the list rail.
3728
+ *
3729
+ * Collapsed it is ONE plain-language action, so the channels the organizer came
3730
+ * for stay at the top of the panel. Opened it is the same tool set that has
3731
+ * always worked, in the same order, plus the way back out — and opening it is
3732
+ * also what the map's "Assign seats" segment does, so the two routes into the
3733
+ * job cannot disagree about whether it is running.
3734
+ */
3735
+ private assignEntryHtml;
3705
3736
  /**
3706
3737
  * Destination-first assignment controls.
3707
3738
  *
3708
3739
  * These used to live only inside the selection rail, which meant every route
3709
3740
  * into them was gated behind "select a seat on the map first" — the section,
3710
3741
  * row and category choosers were invisible until the organizer had already
3711
- * done the work by hand. They now paint above the channel list too, so the
3712
- * destination is chosen first and whole sections and rows are discoverable
3713
- * without learning a hidden seat-first workflow.
3742
+ * done the work by hand. They are still reachable before a seat is selected,
3743
+ * but they are no longer the first thing in the panel: on the list rail they
3744
+ * are disclosed by `assignEntryHtml`, and there they carry a way back out
3745
+ * (`collapsible`). In the selection rail there is nothing to disclose — a
3746
+ * selection IS the intent — so they paint unconditionally and without Done.
3714
3747
  */
3715
3748
  private assignmentToolsHtml;
3716
3749
  private selectionRailHtml;
@@ -3757,6 +3790,8 @@ declare class ChannelsMode {
3757
3790
  private previewRailHtml;
3758
3791
  private paintSelection;
3759
3792
  private wireRail;
3793
+ /** Open a channel's detail panel and start its buyer-link read. */
3794
+ private openChannel;
3760
3795
  private railAction;
3761
3796
  /** Derived once per mode entry — see `assignmentRowsCache`. */
3762
3797
  private assignmentRows;
@@ -3806,6 +3841,17 @@ declare class ChannelsMode {
3806
3841
  */
3807
3842
  private showApplied;
3808
3843
  private shakeStaged;
3844
+ /**
3845
+ * The ⋯ menu.
3846
+ *
3847
+ * Opening a channel is the ROW's job now, so ⋯ carries what is left: the
3848
+ * secondary and destructive lifecycle actions. It is rendered through the same
3849
+ * scrim primitive as every other sheet, which is what gives it a focus trap,
3850
+ * Escape, and a name — a bare absolutely-positioned popup would have had none
3851
+ * of those. Archive keeps its own confirmation dialog; this menu never
3852
+ * destroys anything by itself.
3853
+ */
3854
+ private renderMenuDialog;
3809
3855
  private renderRenameDialog;
3810
3856
  /**
3811
3857
  * "Get embed code" — mark the channel as reached through the organizer's own
@@ -3816,6 +3862,8 @@ declare class ChannelsMode {
3816
3862
  */
3817
3863
  private chooseWebsiteIntegration;
3818
3864
  private setAccessIntent;
3865
+ /** `channelId` is explicit because this is reachable from the ⋯ menu on a row
3866
+ * that is NOT the open channel, as well as from the detail panel itself. */
3819
3867
  private togglePause;
3820
3868
  private renderArchiveDialog;
3821
3869
  private archive;