From fdd10024857579047fcb7b38f65c26894592b720 Mon Sep 17 00:00:00 2001 From: Shay Hadar Date: Sun, 12 Dec 2021 10:04:40 +0200 Subject: [PATCH] minor compilation issues --- .../src/app/catalog/main/main.component.html | 2 +- .../src/app/catalog/main/main.component.ts | 24 +++++++++---------- .../result-card/result-card.component.ts | 4 ++-- .../results-list/results-list.component.ts | 2 +- .../search-form/search-form.component.ts | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cloudapp/src/app/catalog/main/main.component.html b/cloudapp/src/app/catalog/main/main.component.html index a788e3b..4b96d3b 100644 --- a/cloudapp/src/app/catalog/main/main.component.html +++ b/cloudapp/src/app/catalog/main/main.component.html @@ -79,7 +79,7 @@

{{'Catalog.Results.NoRecordsExist' | translate}}

diff --git a/cloudapp/src/app/catalog/main/main.component.ts b/cloudapp/src/app/catalog/main/main.component.ts index c7f470d..e9a4634 100644 --- a/cloudapp/src/app/catalog/main/main.component.ts +++ b/cloudapp/src/app/catalog/main/main.component.ts @@ -50,28 +50,28 @@ export class CatalogMainComponent implements AfterViewInit { private linkSearchType: SearchType; // UI variables - private panelState: boolean = true; - private loading: boolean = false; - private isRightTableOpen: boolean = false; - private isColapsedMode: boolean = true; + public panelState: boolean = true; + public loading: boolean = false; + public isRightTableOpen: boolean = false; + public isColapsedMode: boolean = true; // Search variables private catalogResultsData: NacsisCatalogResults; - private numOfResults: number; - private pageIndex: number = 0; - private pageSize: number = 20; + public numOfResults: number; + public pageIndex: number = 0; + public pageSize: number = 20; // Display variables - private resultsSummaryDisplay: Array; - private resultFullDisplay; - private resultFullLinkDisplay; + public resultsSummaryDisplay: Array; + public resultFullDisplay; + public resultFullLinkDisplay; // Templates @ViewChild('notSearched') notSearchedTmpl:TemplateRef; @ViewChild('searchResults') searchResultsTmpl:TemplateRef; @ViewChild('noResults') noResultsTmpl:TemplateRef; @ViewChild('fullRecord') fullRecordTmpl:TemplateRef; - private currentResulsTmpl: TemplateRef; + public currentResulsTmpl: TemplateRef; constructor( @@ -216,7 +216,7 @@ export class CatalogMainComponent implements AfterViewInit { /*** Summary View Section ***/ - private getActionMenu() { + public getActionMenu() { return this.ACTIONS_MENU_LIST.get(this.currentSearchType); } diff --git a/cloudapp/src/app/user-controls/result-card/result-card.component.ts b/cloudapp/src/app/user-controls/result-card/result-card.component.ts index a34c0c2..d6537f2 100644 --- a/cloudapp/src/app/user-controls/result-card/result-card.component.ts +++ b/cloudapp/src/app/user-controls/result-card/result-card.component.ts @@ -16,8 +16,8 @@ export class ResultCardComponent implements OnInit { @Input() resultActionList: Array = new Array(); @Output() onActionSelected = new EventEmitter(); @Output() onTitleSelected = new EventEmitter(); - private titleDisplay: Array; - private contentDisplay: Array; + public titleDisplay: Array; + public contentDisplay: Array; constructor() { } diff --git a/cloudapp/src/app/user-controls/results-list/results-list.component.ts b/cloudapp/src/app/user-controls/results-list/results-list.component.ts index d0a79ba..6f181f3 100644 --- a/cloudapp/src/app/user-controls/results-list/results-list.component.ts +++ b/cloudapp/src/app/user-controls/results-list/results-list.component.ts @@ -22,7 +22,7 @@ export class ResultsListComponent implements OnChanges, AfterViewInit { @Output() onPageSelected = new EventEmitter(); @ViewChild(MatPaginator) paginator: MatPaginator; - private recordIndex: number; + public recordIndex: number; constructor() { } diff --git a/cloudapp/src/app/user-controls/search-form/search-form.component.ts b/cloudapp/src/app/user-controls/search-form/search-form.component.ts index b19ba71..61e62ac 100644 --- a/cloudapp/src/app/user-controls/search-form/search-form.component.ts +++ b/cloudapp/src/app/user-controls/search-form/search-form.component.ts @@ -14,7 +14,7 @@ export class SearchFormComponent implements OnChanges { @Input() databasesList: Array = new Array(); @Input() fieldsList: Array = new Array(); @Output() selectedDatabase = new EventEmitter(); - private defaultDatabase ; + public defaultDatabase ; constructor() { }