1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | /**
|
---|
9 | * @module
|
---|
10 | * @description
|
---|
11 | * Entry point from which you should import all public core APIs.
|
---|
12 | */
|
---|
13 | export * from './metadata';
|
---|
14 | export * from './version';
|
---|
15 | export * from './di';
|
---|
16 | export { createPlatform, assertPlatform, destroyPlatform, getPlatform, PlatformRef, ApplicationRef, createPlatformFactory, NgProbeToken } from './application_ref';
|
---|
17 | export { enableProdMode, isDevMode } from './util/is_dev_mode';
|
---|
18 | export { APP_ID, PACKAGE_ROOT_URL, PLATFORM_INITIALIZER, PLATFORM_ID, APP_BOOTSTRAP_LISTENER } from './application_tokens';
|
---|
19 | export { APP_INITIALIZER, ApplicationInitStatus } from './application_init';
|
---|
20 | export * from './zone';
|
---|
21 | export * from './render';
|
---|
22 | export * from './linker';
|
---|
23 | export { DebugElement, DebugEventListener, DebugNode, asNativeElements, getDebugNode } from './debug/debug_node';
|
---|
24 | export { Testability, TestabilityRegistry, setTestabilityGetter } from './testability/testability';
|
---|
25 | export * from './change_detection';
|
---|
26 | export * from './platform_core_providers';
|
---|
27 | export { TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, DEFAULT_CURRENCY_CODE, MissingTranslationStrategy } from './i18n/tokens';
|
---|
28 | export { ApplicationModule } from './application_module';
|
---|
29 | export { Type } from './interface/type';
|
---|
30 | export { EventEmitter } from './event_emitter';
|
---|
31 | export { ErrorHandler } from './error_handler';
|
---|
32 | export * from './core_private_export';
|
---|
33 | export * from './core_render3_private_export';
|
---|
34 | export { SecurityContext } from './sanitization/security';
|
---|
35 | export { Sanitizer } from './sanitization/sanitizer';
|
---|
36 | export * from './codegen_private_exports';
|
---|
37 | import { global } from './util/global';
|
---|
38 | if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
---|
39 | // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
|
---|
40 | // installed `@angular/localize` in their app.
|
---|
41 | // tslint:disable-next-line: no-toplevel-property-access
|
---|
42 | global.$localize = global.$localize || function () {
|
---|
43 | throw new Error('It looks like your application or one of its dependencies is using i18n.\n' +
|
---|
44 | 'Angular 9 introduced a global `$localize()` function that needs to be loaded.\n' +
|
---|
45 | 'Please run `ng add @angular/localize` from the Angular CLI.\n' +
|
---|
46 | '(For non-CLI projects, add `import \'@angular/localize/init\';` to your `polyfills.ts` file.\n' +
|
---|
47 | 'For server-side rendering applications add the import to your `main.server.ts` file.)');
|
---|
48 | };
|
---|
49 | }
|
---|
50 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvc3JjL2NvcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUg7Ozs7R0FJRztBQUNILGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsV0FBVyxDQUFDO0FBRTFCLGNBQWMsTUFBTSxDQUFDO0FBQ3JCLE9BQU8sRUFBQyxjQUFjLEVBQUUsY0FBYyxFQUFFLGVBQWUsRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxxQkFBcUIsRUFBRSxZQUFZLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNqSyxPQUFPLEVBQUMsY0FBYyxFQUFFLFNBQVMsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQzdELE9BQU8sRUFBQyxNQUFNLEVBQUUsZ0JBQWdCLEVBQUUsb0JBQW9CLEVBQUUsV0FBVyxFQUFFLHNCQUFzQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDekgsT0FBTyxFQUFDLGVBQWU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