file positions
This commit is contained in:
parent
f429138a1f
commit
416312a1e7
|
@ -1,6 +1,6 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
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 { AppComponent } from './app.component';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
|
|
|
@ -18,7 +18,7 @@ export class FilterPipe implements PipeTransform {
|
|||
|
||||
return items.filter(obj => {
|
||||
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);
|
||||
});
|
||||
}
|
|
@ -1,11 +1,10 @@
|
|||
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 { 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 { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||
import { ContextParam } from '../is.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-contexts',
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
</span>
|
||||
</p>
|
||||
</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>
|
||||
</tr>
|
||||
<tr *ngIf="r.consenttermsofuse">
|
||||
|
|
|
@ -16,3 +16,9 @@
|
|||
.dsm-result-table th {
|
||||
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 { BrowseTerm, Datasource, KeyValue } from '../is.model';
|
||||
import { ISService } from '../is.service';
|
||||
import { Page, BrowseTerm, Datasource, KeyValue } from '../common/is.model';
|
||||
import { ISService } from '../common/is.service';
|
||||
import { ActivatedRoute, Params } from '@angular/router';
|
||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { combineLatest } from 'rxjs';
|
||||
import { Page } from '../is.model';
|
||||
import { Router } from '@angular/router';
|
||||
import { PageEvent } from '@angular/material/paginator';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-dsm-search',
|
||||
templateUrl: './dsm-search.component.html',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { ISService } from '../is.service';
|
||||
import { ISService } from '../common/is.service';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { Module } from '../is.model';
|
||||
import { Module } from '../common/is.model';
|
||||
|
||||
export interface KeyValueDatasource {
|
||||
name: string;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Component, ViewChild } from '@angular/core';
|
||||
import { ResourceType } from '../is.model';
|
||||
import { ISService } from '../is.service';
|
||||
import { ResourceType } from '../common/is.model';
|
||||
import { ISService } from '../common/is.service';
|
||||
import { MatAccordion } from '@angular/material/expansion';
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { ISService } from '../is.service';
|
||||
import { ISService } from '../common/is.service';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { Protocol, ProtocolParams } from '../is.model';
|
||||
import { Protocol, ProtocolParams } from '../common/is.model';
|
||||
|
||||
export interface ProtocolDatasource {
|
||||
protocol: string;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { ISService } from '../is.service';
|
||||
import { ISService } from '../common/is.service';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
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';
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
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 { 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 { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||
import { VocabularyTerm } from '../is.model';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
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 { MatSort } from '@angular/material/sort';
|
||||
import { WfHistoryEntry } from '../is.model';
|
||||
import { WfHistoryEntry, KeyValue } from '../common/is.model';
|
||||
import { ActivatedRoute, Params } from '@angular/router';
|
||||
import { combineLatest } from 'rxjs';
|
||||
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||
import { KeyValue } from '../is.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-wf-history',
|
||||
|
|
Loading…
Reference in New Issue