file positions
This commit is contained in:
parent
f429138a1f
commit
416312a1e7
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { BrowserModule } from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
import { FilterPipe } from './pipes/filter.pipe';
|
import { FilterPipe } from './common/filter.pipe';
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||||
|
|
|
@ -18,7 +18,7 @@ export class FilterPipe implements PipeTransform {
|
||||||
|
|
||||||
return items.filter(obj => {
|
return items.filter(obj => {
|
||||||
return Object.keys(obj).reduce((acc, curr) => {
|
return Object.keys(obj).reduce((acc, curr) => {
|
||||||
return acc || String(obj[curr]).toLowerCase().includes(searchText);
|
return acc || JSON.stringify(obj[curr]).toLowerCase().includes(searchText);
|
||||||
}, false);
|
}, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
|
@ -1,11 +1,10 @@
|
||||||
import { Component, Inject,AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
import { Component, Inject,AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { Context, ContextNode } from '../is.model';
|
import { Context, ContextParam, ContextNode } from '../common/is.model';
|
||||||
import { ActivatedRoute, Params } from '@angular/router';
|
import { ActivatedRoute, Params } from '@angular/router';
|
||||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
import { ContextParam } from '../is.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-contexts',
|
selector: 'app-contexts',
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<a mat-raised-button color="primary" [routerLink]="['/dsm/addApi']" [queryParams]="{dsId: r.id, dsName: r.name}">add api</a>
|
<button mat-raised-button color="primary" [routerLink]="['/dsm/addApi']" [queryParams]="{dsId: r.id, dsName: r.name}">add api</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr *ngIf="r.consenttermsofuse">
|
<tr *ngIf="r.consenttermsofuse">
|
||||||
|
|
|
@ -16,3 +16,9 @@
|
||||||
.dsm-result-table th {
|
.dsm-result-table th {
|
||||||
width: 20em;
|
width: 20em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dsm-result-table td button {
|
||||||
|
font-size: 0.8em !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
height: 2.5em !important;
|
||||||
|
}
|
|
@ -1,16 +1,14 @@
|
||||||
import { Component, Inject, OnInit, ViewChild } from '@angular/core';
|
import { Component, Inject, OnInit, ViewChild } from '@angular/core';
|
||||||
import { BrowseTerm, Datasource, KeyValue } from '../is.model';
|
import { Page, BrowseTerm, Datasource, KeyValue } from '../common/is.model';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { ActivatedRoute, Params } from '@angular/router';
|
import { ActivatedRoute, Params } from '@angular/router';
|
||||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { combineLatest } from 'rxjs';
|
import { combineLatest } from 'rxjs';
|
||||||
import { Page } from '../is.model';
|
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { PageEvent } from '@angular/material/paginator';
|
import { PageEvent } from '@angular/material/paginator';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-dsm-search',
|
selector: 'app-dsm-search',
|
||||||
templateUrl: './dsm-search.component.html',
|
templateUrl: './dsm-search.component.html',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { Module } from '../is.model';
|
import { Module } from '../common/is.model';
|
||||||
|
|
||||||
export interface KeyValueDatasource {
|
export interface KeyValueDatasource {
|
||||||
name: string;
|
name: string;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Component, ViewChild } from '@angular/core';
|
import { Component, ViewChild } from '@angular/core';
|
||||||
import { ResourceType } from '../is.model';
|
import { ResourceType } from '../common/is.model';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatAccordion } from '@angular/material/expansion';
|
import { MatAccordion } from '@angular/material/expansion';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { Protocol, ProtocolParams } from '../is.model';
|
import { Protocol, ProtocolParams } from '../common/is.model';
|
||||||
|
|
||||||
export interface ProtocolDatasource {
|
export interface ProtocolDatasource {
|
||||||
protocol: string;
|
protocol: string;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { Component, Inject, OnInit } from '@angular/core';
|
import { Component, Inject, OnInit } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
import { ResourceType, SimpleResource } from '../is.model';
|
import { ResourceType, SimpleResource } from '../common/is.model';
|
||||||
import { FormControl, FormGroup } from '@angular/forms';
|
import { FormControl, FormGroup } from '@angular/forms';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
import { Component, Inject, AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
import { Component, Inject, AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatTable, MatTableDataSource } from '@angular/material/table';
|
import { MatTable, MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { Vocabulary, VocabularyTermSynonym } from '../is.model';
|
import { Vocabulary, VocabularyTerm, VocabularyTermSynonym } from '../common/is.model';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
import { VocabularyTerm } from '../is.model';
|
|
||||||
import { FormControl, FormGroup } from '@angular/forms';
|
import { FormControl, FormGroup } from '@angular/forms';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
import { Component, Inject,AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
import { Component, Inject,AfterViewInit, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ISService } from '../is.service';
|
import { ISService } from '../common/is.service';
|
||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { WfHistoryEntry } from '../is.model';
|
import { WfHistoryEntry, KeyValue } from '../common/is.model';
|
||||||
import { ActivatedRoute, Params } from '@angular/router';
|
import { ActivatedRoute, Params } from '@angular/router';
|
||||||
import { combineLatest } from 'rxjs';
|
import { combineLatest } from 'rxjs';
|
||||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
import { KeyValue } from '../is.model';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-wf-history',
|
selector: 'app-wf-history',
|
||||||
|
|
Loading…
Reference in New Issue