[ADF-1502] Fixes for AoT checks in Angular CLI (#2282)

* Fixes for AoT checks in Angular CLI

* login fixes

- aot compatibility
- fix copyright symbol
- fix toggling password (operates within the component instead of the whole document)
- remove old MDL calls on error style check

* Search fixes

* login test fixes

* form fixes

- add WidgetComponent to the module
- remove missing 'focus' property from Hyperlink widget template/style

* task-list fixes

* process-list fixes

* analytics fixes
This commit is contained in:
Denys Vuika
2017-09-04 09:28:21 +01:00
committed by Mario Romano
parent 1ffb4619cb
commit ffbfc8b87a
21 changed files with 179 additions and 109 deletions

View File

@@ -20,7 +20,7 @@
</i>
</li>
</div>
<div *ngIf="!folderNode && root">
<div *ngIf="!folderNode && hasRoot">
<li class="adf-breadcrumb-item">
<div class="adf-breadcrumb-item-current">
{{ root }}

View File

@@ -41,6 +41,10 @@ export class BreadcrumbComponent implements OnChanges {
route: PathElementEntity[] = [];
get hasRoot(): boolean {
return !!this.root;
}
@Output()
navigate: EventEmitter<PathElementEntity> = new EventEmitter<PathElementEntity>();

View File

@@ -49,14 +49,13 @@
[node]="nodes"
[rowFilter]="rowFilter"
[imageResolver]="imageResolver"
[permissionsStyle]="permissionsStyle"
[currentFolderId]="folderIdToShow"
[selectionMode]="'single'"
selectionMode="single"
[contextMenuActions]="false"
[contentActions]="false"
[allowDropFiles]="false"
[enablePagination]="!showingSearchResults"
(folderChange)="onFolderChange($event)"
(folderChange)="onFolderChange()"
(ready)="onFolderLoaded()"
data-automation-id="content-node-selector-document-list">
<empty-folder-content>