mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 08:53:33 +00:00 
			
		
		
		
	Codebase improvements
This commit is contained in:
		
							parent
							
								
									70d895c6ed
								
							
						
					
					
						commit
						387077882b
					
				@ -16,7 +16,7 @@ export class FuseSearchBarComponent implements OnInit, OnDestroy
 | 
				
			|||||||
    toolbarColor: string;
 | 
					    toolbarColor: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Output()
 | 
					    @Output()
 | 
				
			||||||
    onInput: EventEmitter<any> = new EventEmitter();
 | 
					    onInput: EventEmitter<any>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Private
 | 
					    // Private
 | 
				
			||||||
    private _unsubscribeAll: Subject<any>;
 | 
					    private _unsubscribeAll: Subject<any>;
 | 
				
			||||||
@ -31,6 +31,7 @@ export class FuseSearchBarComponent implements OnInit, OnDestroy
 | 
				
			|||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // Set the defaults
 | 
					        // Set the defaults
 | 
				
			||||||
 | 
					        this.onInput = new EventEmitter();
 | 
				
			||||||
        this.collapsed = true;
 | 
					        this.collapsed = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Set the private defaults
 | 
					        // Set the private defaults
 | 
				
			||||||
 | 
				
			|||||||
@ -15,11 +15,11 @@ import { FuseConfigService } from '@fuse/services/config.service';
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
export class FuseShortcutsComponent implements OnInit, OnDestroy
 | 
					export class FuseShortcutsComponent implements OnInit, OnDestroy
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    shortcutItems: any[] = [];
 | 
					    shortcutItems: any[];
 | 
				
			||||||
    navigationItems: any[];
 | 
					    navigationItems: any[];
 | 
				
			||||||
    filteredNavigationItems: any[];
 | 
					    filteredNavigationItems: any[];
 | 
				
			||||||
    searching = false;
 | 
					    searching: boolean;
 | 
				
			||||||
    mobileShortcutsPanelActive = false;
 | 
					    mobileShortcutsPanelActive: boolean;
 | 
				
			||||||
    toolbarColor: string;
 | 
					    toolbarColor: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Input()
 | 
					    @Input()
 | 
				
			||||||
@ -45,14 +45,19 @@ export class FuseShortcutsComponent implements OnInit, OnDestroy
 | 
				
			|||||||
     * @param {ObservableMedia} _observableMedia
 | 
					     * @param {ObservableMedia} _observableMedia
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    constructor(
 | 
					    constructor(
 | 
				
			||||||
        private _renderer: Renderer2,
 | 
					 | 
				
			||||||
        private _cookieService: CookieService,
 | 
					        private _cookieService: CookieService,
 | 
				
			||||||
 | 
					        private _fuseConfigService: FuseConfigService,
 | 
				
			||||||
        private _fuseMatchMediaService: FuseMatchMediaService,
 | 
					        private _fuseMatchMediaService: FuseMatchMediaService,
 | 
				
			||||||
        private _fuseNavigationService: FuseNavigationService,
 | 
					        private _fuseNavigationService: FuseNavigationService,
 | 
				
			||||||
        private _fuseConfigService: FuseConfigService,
 | 
					        private _observableMedia: ObservableMedia,
 | 
				
			||||||
        private _observableMedia: ObservableMedia
 | 
					        private _renderer: Renderer2
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        // Set the defaults
 | 
				
			||||||
 | 
					        this.shortcutItems = [];
 | 
				
			||||||
 | 
					        this.searching = false;
 | 
				
			||||||
 | 
					        this.mobileShortcutsPanelActive = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Set the private defaults
 | 
					        // Set the private defaults
 | 
				
			||||||
        this._unsubscribeAll = new Subject();
 | 
					        this._unsubscribeAll = new Subject();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user