From 5e1e453b0b8ce121858632e17f9f0a8a6be30850 Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Sat, 3 Jan 2026 00:20:02 -0300 Subject: [PATCH] feat(loading screen): add angular wrapper --- .../scan-loading-screen.html | 1 + .../scan-loading-screen.scss | 6 +++++ .../scan-loading-screen.spec.ts | 23 +++++++++++++++++++ .../scan-loading-screen.ts | 12 ++++++++++ 4 files changed, 42 insertions(+) create mode 100644 src/app/components/scan-loading-screen/scan-loading-screen.html create mode 100644 src/app/components/scan-loading-screen/scan-loading-screen.scss create mode 100644 src/app/components/scan-loading-screen/scan-loading-screen.spec.ts create mode 100644 src/app/components/scan-loading-screen/scan-loading-screen.ts diff --git a/src/app/components/scan-loading-screen/scan-loading-screen.html b/src/app/components/scan-loading-screen/scan-loading-screen.html new file mode 100644 index 0000000..e192e46 --- /dev/null +++ b/src/app/components/scan-loading-screen/scan-loading-screen.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/components/scan-loading-screen/scan-loading-screen.scss b/src/app/components/scan-loading-screen/scan-loading-screen.scss new file mode 100644 index 0000000..0511e85 --- /dev/null +++ b/src/app/components/scan-loading-screen/scan-loading-screen.scss @@ -0,0 +1,6 @@ +:host { + display: flex; + height: 100%; + position: absolute; + width: 100%; +} diff --git a/src/app/components/scan-loading-screen/scan-loading-screen.spec.ts b/src/app/components/scan-loading-screen/scan-loading-screen.spec.ts new file mode 100644 index 0000000..4717f75 --- /dev/null +++ b/src/app/components/scan-loading-screen/scan-loading-screen.spec.ts @@ -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; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ScanLoadingScreen] + }) + .compileComponents(); + + fixture = TestBed.createComponent(ScanLoadingScreen); + component = fixture.componentInstance; + await fixture.whenStable(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/scan-loading-screen/scan-loading-screen.ts b/src/app/components/scan-loading-screen/scan-loading-screen.ts new file mode 100644 index 0000000..806990c --- /dev/null +++ b/src/app/components/scan-loading-screen/scan-loading-screen.ts @@ -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 { + +}