chore: refactor install and setup wizards (#2561)

* chore: refactor install and setup wizards

* chore: return tui-root
This commit is contained in:
Alex Inkin
2024-02-22 17:58:01 +04:00
committed by GitHub
parent 69d5f521a5
commit 7b41b295b7
109 changed files with 1863 additions and 3538 deletions

View File

@@ -0,0 +1,20 @@
import { ChangeDetectionStrategy, Component, inject } from '@angular/core'
import { Router } from '@angular/router'
import { InitializingComponent } from '@start9labs/shared'
import { StateService } from 'src/app/services/state.service'
@Component({
standalone: true,
template: `
<app-initializing
[setupType]="stateService.setupType"
(finished)="router.navigate(['success'])"
/>
`,
imports: [InitializingComponent],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class LoadingPage {
readonly stateService = inject(StateService)
readonly router = inject(Router)
}