@angular/platform-browser 22.1.0-next.4 → 22.1.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_browser-chunk.mjs +8 -8
- package/fesm2022/_browser-chunk.mjs.map +1 -1
- package/fesm2022/_dom_renderer-chunk.mjs +64 -32
- package/fesm2022/_dom_renderer-chunk.mjs.map +1 -1
- package/fesm2022/animations-async.mjs +4 -4
- package/fesm2022/animations-async.mjs.map +1 -1
- package/fesm2022/animations.mjs +12 -12
- package/fesm2022/animations.mjs.map +1 -1
- package/fesm2022/platform-browser.mjs +100 -78
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +8 -8
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +4 -4
- package/types/_browser-chunk.d.ts +2 -2
- package/types/animations-async.d.ts +1 -1
- package/types/animations.d.ts +1 -1
- package/types/platform-browser.d.ts +39 -14
- package/types/testing.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/providers.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n AnimationDriver,\n NoopAnimationDriver,\n ɵAnimationEngine as AnimationEngine,\n ɵAnimationRendererFactory as AnimationRendererFactory,\n ɵAnimationStyleNormalizer as AnimationStyleNormalizer,\n ɵWebAnimationsDriver as WebAnimationsDriver,\n ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer,\n} from '@angular/animations/browser';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ANIMATION_MODULE_TYPE,\n inject,\n Inject,\n Injectable,\n NgZone,\n OnDestroy,\n Provider,\n RendererFactory2,\n} from '@angular/core';\nimport {ɵDomRendererFactory2 as DomRendererFactory2} from '../../index';\n\n@Injectable()\nexport class InjectableAnimationEngine extends AnimationEngine implements OnDestroy {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(\n @Inject(DOCUMENT) doc: Document,\n driver: AnimationDriver,\n normalizer: AnimationStyleNormalizer,\n ) {\n super(doc, driver, normalizer);\n }\n\n ngOnDestroy(): void {\n this.flush();\n }\n}\n\nexport function instantiateDefaultStyleNormalizer() {\n return new WebAnimationsStyleNormalizer();\n}\n\nexport function instantiateRendererFactory() {\n return new AnimationRendererFactory(\n inject(DomRendererFactory2),\n inject(AnimationEngine),\n inject(NgZone),\n );\n}\n\nconst SHARED_ANIMATION_PROVIDERS: Provider[] = [\n {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer},\n {provide: AnimationEngine, useClass: InjectableAnimationEngine},\n {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n },\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nexport const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [\n {provide: AnimationDriver, useClass: NoopAnimationDriver},\n {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'},\n ...SHARED_ANIMATION_PROVIDERS,\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nexport const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [\n // Note: the `ngServerMode` happen inside factories to give the variable time to initialize.\n {\n provide: AnimationDriver,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode\n ? new NoopAnimationDriver()\n : new WebAnimationsDriver(),\n },\n {\n provide: ANIMATION_MODULE_TYPE,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode ? 'NoopAnimations' : 'BrowserAnimations',\n },\n ...SHARED_ANIMATION_PROVIDERS,\n];\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nimport {\n ModuleWithProviders,\n NgModule,\n Provider,\n ɵperformanceMarkFeature as performanceMarkFeature,\n} from '@angular/core';\n// g3-only import {BrowserModule} from '@angular/platform-browser';\nimport {BrowserModule} from '../../index'; // 3p-only\n\nimport {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers';\n\n/**\n * Object used to configure the behavior of {@link BrowserAnimationsModule}\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport interface BrowserAnimationsModuleConfig {\n /**\n * Whether animations should be disabled. Passing this is identical to providing the\n * `NoopAnimationsModule`, but it can be controlled based on a runtime value.\n */\n disableAnimations?: boolean;\n}\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n})\nexport class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```ts\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(\n config: BrowserAnimationsModuleConfig,\n ): ModuleWithProviders<BrowserAnimationsModule> {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations\n ? BROWSER_NOOP_ANIMATIONS_PROVIDERS\n : BROWSER_ANIMATIONS_PROVIDERS,\n };\n }\n}\n\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n *\n */\nexport function provideAnimations(): Provider[] {\n performanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n})\nexport class NoopAnimationsModule {}\n\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport function provideNoopAnimations(): Provider[] {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n"],"names":["InjectableAnimationEngine","AnimationEngine","constructor","doc","driver","normalizer","ngOnDestroy","flush","ɵfac","i0","ɵɵngDeclareFactory","minVersion","version","ngImport","type","DOCUMENT","token","i1","AnimationDriver","ɵAnimationStyleNormalizer","target","ɵɵFactoryTarget","Injectable","decorators","Inject","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","AnimationRendererFactory","inject","DomRendererFactory2","NgZone","SHARED_ANIMATION_PROVIDERS","provide","AnimationStyleNormalizer","useFactory","useClass","RendererFactory2","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_ANIMATIONS_PROVIDERS","ngServerMode","WebAnimationsDriver","BrowserAnimationsModule","withConfig","config","ngModule","providers","disableAnimations","deps","NgModule","ɵmod","ɵɵngDeclareNgModule","BrowserModule","imports","args","exports","provideAnimations","performanceMarkFeature","NoopAnimationsModule","provideNoopAnimations"],"mappings":";;;;;;;;;;;;;;;AA+BM,MAAOA,yBAA0B,SAAQC,gBAAe,CAAA;AAI5DC,EAAAA,WAAAA,CACoBC,GAAa,EAC/BC,MAAuB,EACvBC,UAAoC,EAAA;AAEpC,IAAA,KAAK,CAACF,GAAG,EAAEC,MAAM,EAAEC,UAAU,CAAC;AAChC,EAAA;AAEAC,EAAAA,WAAWA,GAAA;IACT,IAAI,CAACC,KAAK,EAAE;AACd,EAAA;AAdW,EAAA,OAAAC,IAAA,GAAAC,EAAA,CAAAC,kBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,mBAAA;AAAAC,IAAAA,QAAA,EAAAJ,EAAA;AAAAK,IAAAA,IAAA,EAAAd,yBAAyB;;aAK1Be;AAAQ,KAAA,EAAA;MAAAC,KAAA,EAAAC,EAAA,CAAAC;AAAA,KAAA,EAAA;MAAAF,KAAA,EAAAC,EAAA,CAAAE;AAAA,KAAA,CAAA;AAAAC,IAAAA,MAAA,EAAAX,EAAA,CAAAY,eAAA,CAAAC;AAAA,GAAA,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AA,OAAA,EAAA,mBAAA;AAAAC,IAAAA,QAAA,EAAAJ,EAAA;AAAAK,IAAAA,IAAA,EAAA+C,oBAAoB;cAHrBN,aAAa;AAAA,GAAA,CAAA;;;;;UAGZM,oBAAoB;AAAAZ,IAAAA,SAAA,EAFpBX,iCAAiC;IAAAkB,OAAA,EAAA,CADlCD,aAAa;AAAA,GAAA,CAAA;;;;;;QAGZM,oBAAoB;AAAAtC,EAAAA,UAAA,EAAA,CAAA;UAJhC6B,QAAQ;AAACK,IAAAA,IAAA,EAAA,CAAA;MACRC,OAAO,EAAE,CAACH,aAAa,CAAC;AACxBN,MAAAA,SAAS,EAAEX;KACZ;;;SA0BewB,qBAAqBA,GAAA;EAGnC,OAAO,CAAC,GAAGxB,iCAAiC,CAAC;AAC/C;;;;"}
|
|
1
|
+
{"version":3,"file":"animations.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/providers.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n AnimationDriver,\n NoopAnimationDriver,\n ɵAnimationEngine as AnimationEngine,\n ɵAnimationRendererFactory as AnimationRendererFactory,\n ɵAnimationStyleNormalizer as AnimationStyleNormalizer,\n ɵWebAnimationsDriver as WebAnimationsDriver,\n ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer,\n} from '@angular/animations/browser';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ANIMATION_MODULE_TYPE,\n inject,\n Inject,\n Injectable,\n NgZone,\n OnDestroy,\n Provider,\n RendererFactory2,\n} from '@angular/core';\nimport {ɵDomRendererFactory2 as DomRendererFactory2} from '../../index';\n\n@Injectable()\nexport class InjectableAnimationEngine extends AnimationEngine implements OnDestroy {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(\n @Inject(DOCUMENT) doc: Document,\n driver: AnimationDriver,\n normalizer: AnimationStyleNormalizer,\n ) {\n super(doc, driver, normalizer);\n }\n\n ngOnDestroy(): void {\n this.flush();\n }\n}\n\nexport function instantiateDefaultStyleNormalizer() {\n return new WebAnimationsStyleNormalizer();\n}\n\nexport function instantiateRendererFactory() {\n return new AnimationRendererFactory(\n inject(DomRendererFactory2),\n inject(AnimationEngine),\n inject(NgZone),\n );\n}\n\nconst SHARED_ANIMATION_PROVIDERS: Provider[] = [\n {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer},\n {provide: AnimationEngine, useClass: InjectableAnimationEngine},\n {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n },\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nexport const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [\n {provide: AnimationDriver, useClass: NoopAnimationDriver},\n {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'},\n ...SHARED_ANIMATION_PROVIDERS,\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nexport const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [\n // Note: the `ngServerMode` happen inside factories to give the variable time to initialize.\n {\n provide: AnimationDriver,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode\n ? new NoopAnimationDriver()\n : new WebAnimationsDriver(),\n },\n {\n provide: ANIMATION_MODULE_TYPE,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode ? 'NoopAnimations' : 'BrowserAnimations',\n },\n ...SHARED_ANIMATION_PROVIDERS,\n];\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nimport {\n ModuleWithProviders,\n NgModule,\n Provider,\n ɵperformanceMarkFeature as performanceMarkFeature,\n} from '@angular/core';\n// g3-only import {BrowserModule} from '@angular/platform-browser';\nimport {BrowserModule} from '../../index'; // 3p-only\n\nimport {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers';\n\n/**\n * Object used to configure the behavior of {@link BrowserAnimationsModule}\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport interface BrowserAnimationsModuleConfig {\n /**\n * Whether animations should be disabled. Passing this is identical to providing the\n * `NoopAnimationsModule`, but it can be controlled based on a runtime value.\n */\n disableAnimations?: boolean;\n}\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n})\nexport class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```ts\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(\n config: BrowserAnimationsModuleConfig,\n ): ModuleWithProviders<BrowserAnimationsModule> {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations\n ? BROWSER_NOOP_ANIMATIONS_PROVIDERS\n : BROWSER_ANIMATIONS_PROVIDERS,\n };\n }\n}\n\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n *\n */\nexport function provideAnimations(): Provider[] {\n performanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n})\nexport class NoopAnimationsModule {}\n\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport function provideNoopAnimations(): Provider[] {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n"],"names":["AnimationEngine","WebAnimationsStyleNormalizer","AnimationRendererFactory","AnimationStyleNormalizer","WebAnimationsDriver","performanceMarkFeature"],"mappings":";;;;;;;;;;;;;;;AA+BM,MAAO,yBAA0B,SAAQA,gBAAe,CAAA;AAI5D,EAAA,WAAA,CACoB,GAAa,E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AAE;KACZ;;;SAuDe,iBAAiB,GAAA;EAC/BC,uBAAsB,CAAC,mBAAmB,CAAC;EAG3C,OAAO,CAAC,GAAG,4BAA4B,CAAC;AAC1C;MAYa,oBAAoB,CAAA;;;;;UAApB,oBAAoB;AAAA,IAAA,IAAA,EAAA,EAAA;AAAA,IAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA;AAAA,GAAA,CAAA;AAApB,EAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA;AAAA,IAAA,UAAA,EAAA,QAAA;AAAA,IAAA,OAAA,EAAA,mBAAA;AAAA,IAAA,QAAA,EAAA,EAAA;AAAA,IAAA,IAAA,EAAA,oBAAoB;cAHrB,aAAa;AAAA,GAAA,CAAA;;;;;UAGZ,oBAAoB;AAAA,IAAA,SAAA,EAFpB,iCAAiC;IAAA,OAAA,EAAA,CADlC,aAAa;AAAA,GAAA,CAAA;;;;;;QAGZ,oBAAoB;AAAA,EAAA,UAAA,EAAA,CAAA;UAJhC,QAAQ;AAAC,IAAA,IAAA,EAAA,CAAA;MACR,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,MAAA,SAAS,EAAE;KACZ;;;SA0Be,qBAAqB,GAAA;EAGnC,OAAO,CAAC,GAAG,iCAAiC,CAAC;AAC/C;;;;"}
|
|
@@ -1,53 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v22.1.0-next.
|
|
2
|
+
* @license Angular v22.1.0-next.5
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export { BrowserModule, bootstrapApplication, createApplication, platformBrowser, provideProtractorTestingSupport, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, KeyEventsPlugin as ɵKeyEventsPlugin } from './_browser-chunk.mjs';
|
|
8
|
-
import { ɵgetDOM as _getDOM
|
|
8
|
+
import { DOCUMENT, ɵgetDOM as _getDOM } from '@angular/common';
|
|
9
9
|
export { ɵgetDOM } from '@angular/common';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
|
-
import { Inject, Injectable, ɵglobal as _global, ApplicationRef, ɵRuntimeError as _RuntimeError, makeEnvironmentProviders, ɵCACHE_ACTIVE as _CACHE_ACTIVE, APP_BOOTSTRAP_LISTENER, provideStabilityDebugging, ɵwithDomHydration as _withDomHydration, ɵwithIncrementalHydration as _withIncrementalHydration,
|
|
12
|
-
|
|
11
|
+
import { inject, Service, Inject, Injectable, ɵglobal as _global, ApplicationRef, ɵRuntimeError as _RuntimeError, makeEnvironmentProviders, ɵCACHE_ACTIVE as _CACHE_ACTIVE, APP_BOOTSTRAP_LISTENER, provideStabilityDebugging, ɵwithDomHydration as _withDomHydration, ɵwithIncrementalHydration as _withIncrementalHydration, ɵwithEventReplay as _withEventReplay, ɵwithI18nSupport as _withI18nSupport, ENVIRONMENT_INITIALIZER, ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION as _IS_ENABLED_BLOCKING_INITIAL_NAVIGATION, ɵConsole as _Console, ɵformatRuntimeError as _formatRuntimeError, ɵXSS_SECURITY_URL as _XSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow as _allowSanitizationBypassAndThrow, ɵunwrapSafeValue as _unwrapSafeValue, ɵ_sanitizeUrl as __sanitizeUrl, ɵ_sanitizeHtml as __sanitizeHtml, ɵbypassSanitizationTrustHtml as _bypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle as _bypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript as _bypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl as _bypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl as _bypassSanitizationTrustResourceUrl, forwardRef, Version } from '@angular/core';
|
|
12
|
+
import { CSS_VAR_NAMESPACE } from './_dom_renderer-chunk.mjs';
|
|
13
|
+
export { EVENT_MANAGER_PLUGINS, EventManager, EventManagerPlugin, REMOVE_STYLES_ON_COMPONENT_DESTROY, provideCssVarNamespacing, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, SharedStylesHost as ɵSharedStylesHost } from './_dom_renderer-chunk.mjs';
|
|
13
14
|
import { ɵwithHttpTransferCache as _withHttpTransferCache } from '@angular/common/http';
|
|
14
15
|
|
|
15
16
|
class Meta {
|
|
16
|
-
_doc;
|
|
17
|
-
_dom;
|
|
18
|
-
|
|
19
|
-
this._doc = _doc;
|
|
20
|
-
this._dom = _getDOM();
|
|
21
|
-
}
|
|
17
|
+
_doc = inject(DOCUMENT);
|
|
18
|
+
_dom = _getDOM();
|
|
19
|
+
_cachedHead;
|
|
22
20
|
addTag(tag, forceCreation = false) {
|
|
23
21
|
if (!tag) return null;
|
|
24
22
|
return this._getOrCreateElement(tag, forceCreation);
|
|
25
23
|
}
|
|
26
24
|
addTags(tags, forceCreation = false) {
|
|
27
|
-
|
|
28
|
-
return tags.reduce((result, tag) => {
|
|
29
|
-
if (tag) {
|
|
30
|
-
result.push(this._getOrCreateElement(tag, forceCreation));
|
|
31
|
-
}
|
|
32
|
-
return result;
|
|
33
|
-
}, []);
|
|
25
|
+
return tags.filter(tag => !!tag).map(tag => this._getOrCreateElement(tag, forceCreation));
|
|
34
26
|
}
|
|
35
27
|
getTag(attrSelector) {
|
|
36
28
|
if (!attrSelector) return null;
|
|
37
|
-
const meta = this._doc.querySelector(
|
|
38
|
-
return meta
|
|
29
|
+
const meta = this._doc.querySelector(buildMetaSelector(attrSelector));
|
|
30
|
+
return isMetaTag(meta) ? meta : null;
|
|
39
31
|
}
|
|
40
32
|
getTags(attrSelector) {
|
|
41
33
|
if (!attrSelector) return [];
|
|
42
|
-
const list = this._doc.querySelectorAll(
|
|
43
|
-
return list ?
|
|
34
|
+
const list = this._doc.querySelectorAll(buildMetaSelector(attrSelector));
|
|
35
|
+
return list ? Array.from(list).filter(elem => isMetaTag(elem)) : [];
|
|
44
36
|
}
|
|
45
37
|
updateTag(tag, selector) {
|
|
46
|
-
|
|
47
|
-
selector = selector || this._parseSelector(tag);
|
|
38
|
+
selector ??= parseSelector(tag);
|
|
48
39
|
const meta = this.getTag(selector);
|
|
49
40
|
if (meta) {
|
|
50
|
-
|
|
41
|
+
setMetaElementAttributes(tag, meta);
|
|
42
|
+
return meta;
|
|
51
43
|
}
|
|
52
44
|
return this._getOrCreateElement(tag, true);
|
|
53
45
|
}
|
|
@@ -61,70 +53,62 @@ class Meta {
|
|
|
61
53
|
}
|
|
62
54
|
_getOrCreateElement(meta, forceCreation = false) {
|
|
63
55
|
if (!forceCreation) {
|
|
64
|
-
const selector =
|
|
65
|
-
const elem = this.getTags(selector).filter(elem =>
|
|
56
|
+
const selector = parseSelector(meta);
|
|
57
|
+
const elem = this.getTags(selector).filter(elem => containsAttributes(meta, elem))[0];
|
|
66
58
|
if (elem !== undefined) return elem;
|
|
67
59
|
}
|
|
68
60
|
const element = this._dom.createElement('meta');
|
|
69
|
-
|
|
61
|
+
setMetaElementAttributes(meta, element);
|
|
70
62
|
const head = this._doc.getElementsByTagName('head')[0];
|
|
71
63
|
head.appendChild(element);
|
|
72
64
|
return element;
|
|
73
65
|
}
|
|
74
|
-
_setMetaElementAttributes(tag, el) {
|
|
75
|
-
Object.keys(tag).forEach(prop => el.setAttribute(this._getMetaKeyMap(prop), tag[prop]));
|
|
76
|
-
return el;
|
|
77
|
-
}
|
|
78
|
-
_parseSelector(tag) {
|
|
79
|
-
const attr = tag.name ? 'name' : 'property';
|
|
80
|
-
return `${attr}=${this._escapeSelectorValue(String(tag[attr]))}`;
|
|
81
|
-
}
|
|
82
|
-
_escapeSelectorValue(value) {
|
|
83
|
-
return `"${value.replace(/\\/g, '\\\\').replace(/"/g, '\\"')}"`;
|
|
84
|
-
}
|
|
85
|
-
_containsAttributes(tag, elem) {
|
|
86
|
-
return Object.keys(tag).every(key => elem.getAttribute(this._getMetaKeyMap(key)) === tag[key]);
|
|
87
|
-
}
|
|
88
|
-
_getMetaKeyMap(prop) {
|
|
89
|
-
return META_KEYS_MAP[prop] || prop;
|
|
90
|
-
}
|
|
91
66
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
92
67
|
minVersion: "12.0.0",
|
|
93
|
-
version: "22.1.0-next.
|
|
68
|
+
version: "22.1.0-next.5",
|
|
94
69
|
ngImport: i0,
|
|
95
70
|
type: Meta,
|
|
96
|
-
deps: [
|
|
97
|
-
|
|
98
|
-
}],
|
|
99
|
-
target: i0.ɵɵFactoryTarget.Injectable
|
|
71
|
+
deps: [],
|
|
72
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
100
73
|
});
|
|
101
|
-
static ɵprov = i0.ɵɵ
|
|
102
|
-
minVersion: "
|
|
103
|
-
version: "22.1.0-next.
|
|
74
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
75
|
+
minVersion: "22.0.0",
|
|
76
|
+
version: "22.1.0-next.5",
|
|
104
77
|
ngImport: i0,
|
|
105
|
-
type: Meta
|
|
106
|
-
providedIn: 'root'
|
|
78
|
+
type: Meta
|
|
107
79
|
});
|
|
108
80
|
}
|
|
109
81
|
i0.ɵɵngDeclareClassMetadata({
|
|
110
82
|
minVersion: "12.0.0",
|
|
111
|
-
version: "22.1.0-next.
|
|
83
|
+
version: "22.1.0-next.5",
|
|
112
84
|
ngImport: i0,
|
|
113
85
|
type: Meta,
|
|
114
86
|
decorators: [{
|
|
115
|
-
type:
|
|
116
|
-
args: [{
|
|
117
|
-
providedIn: 'root'
|
|
118
|
-
}]
|
|
119
|
-
}],
|
|
120
|
-
ctorParameters: () => [{
|
|
121
|
-
type: undefined,
|
|
122
|
-
decorators: [{
|
|
123
|
-
type: Inject,
|
|
124
|
-
args: [DOCUMENT]
|
|
125
|
-
}]
|
|
87
|
+
type: Service
|
|
126
88
|
}]
|
|
127
89
|
});
|
|
90
|
+
function buildMetaSelector(attrSelector) {
|
|
91
|
+
return `meta[${attrSelector}]`;
|
|
92
|
+
}
|
|
93
|
+
function setMetaElementAttributes(tag, el) {
|
|
94
|
+
Object.keys(tag).forEach(prop => el.setAttribute(getMetaKeyMap(prop), tag[prop]));
|
|
95
|
+
}
|
|
96
|
+
function parseSelector(tag) {
|
|
97
|
+
const attr = tag.name ? 'name' : 'property';
|
|
98
|
+
return `${attr}=${escapeSelectorValue(String(tag[attr]))}`;
|
|
99
|
+
}
|
|
100
|
+
function escapeSelectorValue(value) {
|
|
101
|
+
return `"${value.replace(/\\/g, '\\\\').replace(/"/g, '\\"')}"`;
|
|
102
|
+
}
|
|
103
|
+
function containsAttributes(tag, elem) {
|
|
104
|
+
return Object.keys(tag).every(key => elem.getAttribute(getMetaKeyMap(key)) === tag[key]);
|
|
105
|
+
}
|
|
106
|
+
function getMetaKeyMap(prop) {
|
|
107
|
+
return META_KEYS_MAP[prop] || prop;
|
|
108
|
+
}
|
|
109
|
+
function isMetaTag(tag) {
|
|
110
|
+
return tag?.nodeName.toLowerCase() === 'meta';
|
|
111
|
+
}
|
|
128
112
|
const META_KEYS_MAP = {
|
|
129
113
|
httpEquiv: 'http-equiv'
|
|
130
114
|
};
|
|
@@ -142,7 +126,7 @@ class Title {
|
|
|
142
126
|
}
|
|
143
127
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
144
128
|
minVersion: "12.0.0",
|
|
145
|
-
version: "22.1.0-next.
|
|
129
|
+
version: "22.1.0-next.5",
|
|
146
130
|
ngImport: i0,
|
|
147
131
|
type: Title,
|
|
148
132
|
deps: [{
|
|
@@ -152,7 +136,7 @@ class Title {
|
|
|
152
136
|
});
|
|
153
137
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
154
138
|
minVersion: "12.0.0",
|
|
155
|
-
version: "22.1.0-next.
|
|
139
|
+
version: "22.1.0-next.5",
|
|
156
140
|
ngImport: i0,
|
|
157
141
|
type: Title,
|
|
158
142
|
providedIn: 'root'
|
|
@@ -160,7 +144,7 @@ class Title {
|
|
|
160
144
|
}
|
|
161
145
|
i0.ɵɵngDeclareClassMetadata({
|
|
162
146
|
minVersion: "12.0.0",
|
|
163
|
-
version: "22.1.0-next.
|
|
147
|
+
version: "22.1.0-next.5",
|
|
164
148
|
ngImport: i0,
|
|
165
149
|
type: Title,
|
|
166
150
|
decorators: [{
|
|
@@ -250,6 +234,44 @@ function elementMatches(n, selector) {
|
|
|
250
234
|
return false;
|
|
251
235
|
}
|
|
252
236
|
|
|
237
|
+
class CssVarNamespacer {
|
|
238
|
+
namespacePrefix = inject(CSS_VAR_NAMESPACE, {
|
|
239
|
+
optional: true
|
|
240
|
+
}) ?? '';
|
|
241
|
+
namespace(name) {
|
|
242
|
+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
243
|
+
if (!name.startsWith('--')) {
|
|
244
|
+
throw new Error(`CSS variable names passed to \`CssVarNamespacer\` must start with '--', got: '${name}'`);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
if (!this.namespacePrefix) return name;
|
|
248
|
+
return `--${this.namespacePrefix}${name.substring('--'.length)}`;
|
|
249
|
+
}
|
|
250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
251
|
+
minVersion: "12.0.0",
|
|
252
|
+
version: "22.1.0-next.5",
|
|
253
|
+
ngImport: i0,
|
|
254
|
+
type: CssVarNamespacer,
|
|
255
|
+
deps: [],
|
|
256
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
257
|
+
});
|
|
258
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
259
|
+
minVersion: "22.0.0",
|
|
260
|
+
version: "22.1.0-next.5",
|
|
261
|
+
ngImport: i0,
|
|
262
|
+
type: CssVarNamespacer
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
266
|
+
minVersion: "12.0.0",
|
|
267
|
+
version: "22.1.0-next.5",
|
|
268
|
+
ngImport: i0,
|
|
269
|
+
type: CssVarNamespacer,
|
|
270
|
+
decorators: [{
|
|
271
|
+
type: Service
|
|
272
|
+
}]
|
|
273
|
+
});
|
|
274
|
+
|
|
253
275
|
var HydrationFeatureKind;
|
|
254
276
|
(function (HydrationFeatureKind) {
|
|
255
277
|
HydrationFeatureKind[HydrationFeatureKind["NoHttpTransferCache"] = 0] = "NoHttpTransferCache";
|
|
@@ -343,7 +365,7 @@ function provideClientHydration(...features) {
|
|
|
343
365
|
class DomSanitizer {
|
|
344
366
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
345
367
|
minVersion: "12.0.0",
|
|
346
|
-
version: "22.1.0-next.
|
|
368
|
+
version: "22.1.0-next.5",
|
|
347
369
|
ngImport: i0,
|
|
348
370
|
type: DomSanitizer,
|
|
349
371
|
deps: [],
|
|
@@ -351,7 +373,7 @@ class DomSanitizer {
|
|
|
351
373
|
});
|
|
352
374
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
353
375
|
minVersion: "12.0.0",
|
|
354
|
-
version: "22.1.0-next.
|
|
376
|
+
version: "22.1.0-next.5",
|
|
355
377
|
ngImport: i0,
|
|
356
378
|
type: DomSanitizer,
|
|
357
379
|
providedIn: 'root',
|
|
@@ -360,7 +382,7 @@ class DomSanitizer {
|
|
|
360
382
|
}
|
|
361
383
|
i0.ɵɵngDeclareClassMetadata({
|
|
362
384
|
minVersion: "12.0.0",
|
|
363
|
-
version: "22.1.0-next.
|
|
385
|
+
version: "22.1.0-next.5",
|
|
364
386
|
ngImport: i0,
|
|
365
387
|
type: DomSanitizer,
|
|
366
388
|
decorators: [{
|
|
@@ -402,7 +424,7 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
|
402
424
|
if (_allowSanitizationBypassAndThrow(value, "ResourceURL")) {
|
|
403
425
|
return _unwrapSafeValue(value);
|
|
404
426
|
}
|
|
405
|
-
throw new _RuntimeError(5201, (typeof ngDevMode === 'undefined' || ngDevMode) && `unsafe value used in a resource URL context (see ${_XSS_SECURITY_URL})`);
|
|
427
|
+
throw new _RuntimeError(-5201, (typeof ngDevMode === 'undefined' || ngDevMode) && `unsafe value used in a resource URL context (see ${_XSS_SECURITY_URL})`);
|
|
406
428
|
default:
|
|
407
429
|
throw new _RuntimeError(5202, (typeof ngDevMode === 'undefined' || ngDevMode) && `Unexpected SecurityContext ${ctx} (see ${_XSS_SECURITY_URL})`);
|
|
408
430
|
}
|
|
@@ -424,7 +446,7 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
|
424
446
|
}
|
|
425
447
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
426
448
|
minVersion: "12.0.0",
|
|
427
|
-
version: "22.1.0-next.
|
|
449
|
+
version: "22.1.0-next.5",
|
|
428
450
|
ngImport: i0,
|
|
429
451
|
type: DomSanitizerImpl,
|
|
430
452
|
deps: [],
|
|
@@ -432,14 +454,14 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
|
432
454
|
});
|
|
433
455
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
434
456
|
minVersion: "22.0.0",
|
|
435
|
-
version: "22.1.0-next.
|
|
457
|
+
version: "22.1.0-next.5",
|
|
436
458
|
ngImport: i0,
|
|
437
459
|
type: DomSanitizerImpl
|
|
438
460
|
});
|
|
439
461
|
}
|
|
440
462
|
i0.ɵɵngDeclareClassMetadata({
|
|
441
463
|
minVersion: "12.0.0",
|
|
442
|
-
version: "22.1.0-next.
|
|
464
|
+
version: "22.1.0-next.5",
|
|
443
465
|
ngImport: i0,
|
|
444
466
|
type: DomSanitizerImpl,
|
|
445
467
|
decorators: [{
|
|
@@ -447,7 +469,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
447
469
|
}]
|
|
448
470
|
});
|
|
449
471
|
|
|
450
|
-
const VERSION = /* @__PURE__ */new Version('22.1.0-next.
|
|
472
|
+
const VERSION = /* @__PURE__ */new Version('22.1.0-next.5');
|
|
451
473
|
|
|
452
|
-
export { By, DomSanitizer, HydrationFeatureKind, Meta, Title, VERSION, disableDebugTools, enableDebugTools, provideClientHydration, withEventReplay, withHttpTransferCacheOptions, withI18nSupport, withIncrementalHydration, withNoHttpTransferCache, withNoIncrementalHydration, DomSanitizerImpl as ɵDomSanitizerImpl };
|
|
474
|
+
export { By, CssVarNamespacer, DomSanitizer, HydrationFeatureKind, Meta, Title, VERSION, disableDebugTools, enableDebugTools, provideClientHydration, withEventReplay, withHttpTransferCacheOptions, withI18nSupport, withIncrementalHydration, withNoHttpTransferCache, withNoIncrementalHydration, DomSanitizerImpl as ɵDomSanitizerImpl };
|
|
453
475
|
//# sourceMappingURL=platform-browser.mjs.map
|