feat(loading screen): add angular wrapper

This commit is contained in:
2026-01-03 00:20:02 -03:00
parent a870e875c8
commit 5e1e453b0b
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
<scan-loading-screen></scan-loading-screen>

View File

@@ -0,0 +1,6 @@
:host {
display: flex;
height: 100%;
position: absolute;
width: 100%;
}

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ScanLoadingScreen } from './scan-loading-screen';
describe('ScanLoadingScreen', () => {
let component: ScanLoadingScreen;
let fixture: ComponentFixture<ScanLoadingScreen>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ScanLoadingScreen]
})
.compileComponents();
fixture = TestBed.createComponent(ScanLoadingScreen);
component = fixture.componentInstance;
await fixture.whenStable();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,12 @@
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
@Component({
selector: 'app-scan-loading-screen',
imports: [],
templateUrl: './scan-loading-screen.html',
styleUrl: './scan-loading-screen.scss',
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ScanLoadingScreen {
}