From 10a48df3a1c409eb65b7f7700c8b2cdde72e9037 Mon Sep 17 00:00:00 2001 From: "sqrd.max" Date: Wed, 16 Oct 2024 19:07:18 +0300 Subject: [PATCH] Project refactoring move tree window component --- .../geometry-tree-window/geometry-tree-window.component.html | 0 .../geometry-tree-window/geometry-tree-window.component.scss | 0 .../geometry-tree-window.component.spec.ts | 0 .../geometry-tree-window/geometry-tree-window.component.ts | 2 +- .../src/app/pages/main-display/main-display.component.ts | 3 +-- 5 files changed, 2 insertions(+), 3 deletions(-) rename firebird-ng/src/app/{pages/geometry-tree => components}/geometry-tree-window/geometry-tree-window.component.html (100%) rename firebird-ng/src/app/{pages/geometry-tree => components}/geometry-tree-window/geometry-tree-window.component.scss (100%) rename firebird-ng/src/app/{pages/geometry-tree => components}/geometry-tree-window/geometry-tree-window.component.spec.ts (100%) rename firebird-ng/src/app/{pages/geometry-tree => components}/geometry-tree-window/geometry-tree-window.component.ts (98%) diff --git a/firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.html b/firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.html similarity index 100% rename from firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.html rename to firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.html diff --git a/firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.scss b/firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.scss similarity index 100% rename from firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.scss rename to firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.scss diff --git a/firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.spec.ts b/firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.spec.ts similarity index 100% rename from firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.spec.ts rename to firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.spec.ts diff --git a/firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.ts b/firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.ts similarity index 98% rename from firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.ts rename to firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.ts index bb70b45..0b89bba 100644 --- a/firebird-ng/src/app/pages/geometry-tree/geometry-tree-window/geometry-tree-window.component.ts +++ b/firebird-ng/src/app/components/geometry-tree-window/geometry-tree-window.component.ts @@ -1,7 +1,7 @@ import { Component, ElementRef, ViewChild, AfterViewInit, OnDestroy, Renderer2 } from '@angular/core'; import { MatIconButton } from "@angular/material/button"; import { MatIcon } from "@angular/material/icon"; -import { SceneTreeComponent } from "../scene-tree.component"; +import { SceneTreeComponent } from "../../pages/geometry-tree/scene-tree.component"; import { NgIf } from "@angular/common"; @Component({ diff --git a/firebird-ng/src/app/pages/main-display/main-display.component.ts b/firebird-ng/src/app/pages/main-display/main-display.component.ts index 7fe38ad..c404794 100644 --- a/firebird-ng/src/app/pages/main-display/main-display.component.ts +++ b/firebird-ng/src/app/pages/main-display/main-display.component.ts @@ -41,7 +41,6 @@ import {MatTooltip} from "@angular/material/tooltip"; import {MatSnackBar} from "@angular/material/snack-bar" import {MatFormField} from "@angular/material/form-field"; import {MatOption, MatSelect} from "@angular/material/select"; -import {GeometryTreeWindowComponent} from "../geometry-tree/geometry-tree-window/geometry-tree-window.component"; import {DataModelService} from "../../services/data-model.service"; import {AngularSplitModule} from "angular-split"; import {SceneTreeComponent} from "../geometry-tree/scene-tree.component"; @@ -56,7 +55,7 @@ import {AppComponent} from "../../app.component"; @Component({ selector: 'app-test-experiment', templateUrl: './main-display.component.html', - imports: [PhoenixUIModule, IoOptionsComponent, MatSlider, MatIcon, MatButton, MatSliderThumb, DecimalPipe, MatTooltip, MatFormField, MatSelect, MatOption, NgForOf, GeometryTreeWindowComponent, AngularSplitModule, SceneTreeComponent, NgClass, MatIconButton, DisplayShellComponent, AppComponent, RouterOutlet, RouterLink], + imports: [PhoenixUIModule, IoOptionsComponent, MatSlider, MatIcon, MatButton, MatSliderThumb, DecimalPipe, MatTooltip, MatFormField, MatSelect, MatOption, NgForOf, AngularSplitModule, SceneTreeComponent, NgClass, MatIconButton, DisplayShellComponent, AppComponent, RouterOutlet, RouterLink], standalone: true, styleUrls: ['./main-display.component.scss'] })