mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 14:03:33 +00:00 
			
		
		
		
	(icons) Removed iconsmind icons pack because of the bundle size concerns
This commit is contained in:
		
							parent
							
								
									cbd35d57f8
								
							
						
					
					
						commit
						c5aa094230
					
				@ -17,7 +17,6 @@ export class IconsModule
 | 
			
		||||
        this._matIconRegistry.addSvgIconSet(this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/material-twotone.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('mat_outline', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/material-outline.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('mat_solid', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/material-solid.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('iconsmind', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/iconsmind.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('feather', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/feather.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('heroicons_outline', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/heroicons-outline.svg'));
 | 
			
		||||
        this._matIconRegistry.addSvgIconSetInNamespace('heroicons_solid', this._domSanitizer.bypassSecurityTrustResourceUrl('assets/icons/heroicons-solid.svg'));
 | 
			
		||||
 | 
			
		||||
@ -819,12 +819,6 @@ export const defaultNavigation: FuseNavigationItem[] = [
 | 
			
		||||
                        type : 'basic',
 | 
			
		||||
                        link : '/ui/icons/material-solid'
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        id   : 'user-interface.icons.iconsmind',
 | 
			
		||||
                        title: 'Iconsmind',
 | 
			
		||||
                        type : 'basic',
 | 
			
		||||
                        link : '/ui/icons/iconsmind'
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        id   : 'user-interface.icons.feather',
 | 
			
		||||
                        title: 'Feather',
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
import { Injectable } from '@angular/core';
 | 
			
		||||
import { cloneDeep } from 'lodash-es';
 | 
			
		||||
import { FuseMockApiService } from '@fuse/lib/mock-api';
 | 
			
		||||
import { feather, heroicons, iconsmind, material } from 'app/mock-api/ui/icons/data';
 | 
			
		||||
import { feather, heroicons, material } from 'app/mock-api/ui/icons/data';
 | 
			
		||||
 | 
			
		||||
@Injectable({
 | 
			
		||||
    providedIn: 'root'
 | 
			
		||||
@ -10,7 +10,6 @@ export class IconsMockApi
 | 
			
		||||
{
 | 
			
		||||
    private readonly _feather: any = feather;
 | 
			
		||||
    private readonly _heroicons: any = heroicons;
 | 
			
		||||
    private readonly _iconsmind: any = iconsmind;
 | 
			
		||||
    private readonly _material: any = material;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
@ -76,21 +75,6 @@ export class IconsMockApi
 | 
			
		||||
                }
 | 
			
		||||
            ]);
 | 
			
		||||
 | 
			
		||||
        // -----------------------------------------------------------------------------------------------------
 | 
			
		||||
        // @ Iconsmind icons - GET
 | 
			
		||||
        // -----------------------------------------------------------------------------------------------------
 | 
			
		||||
        this._fuseMockApiService
 | 
			
		||||
            .onGet('api/ui/icons/iconsmind')
 | 
			
		||||
            .reply(() => [
 | 
			
		||||
                200,
 | 
			
		||||
                {
 | 
			
		||||
                    namespace: 'iconsmind',
 | 
			
		||||
                    name     : 'Iconsmind',
 | 
			
		||||
                    grid     : 'icon-size-10',
 | 
			
		||||
                    list     : cloneDeep(this._iconsmind)
 | 
			
		||||
                }
 | 
			
		||||
            ]);
 | 
			
		||||
 | 
			
		||||
        // -----------------------------------------------------------------------------------------------------
 | 
			
		||||
        // @ Material solid icons - GET
 | 
			
		||||
        // -----------------------------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
		 Before Width: | Height: | Size: 3.9 MiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user