import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';
import { verticalInOutRelative } from '../../common.animation';
import { CommonNzModule } from '../../common.nz.module';
import { BasicDataService } from '../../services/basic.service';
import { KnowledgeService } from '../../services/knowledge.service';
import { SettingService } from '../../services/setting.service';
import { LayoutComponent } from './layout/layout.component';

@Component({
  selector: 'app-manager',
  standalone: true,
  imports: [CommonNzModule, RouterModule, LayoutComponent],
  templateUrl: './manager.component.html',
  styleUrl: './manager.component.less',
  animations: [verticalInOutRelative],
})
export class ManagerComponent {
  loading = false;
  constructor(
    private readonly settings: SettingService,
    private readonly basic: BasicDataService,
    private readonly knowledge: KnowledgeService
  ) {
    basic.init();
    knowledge.init();
  }
}
