-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make components standalone and clean up routing of ImportModule
- Loading branch information
Showing
32 changed files
with
223 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
...app/features/import/import-additional-actions/import-additional-actions.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
...eatures/import/import-column-mapping/date-value-mapping/date-value-mapping.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
<mat-dialog-content> | ||
<mat-form-field> | ||
<mat-label>Date format</mat-label> | ||
<input [formControl]="format" matInput/> | ||
<mat-error *ngIf="format.errors"> | ||
Format cannot parse all dates | ||
</mat-error> | ||
<input [formControl]="format" matInput /> | ||
<mat-error *ngIf="format.errors"> Format cannot parse all dates</mat-error> | ||
</mat-form-field> | ||
|
||
<mat-list> | ||
<mat-list-item | ||
*ngFor="let val of values" | ||
[ngClass]="{'invalid': !val.parsed}" | ||
[ngClass]="{ invalid: !val.parsed }" | ||
> | ||
{{ val.value }} -> {{ val.parsed | date }} | ||
</mat-list-item> | ||
</mat-list> | ||
</mat-dialog-content> | ||
|
||
<mat-dialog-actions> | ||
<button mat-raised-button color="accent" (click)="save()">Save & Close</button> | ||
<button mat-raised-button color="accent" (click)="save()"> | ||
Save & Close | ||
</button> | ||
<button mat-stroked-button matDialogClose>Cancel</button> | ||
</mat-dialog-actions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 22 additions & 2 deletions
24
.../features/import/import-column-mapping/date-value-mapping/date-value-mapping.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 16 additions & 1 deletion
17
.../features/import/import-column-mapping/enum-value-mapping/enum-value-mapping.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.