HtmlToPlaintext pipe,
images added to assets, @angular/flex-layout package version updated, some workin on the mail app..
							
								
								
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						| @ -361,9 +361,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "@angular/flex-layout": { | ||||
|       "version": "2.0.0-rc.1", | ||||
|       "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-2.0.0-rc.1.tgz", | ||||
|       "integrity": "sha1-lvp/hbLEus8nhJE6LWB+LtI9x/E=" | ||||
|       "version": "2.0.0-beta.8", | ||||
|       "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-2.0.0-beta.8.tgz", | ||||
|       "integrity": "sha1-uc9XhlqTyhWP5W2FCVJCPySNEDs=" | ||||
|     }, | ||||
|     "@angular/forms": { | ||||
|       "version": "4.3.0", | ||||
|  | ||||
| @ -17,7 +17,7 @@ | ||||
|     "@angular/common": "^4.3.0", | ||||
|     "@angular/compiler": "^4.3.0", | ||||
|     "@angular/core": "^4.3.0", | ||||
|     "@angular/flex-layout": "^2.0.0-rc.1", | ||||
|     "@angular/flex-layout": "^2.0.0-beta.8", | ||||
|     "@angular/forms": "^4.3.0", | ||||
|     "@angular/http": "^4.3.0", | ||||
|     "@angular/material": "^2.0.0-beta.8", | ||||
|  | ||||
| @ -9,12 +9,14 @@ import { | ||||
| } from '../directives/md-sidenav-helper/md-sidenav-helper.directive'; | ||||
| import {PerfectScrollbarModule} from 'ngx-perfect-scrollbar'; | ||||
| import {KeysPipe} from '../pipes/keys'; | ||||
| import {HtmlToPlaintextPipe} from '../pipes//htmlToPlaintext'; | ||||
| 
 | ||||
| @NgModule({ | ||||
|     declarations: [ | ||||
|         FuseMdSidenavHelperDirective, | ||||
|         FuseMdSidenavTogglerDirective, | ||||
|         KeysPipe | ||||
|         KeysPipe, | ||||
|         HtmlToPlaintextPipe | ||||
|     ], | ||||
|     imports     : [ | ||||
|         FlexLayoutModule, | ||||
| @ -31,7 +33,8 @@ import {KeysPipe} from '../pipes/keys'; | ||||
|         FuseMdSidenavHelperDirective, | ||||
|         FuseMdSidenavTogglerDirective, | ||||
|         PerfectScrollbarModule, | ||||
|         KeysPipe | ||||
|         KeysPipe, | ||||
|         HtmlToPlaintextPipe | ||||
|     ] | ||||
| }) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										10
									
								
								src/app/core/pipes/htmlToPlaintext.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,10 @@ | ||||
| import {Pipe, PipeTransform} from '@angular/core'; | ||||
| 
 | ||||
| @Pipe({name: 'htmlToPlaintext'}) | ||||
| export class HtmlToPlaintextPipe implements PipeTransform | ||||
| { | ||||
|     transform(value: string, args: any[] = []) | ||||
|     { | ||||
|         return value ? String(value).replace(/<[^>]+>/gm, '') : ''; | ||||
|     } | ||||
| } | ||||
| @ -21,6 +21,7 @@ | ||||
| 
 | ||||
| // Partials | ||||
| @import "partials/global"; | ||||
| @import "partials/_material"; | ||||
| @import "partials/angular-material-fix"; | ||||
| @import "partials/typography"; | ||||
| @import "partials/page-layouts"; | ||||
|  | ||||
							
								
								
									
										416
									
								
								src/app/core/scss/partials/_material.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,416 @@ | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Avatars | ||||
| /*----------------------------------------------------------------*/ | ||||
| .avatar { | ||||
|     width: 40px; | ||||
|     min-width: 40px; | ||||
|     height: 40px; | ||||
|     line-height: 40px; | ||||
|     margin: 0 8px 0 0; | ||||
|     border-radius: 50%; | ||||
|     font-size: 17px; | ||||
|     font-weight: 500; | ||||
|     text-align: center; | ||||
|     color: #FFFFFF; | ||||
| 
 | ||||
|     &.square { | ||||
|         border-radius: 0; | ||||
|     } | ||||
| 
 | ||||
|     &.small { | ||||
|         width: 20px; | ||||
|         min-width: 20px; | ||||
|         height: 20px; | ||||
|         line-height: 20px; | ||||
|     } | ||||
| 
 | ||||
|     &.big { | ||||
|         width: 72px; | ||||
|         min-width: 72px; | ||||
|         height: 72px; | ||||
|         line-height: 72px; | ||||
|     } | ||||
| 
 | ||||
|     &.huge { | ||||
|         width: 96px; | ||||
|         min-width: 96px; | ||||
|         height: 96px; | ||||
|         line-height: 96px; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Forms | ||||
| /*----------------------------------------------------------------*/ | ||||
| .form-wrapper { | ||||
|     background: #FFFFFF; | ||||
|     padding: 16px; | ||||
| 
 | ||||
|     .form-title { | ||||
|         font-size: 21px; | ||||
|         padding: 8px 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Navigation - Simple | ||||
| /*----------------------------------------------------------------*/ | ||||
| .navigation-simple { | ||||
| 
 | ||||
|     .item { | ||||
|         position: relative; | ||||
|         cursor: pointer; | ||||
|         text-align: left; | ||||
|         margin: 0; | ||||
|         padding: 0 24px; | ||||
|         text-transform: none; | ||||
|         line-height: 48px; | ||||
|         max-height: 48px; | ||||
|         height: 48px; | ||||
| 
 | ||||
|         md-icon { | ||||
|             margin: 0 16px 0 0; | ||||
|         } | ||||
| 
 | ||||
|         .title { | ||||
|             font-size: 13px; | ||||
|             font-weight: 500; | ||||
|             line-height: 1; | ||||
|         } | ||||
| 
 | ||||
|         &.selected { | ||||
|             background-color: rgba(0, 0, 0, 0.06); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     .subheader { | ||||
|         font-size: 13px; | ||||
|         border-top: 1px solid rgba(0, 0, 0, 0.12); | ||||
|         font-weight: 500; | ||||
|         margin-top: 8px; | ||||
| 
 | ||||
|         &.light { | ||||
|             border-top: 1px solid rgba(255, 255, 255, 0.12); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     md-divider { | ||||
|         margin: 8px 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Pagination | ||||
| /*----------------------------------------------------------------*/ | ||||
| .simple-pagination { | ||||
|     position: relative; | ||||
|     display: inline-flex; | ||||
|     flex-direction: row; | ||||
|     @include mat-elevation(1); | ||||
|     background-color: #FFFFFF; | ||||
|     padding: 0 8px; | ||||
| 
 | ||||
|     .pagination-item { | ||||
|         min-width: 48px; | ||||
|         min-height: 56px; | ||||
|         line-height: 56px; | ||||
|         border-radius: 0; | ||||
|         margin: 0; | ||||
|         font-weight: normal; | ||||
|         color: rgba(0, 0, 0, 0.54); | ||||
| 
 | ||||
|         &:hover { | ||||
|             color: rgba(0, 0, 0, 0.87); | ||||
|         } | ||||
| 
 | ||||
|         &.active { | ||||
|             cursor: default; | ||||
|             color: rgba(0, 0, 0, 0.87); | ||||
|         } | ||||
| 
 | ||||
|         &.disabled { | ||||
|             cursor: default; | ||||
|             color: rgba(0, 0, 0, 0.26); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Price Tables | ||||
| /*----------------------------------------------------------------*/ | ||||
| .price-tables { | ||||
| 
 | ||||
|     .price-table { | ||||
|         position: relative; | ||||
|         background-color: #FFFFFF; | ||||
|         width: 280px; | ||||
|         border-radius: 2px; | ||||
|         margin: 24px 24px 0 0; | ||||
|         overflow: hidden; | ||||
| 
 | ||||
|         &.style-1 { | ||||
| 
 | ||||
|             .package-type { | ||||
|                 font-size: 17px; | ||||
|                 padding: 16px 24px; | ||||
| 
 | ||||
|                 .sale { | ||||
|                     font-size: 13px; | ||||
|                     font-weight: 600; | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .price { | ||||
|                 padding: 32px 32px 16px 32px; | ||||
| 
 | ||||
|                 .currency { | ||||
|                     padding-right: 4px; | ||||
|                     font-size: 24px; | ||||
|                     font-weight: 500; | ||||
|                     color: rgba(0, 0, 0, 0.54); | ||||
|                 } | ||||
| 
 | ||||
|                 .value { | ||||
|                     font-size: 72px; | ||||
|                     font-weight: 300; | ||||
|                     line-height: 1; | ||||
|                 } | ||||
| 
 | ||||
|                 .period { | ||||
|                     padding: 0 0 5px 4px; | ||||
|                     font-size: 17px; | ||||
|                     color: rgba(0, 0, 0, 0.54); | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             md-divider { | ||||
|                 margin: 16px 32px; | ||||
|             } | ||||
| 
 | ||||
|             .terms { | ||||
|                 padding: 16px 32px; | ||||
|                 font-size: 15px; | ||||
| 
 | ||||
|                 .term { | ||||
| 
 | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .cta-button { | ||||
|                 margin: 16px auto 32px auto; | ||||
|                 width: 128px; | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         &.style-2 { | ||||
| 
 | ||||
|             .badge { | ||||
|                 position: absolute; | ||||
|                 top: 0; | ||||
|                 left: 50%; | ||||
|                 transform: translateX(-50%); | ||||
|                 font-size: 11px; | ||||
|                 font-weight: 500; | ||||
|                 padding: 6px 8px; | ||||
|             } | ||||
| 
 | ||||
|             .package-type { | ||||
|                 padding: 48px 32px 24px 32px; | ||||
|                 font-size: 20px; | ||||
|                 font-weight: 500; | ||||
|                 text-align: center; | ||||
|             } | ||||
| 
 | ||||
|             .price { | ||||
|                 padding: 0 32px 8px 32px; | ||||
| 
 | ||||
|                 .currency { | ||||
|                     padding-right: 4px; | ||||
|                     font-size: 24px; | ||||
|                     font-weight: 500; | ||||
|                     color: rgba(0, 0, 0, 0.54); | ||||
|                 } | ||||
| 
 | ||||
|                 .value { | ||||
|                     font-size: 56px; | ||||
|                     font-weight: 300; | ||||
|                     line-height: 1; | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .period { | ||||
|                 padding: 0 32px; | ||||
|                 font-size: 15px; | ||||
|                 font-weight: 500; | ||||
|                 color: rgba(0, 0, 0, 0.54); | ||||
|                 text-align: center; | ||||
|             } | ||||
| 
 | ||||
|             .terms { | ||||
|                 padding: 32px; | ||||
|                 font-size: 15px; | ||||
| 
 | ||||
|                 .term { | ||||
|                     padding-bottom: 8px; | ||||
| 
 | ||||
|                     &:last-child { | ||||
|                         padding-bottom: 0; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .cta-button { | ||||
|                 margin: 8px auto 32px auto; | ||||
|                 width: 128px; | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         &.style-3 { | ||||
| 
 | ||||
|             .package-type { | ||||
|                 padding: 32px; | ||||
|                 text-align: center; | ||||
| 
 | ||||
|                 .title { | ||||
|                     font-size: 34px; | ||||
|                 } | ||||
| 
 | ||||
|                 .subtitle { | ||||
|                     font-size: 17px; | ||||
|                     color: rgba(0, 0, 0, 0.54); | ||||
|                     font-weight: 500; | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .price { | ||||
|                 padding: 16px 32px; | ||||
| 
 | ||||
|                 .currency { | ||||
|                     padding-right: 4px; | ||||
|                     font-size: 15px; | ||||
|                     font-weight: 500; | ||||
|                 } | ||||
| 
 | ||||
|                 .value { | ||||
|                     font-size: 34px; | ||||
|                     font-weight: 300; | ||||
|                     line-height: 1; | ||||
|                 } | ||||
| 
 | ||||
|                 .period { | ||||
|                     padding-left: 4px; | ||||
|                     text-align: center; | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .terms { | ||||
|                 margin: 32px; | ||||
|                 font-size: 15px; | ||||
|                 color: rgba(0, 0, 0, 0.54); | ||||
| 
 | ||||
|                 .term { | ||||
|                     padding-bottom: 16px; | ||||
| 
 | ||||
|                     &:last-child { | ||||
|                         padding-bottom: 0; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| 
 | ||||
|             .cta-button { | ||||
|                 margin: 8px 32px; | ||||
|             } | ||||
| 
 | ||||
|             .note { | ||||
|                 padding: 8px 32px 16px 32px; | ||||
|                 text-align: center; | ||||
|                 color: rgba(0, 0, 0, 0.54); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /*----------------------------------------------------------------*/ | ||||
| /*  Table - Simple | ||||
| /*----------------------------------------------------------------*/ | ||||
| .simple-table-container { | ||||
|     background: #FFFFFF; | ||||
| 
 | ||||
|     .table-title { | ||||
|         font-size: 20px; | ||||
|         padding: 24px; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| table { | ||||
| 
 | ||||
|     &.simple { | ||||
|         width: 100%; | ||||
|         border: none; | ||||
|         border-spacing: 0; | ||||
|         text-align: left; | ||||
| 
 | ||||
|         thead { | ||||
| 
 | ||||
|             tr { | ||||
| 
 | ||||
|                 th { | ||||
|                     padding: 16px 8px; | ||||
|                     font-weight: 500; | ||||
|                     color: rgba(0, 0, 0, 0.54); | ||||
|                     border-bottom: 1px solid rgba(0, 0, 0, 0.12); | ||||
|                     white-space: nowrap; | ||||
|                     min-width: 120px; | ||||
| 
 | ||||
|                     &:first-child { | ||||
|                         padding-left: 24px; | ||||
|                     } | ||||
| 
 | ||||
|                     &:last-child { | ||||
|                         padding-right: 24px; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         tbody { | ||||
| 
 | ||||
|             tr { | ||||
| 
 | ||||
|                 td { | ||||
|                     padding: 16px 8px; | ||||
|                     border-bottom: 1px solid rgba(0, 0, 0, 0.12); | ||||
| 
 | ||||
|                     &:first-child { | ||||
|                         padding-left: 24px; | ||||
|                     } | ||||
| 
 | ||||
|                     &:last-child { | ||||
|                         padding-right: 24px; | ||||
|                     } | ||||
|                 } | ||||
| 
 | ||||
|                 &:last-child { | ||||
| 
 | ||||
|                     td { | ||||
|                         border-bottom: none; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         &.clickable { | ||||
| 
 | ||||
|             tbody { | ||||
| 
 | ||||
|                 tr { | ||||
|                     cursor: pointer; | ||||
| 
 | ||||
|                     &:hover { | ||||
|                         background: rgba(0, 0, 0, 0.03); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| @ -0,0 +1,13 @@ | ||||
| 
 | ||||
| // Truncate | ||||
| .text-truncate { | ||||
|     display: block; | ||||
|     overflow: hidden; | ||||
|     text-overflow: ellipsis; | ||||
|     white-space: nowrap; | ||||
| } | ||||
| 
 | ||||
| // Nowrap | ||||
| .text-nowrap { | ||||
|     white-space: nowrap; | ||||
| } | ||||
| @ -1,5 +1,53 @@ | ||||
| <ul> | ||||
|     <li> | ||||
|         {{ mail.subject }} | ||||
|     </li> | ||||
| </ul> | ||||
| <div fxLayout="row" fxLayoutAlign="start center"> | ||||
| 
 | ||||
|     <md-checkbox></md-checkbox> | ||||
| 
 | ||||
|     <div class="info" fxFlex FlexLayout="column"> | ||||
| 
 | ||||
|         <div class="name" fxLayout="row" fxLayoutAlign="start center"> | ||||
| 
 | ||||
|             <img class="avatar" *ngIf="mail.from.avatar" alt="{{mail.from.name}}" src="{{mail.from.avatar}}"/> | ||||
| 
 | ||||
|             <div class="avatar" *ngIf="!mail.from.avatar">{{mail.from.name[0]}}</div> | ||||
| 
 | ||||
|             <span class="text-truncate">{{mail.from.name}}</span> | ||||
| 
 | ||||
|             <md-icon *ngIf="mail.hasAttachments" class="has-attachment">attachment</md-icon> | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="subject text-truncate"> | ||||
|             {{mail.subject}} | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="message text-truncate"> | ||||
| 
 | ||||
|             {{mail.message | htmlToPlaintext | slice:0:180}}{{mail.message.length > 180 ? '...' : ''}} | ||||
| 
 | ||||
|             <div class="labels"> | ||||
|                 <div class="label" *ngFor="let labelId of mail.labels">{{labelId}}</div> | ||||
|             </div> | ||||
|         </div> | ||||
| 
 | ||||
|     </div> | ||||
| 
 | ||||
|     <div fxLayout="column" fxLayoutAlign="space-between end"> | ||||
| 
 | ||||
|         <div class="time">{{mail.time}}</div> | ||||
| 
 | ||||
|         <div class="actions" fxLayout="row" fxLayoutAlign="start center"> | ||||
|             <button md-button class="mat-icon-button" | ||||
|                     ng-click="vm.togglemailStatus('starred', mail, $event)" | ||||
|                     aria-label="Toggle starred"> | ||||
|                 <md-icon *ngIf="mail.starred">star</md-icon> | ||||
|                 <md-icon *ngIf="!mail.starred">star_outline</md-icon> | ||||
|             </button> | ||||
| 
 | ||||
|             <button md-button class="mat-icon-button" | ||||
|                     ng-click="vm.togglemailStatus('important', mail, $event)" | ||||
|                     aria-label="Toggle important"> | ||||
|                 <md-icon *ngIf="mail.important">label</md-icon> | ||||
|                 <md-icon *ngIf="!mail.important">label_outline</md-icon> | ||||
|             </button> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
|  | ||||
| @ -0,0 +1,121 @@ | ||||
| :host { | ||||
|     background: #FAFAFA; | ||||
|     position: relative; | ||||
|     padding: 16px 24px; | ||||
|     border-bottom: 1px solid rgba(0, 0, 0, 0.12); | ||||
|     cursor: pointer; | ||||
| 
 | ||||
|     &.unread { | ||||
|         background: #FFFFFF; | ||||
| 
 | ||||
|         .info { | ||||
| 
 | ||||
|             .name, | ||||
|             .subject { | ||||
|                 font-weight: 700; | ||||
|             } | ||||
| 
 | ||||
|             .message { | ||||
| 
 | ||||
|                 .labels { | ||||
|                     background: #FFFFFF; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     &.selected { | ||||
|         background: #FFF8E1; | ||||
| 
 | ||||
|         .info { | ||||
| 
 | ||||
|             .message { | ||||
| 
 | ||||
|                 .labels { | ||||
|                     background: #FFF8E1; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     &.current-thread { | ||||
|         background: #E3F2FD; | ||||
| 
 | ||||
|         .info { | ||||
| 
 | ||||
|             .message { | ||||
| 
 | ||||
|                 .labels { | ||||
|                     background: #E3F2FD; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     .info { | ||||
|         overflow: hidden; | ||||
|         width: 0; | ||||
|         margin: 0 16px; | ||||
| 
 | ||||
|         .name { | ||||
|             font-size: 15px; | ||||
|             font-weight: 500; | ||||
|             padding-bottom: 8px; | ||||
| 
 | ||||
|             .avatar { | ||||
|                 min-width: 32px; | ||||
|                 width: 32px; | ||||
|                 height: 32px; | ||||
|                 line-height: 32px; | ||||
|             } | ||||
| 
 | ||||
|             .has-attachment { | ||||
|                 margin-left: 8px; | ||||
|                 transform: rotate(90deg); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         .subject { | ||||
| 
 | ||||
|         } | ||||
| 
 | ||||
|         .message { | ||||
|             position: relative; | ||||
|             color: rgba(0, 0, 0, 0.54); | ||||
| 
 | ||||
|             .labels { | ||||
|                 position: absolute; | ||||
|                 background: #FAFAFA; | ||||
|                 top: 0; | ||||
|                 right: 0; | ||||
|                 padding-left: 6px; | ||||
| 
 | ||||
|                 .label { | ||||
|                     display: inline-block; | ||||
|                     font-size: 11px; | ||||
|                     padding: 0 5px; | ||||
|                     margin-right: 6px; | ||||
| 
 | ||||
|                     &:first-child { | ||||
|                         margin-left: 0; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     .time { | ||||
|         margin: 0 8px 6px 8px; | ||||
|     } | ||||
| 
 | ||||
|     .actions { | ||||
| 
 | ||||
|         .md-icon-button { | ||||
|             margin: 0; | ||||
|             padding: 0; | ||||
|             width: 32px; | ||||
|             height: 32px; | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
| } | ||||
| @ -1 +1 @@ | ||||
| <fuse-mail-list-item *ngFor="let mail of mails" [mail]="mail"></fuse-mail-list-item> | ||||
| <fuse-mail-list-item *ngFor="let mail of mails" [mail]="mail" md-ripple></fuse-mail-list-item> | ||||
|  | ||||
| @ -0,0 +1,4 @@ | ||||
| :host{ | ||||
|     display: flex; | ||||
|     flex-direction: column; | ||||
| } | ||||
| @ -49,9 +49,13 @@ | ||||
|                 <!-- CONTENT --> | ||||
|                 <div class="content" perfect-scrollbar> | ||||
| 
 | ||||
|                     <fuse-mail-list></fuse-mail-list> | ||||
|                     <div fxLayout="row" fxFill> | ||||
| 
 | ||||
|                     <fuse-mail-details></fuse-mail-details> | ||||
|                         <fuse-mail-list fxFlex></fuse-mail-list> | ||||
| 
 | ||||
|                         <fuse-mail-details fxFlex></fuse-mail-details> | ||||
| 
 | ||||
|                     </div> | ||||
| 
 | ||||
|                 </div> | ||||
|                 <!-- / CONTENT --> | ||||
|  | ||||
| @ -38,6 +38,16 @@ | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         .content-card { | ||||
| 
 | ||||
|             .toolbar { | ||||
|             } | ||||
| 
 | ||||
|             .content { | ||||
|                 padding: 0 !important; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -2,7 +2,32 @@ export class MailModel | ||||
| { | ||||
|     id: string; | ||||
|     subject: string; | ||||
|     important: string; | ||||
|     from: { | ||||
|         name: string, | ||||
|         avatar: string, | ||||
|         email: string | ||||
|     }; | ||||
|     to: { | ||||
|         name: string, | ||||
|         email: string | ||||
|     }[]; | ||||
| 
 | ||||
|     message: string; | ||||
|     time: string; | ||||
|     read: boolean; | ||||
|     starred: boolean; | ||||
|     important: boolean; | ||||
|     hasAttachments: boolean; | ||||
|     attachments: [ | ||||
|         { | ||||
|             type: string, | ||||
|             fileName: string, | ||||
|             preview: string, | ||||
|             url: string, | ||||
|             size: string | ||||
|         } | ||||
|         ]; | ||||
|     labels: string[]; | ||||
| 
 | ||||
|     constructor() | ||||
|     { | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Abbott.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Arnold.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Barrera.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Blair.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Boyle.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Christy.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Copeland.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Estes.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Harper.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Helen.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Henderson.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Josefina.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Katina.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Lily.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 12 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Mai.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Nancy.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Nora.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Odessa.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Reyna.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Shauna.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Shepard.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Tillman.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Trevino.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Tyson.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/Velazquez.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/alice.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/andrew.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/carl.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/danielle.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/garry.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/james.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/jane.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/joyce.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/katherine.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/profile.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/avatars/vincent.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/april.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 140 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/august.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 125 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/december.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 155 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/february.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 95 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/header-bg.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 203 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/january.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 121 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/july.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 92 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/june.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 124 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/march.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 79 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/may.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 112 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/november.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 94 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/october.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 106 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/backgrounds/september.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 146 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/ecommerce/product-image-placeholder.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 905 B | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/air-balloons.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 20 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/alice-cooper-poison.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/avenue.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 46 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/cactus.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 21 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/early-sunrise.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 128 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/fallout.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 27 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/flowers-thumb.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/mountain-lake.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/mountain-sunset.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/road-trip.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 24 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/sample-file-preview.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/snow-thumb.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/snow.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 136 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/sunrise-thumb.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/etc/tropical-beach.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 209 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/flags/es.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 469 B | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/flags/tr.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 492 B | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/flags/us.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 609 B | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/android.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/angular-material.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/angular.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/browsersync.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 11 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/fallout.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/google.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/gulp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/jasmine.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/karma.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/node-sass.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/protractor.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/logos/yeoman.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/patterns/drop-grey.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 36 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/patterns/drop.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 36 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/patterns/rain-grey.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/patterns/rain.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 28 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/scrumboard/calendar.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 64 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/scrumboard/header-1.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 106 KiB |