mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 00:53:34 +00:00 
			
		
		
		
	Some code inspection fixes
This commit is contained in:
		
							parent
							
								
									a65f61cce4
								
							
						
					
					
						commit
						9f440b1bf2
					
				@ -703,7 +703,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                            <div class="pl-16 pr-8 py-16" fxLayout="row" fxLayoutAlign="space-between center">
 | 
					                            <div class="pl-16 pr-8 py-16" fxLayout="row" fxLayoutAlign="space-between center">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                                <div class="h3">{{dateNow | date: 'EEEE, h:m:ss'}}</div>
 | 
					                                <div class="h3">{{dateNow | date: 'EEEE, HH:mm:ss'}}</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                                <div>
 | 
					                                <div>
 | 
				
			||||||
                                    <button mat-icon-button [matMenuTriggerFor]="moreMenu" aria-label="more">
 | 
					                                    <button mat-icon-button [matMenuTriggerFor]="moreMenu" aria-label="more">
 | 
				
			||||||
 | 
				
			|||||||
@ -1,9 +1,5 @@
 | 
				
			|||||||
import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
 | 
					import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
 | 
				
			||||||
import { EcommerceDashboardService } from './dashboard.service';
 | 
					import { EcommerceDashboardService } from './dashboard.service';
 | 
				
			||||||
import * as shape from 'd3-shape';
 | 
					 | 
				
			||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
 | 
					 | 
				
			||||||
import { Observable } from 'rxjs/Observable';
 | 
					 | 
				
			||||||
import { DataSource } from '@angular/cdk/collections';
 | 
					 | 
				
			||||||
import { fuseAnimations } from '../../../../../core/animations';
 | 
					import { fuseAnimations } from '../../../../../core/animations';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
@ -23,14 +19,10 @@ export class FuseEcommerceDashboardComponent implements OnInit, OnDestroy
 | 
				
			|||||||
    widget6: any = {};
 | 
					    widget6: any = {};
 | 
				
			||||||
    widget7: any = {};
 | 
					    widget7: any = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dateNow = Date.now();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    constructor(private projectsDashboardService: EcommerceDashboardService)
 | 
					    constructor(private projectsDashboardService: EcommerceDashboardService)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this.projects = this.projectsDashboardService.projects;
 | 
					        this.projects = this.projectsDashboardService.projects;
 | 
				
			||||||
 | 
					 | 
				
			||||||
        this.selectedProject = this.projects[0];
 | 
					        this.selectedProject = this.projects[0];
 | 
				
			||||||
 | 
					 | 
				
			||||||
        this.widgets = this.projectsDashboardService.widgets;
 | 
					        this.widgets = this.projectsDashboardService.widgets;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /**
 | 
					        /**
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, ElementRef, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
 | 
					import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
 | 
				
			||||||
import { EcommerceOrderService } from './order.service';
 | 
					import { EcommerceOrderService } from './order.service';
 | 
				
			||||||
import { fuseAnimations } from '../../../../../core/animations';
 | 
					import { fuseAnimations } from '../../../../../core/animations';
 | 
				
			||||||
import 'rxjs/add/operator/startWith';
 | 
					import 'rxjs/add/operator/startWith';
 | 
				
			||||||
@ -10,9 +10,6 @@ import 'rxjs/add/observable/fromEvent';
 | 
				
			|||||||
import { Subscription } from 'rxjs/Subscription';
 | 
					import { Subscription } from 'rxjs/Subscription';
 | 
				
			||||||
import { Order } from './order.model';
 | 
					import { Order } from './order.model';
 | 
				
			||||||
import { FormBuilder, FormGroup } from '@angular/forms';
 | 
					import { FormBuilder, FormGroup } from '@angular/forms';
 | 
				
			||||||
import { FuseUtils } from '../../../../../core/fuseUtils';
 | 
					 | 
				
			||||||
import { MatSnackBar } from '@angular/material';
 | 
					 | 
				
			||||||
import { Location } from '@angular/common';
 | 
					 | 
				
			||||||
import { orderStatuses } from './order-statuses';
 | 
					import { orderStatuses } from './order-statuses';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
@ -32,8 +29,6 @@ export class FuseEcommerceOrderComponent implements OnInit, OnDestroy
 | 
				
			|||||||
    constructor(
 | 
					    constructor(
 | 
				
			||||||
        private orderService: EcommerceOrderService,
 | 
					        private orderService: EcommerceOrderService,
 | 
				
			||||||
        private formBuilder: FormBuilder,
 | 
					        private formBuilder: FormBuilder,
 | 
				
			||||||
        public snackBar: MatSnackBar,
 | 
					 | 
				
			||||||
        private location: Location
 | 
					 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
import { Component, ElementRef, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
 | 
					import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
 | 
				
			||||||
import { EcommerceProductService } from './product.service';
 | 
					import { EcommerceProductService } from './product.service';
 | 
				
			||||||
import { fuseAnimations } from '../../../../../core/animations';
 | 
					import { fuseAnimations } from '../../../../../core/animations';
 | 
				
			||||||
import 'rxjs/add/operator/startWith';
 | 
					import 'rxjs/add/operator/startWith';
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable';
 | 
				
			|||||||
import { HttpClient } from '@angular/common/http';
 | 
					import { HttpClient } from '@angular/common/http';
 | 
				
			||||||
import { Mail } from './mail.model';
 | 
					import { Mail } from './mail.model';
 | 
				
			||||||
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
 | 
					import { BehaviorSubject } from 'rxjs/BehaviorSubject';
 | 
				
			||||||
import { FuseUtils } from 'app/core/fuseUtils';
 | 
					import { FuseUtils } from '../../../../core/fuseUtils';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Injectable()
 | 
					@Injectable()
 | 
				
			||||||
export class MailService implements Resolve<any>
 | 
					export class MailService implements Resolve<any>
 | 
				
			||||||
 | 
				
			|||||||
@ -8,7 +8,7 @@
 | 
				
			|||||||
    </button>
 | 
					    </button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <form *ngIf="formActive" class="new-list-form" [formGroup]="form" (submit)="onFormSubmit()"
 | 
					    <form *ngIf="formActive" class="new-list-form" [formGroup]="form" (submit)="onFormSubmit()"
 | 
				
			||||||
          fxFlex="1 0 auto" fxFlex="row" fxLayoutAlign="start center">
 | 
					          fxLayout="row" fxLayoutAlign="start center" fxFlex="1 0 auto">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <input formControlName="name" #nameInput fxFlex placeholder="Write a list Name">
 | 
					        <input formControlName="name" #nameInput fxFlex placeholder="Write a list Name">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -7,8 +7,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<form [formGroup]="form" (ngSubmit)="onFormSubmit()"
 | 
					<form [formGroup]="form" (ngSubmit)="onFormSubmit()"
 | 
				
			||||||
      class="board-name-form" fxFlex="1 0 auto"
 | 
					      class="board-name-form" fxLayout="row" fxFlex="1 0 auto" *ngIf="formActive">
 | 
				
			||||||
      *ngIf="formActive" fxFlex="row">
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <input formControlName="name" #nameInput fxFlex="1 0 auto" placeholder="Write a board name">
 | 
					    <input formControlName="name" #nameInput fxFlex="1 0 auto" placeholder="Write a board name">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -3,8 +3,8 @@
 | 
				
			|||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<form [formGroup]="form" (ngSubmit)="onFormSubmit()"
 | 
					<form [formGroup]="form" (ngSubmit)="onFormSubmit()"
 | 
				
			||||||
      class="list-header-name-form" fxFlex="1 0 auto"
 | 
					      class="list-header-name-form" fxLayout="row" fxFlex="1 0 auto"
 | 
				
			||||||
      *ngIf="formActive" fxFlex="row">
 | 
					      *ngIf="formActive">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <input formControlName="name" #nameInput fxFlex placeholder="Write a list Name">
 | 
					    <input formControlName="name" #nameInput fxFlex placeholder="Write a list Name">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,11 +1,10 @@
 | 
				
			|||||||
import { Component, Input, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
 | 
					import { Component, Input, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
 | 
				
			||||||
import { FuseUtils } from '../../../../../../core/fuseUtils';
 | 
					 | 
				
			||||||
import { ScrumboardService } from 'app/main/content/apps/scrumboard/scrumboard.service';
 | 
					 | 
				
			||||||
import { ActivatedRoute } from '@angular/router';
 | 
					import { ActivatedRoute } from '@angular/router';
 | 
				
			||||||
import { Subscription } from 'rxjs/Subscription';
 | 
					import { Subscription } from 'rxjs/Subscription';
 | 
				
			||||||
import { MatDialog, MatDialogRef } from '@angular/material';
 | 
					import { MatDialog, MatDialogRef } from '@angular/material';
 | 
				
			||||||
import { FuseScrumboardCardDialogComponent } from '../dialogs/card/card.component';
 | 
					import { FuseScrumboardCardDialogComponent } from '../dialogs/card/card.component';
 | 
				
			||||||
import { FuseConfirmDialogComponent } from '../../../../../../core/components/confirm-dialog/confirm-dialog.component';
 | 
					import { FuseConfirmDialogComponent } from '../../../../../../core/components/confirm-dialog/confirm-dialog.component';
 | 
				
			||||||
 | 
					import { ScrumboardService } from '../../scrumboard.service';
 | 
				
			||||||
import { Card } from '../../card.model';
 | 
					import { Card } from '../../card.model';
 | 
				
			||||||
import { FusePerfectScrollbarDirective } from '../../../../../../core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive';
 | 
					import { FusePerfectScrollbarDirective } from '../../../../../../core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -24,7 +23,6 @@ export class FuseScrumboardBoardListComponent implements OnInit, OnDestroy
 | 
				
			|||||||
    @ViewChild(FusePerfectScrollbarDirective) listScroll: FusePerfectScrollbarDirective;
 | 
					    @ViewChild(FusePerfectScrollbarDirective) listScroll: FusePerfectScrollbarDirective;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    onBoardChanged: Subscription;
 | 
					    onBoardChanged: Subscription;
 | 
				
			||||||
 | 
					 | 
				
			||||||
    confirmDialogRef: MatDialogRef<FuseConfirmDialogComponent>;
 | 
					    confirmDialogRef: MatDialogRef<FuseConfirmDialogComponent>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    constructor(
 | 
					    constructor(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user