@angular/platform-browser 14.0.0-next.13 → 14.0.0-next.16

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.
Files changed (34) hide show
  1. package/animations/{animations.d.ts → index.d.ts} +155 -154
  2. package/esm2020/animations/src/animation_builder.mjs +3 -3
  3. package/esm2020/animations/src/animation_renderer.mjs +3 -3
  4. package/esm2020/animations/src/module.mjs +8 -8
  5. package/esm2020/animations/src/providers.mjs +3 -3
  6. package/esm2020/src/browser/meta.mjs +3 -3
  7. package/esm2020/src/browser/title.mjs +3 -3
  8. package/esm2020/src/browser/transfer_state.mjs +8 -8
  9. package/esm2020/src/browser/xhr.mjs +3 -3
  10. package/esm2020/src/browser.mjs +60 -16
  11. package/esm2020/src/dom/dom_renderer.mjs +3 -3
  12. package/esm2020/src/dom/events/dom_events.mjs +3 -3
  13. package/esm2020/src/dom/events/event_manager.mjs +3 -3
  14. package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
  15. package/esm2020/src/dom/events/key_events.mjs +3 -3
  16. package/esm2020/src/dom/shared_styles_host.mjs +6 -6
  17. package/esm2020/src/platform-browser.mjs +2 -2
  18. package/esm2020/src/private_export.mjs +2 -2
  19. package/esm2020/src/security/dom_sanitization_service.mjs +12 -12
  20. package/esm2020/src/version.mjs +1 -1
  21. package/esm2020/testing/src/browser.mjs +4 -4
  22. package/fesm2015/animations.mjs +18 -18
  23. package/fesm2015/platform-browser.mjs +121 -76
  24. package/fesm2015/platform-browser.mjs.map +1 -1
  25. package/fesm2015/testing.mjs +5 -5
  26. package/fesm2020/animations.mjs +18 -18
  27. package/fesm2020/platform-browser.mjs +120 -76
  28. package/fesm2020/platform-browser.mjs.map +1 -1
  29. package/fesm2020/testing.mjs +5 -5
  30. package/{platform-browser.d.ts → index.d.ts} +875 -832
  31. package/package.json +8 -8
  32. package/testing/{testing.d.ts → index.d.ts} +26 -25
  33. package/animations/package.json +0 -10
  34. package/testing/package.json +0 -9
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.13
2
+ * @license Angular v14.0.0-next.16
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -35,9 +35,9 @@ class BrowserAnimationBuilder extends AnimationBuilder {
35
35
  return new BrowserAnimationFactory(id, this._renderer);
36
36
  }
37
37
  }
38
- BrowserAnimationBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
39
- BrowserAnimationBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationBuilder });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
38
+ BrowserAnimationBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
39
+ BrowserAnimationBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
41
41
  type: Injectable
42
42
  }], ctorParameters: function () {
43
43
  return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{
@@ -221,9 +221,9 @@ class AnimationRendererFactory {
221
221
  return this.engine.whenRenderingDone();
222
222
  }
223
223
  }
224
- AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
225
- AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: AnimationRendererFactory });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: AnimationRendererFactory, decorators: [{
224
+ AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
225
+ AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory });
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory, decorators: [{
227
227
  type: Injectable
228
228
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });
229
229
  class BaseAnimationRenderer {
@@ -378,9 +378,9 @@ class InjectableAnimationEngine extends ɵAnimationEngine {
378
378
  this.flush();
379
379
  }
380
380
  }
381
- InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
382
- InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: InjectableAnimationEngine });
383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
381
+ InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
382
+ InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine });
383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
384
384
  type: Injectable
385
385
  }], ctorParameters: function () {
386
386
  return [{ type: undefined, decorators: [{
@@ -457,10 +457,10 @@ class BrowserAnimationsModule {
457
457
  };
458
458
  }
459
459
  }
460
- BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
461
- BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
462
- BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
460
+ BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
461
+ BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
462
+ BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
464
464
  type: NgModule,
465
465
  args: [{
466
466
  exports: [BrowserModule],
@@ -473,10 +473,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13",
473
473
  */
474
474
  class NoopAnimationsModule {
475
475
  }
476
- NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
477
- NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
478
- NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
479
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: NoopAnimationsModule, decorators: [{
476
+ NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
477
+ NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
478
+ NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, decorators: [{
480
480
  type: NgModule,
481
481
  args: [{
482
482
  exports: [BrowserModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.13
2
+ * @license Angular v14.0.0-next.16
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,7 +7,7 @@
7
7
  import { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, DOCUMENT, ɵPLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';
8
8
  export { ɵgetDOM } from '@angular/common';
9
9
  import * as i0 from '@angular/core';
10
- import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, setTestabilityGetter, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵINJECTOR_SCOPE, NgZone, RendererFactory2, Testability, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, ɵConsole, forwardRef, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵgetSanitizationBypassType, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';
10
+ import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, setTestabilityGetter, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵbootstrapApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵINJECTOR_SCOPE, NgZone, RendererFactory2, Testability, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, ɵConsole, forwardRef, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵgetSanitizationBypassType, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';
11
11
 
12
12
  /**
13
13
  * @license
@@ -221,9 +221,9 @@ class BrowserXhr {
221
221
  return new XMLHttpRequest();
222
222
  }
223
223
  }
224
- BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
- BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserXhr });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserXhr, decorators: [{
224
+ BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
+ BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr });
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, decorators: [{
227
227
  type: Injectable
228
228
  }] });
229
229
 
@@ -306,9 +306,9 @@ class EventManager {
306
306
  throw new Error(`No event manager plugin found for event ${eventName}`);
307
307
  }
308
308
  }
309
- EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
310
- EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: EventManager });
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: EventManager, decorators: [{
309
+ EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
310
+ EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager });
311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, decorators: [{
312
312
  type: Injectable
313
313
  }], ctorParameters: function () {
314
314
  return [{ type: undefined, decorators: [{
@@ -356,9 +356,9 @@ class SharedStylesHost {
356
356
  return Array.from(this._stylesSet);
357
357
  }
358
358
  }
359
- SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
360
- SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: SharedStylesHost });
361
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: SharedStylesHost, decorators: [{
359
+ SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
360
+ SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost });
361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, decorators: [{
362
362
  type: Injectable
363
363
  }] });
364
364
  class DomSharedStylesHost extends SharedStylesHost {
@@ -397,9 +397,9 @@ class DomSharedStylesHost extends SharedStylesHost {
397
397
  this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
398
398
  }
399
399
  }
400
- DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
401
- DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSharedStylesHost });
402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSharedStylesHost, decorators: [{
400
+ DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
401
+ DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost });
402
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, decorators: [{
403
403
  type: Injectable
404
404
  }], ctorParameters: function () {
405
405
  return [{ type: undefined, decorators: [{
@@ -427,7 +427,7 @@ const NAMESPACE_URIS = {
427
427
  'math': 'http://www.w3.org/1998/MathML/',
428
428
  };
429
429
  const COMPONENT_REGEX = /%COMP%/g;
430
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
430
+ const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
431
431
  const COMPONENT_VARIABLE = '%COMP%';
432
432
  const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
433
433
  const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -522,9 +522,9 @@ class DomRendererFactory2 {
522
522
  begin() { }
523
523
  end() { }
524
524
  }
525
- DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
526
- DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomRendererFactory2 });
527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomRendererFactory2, decorators: [{
525
+ DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
526
+ DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2 });
527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, decorators: [{
528
528
  type: Injectable
529
529
  }], ctorParameters: function () {
530
530
  return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
@@ -646,14 +646,14 @@ class DefaultDomRenderer2 {
646
646
  }
647
647
  }
648
648
  setProperty(el, name, value) {
649
- NG_DEV_MODE && checkNoSyntheticProp(name, 'property');
649
+ NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
650
650
  el[name] = value;
651
651
  }
652
652
  setValue(node, value) {
653
653
  node.nodeValue = value;
654
654
  }
655
655
  listen(target, event, callback) {
656
- NG_DEV_MODE && checkNoSyntheticProp(event, 'listener');
656
+ NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
657
657
  if (typeof target === 'string') {
658
658
  return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
659
659
  }
@@ -747,9 +747,9 @@ class DomEventsPlugin extends EventManagerPlugin {
747
747
  return target.removeEventListener(eventName, callback);
748
748
  }
749
749
  }
750
- DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
751
- DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomEventsPlugin });
752
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomEventsPlugin, decorators: [{
750
+ DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
751
+ DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin });
752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, decorators: [{
753
753
  type: Injectable
754
754
  }], ctorParameters: function () {
755
755
  return [{ type: undefined, decorators: [{
@@ -927,9 +927,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
927
927
  }
928
928
  }
929
929
  }
930
- KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
931
- KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: KeyEventsPlugin });
932
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: KeyEventsPlugin, decorators: [{
930
+ KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
931
+ KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin });
932
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, decorators: [{
933
933
  type: Injectable
934
934
  }], ctorParameters: function () {
935
935
  return [{ type: undefined, decorators: [{
@@ -967,6 +967,41 @@ function getEventKey(event) {
967
967
  * Use of this source code is governed by an MIT-style license that can be
968
968
  * found in the LICENSE file at https://angular.io/license
969
969
  */
970
+ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
971
+ /**
972
+ * Bootstraps an instance of an Angular application and renders a root component.
973
+ *
974
+ * Note: the root component passed into this function *must* be a standalone one (should have the
975
+ * `standalone: true` flag in the `@Component` decorator config).
976
+ *
977
+ * ```typescript
978
+ * @Component({
979
+ * standalone: true,
980
+ * template: 'Hello world!'
981
+ * })
982
+ * class RootComponent {}
983
+ *
984
+ * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);
985
+ * ```
986
+ *
987
+ * @param rootComponent A reference to a Standalone Component that should be rendered.
988
+ * @param options Additional configuration for the bootstrap operation, see `ApplicationConfig` for
989
+ * additional info.
990
+ * @returns A promise that returns an `ApplicationRef` instance once resolved.
991
+ *
992
+ * @publicApi
993
+ */
994
+ function bootstrapApplication(rootComponent, options) {
995
+ var _a;
996
+ return ɵbootstrapApplication({
997
+ rootComponent,
998
+ appProviders: [
999
+ ...BROWSER_MODULE_PROVIDERS,
1000
+ ...((_a = options === null || options === void 0 ? void 0 : options.providers) !== null && _a !== void 0 ? _a : []),
1001
+ ],
1002
+ platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS,
1003
+ });
1004
+ }
970
1005
  function initDomAdapter() {
971
1006
  BrowserDomAdapter.makeCurrent();
972
1007
  BrowserGetTestability.init();
@@ -991,17 +1026,22 @@ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
991
1026
  * @publicApi
992
1027
  */
993
1028
  const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
1029
+ /**
1030
+ * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
1031
+ * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
1032
+ * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
1033
+ * `BrowserModule` providers without referencing the module itself.
1034
+ */
1035
+ const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
994
1036
  const BROWSER_MODULE_PROVIDERS = [
995
1037
  { provide: ɵINJECTOR_SCOPE, useValue: 'root' },
996
- { provide: ErrorHandler, useFactory: errorHandler, deps: [] },
997
- {
1038
+ { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {
998
1039
  provide: EVENT_MANAGER_PLUGINS,
999
1040
  useClass: DomEventsPlugin,
1000
1041
  multi: true,
1001
1042
  deps: [DOCUMENT, NgZone, PLATFORM_ID]
1002
1043
  },
1003
- { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
1004
- {
1044
+ { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {
1005
1045
  provide: DomRendererFactory2,
1006
1046
  useClass: DomRendererFactory2,
1007
1047
  deps: [EventManager, DomSharedStylesHost, APP_ID]
@@ -1012,6 +1052,7 @@ const BROWSER_MODULE_PROVIDERS = [
1012
1052
  { provide: Testability, useClass: Testability, deps: [NgZone] },
1013
1053
  { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },
1014
1054
  { provide: XhrFactory, useClass: BrowserXhr, deps: [] },
1055
+ NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []
1015
1056
  ];
1016
1057
  /**
1017
1058
  * Exports required infrastructure for all Angular apps.
@@ -1023,9 +1064,10 @@ const BROWSER_MODULE_PROVIDERS = [
1023
1064
  * @publicApi
1024
1065
  */
1025
1066
  class BrowserModule {
1026
- constructor(parentModule) {
1027
- if (parentModule) {
1028
- throw new Error(`BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.`);
1067
+ constructor(providersAlreadyPresent) {
1068
+ if (NG_DEV_MODE && providersAlreadyPresent) {
1069
+ throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
1070
+ `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1029
1071
  }
1030
1072
  }
1031
1073
  /**
@@ -1047,20 +1089,23 @@ class BrowserModule {
1047
1089
  };
1048
1090
  }
1049
1091
  }
1050
- BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserModule, deps: [{ token: BrowserModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1051
- BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1052
- BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserModule, decorators: [{
1092
+ BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1093
+ BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1094
+ BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, decorators: [{
1054
1096
  type: NgModule,
1055
- args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }]
1097
+ args: [{
1098
+ providers: BROWSER_MODULE_PROVIDERS,
1099
+ exports: [CommonModule, ApplicationModule],
1100
+ }]
1056
1101
  }], ctorParameters: function () {
1057
- return [{ type: BrowserModule, decorators: [{
1102
+ return [{ type: undefined, decorators: [{
1058
1103
  type: Optional
1059
1104
  }, {
1060
1105
  type: SkipSelf
1061
1106
  }, {
1062
1107
  type: Inject,
1063
- args: [BrowserModule]
1108
+ args: [BROWSER_MODULE_PROVIDERS_MARKER]
1064
1109
  }] }];
1065
1110
  } });
1066
1111
 
@@ -1227,9 +1272,9 @@ class Meta {
1227
1272
  return META_KEYS_MAP[prop] || prop;
1228
1273
  }
1229
1274
  }
1230
- Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1231
- Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Meta, decorators: [{
1275
+ Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1276
+ Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, decorators: [{
1233
1278
  type: Injectable,
1234
1279
  args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
1235
1280
  }], ctorParameters: function () {
@@ -1286,9 +1331,9 @@ class Title {
1286
1331
  this._doc.title = newTitle || '';
1287
1332
  }
1288
1333
  }
1289
- Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1290
- Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: Title, decorators: [{
1334
+ Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1335
+ Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, decorators: [{
1292
1337
  type: Injectable,
1293
1338
  args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
1294
1339
  }], ctorParameters: function () {
@@ -1557,9 +1602,9 @@ class TransferState {
1557
1602
  return JSON.stringify(this.store);
1558
1603
  }
1559
1604
  }
1560
- TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1561
- TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: TransferState });
1562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: TransferState, decorators: [{
1605
+ TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1606
+ TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState });
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, decorators: [{
1563
1608
  type: Injectable
1564
1609
  }] });
1565
1610
  function initTransferState(doc, appId) {
@@ -1586,10 +1631,10 @@ function initTransferState(doc, appId) {
1586
1631
  */
1587
1632
  class BrowserTransferStateModule {
1588
1633
  }
1589
- BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1590
- BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserTransferStateModule });
1591
- BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1634
+ BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1635
+ BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule });
1636
+ BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1593
1638
  type: NgModule,
1594
1639
  args: [{
1595
1640
  providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
@@ -1765,9 +1810,9 @@ class HammerGestureConfig {
1765
1810
  return mc;
1766
1811
  }
1767
1812
  }
1768
- HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1769
- HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGestureConfig });
1770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGestureConfig, decorators: [{
1813
+ HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1814
+ HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig });
1815
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, decorators: [{
1771
1816
  type: Injectable
1772
1817
  }] });
1773
1818
  /**
@@ -1863,9 +1908,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1863
1908
  return this._config.events.indexOf(eventName) > -1;
1864
1909
  }
1865
1910
  }
1866
- HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1867
- HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGesturesPlugin });
1868
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1911
+ HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1912
+ HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin });
1913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1869
1914
  type: Injectable
1870
1915
  }], ctorParameters: function () {
1871
1916
  return [{ type: undefined, decorators: [{
@@ -1894,9 +1939,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13",
1894
1939
  */
1895
1940
  class HammerModule {
1896
1941
  }
1897
- HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1898
- HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerModule });
1899
- HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerModule, providers: [
1942
+ HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1943
+ HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule });
1944
+ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, providers: [
1900
1945
  {
1901
1946
  provide: EVENT_MANAGER_PLUGINS,
1902
1947
  useClass: HammerGesturesPlugin,
@@ -1905,7 +1950,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
1905
1950
  },
1906
1951
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1907
1952
  ] });
1908
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: HammerModule, decorators: [{
1953
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, decorators: [{
1909
1954
  type: NgModule,
1910
1955
  args: [{
1911
1956
  providers: [
@@ -1960,9 +2005,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13",
1960
2005
  */
1961
2006
  class DomSanitizer {
1962
2007
  }
1963
- DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1964
- DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
1965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizer, decorators: [{
2008
+ DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2009
+ DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
2010
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, decorators: [{
1966
2011
  type: Injectable,
1967
2012
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1968
2013
  }] });
@@ -1981,28 +2026,28 @@ class DomSanitizerImpl extends DomSanitizer {
1981
2026
  case SecurityContext.NONE:
1982
2027
  return value;
1983
2028
  case SecurityContext.HTML:
1984
- if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* Html */)) {
2029
+ if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* BypassType.Html */)) {
1985
2030
  return ɵunwrapSafeValue(value);
1986
2031
  }
1987
2032
  return ɵ_sanitizeHtml(this._doc, String(value)).toString();
1988
2033
  case SecurityContext.STYLE:
1989
- if (ɵallowSanitizationBypassAndThrow(value, "Style" /* Style */)) {
2034
+ if (ɵallowSanitizationBypassAndThrow(value, "Style" /* BypassType.Style */)) {
1990
2035
  return ɵunwrapSafeValue(value);
1991
2036
  }
1992
2037
  return value;
1993
2038
  case SecurityContext.SCRIPT:
1994
- if (ɵallowSanitizationBypassAndThrow(value, "Script" /* Script */)) {
2039
+ if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
1995
2040
  return ɵunwrapSafeValue(value);
1996
2041
  }
1997
2042
  throw new Error('unsafe value used in a script context');
1998
2043
  case SecurityContext.URL:
1999
2044
  const type = ɵgetSanitizationBypassType(value);
2000
- if (ɵallowSanitizationBypassAndThrow(value, "URL" /* Url */)) {
2045
+ if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
2001
2046
  return ɵunwrapSafeValue(value);
2002
2047
  }
2003
2048
  return ɵ_sanitizeUrl(String(value));
2004
2049
  case SecurityContext.RESOURCE_URL:
2005
- if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* ResourceUrl */)) {
2050
+ if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
2006
2051
  return ɵunwrapSafeValue(value);
2007
2052
  }
2008
2053
  throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
@@ -2026,9 +2071,9 @@ class DomSanitizerImpl extends DomSanitizer {
2026
2071
  return ɵbypassSanitizationTrustResourceUrl(value);
2027
2072
  }
2028
2073
  }
2029
- DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2030
- DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2074
+ DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2075
+ DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2032
2077
  type: Injectable,
2033
2078
  args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
2034
2079
  }], ctorParameters: function () {
@@ -2056,7 +2101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.13",
2056
2101
  /**
2057
2102
  * @publicApi
2058
2103
  */
2059
- const VERSION = new Version('14.0.0-next.13');
2104
+ const VERSION = new Version('14.0.0-next.16');
2060
2105
 
2061
2106
  /**
2062
2107
  * @license
@@ -2087,5 +2132,5 @@ const VERSION = new Version('14.0.0-next.13');
2087
2132
  * Generated bundle index. Do not edit.
2088
2133
  */
2089
2134
 
2090
- export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };
2135
+ export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, bootstrapApplication, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, bootstrapApplication as ɵbootstrapApplication, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };
2091
2136
  //# sourceMappingURL=platform-browser.mjs.map