@angular/platform-browser 19.1.0-next.3 → 19.1.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.3
2
+ * @license Angular v19.1.0-rc.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,7 +7,7 @@
7
7
  import { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, isPlatformServer, 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 { ɵglobal, ɵRuntimeError, Injectable, InjectionToken, Inject, APP_ID, CSP_NONCE, PLATFORM_ID, Optional, ViewEncapsulation, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, SkipSelf, ApplicationRef, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, ɵwithI18nSupport, ɵwithEventReplay, ɵwithIncrementalHydration, ENVIRONMENT_INITIALIZER, inject, ɵZONELESS_ENABLED, ɵformatRuntimeError, makeEnvironmentProviders, ɵwithDomHydration, Version } from '@angular/core';
10
+ import { ɵglobal, ɵRuntimeError, Injectable, InjectionToken, Inject, APP_ID, CSP_NONCE, PLATFORM_ID, Optional, ViewEncapsulation, ɵTracingService, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, SkipSelf, ApplicationRef, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, ɵwithI18nSupport, ɵwithEventReplay, ɵwithIncrementalHydration, ENVIRONMENT_INITIALIZER, inject, ɵZONELESS_ENABLED, ɵformatRuntimeError, makeEnvironmentProviders, ɵwithDomHydration, Version } from '@angular/core';
11
11
  import { ɵwithHttpTransferCache } from '@angular/common/http';
12
12
 
13
13
  /**
@@ -151,10 +151,10 @@ class BrowserXhr {
151
151
  build() {
152
152
  return new XMLHttpRequest();
153
153
  }
154
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
155
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserXhr });
154
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
155
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserXhr });
156
156
  }
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserXhr, decorators: [{
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserXhr, decorators: [{
158
158
  type: Injectable
159
159
  }] });
160
160
 
@@ -219,10 +219,10 @@ class EventManager {
219
219
  this._eventNameToPlugin.set(eventName, plugin);
220
220
  return plugin;
221
221
  }
222
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
223
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: EventManager });
222
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
223
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: EventManager });
224
224
  }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: EventManager, decorators: [{
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: EventManager, decorators: [{
226
226
  type: Injectable
227
227
  }], ctorParameters: () => [{ type: undefined, decorators: [{
228
228
  type: Inject,
@@ -427,10 +427,10 @@ class SharedStylesHost {
427
427
  // Insert the element into the DOM with the host node as parent
428
428
  return host.appendChild(element);
429
429
  }
430
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
431
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: SharedStylesHost });
430
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
431
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: SharedStylesHost });
432
432
  }
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: SharedStylesHost, decorators: [{
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: SharedStylesHost, decorators: [{
434
434
  type: Injectable
435
435
  }], ctorParameters: () => [{ type: Document, decorators: [{
436
436
  type: Inject,
@@ -493,10 +493,11 @@ class DomRendererFactory2 {
493
493
  platformId;
494
494
  ngZone;
495
495
  nonce;
496
+ tracingService;
496
497
  rendererByCompId = new Map();
497
498
  defaultRenderer;
498
499
  platformIsServer;
499
- constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestroy, doc, platformId, ngZone, nonce = null) {
500
+ constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestroy, doc, platformId, ngZone, nonce = null, tracingService = null) {
500
501
  this.eventManager = eventManager;
501
502
  this.sharedStylesHost = sharedStylesHost;
502
503
  this.appId = appId;
@@ -505,8 +506,9 @@ class DomRendererFactory2 {
505
506
  this.platformId = platformId;
506
507
  this.ngZone = ngZone;
507
508
  this.nonce = nonce;
509
+ this.tracingService = tracingService;
508
510
  this.platformIsServer = isPlatformServer(platformId);
509
- this.defaultRenderer = new DefaultDomRenderer2(eventManager, doc, ngZone, this.platformIsServer);
511
+ this.defaultRenderer = new DefaultDomRenderer2(eventManager, doc, ngZone, this.platformIsServer, this.tracingService);
510
512
  }
511
513
  createRenderer(element, type) {
512
514
  if (!element || !type) {
@@ -539,12 +541,12 @@ class DomRendererFactory2 {
539
541
  const platformIsServer = this.platformIsServer;
540
542
  switch (type.encapsulation) {
541
543
  case ViewEncapsulation.Emulated:
542
- renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer);
544
+ renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, this.tracingService);
543
545
  break;
544
546
  case ViewEncapsulation.ShadowDom:
545
- return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer);
547
+ return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer, this.tracingService);
546
548
  default:
547
- renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer);
549
+ renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, this.tracingService);
548
550
  break;
549
551
  }
550
552
  rendererByCompId.set(type.id, renderer);
@@ -554,10 +556,17 @@ class DomRendererFactory2 {
554
556
  ngOnDestroy() {
555
557
  this.rendererByCompId.clear();
556
558
  }
557
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: SharedStylesHost }, { token: APP_ID }, { token: REMOVE_STYLES_ON_COMPONENT_DESTROY }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: CSP_NONCE }], target: i0.ɵɵFactoryTarget.Injectable });
558
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomRendererFactory2 });
559
+ /**
560
+ * Used during HMR to clear any cached data about a component.
561
+ * @param componentId ID of the component that is being replaced.
562
+ */
563
+ componentReplaced(componentId) {
564
+ this.rendererByCompId.delete(componentId);
565
+ }
566
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: SharedStylesHost }, { token: APP_ID }, { token: REMOVE_STYLES_ON_COMPONENT_DESTROY }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: CSP_NONCE }, { token: ɵTracingService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
567
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomRendererFactory2 });
559
568
  }
560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomRendererFactory2, decorators: [{
569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomRendererFactory2, decorators: [{
561
570
  type: Injectable
562
571
  }], ctorParameters: () => [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{
563
572
  type: Inject,
@@ -574,23 +583,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3",
574
583
  }] }, { type: i0.NgZone }, { type: undefined, decorators: [{
575
584
  type: Inject,
576
585
  args: [CSP_NONCE]
586
+ }] }, { type: i0.ɵTracingService, decorators: [{
587
+ type: Inject,
588
+ args: [ɵTracingService]
589
+ }, {
590
+ type: Optional
577
591
  }] }] });
578
592
  class DefaultDomRenderer2 {
579
593
  eventManager;
580
594
  doc;
581
595
  ngZone;
582
596
  platformIsServer;
597
+ tracingService;
583
598
  data = Object.create(null);
584
599
  /**
585
600
  * By default this renderer throws when encountering synthetic properties
586
601
  * This can be disabled for example by the AsyncAnimationRendererFactory
587
602
  */
588
603
  throwOnSyntheticProps = true;
589
- constructor(eventManager, doc, ngZone, platformIsServer) {
604
+ constructor(eventManager, doc, ngZone, platformIsServer, tracingService) {
590
605
  this.eventManager = eventManager;
591
606
  this.doc = doc;
592
607
  this.ngZone = ngZone;
593
608
  this.platformIsServer = platformIsServer;
609
+ this.tracingService = tracingService;
594
610
  }
595
611
  destroy() { }
596
612
  destroyNode = null;
@@ -719,7 +735,11 @@ class DefaultDomRenderer2 {
719
735
  throw new Error(`Unsupported event target ${target} for event ${event}`);
720
736
  }
721
737
  }
722
- return this.eventManager.addEventListener(target, event, this.decoratePreventDefault(callback), options);
738
+ let wrappedCallback = this.decoratePreventDefault(callback);
739
+ if (this.tracingService !== null && this.tracingService.wrapEventListener) {
740
+ wrappedCallback = this.tracingService.wrapEventListener(target, event, wrappedCallback);
741
+ }
742
+ return this.eventManager.addEventListener(target, event, wrappedCallback, options);
723
743
  }
724
744
  decoratePreventDefault(eventHandler) {
725
745
  // `DebugNode.triggerEventHandler` needs to know if the listener was created with
@@ -751,8 +771,8 @@ const AT_CHARCODE = (() => '@'.charCodeAt(0))();
751
771
  function checkNoSyntheticProp(name, nameKind) {
752
772
  if (name.charCodeAt(0) === AT_CHARCODE) {
753
773
  throw new ɵRuntimeError(5105 /* RuntimeErrorCode.UNEXPECTED_SYNTHETIC_PROPERTY */, `Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
754
- - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.
755
- - There is corresponding configuration for the animation named \`${name}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`);
774
+ - Make sure \`provideAnimationsAsync()\`, \`provideAnimations()\` or \`provideNoopAnimations()\` call was added to a list of providers used to bootstrap an application.
775
+ - There is a corresponding animation configuration named \`${name}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.dev/api/core/Component#animations).`);
756
776
  }
757
777
  }
758
778
  function isTemplateNode(node) {
@@ -762,8 +782,8 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
762
782
  sharedStylesHost;
763
783
  hostEl;
764
784
  shadowRoot;
765
- constructor(eventManager, sharedStylesHost, hostEl, component, doc, ngZone, nonce, platformIsServer) {
766
- super(eventManager, doc, ngZone, platformIsServer);
785
+ constructor(eventManager, sharedStylesHost, hostEl, component, doc, ngZone, nonce, platformIsServer, tracingService) {
786
+ super(eventManager, doc, ngZone, platformIsServer, tracingService);
767
787
  this.sharedStylesHost = sharedStylesHost;
768
788
  this.hostEl = hostEl;
769
789
  this.shadowRoot = hostEl.attachShadow({ mode: 'open' });
@@ -818,8 +838,8 @@ class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
818
838
  removeStylesOnCompDestroy;
819
839
  styles;
820
840
  styleUrls;
821
- constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId) {
822
- super(eventManager, doc, ngZone, platformIsServer);
841
+ constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService, compId) {
842
+ super(eventManager, doc, ngZone, platformIsServer, tracingService);
823
843
  this.sharedStylesHost = sharedStylesHost;
824
844
  this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;
825
845
  this.styles = compId ? shimStylesContent(compId, component.styles) : component.styles;
@@ -838,9 +858,9 @@ class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
838
858
  class EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {
839
859
  contentAttr;
840
860
  hostAttr;
841
- constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer) {
861
+ constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService) {
842
862
  const compId = appId + '-' + component.id;
843
- super(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId);
863
+ super(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService, compId);
844
864
  this.contentAttr = shimContentAttribute(compId);
845
865
  this.hostAttr = shimHostAttribute(compId);
846
866
  }
@@ -871,10 +891,10 @@ class DomEventsPlugin extends EventManagerPlugin {
871
891
  removeEventListener(target, eventName, callback, options) {
872
892
  return target.removeEventListener(eventName, callback, options);
873
893
  }
874
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
875
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomEventsPlugin });
894
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
895
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomEventsPlugin });
876
896
  }
877
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomEventsPlugin, decorators: [{
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomEventsPlugin, decorators: [{
878
898
  type: Injectable
879
899
  }], ctorParameters: () => [{ type: undefined, decorators: [{
880
900
  type: Inject,
@@ -1043,10 +1063,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
1043
1063
  static _normalizeKey(keyName) {
1044
1064
  return keyName === 'esc' ? 'escape' : keyName;
1045
1065
  }
1046
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1047
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: KeyEventsPlugin });
1066
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1067
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: KeyEventsPlugin });
1048
1068
  }
1049
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: KeyEventsPlugin, decorators: [{
1069
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: KeyEventsPlugin, decorators: [{
1050
1070
  type: Injectable
1051
1071
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1052
1072
  type: Inject,
@@ -1235,11 +1255,11 @@ class BrowserModule {
1235
1255
  `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1236
1256
  }
1237
1257
  }
1238
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1239
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1240
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] });
1258
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1259
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1260
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] });
1241
1261
  }
1242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: BrowserModule, decorators: [{
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserModule, decorators: [{
1243
1263
  type: NgModule,
1244
1264
  args: [{
1245
1265
  providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
@@ -1405,10 +1425,10 @@ class Meta {
1405
1425
  _getMetaKeyMap(prop) {
1406
1426
  return META_KEYS_MAP[prop] || prop;
1407
1427
  }
1408
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1409
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Meta, providedIn: 'root' });
1428
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1429
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Meta, providedIn: 'root' });
1410
1430
  }
1411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Meta, decorators: [{
1431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Meta, decorators: [{
1412
1432
  type: Injectable,
1413
1433
  args: [{ providedIn: 'root' }]
1414
1434
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1450,10 +1470,10 @@ class Title {
1450
1470
  setTitle(newTitle) {
1451
1471
  this._doc.title = newTitle || '';
1452
1472
  }
1453
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1454
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Title, providedIn: 'root' });
1473
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1474
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Title, providedIn: 'root' });
1455
1475
  }
1456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Title, decorators: [{
1476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: Title, decorators: [{
1457
1477
  type: Injectable,
1458
1478
  args: [{ providedIn: 'root' }]
1459
1479
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1726,10 +1746,10 @@ class HammerGestureConfig {
1726
1746
  }
1727
1747
  return mc;
1728
1748
  }
1729
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1730
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGestureConfig });
1749
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1750
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerGestureConfig });
1731
1751
  }
1732
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGestureConfig, decorators: [{
1752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerGestureConfig, decorators: [{
1733
1753
  type: Injectable
1734
1754
  }] });
1735
1755
  /**
@@ -1825,10 +1845,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1825
1845
  isCustomEvent(eventName) {
1826
1846
  return this._config.events.indexOf(eventName) > -1;
1827
1847
  }
1828
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1829
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGesturesPlugin });
1848
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.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 });
1849
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerGesturesPlugin });
1830
1850
  }
1831
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1832
1852
  type: Injectable
1833
1853
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1834
1854
  type: Inject,
@@ -1854,9 +1874,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3",
1854
1874
  * @publicApi
1855
1875
  */
1856
1876
  class HammerModule {
1857
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1858
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerModule });
1859
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerModule, providers: [
1877
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1878
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerModule });
1879
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerModule, providers: [
1860
1880
  {
1861
1881
  provide: EVENT_MANAGER_PLUGINS,
1862
1882
  useClass: HammerGesturesPlugin,
@@ -1866,7 +1886,7 @@ class HammerModule {
1866
1886
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1867
1887
  ] });
1868
1888
  }
1869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HammerModule, decorators: [{
1889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: HammerModule, decorators: [{
1870
1890
  type: NgModule,
1871
1891
  args: [{
1872
1892
  providers: [
@@ -1913,10 +1933,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3",
1913
1933
  * @publicApi
1914
1934
  */
1915
1935
  class DomSanitizer {
1916
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1917
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(() => DomSanitizerImpl) });
1936
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1937
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(() => DomSanitizerImpl) });
1918
1938
  }
1919
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizer, decorators: [{
1939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizer, decorators: [{
1920
1940
  type: Injectable,
1921
1941
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1922
1942
  }] });
@@ -1979,10 +1999,10 @@ class DomSanitizerImpl extends DomSanitizer {
1979
1999
  bypassSecurityTrustResourceUrl(value) {
1980
2000
  return ɵbypassSanitizationTrustResourceUrl(value);
1981
2001
  }
1982
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1983
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root' });
2002
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2003
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root' });
1984
2004
  }
1985
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: DomSanitizerImpl, decorators: [{
1986
2006
  type: Injectable,
1987
2007
  args: [{ providedIn: 'root' }]
1988
2008
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -2100,7 +2120,6 @@ function provideZoneJsCompatibilityDetector() {
2100
2120
  const message = ɵformatRuntimeError(-5000 /* RuntimeErrorCode.UNSUPPORTED_ZONEJS_INSTANCE */, 'Angular detected that hydration was enabled for an application ' +
2101
2121
  'that uses a custom or a noop Zone.js implementation. ' +
2102
2122
  'This is not yet a fully supported configuration.');
2103
- // tslint:disable-next-line:no-console
2104
2123
  console.warn(message);
2105
2124
  }
2106
2125
  },
@@ -2192,7 +2211,7 @@ function provideClientHydration(...features) {
2192
2211
  /**
2193
2212
  * @publicApi
2194
2213
  */
2195
- const VERSION = new Version('19.1.0-next.3');
2214
+ const VERSION = new Version('19.1.0-rc.0');
2196
2215
 
2197
2216
  /**
2198
2217
  * @module