-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1fad61
commit b7685ed
Showing
37 changed files
with
442 additions
and
108 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<app-datatable-page | ||
[page]="page" | ||
[columns]="columns" | ||
[servlet]="servlet" | ||
[selectedRows]="selectedRows"> | ||
|
||
</app-datatable-page> |
Empty file.
25 changes: 25 additions & 0 deletions
25
src/app/feat-design/datalibrary/datalibrary.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { DatalibraryComponent } from './datalibrary.component'; | ||
|
||
describe('DatalibraryComponent', () => { | ||
let component: DatalibraryComponent; | ||
let fixture: ComponentFixture<DatalibraryComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ DatalibraryComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(DatalibraryComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
157 changes: 157 additions & 0 deletions
157
src/app/feat-design/datalibrary/datalibrary.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Column } from 'src/app/shared/model/column.model'; | ||
import { TestService } from 'src/app/core/services/crud/test.service'; | ||
import { InvariantsService } from 'src/app/core/services/crud/invariants.service'; | ||
import { LabelfilteringPipe } from 'src/app/shared/pipes/labelfiltering.pipe'; | ||
import { SystemService } from 'src/app/core/services/crud/system.service'; | ||
import { FilterService } from 'src/app/core/services/crud/filter.service'; | ||
import { Filter } from 'src/app/shared/model/filter.model'; | ||
|
||
@Component({ | ||
selector: 'app-datalibrary', | ||
templateUrl: './datalibrary.component.html', | ||
styleUrls: ['./datalibrary.component.scss'] | ||
}) | ||
export class DatalibraryComponent implements OnInit { | ||
|
||
columns: Array<Column> = [ | ||
{ | ||
displayName: "ID", | ||
contentName: '', | ||
active: true | ||
,sSearch : []}, | ||
{ | ||
displayName: "Name", | ||
contentName: '', | ||
active: true | ||
,sSearch : []}, | ||
{ | ||
displayName: "System", | ||
contentName: '', | ||
active: true | ||
,sSearch : []}, | ||
{ | ||
displayName: "Environment", | ||
contentName: '', | ||
active: true | ||
,sSearch : []}, | ||
{ | ||
displayName: "Country", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Group", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Description", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Type", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Value", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Database", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Script", | ||
contentName: '', | ||
active: false, | ||
width: 300 | ||
,sSearch : []}, | ||
{ | ||
displayName: "Database", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Service Path", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Operation", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Envelope", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "C SV URL", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Separator", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Creation Date", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Creator", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Modification Date", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Last Modifier", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Column", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Parsing Answer", | ||
contentName: '', | ||
active: false | ||
,sSearch : []}, | ||
{ | ||
displayName: "Column Position", | ||
contentName: '', | ||
active: false | ||
,sSearch : []} | ||
]; | ||
page = { | ||
size: 10, //maximum element per page | ||
number: 1, //number of current page | ||
sort: [{dir: "asc", prop : "id"}], //sort item | ||
totalCount: 0 //total count of element in database | ||
}; | ||
rows = []; | ||
selectedRows = []; | ||
filterList: Array<Filter> = []; | ||
globalSearch = ''; // value in global search field | ||
filterTest: any; // | ||
servlet = '/ReadTestDataLib'; | ||
|
||
constructor(private testService: TestService, private invariantsService: InvariantsService, private labelfilteringPipe: LabelfilteringPipe, private systemService: SystemService, private filterService: FilterService) { } | ||
|
||
ngOnInit() { } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.