Skip to content

Commit 7238264

Browse files
Mariela TihovaMariela Tihova
authored andcommitted
Adding new folders structure for views
1 parent e1628f0 commit 7238264

15 files changed

Lines changed: 123 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<app-erp></app-erp>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:host {
2+
display: block;
3+
height: 100%;
4+
width: 100%;
5+
6+
// Needed because of routing animations keeping both views in DOM even after OnDestroy (https://github.com/angular/angular/issues/19742)
7+
// This is a fix for a bug with horizontal flickering due display: flex of the container positions each view next to each other
8+
// causing their height or width be incorrect (https://github.com/IgniteUI/grid-demos/issues/60)
9+
position: absolute;
10+
top: 0;
11+
left: 0;
12+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Component } from '@angular/core';
2+
import { AppComponent } from 'projects/grids/erp-hgrid/src/app/app.component';
3+
4+
@Component({
5+
standalone: true,
6+
selector: 'erp-hgrid-view',
7+
templateUrl: './erp-hgrid-view.component.html',
8+
styleUrl: './erp-hgrid-view.component.scss',
9+
imports: [AppComponent],
10+
})
11+
export class ErpHGridViewComponent {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<app-finance></app-finance>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:host {
2+
display: block;
3+
height: 100%;
4+
width: 100%;
5+
6+
// Needed because of routing animations keeping both views in DOM even after OnDestroy (https://github.com/angular/angular/issues/19742)
7+
// This is a fix for a bug with horizontal flickering due display: flex of the container positions each view next to each other
8+
// causing their height or width be incorrect (https://github.com/IgniteUI/grid-demos/issues/60)
9+
position: absolute;
10+
top: 0;
11+
left: 0;
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Component } from '@angular/core';
2+
import { AppComponent } from 'projects/grids/finance-grid/src/app/app.component';
3+
4+
@Component({
5+
standalone: true,
6+
selector: 'finance-view',
7+
imports: [AppComponent],
8+
templateUrl: './finance-view.component.html',
9+
styleUrl: './finance-view.component.scss'
10+
})
11+
export class FinanceViewComponent {
12+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<app-fleet-management></app-fleet-management>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:host {
2+
display: block;
3+
height: 100%;
4+
width: 100%;
5+
6+
// Needed because of routing animations keeping both views in DOM even after OnDestroy (https://github.com/angular/angular/issues/19742)
7+
// This is a fix for a bug with horizontal flickering due display: flex of the container positions each view next to each other
8+
// causing their height or width be incorrect (https://github.com/IgniteUI/grid-demos/issues/60)
9+
position: absolute;
10+
top: 0;
11+
left: 0;
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Component } from '@angular/core';
2+
import { AppComponent } from 'projects/grids/fleet-management-grid/src/app/app.component';
3+
4+
@Component({
5+
standalone: true,
6+
selector: 'fleet-management-view',
7+
imports: [AppComponent],
8+
templateUrl: './fleet-management-view.component.html',
9+
styleUrl: './fleet-management-view.component.scss',
10+
})
11+
export class FleetManagementViewComponent {
12+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<app-hr></app-hr>

0 commit comments

Comments
 (0)