create license management

This commit is contained in:
2026-04-06 13:31:30 +03:30
parent 44097fe1ac
commit de1a046485
46 changed files with 819 additions and 366 deletions
+9 -2
View File
@@ -1,6 +1,6 @@
import { computed, effect, Injectable, signal } from '@angular/core';
import { computed, effect, Injectable, signal, TemplateRef } from '@angular/core';
import { MenuItem } from 'primeng/api';
import { Subject } from 'rxjs';
import { BehaviorSubject, Subject } from 'rxjs';
export interface layoutConfig {
preset?: string;
@@ -218,4 +218,11 @@ export class LayoutService {
setPanelInfo(info: IPanelInfo) {
this.panelInfo.set(info);
}
private headerSlot = new BehaviorSubject<TemplateRef<any> | null>(null);
headerSlot$ = this.headerSlot.asObservable();
setHeaderSlot(tpl: TemplateRef<any> | null) {
this.headerSlot.next(tpl);
}
}