a zip code crypto-currency system good for red ONLY

module-loader.d.ts 1.3KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { ComponentFactoryResolver, InjectionToken, Injector, NgModuleFactory, NgZone, Type } from '@angular/core';
  2. import { Config } from '../config/config';
  3. import { DeepLinkConfig } from '../navigation/nav-util';
  4. import { NgModuleLoader } from './ng-module-loader';
  5. export declare const LAZY_LOADED_TOKEN: InjectionToken<any>;
  6. /**
  7. * @hidden
  8. */
  9. export declare class ModuleLoader {
  10. private _ngModuleLoader;
  11. private _injector;
  12. /** @internal */
  13. _cfrMap: Map<any, ComponentFactoryResolver>;
  14. _promiseMap: Map<string, Promise<NgModuleFactory<any>>>;
  15. constructor(_ngModuleLoader: NgModuleLoader, _injector: Injector);
  16. load(modulePath: string): Promise<LoadedModule>;
  17. getComponentFactoryResolver(component: Type<any>): ComponentFactoryResolver;
  18. }
  19. /**
  20. * @hidden
  21. */
  22. export declare function provideModuleLoader(ngModuleLoader: NgModuleLoader, injector: Injector): ModuleLoader;
  23. export interface LoadedModule {
  24. componentFactoryResolver: ComponentFactoryResolver;
  25. component: Type<any>;
  26. }
  27. /**
  28. * @hidden
  29. */
  30. export declare function setupPreloadingImplementation(config: Config, deepLinkConfig: DeepLinkConfig, moduleLoader: ModuleLoader): Promise<any>;
  31. /**
  32. * @hidden
  33. */
  34. export declare function setupPreloading(config: Config, deepLinkConfig: DeepLinkConfig, moduleLoader: ModuleLoader, ngZone: NgZone): () => void;