@molecule/app-feature-transport-bar-angular 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-11-16T11:34:16.704Z
6
+ Generated: 2026-11-23T14:53:27.941Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-feature-transport-bar-angular
@@ -157,14 +157,15 @@ The host IS the outer `<div>` (`div[mol-transport-bar]`), matching React's
157
157
  root exactly. Every button renders only while React would render it (a
158
158
  missing handler renders no button, `canStop` / `canSkip` only disable one),
159
159
  and the time-display wrapper renders only while React's `{slot && …}` would
160
- render it — the Angular projection capture points must stay mounted, so
161
- presence is read in {@link TransportBar.ngAfterViewInit} and the wrapper is
162
- detached through {@link SlotWrapper} instead.
160
+ render it — the Angular projection capture points must stay mounted, so the
161
+ placement function decides the wrapper's presence and withholds it with
162
+ `setElementPresent` instead.
163
163
 
164
164
  ```typescript
165
165
  @Component({
166
166
  selector: 'div[mol-transport-bar]',
167
167
  standalone: true,
168
+ hostDirectives: [MolPlacement],
168
169
  imports: [NgTemplateOutlet],
169
170
  inputs: [
170
171
  'isPlaying',
@@ -189,7 +190,7 @@ detached through {@link SlotWrapper} instead.
189
190
  },
190
191
  template: `@if (onSkipBack) {<button type="button" (click)="callSkipBack($event)" [disabled]="!canSkipValue()" [attr.aria-label]="skipBackLabel()" data-mol-id="transport-bar-skip-back" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏮</span></button>}<button type="button" (click)="callPlayToggle($event)" [attr.aria-label]="isPlaying ? pauseLabel() : playLabel()" [attr.aria-pressed]="isPlaying" [attr.data-state]="isPlaying ? 'playing' : 'paused'" data-mol-id="transport-bar-play-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">{{ isPlaying ? '⏸' : '▶' }}</span></button><button type="button" (click)="callStop($event)" [disabled]="!canStopValue()" [attr.aria-label]="stopLabel()" data-mol-id="transport-bar-stop" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏹</span></button>@if (onSkipForward) {<button type="button" (click)="callSkipForward($event)" [disabled]="!canSkipValue()" [attr.aria-label]="skipForwardLabel()" data-mol-id="transport-bar-skip-forward" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏭</span></button>}@if (onRecordToggle) {<button type="button" (click)="callRecordToggle($event)" [attr.aria-label]="isRecording ? stopRecordingLabel() : recordLabel()" [attr.aria-pressed]="!!isRecording" [attr.data-state]="isRecording ? 'recording' : 'idle'" data-mol-id="transport-bar-record-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">●</span></button>}@if (onLoopToggle) {<button type="button" (click)="callLoopToggle($event)" [attr.aria-label]="loop ? loopOnLabel() : loopOffLabel()" [attr.aria-pressed]="!!loop" [attr.data-state]="loop ? 'on' : 'off'" data-mol-id="transport-bar-loop-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">↻</span></button>}<div #timeSlot data-mol-id="transport-bar-time-display" [class]="timeClasses()"><span #childSlot><ng-content></ng-content></span><span #namedSlot><ng-content select="[slot=timeDisplay]"></ng-content></span>@if (isTemplate(timeDisplay)) {<ng-container [ngTemplateOutlet]="asTemplate(timeDisplay)" />}@if (timeDisplayText()) {{{ timeDisplayText() }}}</div>@if (falsySlotText()) {{{ falsySlotText() }}}`,
191
192
  })
192
- export class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
193
+ export class TransportBar {
193
194
  isPlaying?: boolean
194
195
  isRecording?: boolean
195
196
  canStop?: boolean
@@ -210,13 +211,14 @@ export class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
210
211
 
211
212
  private readonly i18n = useTranslation()
212
213
  private readonly host: HTMLElement = inject(ElementRef).nativeElement
213
- private readonly renderer = inject(Renderer2)
214
- private readonly wrapper = new SlotWrapper(inject(ElementRef), this.renderer)
215
214
 
216
- private hasChildSlot = false
217
- private hasNamedSlot = false
218
- private readonly captureAnchors = new Map<HTMLElement, Comment>()
219
- private readonly hoistedNodes = new Map<HTMLElement, Node[]>()
215
+ private readonly childProjected = signal(false)
216
+ private readonly namedProjected = signal(false)
217
+ private placed: HTMLElement | null = null
218
+
219
+ constructor() {
220
+ usePlacement((hasContent) => this.reconcile(hasContent))
221
+ }
220
222
 
221
223
  cm(): UIClassMap {
222
224
  return getClassMap()
@@ -291,11 +293,11 @@ export class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
291
293
  }
292
294
 
293
295
  slotPresent(): boolean {
294
- return this.namedPresent() || this.hasChildSlot
296
+ return this.namedPresent() || this.childProjected()
295
297
  }
296
298
 
297
299
  namedPresent(): boolean {
298
- return this.timeDisplayPresent() || this.hasNamedSlot
300
+ return this.timeDisplayPresent() || this.namedProjected()
299
301
  }
300
302
 
301
303
  isTemplate(value: unknown): value is TemplateRef<unknown> {
@@ -342,23 +344,14 @@ export class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
342
344
  this.onLoopToggle?.(event)
343
345
  }
344
346
 
345
- ngAfterViewInit(): void {
346
- this.hasChildSlot = hasNodes(this.childSlotRef?.nativeElement)
347
- this.hasNamedSlot = hasNodes(this.namedSlotRef?.nativeElement)
348
- this.anchor(this.childSlotRef?.nativeElement)
349
- this.anchor(this.namedSlotRef?.nativeElement)
350
- this.reconcile()
351
- }
352
-
353
- ngDoCheck(): void {
354
- this.reconcile()
355
- }
356
-
357
- ngOnDestroy(): void {
358
- this.captureAnchors.clear()
359
- this.hoistedNodes.clear()
347
+ private timeDisplayPresent(): boolean {
348
+ const value = this.timeDisplay
349
+ if (isTemplate(value)) return true
350
+ if (typeof value === 'number') return value !== 0 && !Number.isNaN(value)
351
+ if (typeof value === 'string') return value !== ''
352
+ return value === true
360
353
  }
361
- // … truncated — 4 more members: timeDisplayPresent, anchor, reconcile, hoist; the full declaration is in node_modules/@molecule/app-feature-transport-bar-angular/dist/transport-bar.component.d.ts
354
+ // … truncated — 3 more members: reconcile, hoist, withhold; the full declaration is in node_modules/@molecule/app-feature-transport-bar-angular/dist/transport-bar.component.d.ts
362
355
  ```
363
356
 
364
357
  _(Member comments are left out to fit; the full declaration is in `node_modules/@molecule/app-feature-transport-bar-angular/dist/transport-bar.component.d.ts`.)_
@@ -372,7 +365,7 @@ Peer dependencies:
372
365
  - `@angular/common` ^22.0.0
373
366
  - `@angular/core` ^22.0.0
374
367
  - `@angular/platform-browser` ^22.0.0
375
- - `@molecule/app-angular` ^3.5.0
368
+ - `@molecule/app-angular` ^3.13.0
376
369
  - `@molecule/app-ui` ^1.0.1
377
370
  - `@molecule/app-ui-angular` ^1.1.0
378
371
 
@@ -1,7 +1,7 @@
1
- import type { AfterViewInit, DoCheck, OnDestroy } from '@angular/core';
2
1
  import { ElementRef, type TemplateRef } from '@angular/core';
3
2
  import type { UIClassMap } from '@molecule/app-ui';
4
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "@molecule/app-angular";
5
5
  /**
6
6
  * Transport-control bar (play / pause / stop / record / skip / loop) used by
7
7
  * music-daw + video-editor surfaces for editor playback control. Renders a
@@ -14,11 +14,11 @@ import * as i0 from "@angular/core";
14
14
  * root exactly. Every button renders only while React would render it (a
15
15
  * missing handler renders no button, `canStop` / `canSkip` only disable one),
16
16
  * and the time-display wrapper renders only while React's `{slot && …}` would
17
- * render it — the Angular projection capture points must stay mounted, so
18
- * presence is read in {@link TransportBar.ngAfterViewInit} and the wrapper is
19
- * detached through {@link SlotWrapper} instead.
17
+ * render it — the Angular projection capture points must stay mounted, so the
18
+ * placement function decides the wrapper's presence and withholds it with
19
+ * `setElementPresent` instead.
20
20
  */
21
- export declare class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
21
+ export declare class TransportBar {
22
22
  /** Whether playback is currently running. */
23
23
  isPlaying?: boolean;
24
24
  /** Whether recording is currently armed / running. */
@@ -53,16 +53,13 @@ export declare class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
53
53
  namedSlotRef?: ElementRef<HTMLElement>;
54
54
  private readonly i18n;
55
55
  private readonly host;
56
- private readonly renderer;
57
- private readonly wrapper;
58
- /** Whether `children` content was projected (a projection is fixed at creation). */
59
- private hasChildSlot;
56
+ /** Whether `children` content was projected. */
57
+ private readonly childProjected;
60
58
  /** Whether `[slot=timeDisplay]` content was projected. */
61
- private hasNamedSlot;
62
- /** Each capture wrapper's permanent comment anchor, left at its template position. */
63
- private readonly captureAnchors;
64
- /** The nodes each capture wrapper currently has hoisted out of it. */
65
- private readonly hoistedNodes;
59
+ private readonly namedProjected;
60
+ /** The capture wrapper whose content is currently rendered in the time region. */
61
+ private placed;
62
+ constructor();
66
63
  /**
67
64
  * The current class map.
68
65
  * @returns The UIClassMap.
@@ -192,42 +189,33 @@ export declare class TransportBar implements AfterViewInit, DoCheck, OnDestroy {
192
189
  callRecordToggle(event: Event): void;
193
190
  /** Toggles loop mode (React's conditional loop button). */
194
191
  callLoopToggle(event: Event): void;
195
- /**
196
- * Reads the projected slots' presence and turns the two capture wrappers into
197
- * permanent anchors: a projection point must stay mounted, so its nodes are
198
- * moved out (unwrapped) while React renders them and kept inside the detached
199
- * wrapper while React does not.
200
- */
201
- ngAfterViewInit(): void;
202
- /** Re-applies React's conditional DOM after input writes. */
203
- ngDoCheck(): void;
204
- /** Detaches the time-display wrapper from its re-insertion anchor on teardown. */
205
- ngOnDestroy(): void;
206
192
  /**
207
193
  * Whether the `timeDisplay` input alone makes React render the wrapper.
208
194
  * @returns True for a template, a non-empty string, a non-zero number or `true`.
209
195
  */
210
196
  private timeDisplayPresent;
211
- /**
212
- * Leaves a comment anchor at a capture wrapper's template position and takes
213
- * the wrapper out of the DOM (the projection stays inside it).
214
- * @param slot - The capture wrapper.
215
- */
216
- private anchor;
217
197
  /**
218
198
  * Applies React's DOM for the time-display region: the wrapper renders only
219
- * while React renders it, and each projected slot is unwrapped while it is
220
- * the one React shows.
199
+ * while React renders it, and the winning projected slot is rendered bare
200
+ * inside it.
201
+ *
202
+ * @param hasContent - Reads whether a slot has content.
221
203
  */
222
204
  private reconcile;
223
205
  /**
224
- * Moves a capture wrapper's nodes out beside its anchor (visible) or back
225
- * inside it (hidden); the wrapper itself never renders.
206
+ * Renders a capture wrapper's content bare inside the time region (React
207
+ * renders the slot with no wrapper element) and takes the wrapper out.
226
208
  * @param slot - The capture wrapper.
227
- * @param visible - Whether React renders its content here.
209
+ * @param time - The time-display region.
228
210
  */
229
211
  private hoist;
212
+ /**
213
+ * Puts a capture wrapper's content back inside it and keeps the wrapper out of
214
+ * the DOM, the state React renders for the slot it did not choose.
215
+ * @param slot - The capture wrapper.
216
+ */
217
+ private withhold;
230
218
  static ɵfac: i0.ɵɵFactoryDeclaration<TransportBar, never>;
231
- static ɵcmp: i0.ɵɵComponentDeclaration<TransportBar, "div[mol-transport-bar]", never, { "isPlaying": { "alias": "isPlaying"; "required": false; }; "isRecording": { "alias": "isRecording"; "required": false; }; "canStop": { "alias": "canStop"; "required": false; }; "canSkip": { "alias": "canSkip"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "onPlayToggle": { "alias": "onPlayToggle"; "required": false; }; "onStop": { "alias": "onStop"; "required": false; }; "onSkipBack": { "alias": "onSkipBack"; "required": false; }; "onSkipForward": { "alias": "onSkipForward"; "required": false; }; "onRecordToggle": { "alias": "onRecordToggle"; "required": false; }; "onLoopToggle": { "alias": "onLoopToggle"; "required": false; }; "timeDisplay": { "alias": "timeDisplay"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["*", "[slot=timeDisplay]"], true, never>;
219
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransportBar, "div[mol-transport-bar]", never, { "isPlaying": { "alias": "isPlaying"; "required": false; }; "isRecording": { "alias": "isRecording"; "required": false; }; "canStop": { "alias": "canStop"; "required": false; }; "canSkip": { "alias": "canSkip"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "onPlayToggle": { "alias": "onPlayToggle"; "required": false; }; "onStop": { "alias": "onStop"; "required": false; }; "onSkipBack": { "alias": "onSkipBack"; "required": false; }; "onSkipForward": { "alias": "onSkipForward"; "required": false; }; "onRecordToggle": { "alias": "onRecordToggle"; "required": false; }; "onLoopToggle": { "alias": "onLoopToggle"; "required": false; }; "timeDisplay": { "alias": "timeDisplay"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["*", "[slot=timeDisplay]"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
232
220
  }
233
221
  //# sourceMappingURL=transport-bar.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transport-bar.component.d.ts","sourceRoot":"","sources":["../src/transport-bar.component.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACtE,OAAO,EAEL,UAAU,EAGV,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAclD;;;;;;;;;;;;;;;GAeG;AACH,qBA4Ba,YAAa,YAAW,aAAa,EAAE,OAAO,EAAE,SAAS;IACpE,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,sDAAsD;IACtD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,OAAO,C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common';
7
- import { Component, ElementRef, inject, Renderer2, ViewChild, } from '@angular/core';
8
- import { useTranslation } from '@molecule/app-angular';
7
+ import { Component, ElementRef, inject, signal, ViewChild } from '@angular/core';
8
+ import { MolPlacement, placeContent, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
9
9
  import { getClassMap } from '@molecule/app-ui';
10
- import { hasNodes, SlotWrapper } from '@molecule/app-ui-angular';
11
10
  import * as i0 from "@angular/core";
11
+ import * as i1 from "@molecule/app-angular";
12
12
  const _c0 = ["timeSlot"];
13
13
  const _c1 = ["childSlot"];
14
14
  const _c2 = ["namedSlot"];
@@ -106,9 +106,9 @@ const isTemplate = (value) => typeof value === 'object' && value !== null && 'cr
106
106
  * root exactly. Every button renders only while React would render it (a
107
107
  * missing handler renders no button, `canStop` / `canSkip` only disable one),
108
108
  * and the time-display wrapper renders only while React's `{slot && …}` would
109
- * render it — the Angular projection capture points must stay mounted, so
110
- * presence is read in {@link TransportBar.ngAfterViewInit} and the wrapper is
111
- * detached through {@link SlotWrapper} instead.
109
+ * render it — the Angular projection capture points must stay mounted, so the
110
+ * placement function decides the wrapper's presence and withholds it with
111
+ * `setElementPresent` instead.
112
112
  */
113
113
  export class TransportBar {
114
114
  /** Whether playback is currently running. */
@@ -145,16 +145,17 @@ export class TransportBar {
145
145
  namedSlotRef;
146
146
  i18n = useTranslation();
147
147
  host = inject(ElementRef).nativeElement;
148
- renderer = inject(Renderer2);
149
- wrapper = new SlotWrapper(inject(ElementRef), this.renderer);
150
- /** Whether `children` content was projected (a projection is fixed at creation). */
151
- hasChildSlot = false;
148
+ /** Whether `children` content was projected. */
149
+ childProjected = signal(false, /* @ts-ignore */
150
+ ...(ngDevMode ? [{ debugName: "childProjected" }] : /* istanbul ignore next */ []));
152
151
  /** Whether `[slot=timeDisplay]` content was projected. */
153
- hasNamedSlot = false;
154
- /** Each capture wrapper's permanent comment anchor, left at its template position. */
155
- captureAnchors = new Map();
156
- /** The nodes each capture wrapper currently has hoisted out of it. */
157
- hoistedNodes = new Map();
152
+ namedProjected = signal(false, /* @ts-ignore */
153
+ ...(ngDevMode ? [{ debugName: "namedProjected" }] : /* istanbul ignore next */ []));
154
+ /** The capture wrapper whose content is currently rendered in the time region. */
155
+ placed = null;
156
+ constructor() {
157
+ usePlacement((hasContent) => this.reconcile(hasContent));
158
+ }
158
159
  /**
159
160
  * The current class map.
160
161
  * @returns The UIClassMap.
@@ -273,7 +274,7 @@ export class TransportBar {
273
274
  * @returns True when the wrapper (and not the bare falsy value) renders.
274
275
  */
275
276
  slotPresent() {
276
- return this.namedPresent() || this.hasChildSlot;
277
+ return this.namedPresent() || this.childProjected();
277
278
  }
278
279
  /**
279
280
  * Whether React's `timeDisplay` slot is provided at all: the input (a
@@ -281,7 +282,7 @@ export class TransportBar {
281
282
  * @returns True when the named slot wins over the default content.
282
283
  */
283
284
  namedPresent() {
284
- return this.timeDisplayPresent() || this.hasNamedSlot;
285
+ return this.timeDisplayPresent() || this.namedProjected();
285
286
  }
286
287
  /**
287
288
  * Whether a value is a projected node template.
@@ -347,28 +348,6 @@ export class TransportBar {
347
348
  callLoopToggle(event) {
348
349
  this.onLoopToggle?.(event);
349
350
  }
350
- /**
351
- * Reads the projected slots' presence and turns the two capture wrappers into
352
- * permanent anchors: a projection point must stay mounted, so its nodes are
353
- * moved out (unwrapped) while React renders them and kept inside the detached
354
- * wrapper while React does not.
355
- */
356
- ngAfterViewInit() {
357
- this.hasChildSlot = hasNodes(this.childSlotRef?.nativeElement);
358
- this.hasNamedSlot = hasNodes(this.namedSlotRef?.nativeElement);
359
- this.anchor(this.childSlotRef?.nativeElement);
360
- this.anchor(this.namedSlotRef?.nativeElement);
361
- this.reconcile();
362
- }
363
- /** Re-applies React's conditional DOM after input writes. */
364
- ngDoCheck() {
365
- this.reconcile();
366
- }
367
- /** Detaches the time-display wrapper from its re-insertion anchor on teardown. */
368
- ngOnDestroy() {
369
- this.captureAnchors.clear();
370
- this.hoistedNodes.clear();
371
- }
372
351
  /**
373
352
  * Whether the `timeDisplay` input alone makes React render the wrapper.
374
353
  * @returns True for a template, a non-empty string, a non-zero number or `true`.
@@ -383,65 +362,52 @@ export class TransportBar {
383
362
  return value !== '';
384
363
  return value === true;
385
364
  }
386
- /**
387
- * Leaves a comment anchor at a capture wrapper's template position and takes
388
- * the wrapper out of the DOM (the projection stays inside it).
389
- * @param slot - The capture wrapper.
390
- */
391
- anchor(slot) {
392
- if (!slot)
393
- return;
394
- const parent = slot.parentNode;
395
- if (!parent)
396
- return;
397
- const comment = this.renderer.createComment('capture');
398
- parent.insertBefore(comment, slot);
399
- parent.removeChild(slot);
400
- this.captureAnchors.set(slot, comment);
401
- }
402
365
  /**
403
366
  * Applies React's DOM for the time-display region: the wrapper renders only
404
- * while React renders it, and each projected slot is unwrapped while it is
405
- * the one React shows.
367
+ * while React renders it, and the winning projected slot is rendered bare
368
+ * inside it.
369
+ *
370
+ * @param hasContent - Reads whether a slot has content.
406
371
  */
407
- reconcile() {
372
+ reconcile(hasContent) {
408
373
  const time = this.timeSlotRef?.nativeElement;
409
374
  if (!time)
410
375
  return;
376
+ this.childProjected.set(hasContent(this.childSlotRef?.nativeElement));
377
+ this.namedProjected.set(hasContent(this.namedSlotRef?.nativeElement));
411
378
  const present = this.namedPresent();
412
- this.wrapper.sync(time, this.slotPresent());
413
379
  const winner = present ? this.namedSlotRef?.nativeElement : this.childSlotRef?.nativeElement;
414
380
  const loser = present ? this.childSlotRef?.nativeElement : this.namedSlotRef?.nativeElement;
415
- this.hoist(winner, true);
416
- this.hoist(loser, false);
381
+ this.withhold(loser);
382
+ this.hoist(winner, time);
383
+ setElementPresent(time, this.slotPresent());
417
384
  }
418
385
  /**
419
- * Moves a capture wrapper's nodes out beside its anchor (visible) or back
420
- * inside it (hidden); the wrapper itself never renders.
386
+ * Renders a capture wrapper's content bare inside the time region (React
387
+ * renders the slot with no wrapper element) and takes the wrapper out.
421
388
  * @param slot - The capture wrapper.
422
- * @param visible - Whether React renders its content here.
389
+ * @param time - The time-display region.
423
390
  */
424
- hoist(slot, visible) {
425
- if (!slot)
391
+ hoist(slot, time) {
392
+ if (!slot || this.placed === slot)
426
393
  return;
427
- const anchor = this.captureAnchors.get(slot);
428
- if (!anchor)
394
+ setElementPresent(slot, true);
395
+ placeContent(slot, time, slot);
396
+ setElementPresent(slot, false);
397
+ this.placed = slot;
398
+ }
399
+ /**
400
+ * Puts a capture wrapper's content back inside it and keeps the wrapper out of
401
+ * the DOM, the state React renders for the slot it did not choose.
402
+ * @param slot - The capture wrapper.
403
+ */
404
+ withhold(slot) {
405
+ if (!slot)
429
406
  return;
430
- const hoisted = this.hoistedNodes.get(slot);
431
- if (visible && !hoisted) {
432
- const parent = anchor.parentNode;
433
- if (!parent)
434
- return;
435
- const nodes = Array.from(slot.childNodes);
436
- for (const node of nodes)
437
- parent.insertBefore(node, anchor);
438
- this.hoistedNodes.set(slot, nodes);
439
- }
440
- else if (!visible && hoisted) {
441
- for (const node of hoisted)
442
- slot.appendChild(node);
443
- this.hoistedNodes.delete(slot);
444
- }
407
+ placeContent(slot, null);
408
+ setElementPresent(slot, false);
409
+ if (this.placed === slot)
410
+ this.placed = null;
445
411
  }
446
412
  static ɵfac = function TransportBar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TransportBar)(); };
447
413
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TransportBar, selectors: [["div", "mol-transport-bar", ""]], viewQuery: function TransportBar_Query(rf, ctx) { if (rf & 1) {
@@ -454,7 +420,7 @@ export class TransportBar {
454
420
  } }, hostAttrs: ["role", "toolbar", "data-mol-id", "transport-bar"], hostVars: 3, hostBindings: function TransportBar_HostBindings(rf, ctx) { if (rf & 2) {
455
421
  i0.ɵɵattribute("aria-label", ctx.regionLabel());
456
422
  i0.ɵɵclassMap(ctx.classes());
457
- } }, inputs: { isPlaying: "isPlaying", isRecording: "isRecording", canStop: "canStop", canSkip: "canSkip", loop: "loop", onPlayToggle: "onPlayToggle", onStop: "onStop", onSkipBack: "onSkipBack", onSkipForward: "onSkipForward", onRecordToggle: "onRecordToggle", onLoopToggle: "onLoopToggle", timeDisplay: "timeDisplay", className: "className" }, ngContentSelectors: _c4, decls: 21, vars: 35, consts: [["timeSlot", ""], ["childSlot", ""], ["namedSlot", ""], ["type", "button", "data-mol-id", "transport-bar-skip-back", 3, "disabled", "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-play-toggle", 3, "click"], ["aria-hidden", "true"], ["type", "button", "data-mol-id", "transport-bar-stop", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-skip-forward", 3, "disabled", "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-record-toggle", 3, "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-loop-toggle", 3, "class", "background", "border", "cursor", "padding"], ["data-mol-id", "transport-bar-time-display"], [3, "ngTemplateOutlet"], ["type", "button", "data-mol-id", "transport-bar-skip-back", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-skip-forward", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-record-toggle", 3, "click"], ["type", "button", "data-mol-id", "transport-bar-loop-toggle", 3, "click"]], template: function TransportBar_Template(rf, ctx) { if (rf & 1) {
423
+ } }, inputs: { isPlaying: "isPlaying", isRecording: "isRecording", canStop: "canStop", canSkip: "canSkip", loop: "loop", onPlayToggle: "onPlayToggle", onStop: "onStop", onSkipBack: "onSkipBack", onSkipForward: "onSkipForward", onRecordToggle: "onRecordToggle", onLoopToggle: "onLoopToggle", timeDisplay: "timeDisplay", className: "className" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c4, decls: 21, vars: 35, consts: [["timeSlot", ""], ["childSlot", ""], ["namedSlot", ""], ["type", "button", "data-mol-id", "transport-bar-skip-back", 3, "disabled", "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-play-toggle", 3, "click"], ["aria-hidden", "true"], ["type", "button", "data-mol-id", "transport-bar-stop", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-skip-forward", 3, "disabled", "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-record-toggle", 3, "class", "background", "border", "cursor", "padding"], ["type", "button", "data-mol-id", "transport-bar-loop-toggle", 3, "class", "background", "border", "cursor", "padding"], ["data-mol-id", "transport-bar-time-display"], [3, "ngTemplateOutlet"], ["type", "button", "data-mol-id", "transport-bar-skip-back", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-skip-forward", 3, "click", "disabled"], ["type", "button", "data-mol-id", "transport-bar-record-toggle", 3, "click"], ["type", "button", "data-mol-id", "transport-bar-loop-toggle", 3, "click"]], template: function TransportBar_Template(rf, ctx) { if (rf & 1) {
458
424
  i0.ɵɵprojectionDef(_c3);
459
425
  i0.ɵɵconditionalCreate(0, TransportBar_Conditional_0_Template, 3, 12, "button", 3);
460
426
  i0.ɵɵelementStart(1, "button", 4);
@@ -514,6 +480,7 @@ export class TransportBar {
514
480
  args: [{
515
481
  selector: 'div[mol-transport-bar]',
516
482
  standalone: true,
483
+ hostDirectives: [MolPlacement],
517
484
  imports: [NgTemplateOutlet],
518
485
  inputs: [
519
486
  'isPlaying',
@@ -539,7 +506,7 @@ export class TransportBar {
539
506
  // prettier-ignore
540
507
  template: `@if (onSkipBack) {<button type="button" (click)="callSkipBack($event)" [disabled]="!canSkipValue()" [attr.aria-label]="skipBackLabel()" data-mol-id="transport-bar-skip-back" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏮</span></button>}<button type="button" (click)="callPlayToggle($event)" [attr.aria-label]="isPlaying ? pauseLabel() : playLabel()" [attr.aria-pressed]="isPlaying" [attr.data-state]="isPlaying ? 'playing' : 'paused'" data-mol-id="transport-bar-play-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">{{ isPlaying ? '⏸' : '▶' }}</span></button><button type="button" (click)="callStop($event)" [disabled]="!canStopValue()" [attr.aria-label]="stopLabel()" data-mol-id="transport-bar-stop" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏹</span></button>@if (onSkipForward) {<button type="button" (click)="callSkipForward($event)" [disabled]="!canSkipValue()" [attr.aria-label]="skipForwardLabel()" data-mol-id="transport-bar-skip-forward" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">⏭</span></button>}@if (onRecordToggle) {<button type="button" (click)="callRecordToggle($event)" [attr.aria-label]="isRecording ? stopRecordingLabel() : recordLabel()" [attr.aria-pressed]="!!isRecording" [attr.data-state]="isRecording ? 'recording' : 'idle'" data-mol-id="transport-bar-record-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">●</span></button>}@if (onLoopToggle) {<button type="button" (click)="callLoopToggle($event)" [attr.aria-label]="loop ? loopOnLabel() : loopOffLabel()" [attr.aria-pressed]="!!loop" [attr.data-state]="loop ? 'on' : 'off'" data-mol-id="transport-bar-loop-toggle" [class]="controlClasses()" [style.background]="'transparent'" [style.border]="'none'" [style.cursor]="'pointer'" [style.padding]="0"><span aria-hidden="true">↻</span></button>}<div #timeSlot data-mol-id="transport-bar-time-display" [class]="timeClasses()"><span #childSlot><ng-content></ng-content></span><span #namedSlot><ng-content select="[slot=timeDisplay]"></ng-content></span>@if (isTemplate(timeDisplay)) {<ng-container [ngTemplateOutlet]="asTemplate(timeDisplay)" />}@if (timeDisplayText()) {{{ timeDisplayText() }}}</div>@if (falsySlotText()) {{{ falsySlotText() }}}`,
541
508
  }]
542
- }], null, { timeSlotRef: [{
509
+ }], () => [], { timeSlotRef: [{
543
510
  type: ViewChild,
544
511
  args: ['timeSlot']
545
512
  }], childSlotRef: [{
@@ -549,5 +516,5 @@ export class TransportBar {
549
516
  type: ViewChild,
550
517
  args: ['namedSlot']
551
518
  }] }); })();
552
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TransportBar, { className: "TransportBar", filePath: "transport-bar.component.ts", lineNumber: 77 }); })();
519
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TransportBar, { className: "TransportBar", filePath: "transport-bar.component.ts", lineNumber: 76 }); })();
553
520
  //# sourceMappingURL=transport-bar.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"transport-bar.component.js","sourceRoot":"","sources":["../src/transport-bar.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,OAAO,EACL,SAAS,EACT,UAAU,EACV,MAAM,EACN,SAAS,EAET,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;;;;;;;;;IAsDjC,kCAAiS;IAA3Q,sLAAS,2BAAoB,KAAC;IAA6O,+BAAyB;IAAA,sBAAC;IAAO,AAAP,iBAAO,EAAS;;;IAA/K,sCAA0B;IAAuF,AAA3B,AAAxB,AAAnC,2CAAkC,kBAAwB,qBAA2B,cAAoB;IAA3O,iDAA4B;;;;;IAAsgC,kCAA0S;IAApR,sLAAS,8BAAuB,KAAC;IAAmP,+BAAyB;IAAA,sBAAC;IAAO,AAAP,iBAAO,EAAS;;;IAA/K,sCAA0B;IAAuF,AAA3B,AAAxB,AAAnC,2CAAkC,kBAAwB,qBAA2B,cAAoB;IAAjP,iDAA4B;;;;;IAAuR,kCAA0Y;IAApX,sLAAS,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AAC;gBAC9B,OAAO,EAAE,CAAC,gBAAgB,CAAC;gBAC3B,MAAM,EAAE;oBACN,WAAW;oBACX,aAAa;oBACb,SAAS;oBACT,SAAS;oBACT,MAAM;oBACN,cAAc;oBACd,QAAQ;oBACR,YAAY;oBACZ,eAAe;oBACf,gBAAgB;oBAChB,cAAc;oBACd,aAAa;oBACb,WAAW;iBACZ;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;oBACf,aAAa,EAAE,eAAe;oBAC9B,mBAAmB,EAAE,eAAe;oBACpC,SAAS,EAAE,WAAW;iBACvB;gBACD,kBAAkB;gBAClB,QAAQ,EAAE,4rFAA4rF;aACvsF;;kBA8BE,SAAS;mBAAC,UAAU;;kBAEpB,SAAS;mBAAC,WAAW;;kBAErB,SAAS;mBAAC,WAAW;;kFAjCX,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-feature-transport-bar-angular",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Transport-control bar (play / pause / stop / record / skip / loop) used by music-daw + video-editor for editor playback control",
5
5
  "homepage": "https://www.molecule.dev/packages/app-feature-transport-bar-angular",
6
6
  "type": "module",
@@ -48,7 +48,7 @@
48
48
  "@angular/common": "^22.0.0",
49
49
  "@angular/core": "^22.0.0",
50
50
  "@angular/platform-browser": "^22.0.0",
51
- "@molecule/app-angular": "^3.5.0",
51
+ "@molecule/app-angular": "^3.13.0",
52
52
  "@molecule/app-ui": "^1.0.1",
53
53
  "@molecule/app-ui-angular": "^1.1.0"
54
54
  },
@@ -58,14 +58,14 @@
58
58
  "@angular/compiler-cli": "22.2.3",
59
59
  "@angular/core": "22.2.3",
60
60
  "@angular/platform-browser": "22.2.3",
61
- "@molecule/app-angular": "3.7.1",
61
+ "@molecule/app-angular": "3.13.0",
62
62
  "@molecule/app-framework-conformance": "0.0.0",
63
63
  "@molecule/app-i18n": "1.2.2",
64
64
  "@molecule/app-icons": "1.0.4",
65
- "@molecule/app-ui": "1.4.0",
66
- "@molecule/app-ui-angular": "1.2.0",
65
+ "@molecule/app-ui": "1.5.0",
66
+ "@molecule/app-ui-angular": "1.5.1",
67
67
  "@types/node": "26.6.5",
68
- "jsdom": "30.1.3",
68
+ "jsdom": "31.0.1",
69
69
  "rxjs": "7.8.2",
70
70
  "typescript": "6.0.3",
71
71
  "vitest": "4.1.12",