| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * @module | 
					
						
							|  |  |  |  * @description | 
					
						
							|  |  |  |  * Entry point from which you should import all public core APIs. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | export * from './metadata'; | 
					
						
							| 
									
										
										
										
											2016-11-30 13:52:08 -08:00
										 |  |  | export * from './version'; | 
					
						
							| 
									
										
										
										
											2017-08-08 14:03:27 -07:00
										 |  |  | export {TypeDecorator} from './util/decorators'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | export * from './di'; | 
					
						
							| 
									
										
										
										
											2018-07-30 22:34:15 -07:00
										 |  |  | export {createPlatform, assertPlatform, destroyPlatform, getPlatform, PlatformRef, ApplicationRef, createPlatformFactory, NgProbeToken} from './application_ref'; | 
					
						
							| 
									
										
										
										
											2019-01-09 13:49:16 -08:00
										 |  |  | export {enableProdMode, isDevMode} from './util/is_dev_mode'; | 
					
						
							| 
									
										
										
										
											2017-02-22 16:49:46 -08:00
										 |  |  | export {APP_ID, PACKAGE_ROOT_URL, PLATFORM_INITIALIZER, PLATFORM_ID, APP_BOOTSTRAP_LISTENER} from './application_tokens'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | export {APP_INITIALIZER, ApplicationInitStatus} from './application_init'; | 
					
						
							|  |  |  | export * from './zone'; | 
					
						
							|  |  |  | export * from './render'; | 
					
						
							|  |  |  | export * from './linker'; | 
					
						
							| 
									
										
										
										
											2019-04-10 13:27:17 +02:00
										 |  |  | export {DebugElement, DebugEventListener, DebugNode, asNativeElements, getDebugNode, Predicate} from './debug/debug_node'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | export {GetTestability, Testability, TestabilityRegistry, setTestabilityGetter} from './testability/testability'; | 
					
						
							|  |  |  | export * from './change_detection'; | 
					
						
							|  |  |  | export * from './platform_core_providers'; | 
					
						
							| 
									
										
										
										
											2017-01-25 23:26:49 -08:00
										 |  |  | export {TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, MissingTranslationStrategy} from './i18n/tokens'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | export {ApplicationModule} from './application_module'; | 
					
						
							|  |  |  | export {wtfCreateScope, wtfLeave, wtfStartTimeRange, wtfEndTimeRange, WtfScopeFn} from './profile/profile'; | 
					
						
							| 
									
										
										
										
											2019-03-13 17:02:31 -07:00
										 |  |  | export {AbstractType, Type} from './interface/type'; | 
					
						
							| 
									
										
										
										
											2017-03-01 10:28:52 -08:00
										 |  |  | export {EventEmitter} from './event_emitter'; | 
					
						
							| 
									
										
										
										
											2016-08-30 18:07:40 -07:00
										 |  |  | export {ErrorHandler} from './error_handler'; | 
					
						
							|  |  |  | export * from './core_private_export'; | 
					
						
							| 
									
										
										
										
											2017-12-19 15:01:05 -08:00
										 |  |  | export * from './core_render3_private_export'; | 
					
						
							| 
									
										
										
										
											2019-07-31 13:15:50 -07:00
										 |  |  | export {SecurityContext} from './sanitization/security'; | 
					
						
							|  |  |  | export {Sanitizer} from './sanitization/sanitizer'; | 
					
						
							| 
									
										
										
										
											2017-02-14 13:33:06 -08:00
										 |  |  | export * from './codegen_private_exports'; | 
					
						
							| 
									
										
										
										
											2019-07-30 18:02:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | import {global} from './util/global'; | 
					
						
							|  |  |  | if (ngDevMode) { | 
					
						
							|  |  |  |   // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
 | 
					
						
							|  |  |  |   // installed `@angular/localize` in their app.
 | 
					
						
							|  |  |  |   // tslint:disable-next-line: no-toplevel-property-access
 | 
					
						
							|  |  |  |   global.$localize = global.$localize || function() { | 
					
						
							|  |  |  |     throw new Error( | 
					
						
							| 
									
										
										
										
											2019-09-05 11:40:00 +01:00
										 |  |  |         'It looks like your application or one of its dependencies is using i18n.\n' + | 
					
						
							|  |  |  |         'Angular 9 introduced a global `$localize()` function that needs to be loaded.\n' + | 
					
						
							| 
									
										
										
										
											2019-08-10 12:51:30 +01:00
										 |  |  |         'Please add `import \'@angular/localize/init\';` to your polyfills.ts file.'); | 
					
						
							| 
									
										
										
										
											2019-07-30 18:02:17 +01:00
										 |  |  |   }; | 
					
						
							|  |  |  | } |