@angular/platform-browser 14.0.0-next.9 → 14.0.0-rc.0

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.9
2
+ * @license Angular v14.0.0-rc.0
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.9", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
- BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserXhr });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserXhr, decorators: [{
221
+ BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
222
+ BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserXhr });
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", 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.9", 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.9", ngImport: i0, type: EventManager });
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EventManager, decorators: [{
306
+ EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", 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.0", ngImport: i0, type: EventManager });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: EventManager, decorators: [{
312
309
  type: Injectable
313
310
  }], ctorParameters: function () {
314
311
  return [{ type: undefined, decorators: [{
@@ -356,9 +353,9 @@ class SharedStylesHost {
356
353
  return Array.from(this._stylesSet);
357
354
  }
358
355
  }
359
- SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
360
- SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: SharedStylesHost });
361
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: SharedStylesHost, decorators: [{
356
+ SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
357
+ SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SharedStylesHost });
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: SharedStylesHost, decorators: [{
362
359
  type: Injectable
363
360
  }] });
364
361
  class DomSharedStylesHost extends SharedStylesHost {
@@ -397,9 +394,9 @@ class DomSharedStylesHost extends SharedStylesHost {
397
394
  this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
398
395
  }
399
396
  }
400
- DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: DomSharedStylesHost });
402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomSharedStylesHost, decorators: [{
397
+ DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
398
+ DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSharedStylesHost });
399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSharedStylesHost, decorators: [{
403
400
  type: Injectable
404
401
  }], ctorParameters: function () {
405
402
  return [{ type: undefined, decorators: [{
@@ -427,7 +424,7 @@ const NAMESPACE_URIS = {
427
424
  'math': 'http://www.w3.org/1998/MathML/',
428
425
  };
429
426
  const COMPONENT_REGEX = /%COMP%/g;
430
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
427
+ const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
431
428
  const COMPONENT_VARIABLE = '%COMP%';
432
429
  const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
433
430
  const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -522,9 +519,9 @@ class DomRendererFactory2 {
522
519
  begin() { }
523
520
  end() { }
524
521
  }
525
- DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: DomRendererFactory2 });
527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomRendererFactory2, decorators: [{
522
+ DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
523
+ DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomRendererFactory2 });
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomRendererFactory2, decorators: [{
528
525
  type: Injectable
529
526
  }], ctorParameters: function () {
530
527
  return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
@@ -646,14 +643,14 @@ class DefaultDomRenderer2 {
646
643
  }
647
644
  }
648
645
  setProperty(el, name, value) {
649
- NG_DEV_MODE && checkNoSyntheticProp(name, 'property');
646
+ NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
650
647
  el[name] = value;
651
648
  }
652
649
  setValue(node, value) {
653
650
  node.nodeValue = value;
654
651
  }
655
652
  listen(target, event, callback) {
656
- NG_DEV_MODE && checkNoSyntheticProp(event, 'listener');
653
+ NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
657
654
  if (typeof target === 'string') {
658
655
  return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
659
656
  }
@@ -747,9 +744,9 @@ class DomEventsPlugin extends EventManagerPlugin {
747
744
  return target.removeEventListener(eventName, callback);
748
745
  }
749
746
  }
750
- DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: DomEventsPlugin });
752
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomEventsPlugin, decorators: [{
747
+ DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
748
+ DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomEventsPlugin });
749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomEventsPlugin, decorators: [{
753
750
  type: Injectable
754
751
  }], ctorParameters: function () {
755
752
  return [{ type: undefined, decorators: [{
@@ -927,9 +924,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
927
924
  }
928
925
  }
929
926
  }
930
- KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: KeyEventsPlugin });
932
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: KeyEventsPlugin, decorators: [{
927
+ KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
928
+ KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: KeyEventsPlugin });
929
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: KeyEventsPlugin, decorators: [{
933
930
  type: Injectable
934
931
  }], ctorParameters: function () {
935
932
  return [{ type: undefined, decorators: [{
@@ -967,9 +964,70 @@ function getEventKey(event) {
967
964
  * Use of this source code is governed by an MIT-style license that can be
968
965
  * found in the LICENSE file at https://angular.io/license
969
966
  */
967
+ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
968
+ /**
969
+ * Bootstraps an instance of an Angular application and renders a root component.
970
+ *
971
+ * Note: the root component passed into this function *must* be a standalone one (should have the
972
+ * `standalone: true` flag in the `@Component` decorator config).
973
+ *
974
+ * ```typescript
975
+ * @Component({
976
+ * standalone: true,
977
+ * template: 'Hello world!'
978
+ * })
979
+ * class RootComponent {}
980
+ *
981
+ * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);
982
+ * ```
983
+ *
984
+ * Note: this bootstrap method doesn't include [Testability](api/core/Testability) by default.
985
+ * You can add [Testability](api/core/Testability) by getting the list of necessary providers
986
+ * using `provideProtractorTestingSupport()` function and add them into the `options.providers`
987
+ * array. Example:
988
+ *
989
+ * ```typescript
990
+ * import {provideProtractorTestingSupport} from '@angular/platform-browser';
991
+ *
992
+ * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);
993
+ * ```
994
+ *
995
+ * @param rootComponent A reference to a Standalone Component that should be rendered.
996
+ * @param options Additional configuration for the bootstrap operation, see `ApplicationConfig` for
997
+ * additional info.
998
+ * @returns A promise that returns an `ApplicationRef` instance once resolved.
999
+ *
1000
+ * @publicApi
1001
+ */
1002
+ function bootstrapApplication(rootComponent, options) {
1003
+ var _a;
1004
+ return ɵinternalBootstrapApplication({
1005
+ rootComponent,
1006
+ appProviders: [
1007
+ ...BROWSER_MODULE_PROVIDERS,
1008
+ ...((_a = options === null || options === void 0 ? void 0 : options.providers) !== null && _a !== void 0 ? _a : []),
1009
+ ],
1010
+ platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS,
1011
+ });
1012
+ }
1013
+ /**
1014
+ * Returns a set of providers required to setup [Testability](api/core/Testability) for an
1015
+ * application bootstrapped using the `bootstrapApplication` function. The set of providers is
1016
+ * needed to support testing an application with Protractor (which relies on the Testability APIs
1017
+ * to be present).
1018
+ *
1019
+ * @returns An array of providers required to setup Testability for an application and make it
1020
+ * available for testing using Protractor.
1021
+ *
1022
+ * @publicApi
1023
+ */
1024
+ function provideProtractorTestingSupport() {
1025
+ // Return a copy to prevent changes to the original array in case any in-place
1026
+ // alterations are performed to the `provideProtractorTestingSupport` call results in app code.
1027
+ return [...TESTABILITY_PROVIDERS];
1028
+ }
970
1029
  function initDomAdapter() {
971
1030
  BrowserDomAdapter.makeCurrent();
972
- BrowserGetTestability.init();
973
1031
  }
974
1032
  function errorHandler() {
975
1033
  return new ErrorHandler();
@@ -991,17 +1049,39 @@ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
991
1049
  * @publicApi
992
1050
  */
993
1051
  const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
1052
+ /**
1053
+ * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
1054
+ * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
1055
+ * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
1056
+ * `BrowserModule` providers without referencing the module itself.
1057
+ */
1058
+ const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
1059
+ const TESTABILITY_PROVIDERS = [
1060
+ {
1061
+ provide: ɵTESTABILITY_GETTER,
1062
+ useClass: BrowserGetTestability,
1063
+ deps: [],
1064
+ },
1065
+ {
1066
+ provide: ɵTESTABILITY,
1067
+ useClass: Testability,
1068
+ deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]
1069
+ },
1070
+ {
1071
+ provide: Testability,
1072
+ useClass: Testability,
1073
+ deps: [NgZone, TestabilityRegistry, ɵTESTABILITY_GETTER]
1074
+ }
1075
+ ];
994
1076
  const BROWSER_MODULE_PROVIDERS = [
995
1077
  { provide: ɵINJECTOR_SCOPE, useValue: 'root' },
996
- { provide: ErrorHandler, useFactory: errorHandler, deps: [] },
997
- {
1078
+ { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {
998
1079
  provide: EVENT_MANAGER_PLUGINS,
999
1080
  useClass: DomEventsPlugin,
1000
1081
  multi: true,
1001
1082
  deps: [DOCUMENT, NgZone, PLATFORM_ID]
1002
1083
  },
1003
- { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
1004
- {
1084
+ { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {
1005
1085
  provide: DomRendererFactory2,
1006
1086
  useClass: DomRendererFactory2,
1007
1087
  deps: [EventManager, DomSharedStylesHost, APP_ID]
@@ -1009,9 +1089,9 @@ const BROWSER_MODULE_PROVIDERS = [
1009
1089
  { provide: RendererFactory2, useExisting: DomRendererFactory2 },
1010
1090
  { provide: SharedStylesHost, useExisting: DomSharedStylesHost },
1011
1091
  { provide: DomSharedStylesHost, useClass: DomSharedStylesHost, deps: [DOCUMENT] },
1012
- { provide: Testability, useClass: Testability, deps: [NgZone] },
1013
1092
  { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },
1014
1093
  { provide: XhrFactory, useClass: BrowserXhr, deps: [] },
1094
+ NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []
1015
1095
  ];
1016
1096
  /**
1017
1097
  * Exports required infrastructure for all Angular apps.
@@ -1023,9 +1103,10 @@ const BROWSER_MODULE_PROVIDERS = [
1023
1103
  * @publicApi
1024
1104
  */
1025
1105
  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.`);
1106
+ constructor(providersAlreadyPresent) {
1107
+ if (NG_DEV_MODE && providersAlreadyPresent) {
1108
+ throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
1109
+ `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1029
1110
  }
1030
1111
  }
1031
1112
  /**
@@ -1047,20 +1128,29 @@ class BrowserModule {
1047
1128
  };
1048
1129
  }
1049
1130
  }
1050
- BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1052
- BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserModule, decorators: [{
1131
+ BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1132
+ BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1133
+ BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserModule, providers: [
1134
+ ...BROWSER_MODULE_PROVIDERS,
1135
+ ...TESTABILITY_PROVIDERS
1136
+ ], imports: [CommonModule, ApplicationModule] });
1137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserModule, decorators: [{
1054
1138
  type: NgModule,
1055
- args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }]
1139
+ args: [{
1140
+ providers: [
1141
+ ...BROWSER_MODULE_PROVIDERS,
1142
+ ...TESTABILITY_PROVIDERS
1143
+ ],
1144
+ exports: [CommonModule, ApplicationModule],
1145
+ }]
1056
1146
  }], ctorParameters: function () {
1057
- return [{ type: BrowserModule, decorators: [{
1147
+ return [{ type: undefined, decorators: [{
1058
1148
  type: Optional
1059
1149
  }, {
1060
1150
  type: SkipSelf
1061
1151
  }, {
1062
1152
  type: Inject,
1063
- args: [BrowserModule]
1153
+ args: [BROWSER_MODULE_PROVIDERS_MARKER]
1064
1154
  }] }];
1065
1155
  } });
1066
1156
 
@@ -1227,9 +1317,9 @@ class Meta {
1227
1317
  return META_KEYS_MAP[prop] || prop;
1228
1318
  }
1229
1319
  }
1230
- Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: Meta, decorators: [{
1320
+ Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1321
+ Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Meta, decorators: [{
1233
1323
  type: Injectable,
1234
1324
  args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
1235
1325
  }], ctorParameters: function () {
@@ -1286,9 +1376,9 @@ class Title {
1286
1376
  this._doc.title = newTitle || '';
1287
1377
  }
1288
1378
  }
1289
- Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: Title, decorators: [{
1379
+ Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1380
+ Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: Title, decorators: [{
1292
1382
  type: Injectable,
1293
1383
  args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
1294
1384
  }], ctorParameters: function () {
@@ -1557,9 +1647,9 @@ class TransferState {
1557
1647
  return JSON.stringify(this.store);
1558
1648
  }
1559
1649
  }
1560
- TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1561
- TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: TransferState });
1562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: TransferState, decorators: [{
1650
+ TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1651
+ TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: TransferState });
1652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: TransferState, decorators: [{
1563
1653
  type: Injectable
1564
1654
  }] });
1565
1655
  function initTransferState(doc, appId) {
@@ -1586,10 +1676,10 @@ function initTransferState(doc, appId) {
1586
1676
  */
1587
1677
  class BrowserTransferStateModule {
1588
1678
  }
1589
- BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1590
- BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: BrowserTransferStateModule });
1591
- BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1679
+ BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1680
+ BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserTransferStateModule });
1681
+ BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1593
1683
  type: NgModule,
1594
1684
  args: [{
1595
1685
  providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
@@ -1765,9 +1855,9 @@ class HammerGestureConfig {
1765
1855
  return mc;
1766
1856
  }
1767
1857
  }
1768
- HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1769
- HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerGestureConfig });
1770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerGestureConfig, decorators: [{
1858
+ HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1859
+ HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGestureConfig });
1860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGestureConfig, decorators: [{
1771
1861
  type: Injectable
1772
1862
  }] });
1773
1863
  /**
@@ -1863,9 +1953,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1863
1953
  return this._config.events.indexOf(eventName) > -1;
1864
1954
  }
1865
1955
  }
1866
- HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: HammerGesturesPlugin });
1868
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1956
+ HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1957
+ HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGesturesPlugin });
1958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1869
1959
  type: Injectable
1870
1960
  }], ctorParameters: function () {
1871
1961
  return [{ type: undefined, decorators: [{
@@ -1894,9 +1984,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
1894
1984
  */
1895
1985
  class HammerModule {
1896
1986
  }
1897
- HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1898
- HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerModule });
1899
- HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerModule, providers: [
1987
+ HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1988
+ HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerModule });
1989
+ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerModule, providers: [
1900
1990
  {
1901
1991
  provide: EVENT_MANAGER_PLUGINS,
1902
1992
  useClass: HammerGesturesPlugin,
@@ -1905,7 +1995,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
1905
1995
  },
1906
1996
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1907
1997
  ] });
1908
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HammerModule, decorators: [{
1998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: HammerModule, decorators: [{
1909
1999
  type: NgModule,
1910
2000
  args: [{
1911
2001
  providers: [
@@ -1960,9 +2050,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
1960
2050
  */
1961
2051
  class DomSanitizer {
1962
2052
  }
1963
- DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1964
- DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
1965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomSanitizer, decorators: [{
2053
+ DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2054
+ DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
2055
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizer, decorators: [{
1966
2056
  type: Injectable,
1967
2057
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1968
2058
  }] });
@@ -1981,28 +2071,28 @@ class DomSanitizerImpl extends DomSanitizer {
1981
2071
  case SecurityContext.NONE:
1982
2072
  return value;
1983
2073
  case SecurityContext.HTML:
1984
- if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* Html */)) {
2074
+ if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* BypassType.Html */)) {
1985
2075
  return ɵunwrapSafeValue(value);
1986
2076
  }
1987
2077
  return ɵ_sanitizeHtml(this._doc, String(value)).toString();
1988
2078
  case SecurityContext.STYLE:
1989
- if (ɵallowSanitizationBypassAndThrow(value, "Style" /* Style */)) {
2079
+ if (ɵallowSanitizationBypassAndThrow(value, "Style" /* BypassType.Style */)) {
1990
2080
  return ɵunwrapSafeValue(value);
1991
2081
  }
1992
2082
  return value;
1993
2083
  case SecurityContext.SCRIPT:
1994
- if (ɵallowSanitizationBypassAndThrow(value, "Script" /* Script */)) {
2084
+ if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
1995
2085
  return ɵunwrapSafeValue(value);
1996
2086
  }
1997
2087
  throw new Error('unsafe value used in a script context');
1998
2088
  case SecurityContext.URL:
1999
2089
  const type = ɵgetSanitizationBypassType(value);
2000
- if (ɵallowSanitizationBypassAndThrow(value, "URL" /* Url */)) {
2090
+ if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
2001
2091
  return ɵunwrapSafeValue(value);
2002
2092
  }
2003
2093
  return ɵ_sanitizeUrl(String(value));
2004
2094
  case SecurityContext.RESOURCE_URL:
2005
- if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* ResourceUrl */)) {
2095
+ if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
2006
2096
  return ɵunwrapSafeValue(value);
2007
2097
  }
2008
2098
  throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
@@ -2026,9 +2116,9 @@ class DomSanitizerImpl extends DomSanitizer {
2026
2116
  return ɵbypassSanitizationTrustResourceUrl(value);
2027
2117
  }
2028
2118
  }
2029
- DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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.9", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2119
+ DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2120
+ DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.0", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2032
2122
  type: Injectable,
2033
2123
  args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
2034
2124
  }], ctorParameters: function () {
@@ -2056,7 +2146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
2056
2146
  /**
2057
2147
  * @publicApi
2058
2148
  */
2059
- const VERSION = new Version('14.0.0-next.9');
2149
+ const VERSION = new Version('14.0.0-rc.0');
2060
2150
 
2061
2151
  /**
2062
2152
  * @license
@@ -2087,5 +2177,5 @@ const VERSION = new Version('14.0.0-next.9');
2087
2177
  * Generated bundle index. Do not edit.
2088
2178
  */
2089
2179
 
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 };
2180
+ 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 };
2091
2181
  //# sourceMappingURL=platform-browser.mjs.map