From 7f4631cf2ebf2c8e3fe6601658007c288a4a601e Mon Sep 17 00:00:00 2001 From: chinonso098 Date: Wed, 25 Sep 2024 23:25:38 -0400 Subject: [PATCH] moved window component to shared-components --- src/app/app.component.spec.ts | 2 +- src/app/app.module.ts | 4 ++-- .../system-component/properties/properties.component.html | 2 +- .../system-component}/window/animation/animations.ts | 0 .../window/window.btn.highlight.directives.ts | 0 .../system-component}/window/window.component.css | 0 .../system-component}/window/window.component.html | 0 .../system-component}/window/window.component.spec.ts | 0 .../system-component}/window/window.component.ts | 2 +- src/app/system-apps/taskbar/taskbar.component.ts | 5 ++++- .../system-apps/taskbarentries/taskbarentries.component.ts | 4 +++- src/app/system-apps/terminal/terminal.component.ts | 4 +++- 12 files changed, 15 insertions(+), 8 deletions(-) rename src/app/{system-apps => shared/system-component}/window/animation/animations.ts (100%) rename src/app/{system-apps => shared/system-component}/window/window.btn.highlight.directives.ts (100%) rename src/app/{system-apps => shared/system-component}/window/window.component.css (100%) rename src/app/{system-apps => shared/system-component}/window/window.component.html (100%) rename src/app/{system-apps => shared/system-component}/window/window.component.spec.ts (100%) rename src/app/{system-apps => shared/system-component}/window/window.component.ts (99%) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 54d4f0b4..be01903b 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -2,7 +2,7 @@ import {TestBed} from '@angular/core/testing'; import {AppComponent} from './app.component'; import {TitleComponent } from './user-apps/title/title.component'; import {DesktopComponent} from './system-apps/desktop/desktop.component'; -import {WindowComponent} from './system-apps/window/window.component' +import {WindowComponent} from './shared/system-component/window/window.component' describe('AppComponent', () => { beforeEach(async () => { diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5bcf6b75..1a5cf09f 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -16,7 +16,7 @@ import { TaskBarPreviewComponent } from './system-apps/taskbarpreview/taskbarpre import { TaskBarEntriesComponent } from './system-apps/taskbarentries/taskbarentries.component'; import { TaskBarEntryComponent } from './system-apps/taskbarentry/taskbarentry.component'; import { FileExplorerComponent } from './system-apps/fileexplorer/fileexplorer.component'; -import { WindowComponent } from './system-apps/window/window.component'; +import { WindowComponent } from './shared/system-component/window/window.component'; import { FileManagerComponent } from './system-apps/filemanager/filemanager.component'; import { GreetingComponent } from './user-apps/greeting/greeting.component'; import { TaskmanagerComponent } from './system-apps/taskmanager/taskmanager.component'; @@ -38,7 +38,7 @@ import { FileTreeViewComponent } from './shared/system-component/filetreeview/fi import { SafeUrlPipe } from './shared/system-pipes/safe.resource.url.pipe'; import { TruncatePipe } from './shared/system-pipes/string.shorten.pipe'; -import { HighlightDirective } from './system-apps/window/window.btn.highlight.directives'; +import { HighlightDirective } from './shared/system-component/window/window.btn.highlight.directives'; import { TaskBarEntryHighlightDirective } from './system-apps/taskbarentries/taskbar.entry.highlight.directives'; import { LongPressDirective } from './system-apps/audioplayer/long.press.directive'; import { ColumnResizeDirective } from './system-apps/taskmanager/taskmanager.column-resize.directive'; diff --git a/src/app/shared/system-component/properties/properties.component.html b/src/app/shared/system-component/properties/properties.component.html index 8c949590..95449759 100644 --- a/src/app/shared/system-component/properties/properties.component.html +++ b/src/app/shared/system-component/properties/properties.component.html @@ -106,7 +106,7 @@