Add configuration to launch Metadata Center as a dialog or full-page route

This commit is contained in:
aditya.chandel
2025-06-26 23:24:02 -06:00
parent a50936962d
commit c34ab84200
24 changed files with 387 additions and 109 deletions
@@ -0,0 +1,15 @@
import {Injectable} from '@angular/core';
import {Subject} from 'rxjs';
@Injectable({ providedIn: 'root' })
export class BookMetadataHostService {
private bookSwitchRequest$ = new Subject<number>();
requestBookSwitch(bookId: number) {
this.bookSwitchRequest$.next(bookId);
}
get bookSwitches$() {
return this.bookSwitchRequest$.asObservable();
}
}