@angular/platform-browser 14.0.0-next.8 → 14.0.0-rc.1

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 (35) 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/testability.mjs +2 -5
  8. package/esm2020/src/browser/title.mjs +3 -3
  9. package/esm2020/src/browser/transfer_state.mjs +8 -8
  10. package/esm2020/src/browser/xhr.mjs +3 -3
  11. package/esm2020/src/browser.mjs +111 -19
  12. package/esm2020/src/dom/dom_renderer.mjs +3 -3
  13. package/esm2020/src/dom/events/dom_events.mjs +3 -3
  14. package/esm2020/src/dom/events/event_manager.mjs +3 -3
  15. package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
  16. package/esm2020/src/dom/events/key_events.mjs +3 -3
  17. package/esm2020/src/dom/shared_styles_host.mjs +6 -6
  18. package/esm2020/src/platform-browser.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/esm2020/testing/src/matchers.mjs +1 -18
  23. package/fesm2015/animations.mjs +18 -18
  24. package/fesm2015/platform-browser.mjs +171 -81
  25. package/fesm2015/platform-browser.mjs.map +1 -1
  26. package/fesm2015/testing.mjs +5 -5
  27. package/fesm2020/animations.mjs +18 -18
  28. package/fesm2020/platform-browser.mjs +170 -81
  29. package/fesm2020/platform-browser.mjs.map +1 -1
  30. package/fesm2020/testing.mjs +5 -5
  31. package/{platform-browser.d.ts → index.d.ts} +896 -832
  32. package/package.json +8 -8
  33. package/testing/{testing.d.ts → index.d.ts} +26 -25
  34. package/animations/package.json +0 -10
  35. package/testing/package.json +0 -9
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.8
2
+ * @license Angular v14.0.0-rc.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -235,13 +235,13 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
235
235
  */
236
236
  class BrowserTestingModule {
237
237
  }
238
- BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
- BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
- BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTestingModule, providers: [
238
+ BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
+ BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
+ BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTestingModule, providers: [
241
241
  { provide: APP_ID, useValue: 'a' },
242
242
  { provide: NgZone, useFactory: createNgZone },
243
243
  ], imports: [BrowserModule] });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTestingModule, decorators: [{
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTestingModule, decorators: [{
245
245
  type: NgModule,
246
246
  args: [{
247
247
  exports: [BrowserModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.8
2
+ * @license Angular v14.0.0-rc.1
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.8", 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.8", ngImport: i0, type: BrowserAnimationBuilder });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
38
+ BrowserAnimationBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", 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-rc.1", ngImport: i0, type: BrowserAnimationBuilder });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
41
41
  type: Injectable
42
42
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{
43
43
  type: Inject,
@@ -218,9 +218,9 @@ class AnimationRendererFactory {
218
218
  return this.engine.whenRenderingDone();
219
219
  }
220
220
  }
221
- AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
222
- AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: AnimationRendererFactory });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: AnimationRendererFactory, decorators: [{
221
+ AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
222
+ AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: AnimationRendererFactory });
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: AnimationRendererFactory, decorators: [{
224
224
  type: Injectable
225
225
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });
226
226
  class BaseAnimationRenderer {
@@ -375,9 +375,9 @@ class InjectableAnimationEngine extends ɵAnimationEngine {
375
375
  this.flush();
376
376
  }
377
377
  }
378
- InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
379
- InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: InjectableAnimationEngine });
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
378
+ InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
379
+ InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: InjectableAnimationEngine });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
381
381
  type: Injectable
382
382
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
383
383
  type: Inject,
@@ -452,10 +452,10 @@ class BrowserAnimationsModule {
452
452
  };
453
453
  }
454
454
  }
455
- BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
456
- BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
457
- BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
455
+ BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
456
+ BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
457
+ BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
459
459
  type: NgModule,
460
460
  args: [{
461
461
  exports: [BrowserModule],
@@ -468,10 +468,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8",
468
468
  */
469
469
  class NoopAnimationsModule {
470
470
  }
471
- NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
472
- NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
473
- NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: NoopAnimationsModule, decorators: [{
471
+ NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
472
+ NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
473
+ NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: NoopAnimationsModule, decorators: [{
475
475
  type: NgModule,
476
476
  args: [{
477
477
  exports: [BrowserModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.8
2
+ * @license Angular v14.0.0-rc.1
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, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵinternalBootstrapApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, 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
@@ -162,9 +162,6 @@ const SERVER_TRANSITION_PROVIDERS = [
162
162
  * found in the LICENSE file at https://angular.io/license
163
163
  */
164
164
  class BrowserGetTestability {
165
- static init() {
166
- setTestabilityGetter(new BrowserGetTestability());
167
- }
168
165
  addToWindow(registry) {
169
166
  ɵglobal['getAngularTestability'] = (elem, findInAncestors = true) => {
170
167
  const testability = registry.findTestabilityInTree(elem, findInAncestors);
@@ -221,9 +218,9 @@ class BrowserXhr {
221
218
  return new XMLHttpRequest();
222
219
  }
223
220
  }
224
- BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
- BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserXhr });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserXhr, decorators: [{
221
+ BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
222
+ BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserXhr });
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserXhr, decorators: [{
227
224
  type: Injectable
228
225
  }] });
229
226
 
@@ -306,9 +303,9 @@ class EventManager {
306
303
  throw new Error(`No event manager plugin found for event ${eventName}`);
307
304
  }
308
305
  }
309
- EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", 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.8", ngImport: i0, type: EventManager });
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: EventManager, decorators: [{
306
+ EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
307
+ EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: EventManager });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: EventManager, decorators: [{
312
309
  type: Injectable
313
310
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
314
311
  type: Inject,
@@ -354,9 +351,9 @@ class SharedStylesHost {
354
351
  return Array.from(this._stylesSet);
355
352
  }
356
353
  }
357
- SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
358
- SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: SharedStylesHost });
359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: SharedStylesHost, decorators: [{
354
+ SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
355
+ SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: SharedStylesHost });
356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: SharedStylesHost, decorators: [{
360
357
  type: Injectable
361
358
  }] });
362
359
  class DomSharedStylesHost extends SharedStylesHost {
@@ -395,9 +392,9 @@ class DomSharedStylesHost extends SharedStylesHost {
395
392
  this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
396
393
  }
397
394
  }
398
- DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
399
- DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSharedStylesHost });
400
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSharedStylesHost, decorators: [{
395
+ DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
396
+ DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSharedStylesHost });
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSharedStylesHost, decorators: [{
401
398
  type: Injectable
402
399
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
403
400
  type: Inject,
@@ -423,7 +420,7 @@ const NAMESPACE_URIS = {
423
420
  'math': 'http://www.w3.org/1998/MathML/',
424
421
  };
425
422
  const COMPONENT_REGEX = /%COMP%/g;
426
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
423
+ const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
427
424
  const COMPONENT_VARIABLE = '%COMP%';
428
425
  const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
429
426
  const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -518,9 +515,9 @@ class DomRendererFactory2 {
518
515
  begin() { }
519
516
  end() { }
520
517
  }
521
- DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
522
- DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomRendererFactory2 });
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomRendererFactory2, decorators: [{
518
+ DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
519
+ DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomRendererFactory2 });
520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomRendererFactory2, decorators: [{
524
521
  type: Injectable
525
522
  }], ctorParameters: function () { return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
526
523
  type: Inject,
@@ -640,14 +637,14 @@ class DefaultDomRenderer2 {
640
637
  }
641
638
  }
642
639
  setProperty(el, name, value) {
643
- NG_DEV_MODE && checkNoSyntheticProp(name, 'property');
640
+ NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
644
641
  el[name] = value;
645
642
  }
646
643
  setValue(node, value) {
647
644
  node.nodeValue = value;
648
645
  }
649
646
  listen(target, event, callback) {
650
- NG_DEV_MODE && checkNoSyntheticProp(event, 'listener');
647
+ NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
651
648
  if (typeof target === 'string') {
652
649
  return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
653
650
  }
@@ -741,9 +738,9 @@ class DomEventsPlugin extends EventManagerPlugin {
741
738
  return target.removeEventListener(eventName, callback);
742
739
  }
743
740
  }
744
- DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
745
- DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomEventsPlugin });
746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomEventsPlugin, decorators: [{
741
+ DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
742
+ DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomEventsPlugin });
743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomEventsPlugin, decorators: [{
747
744
  type: Injectable
748
745
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
749
746
  type: Inject,
@@ -919,9 +916,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
919
916
  }
920
917
  }
921
918
  }
922
- KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
923
- KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: KeyEventsPlugin });
924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: KeyEventsPlugin, decorators: [{
919
+ KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
920
+ KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: KeyEventsPlugin });
921
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: KeyEventsPlugin, decorators: [{
925
922
  type: Injectable
926
923
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
927
924
  type: Inject,
@@ -957,9 +954,69 @@ function getEventKey(event) {
957
954
  * Use of this source code is governed by an MIT-style license that can be
958
955
  * found in the LICENSE file at https://angular.io/license
959
956
  */
957
+ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
958
+ /**
959
+ * Bootstraps an instance of an Angular application and renders a root component.
960
+ *
961
+ * Note: the root component passed into this function *must* be a standalone one (should have the
962
+ * `standalone: true` flag in the `@Component` decorator config).
963
+ *
964
+ * ```typescript
965
+ * @Component({
966
+ * standalone: true,
967
+ * template: 'Hello world!'
968
+ * })
969
+ * class RootComponent {}
970
+ *
971
+ * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);
972
+ * ```
973
+ *
974
+ * Note: this bootstrap method doesn't include [Testability](api/core/Testability) by default.
975
+ * You can add [Testability](api/core/Testability) by getting the list of necessary providers
976
+ * using `provideProtractorTestingSupport()` function and add them into the `options.providers`
977
+ * array. Example:
978
+ *
979
+ * ```typescript
980
+ * import {provideProtractorTestingSupport} from '@angular/platform-browser';
981
+ *
982
+ * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);
983
+ * ```
984
+ *
985
+ * @param rootComponent A reference to a Standalone Component that should be rendered.
986
+ * @param options Additional configuration for the bootstrap operation, see `ApplicationConfig` for
987
+ * additional info.
988
+ * @returns A promise that returns an `ApplicationRef` instance once resolved.
989
+ *
990
+ * @publicApi
991
+ */
992
+ function bootstrapApplication(rootComponent, options) {
993
+ return ɵinternalBootstrapApplication({
994
+ rootComponent,
995
+ appProviders: [
996
+ ...BROWSER_MODULE_PROVIDERS,
997
+ ...(options?.providers ?? []),
998
+ ],
999
+ platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS,
1000
+ });
1001
+ }
1002
+ /**
1003
+ * Returns a set of providers required to setup [Testability](api/core/Testability) for an
1004
+ * application bootstrapped using the `bootstrapApplication` function. The set of providers is
1005
+ * needed to support testing an application with Protractor (which relies on the Testability APIs
1006
+ * to be present).
1007
+ *
1008
+ * @returns An array of providers required to setup Testability for an application and make it
1009
+ * available for testing using Protractor.
1010
+ *
1011
+ * @publicApi
1012
+ */
1013
+ function provideProtractorTestingSupport() {
1014
+ // Return a copy to prevent changes to the original array in case any in-place
1015
+ // alterations are performed to the `provideProtractorTestingSupport` call results in app code.
1016
+ return [...TESTABILITY_PROVIDERS];
1017
+ }
960
1018
  function initDomAdapter() {
961
1019
  BrowserDomAdapter.makeCurrent();
962
- BrowserGetTestability.init();
963
1020
  }
964
1021
  function errorHandler() {
965
1022
  return new ErrorHandler();
@@ -981,17 +1038,39 @@ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
981
1038
  * @publicApi
982
1039
  */
983
1040
  const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
1041
+ /**
1042
+ * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
1043
+ * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
1044
+ * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
1045
+ * `BrowserModule` providers without referencing the module itself.
1046
+ */
1047
+ const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
1048
+ const TESTABILITY_PROVIDERS = [
1049
+ {
1050
+ provide: ɵTESTABILITY_GETTER,
1051
+ useClass: BrowserGetTestability,
1052
+ deps: [],
1053
+ },
1054
+ {
1055
+ provide: ɵTESTABILITY,
1056
+ useClass: Testability,
1057
+ deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]
1058
+ },
1059
+ {
1060
+ provide: Testability,
1061
+ useClass: Testability,
1062
+ deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]
1063
+ }
1064
+ ];
984
1065
  const BROWSER_MODULE_PROVIDERS = [
985
1066
  { provide: ɵINJECTOR_SCOPE, useValue: 'root' },
986
- { provide: ErrorHandler, useFactory: errorHandler, deps: [] },
987
- {
1067
+ { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {
988
1068
  provide: EVENT_MANAGER_PLUGINS,
989
1069
  useClass: DomEventsPlugin,
990
1070
  multi: true,
991
1071
  deps: [DOCUMENT, NgZone, PLATFORM_ID]
992
1072
  },
993
- { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
994
- {
1073
+ { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {
995
1074
  provide: DomRendererFactory2,
996
1075
  useClass: DomRendererFactory2,
997
1076
  deps: [EventManager, DomSharedStylesHost, APP_ID]
@@ -999,9 +1078,9 @@ const BROWSER_MODULE_PROVIDERS = [
999
1078
  { provide: RendererFactory2, useExisting: DomRendererFactory2 },
1000
1079
  { provide: SharedStylesHost, useExisting: DomSharedStylesHost },
1001
1080
  { provide: DomSharedStylesHost, useClass: DomSharedStylesHost, deps: [DOCUMENT] },
1002
- { provide: Testability, useClass: Testability, deps: [NgZone] },
1003
1081
  { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },
1004
1082
  { provide: XhrFactory, useClass: BrowserXhr, deps: [] },
1083
+ NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []
1005
1084
  ];
1006
1085
  /**
1007
1086
  * Exports required infrastructure for all Angular apps.
@@ -1013,9 +1092,10 @@ const BROWSER_MODULE_PROVIDERS = [
1013
1092
  * @publicApi
1014
1093
  */
1015
1094
  class BrowserModule {
1016
- constructor(parentModule) {
1017
- if (parentModule) {
1018
- 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.`);
1095
+ constructor(providersAlreadyPresent) {
1096
+ if (NG_DEV_MODE && providersAlreadyPresent) {
1097
+ throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
1098
+ `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1019
1099
  }
1020
1100
  }
1021
1101
  /**
@@ -1037,19 +1117,28 @@ class BrowserModule {
1037
1117
  };
1038
1118
  }
1039
1119
  }
1040
- BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserModule, deps: [{ token: BrowserModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1041
- BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1042
- BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1043
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserModule, decorators: [{
1120
+ BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1121
+ BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1122
+ BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserModule, providers: [
1123
+ ...BROWSER_MODULE_PROVIDERS,
1124
+ ...TESTABILITY_PROVIDERS
1125
+ ], imports: [CommonModule, ApplicationModule] });
1126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserModule, decorators: [{
1044
1127
  type: NgModule,
1045
- args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }]
1046
- }], ctorParameters: function () { return [{ type: BrowserModule, decorators: [{
1128
+ args: [{
1129
+ providers: [
1130
+ ...BROWSER_MODULE_PROVIDERS,
1131
+ ...TESTABILITY_PROVIDERS
1132
+ ],
1133
+ exports: [CommonModule, ApplicationModule],
1134
+ }]
1135
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1047
1136
  type: Optional
1048
1137
  }, {
1049
1138
  type: SkipSelf
1050
1139
  }, {
1051
1140
  type: Inject,
1052
- args: [BrowserModule]
1141
+ args: [BROWSER_MODULE_PROVIDERS_MARKER]
1053
1142
  }] }]; } });
1054
1143
 
1055
1144
  /**
@@ -1215,9 +1304,9 @@ class Meta {
1215
1304
  return META_KEYS_MAP[prop] || prop;
1216
1305
  }
1217
1306
  }
1218
- Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1219
- Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Meta, decorators: [{
1307
+ Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1308
+ Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Meta, decorators: [{
1221
1310
  type: Injectable,
1222
1311
  args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
1223
1312
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1272,9 +1361,9 @@ class Title {
1272
1361
  this._doc.title = newTitle || '';
1273
1362
  }
1274
1363
  }
1275
- Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1276
- Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: Title, decorators: [{
1364
+ Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1365
+ Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: Title, decorators: [{
1278
1367
  type: Injectable,
1279
1368
  args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
1280
1369
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1541,9 +1630,9 @@ class TransferState {
1541
1630
  return JSON.stringify(this.store);
1542
1631
  }
1543
1632
  }
1544
- TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1545
- TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: TransferState });
1546
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: TransferState, decorators: [{
1633
+ TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1634
+ TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: TransferState });
1635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: TransferState, decorators: [{
1547
1636
  type: Injectable
1548
1637
  }] });
1549
1638
  function initTransferState(doc, appId) {
@@ -1570,10 +1659,10 @@ function initTransferState(doc, appId) {
1570
1659
  */
1571
1660
  class BrowserTransferStateModule {
1572
1661
  }
1573
- BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1574
- BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTransferStateModule });
1575
- BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1662
+ BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1663
+ BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTransferStateModule });
1664
+ BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1665
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1577
1666
  type: NgModule,
1578
1667
  args: [{
1579
1668
  providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
@@ -1749,9 +1838,9 @@ class HammerGestureConfig {
1749
1838
  return mc;
1750
1839
  }
1751
1840
  }
1752
- HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1753
- HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGestureConfig });
1754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGestureConfig, decorators: [{
1841
+ HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1842
+ HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGestureConfig });
1843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGestureConfig, decorators: [{
1755
1844
  type: Injectable
1756
1845
  }] });
1757
1846
  /**
@@ -1847,9 +1936,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1847
1936
  return this._config.events.indexOf(eventName) > -1;
1848
1937
  }
1849
1938
  }
1850
- HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1851
- HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGesturesPlugin });
1852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1939
+ HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1940
+ HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGesturesPlugin });
1941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1853
1942
  type: Injectable
1854
1943
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1855
1944
  type: Inject,
@@ -1876,9 +1965,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8",
1876
1965
  */
1877
1966
  class HammerModule {
1878
1967
  }
1879
- HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1880
- HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerModule });
1881
- HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerModule, providers: [
1968
+ HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1969
+ HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerModule });
1970
+ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerModule, providers: [
1882
1971
  {
1883
1972
  provide: EVENT_MANAGER_PLUGINS,
1884
1973
  useClass: HammerGesturesPlugin,
@@ -1887,7 +1976,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
1887
1976
  },
1888
1977
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1889
1978
  ] });
1890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: HammerModule, decorators: [{
1979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: HammerModule, decorators: [{
1891
1980
  type: NgModule,
1892
1981
  args: [{
1893
1982
  providers: [
@@ -1942,9 +2031,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8",
1942
2031
  */
1943
2032
  class DomSanitizer {
1944
2033
  }
1945
- DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1946
- DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
1947
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizer, decorators: [{
2034
+ DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2035
+ DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
2036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizer, decorators: [{
1948
2037
  type: Injectable,
1949
2038
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1950
2039
  }] });
@@ -1963,28 +2052,28 @@ class DomSanitizerImpl extends DomSanitizer {
1963
2052
  case SecurityContext.NONE:
1964
2053
  return value;
1965
2054
  case SecurityContext.HTML:
1966
- if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* Html */)) {
2055
+ if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* BypassType.Html */)) {
1967
2056
  return ɵunwrapSafeValue(value);
1968
2057
  }
1969
2058
  return ɵ_sanitizeHtml(this._doc, String(value)).toString();
1970
2059
  case SecurityContext.STYLE:
1971
- if (ɵallowSanitizationBypassAndThrow(value, "Style" /* Style */)) {
2060
+ if (ɵallowSanitizationBypassAndThrow(value, "Style" /* BypassType.Style */)) {
1972
2061
  return ɵunwrapSafeValue(value);
1973
2062
  }
1974
2063
  return value;
1975
2064
  case SecurityContext.SCRIPT:
1976
- if (ɵallowSanitizationBypassAndThrow(value, "Script" /* Script */)) {
2065
+ if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
1977
2066
  return ɵunwrapSafeValue(value);
1978
2067
  }
1979
2068
  throw new Error('unsafe value used in a script context');
1980
2069
  case SecurityContext.URL:
1981
2070
  const type = ɵgetSanitizationBypassType(value);
1982
- if (ɵallowSanitizationBypassAndThrow(value, "URL" /* Url */)) {
2071
+ if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
1983
2072
  return ɵunwrapSafeValue(value);
1984
2073
  }
1985
2074
  return ɵ_sanitizeUrl(String(value));
1986
2075
  case SecurityContext.RESOURCE_URL:
1987
- if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* ResourceUrl */)) {
2076
+ if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
1988
2077
  return ɵunwrapSafeValue(value);
1989
2078
  }
1990
2079
  throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
@@ -2008,9 +2097,9 @@ class DomSanitizerImpl extends DomSanitizer {
2008
2097
  return ɵbypassSanitizationTrustResourceUrl(value);
2009
2098
  }
2010
2099
  }
2011
- DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2012
- DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2100
+ DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2101
+ DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2014
2103
  type: Injectable,
2015
2104
  args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
2016
2105
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -2036,7 +2125,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.8",
2036
2125
  /**
2037
2126
  * @publicApi
2038
2127
  */
2039
- const VERSION = new Version('14.0.0-next.8');
2128
+ const VERSION = new Version('14.0.0-rc.1');
2040
2129
 
2041
2130
  /**
2042
2131
  * @license
@@ -2067,5 +2156,5 @@ const VERSION = new Version('14.0.0-next.8');
2067
2156
  * Generated bundle index. Do not edit.
2068
2157
  */
2069
2158
 
2070
- 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 };
2159
+ 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, provideProtractorTestingSupport, 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 };
2071
2160
  //# sourceMappingURL=platform-browser.mjs.map