/** * @license * Copyright Google LLC 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 */ import { InjectionToken } from './di/injection_token'; import { getDocument } from './render3/interfaces/document'; /** * A [DI token](guide/glossary#di-token "DI token definition") representing a string ID, used * primarily for prefixing application attributes and CSS styles when * {@link ViewEncapsulation#Emulated} is being used. * * The token is needed in cases when multiple applications are bootstrapped on a page * (for example, using `bootstrapApplication` calls). In this case, ensure that those applications * have different `APP_ID` value setup. For example: * * ``` * bootstrapApplication(ComponentA, { * providers: [ * { provide: APP_ID, useValue: 'app-a' }, * // ... other providers ... * ] * }); * * bootstrapApplication(ComponentB, { * providers: [ * { provide: APP_ID, useValue: 'app-b' }, * // ... other providers ... * ] * }); * ``` * * By default, when there is only one application bootstrapped, you don't need to provide the * `APP_ID` token (the `ng` will be used as an app ID). * * @publicApi */ export const APP_ID = new InjectionToken('AppId', { providedIn: 'root', factory: () => DEFAULT_APP_ID, }); /** Default value of the `APP_ID` token. */ const DEFAULT_APP_ID = 'ng'; /** * A function that is executed when a platform is initialized. * @publicApi */ export const PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer'); /** * A token that indicates an opaque platform ID. * @publicApi */ export const PLATFORM_ID = new InjectionToken('Platform ID', { providedIn: 'platform', factory: () => 'unknown', // set a default platform name, when none set explicitly }); /** * A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of * the application * @publicApi * @deprecated */ export const PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL'); // We keep this token here, rather than the animations package, so that modules that only care // about which animations module is loaded (e.g. the CDK) can retrieve it without having to // include extra dependencies. See #44970 for more context. /** * A [DI token](guide/glossary#di-token "DI token definition") that indicates which animations * module has been loaded. * @publicApi */ export const ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType'); // TODO(crisbeto): link to CSP guide here. /** * Token used to configure the [Content Security Policy](https://web.dev/strict-csp/) nonce that * Angular will apply when inserting inline styles. If not provided, Angular will look up its value * from the `ngCspNonce` attribute of the application root node. * * @publicApi */ export const CSP_NONCE = new InjectionToken('CSP nonce', { providedIn: 'root', factory: () => { // Ideally we wouldn't have to use `querySelector` here since we know that the nonce will be on // the root node, but because the token value is used in renderers, it has to be available // *very* early in the bootstrapping process. This should be a fairly shallow search, because // the app won't have been added to the DOM yet. Some approaches that were considered: // 1. Find the root node through `ApplicationRef.components[i].location` - normally this would // be enough for our purposes, but the token is injected very early so the `components` array // isn't populated yet. // 2. Find the root `LView` through the current `LView` - renderers are a prerequisite to // creating the `LView`. This means that no `LView` will have been entered when this factory is // invoked for the root component. // 3. Have the token factory return `() => string` which is invoked when a nonce is requested - // the slightly later execution does allow us to get an `LView` reference, but the fact that // it is a function means that it could be executed at *any* time (including immediately) which // may lead to weird bugs. // 4. Have the `ComponentFactory` read the attribute and provide it to the injector under the // hood - has the same problem as #1 and #2 in that the renderer is used to query for the root // node and the nonce value needs to be available when the renderer is created. return getDocument().body?.querySelector('[ngCspNonce]')?.getAttribute('ngCspNonce') || null; }, }); /** * Internal token to collect all SSR-related features enabled for this application. * * Note: the token is in `core` to let other packages register features (the `core` * package is imported in other packages). */ export const ENABLED_SSR_FEATURES = new InjectionToken((typeof ngDevMode === 'undefined' || ngDevMode) ? 'ENABLED_SSR_FEATURES' : '', { providedIn: 'root', factory: () => new Set(), }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb25fdG9rZW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9zcmMvYXBwbGljYXRpb25fdG9rZW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUNwRCxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sK0JBQStCLENBQUM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