[Library]: Change dataProvider class base on new API call
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57354 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
1b6eb9cdd0
commit
299a2bbb61
|
@ -4,15 +4,15 @@ export class ContentProvider {
|
|||
communityId: string;
|
||||
name: string;
|
||||
officialname: string;
|
||||
selcrit: SelCrit;
|
||||
selectioncriteria: string;
|
||||
}
|
||||
|
||||
export class SelCrit {
|
||||
export class SelectionCriteria {
|
||||
criteria: Criteria[] = [];
|
||||
}
|
||||
|
||||
export class Criteria {
|
||||
constraint: Constraint[] = [];
|
||||
sc: Constraint[] = [];
|
||||
}
|
||||
|
||||
export class Constraint {
|
||||
|
|
|
@ -59,8 +59,6 @@ export class ClickOutsideOrEsc implements OnInit, OnDestroy {
|
|||
|
||||
onGlobalClick(event: MouseEvent) {
|
||||
if (event instanceof MouseEvent && this.listening === true) {
|
||||
console.info(typeof event.target);
|
||||
console.info(event.target);
|
||||
if (event.target['id'] != this.targetId) {
|
||||
this.clickOutside.emit({
|
||||
target: (event.target || null),
|
||||
|
|
Loading…
Reference in New Issue