@angular/platform-browser 19.0.2 → 19.0.4

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.0.2
2
+ * @license Angular v19.0.4
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -152,10 +152,10 @@ class BrowserXhr {
152
152
  build() {
153
153
  return new XMLHttpRequest();
154
154
  }
155
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
156
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserXhr });
155
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
156
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BrowserXhr });
157
157
  }
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserXhr, decorators: [{
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BrowserXhr, decorators: [{
159
159
  type: Injectable
160
160
  }] });
161
161
 
@@ -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.0.2", 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.0.2", ngImport: i0, type: EventManager });
222
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", 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.0.4", ngImport: i0, type: EventManager });
224
224
  }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: EventManager, decorators: [{
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: EventManager, decorators: [{
226
226
  type: Injectable
227
227
  }], ctorParameters: () => [{ type: undefined, decorators: [{
228
228
  type: Inject,
@@ -273,15 +273,24 @@ function createStyleElement(style, doc) {
273
273
  * identifier attribute (`ng-app-id`) to the provide identifier and adds usage records for each.
274
274
  * @param doc An HTML DOM document instance.
275
275
  * @param appId A string containing an Angular application identifer.
276
- * @param usages A Map object for tracking style usage.
276
+ * @param inline A Map object for tracking inline (defined via `styles` in component decorator) style usage.
277
+ * @param external A Map object for tracking external (defined via `styleUrls` in component decorator) style usage.
277
278
  */
278
- function addServerStyles(doc, appId, usages) {
279
- const styleElements = doc.head?.querySelectorAll(`style[${APP_ID_ATTRIBUTE_NAME}="${appId}"]`);
280
- if (styleElements) {
281
- for (const styleElement of styleElements) {
282
- if (styleElement.textContent) {
283
- styleElement.removeAttribute(APP_ID_ATTRIBUTE_NAME);
284
- usages.set(styleElement.textContent, { usage: 0, elements: [styleElement] });
279
+ function addServerStyles(doc, appId, inline, external) {
280
+ const elements = doc.head?.querySelectorAll(`style[${APP_ID_ATTRIBUTE_NAME}="${appId}"],link[${APP_ID_ATTRIBUTE_NAME}="${appId}"]`);
281
+ if (elements) {
282
+ for (const styleElement of elements) {
283
+ styleElement.removeAttribute(APP_ID_ATTRIBUTE_NAME);
284
+ if (styleElement instanceof HTMLLinkElement) {
285
+ // Only use filename from href
286
+ // The href is build time generated with a unique value to prevent duplicates.
287
+ external.set(styleElement.href.slice(styleElement.href.lastIndexOf('/') + 1), {
288
+ usage: 0,
289
+ elements: [styleElement],
290
+ });
291
+ }
292
+ else if (styleElement.textContent) {
293
+ inline.set(styleElement.textContent, { usage: 0, elements: [styleElement] });
285
294
  }
286
295
  }
287
296
  }
@@ -325,7 +334,7 @@ class SharedStylesHost {
325
334
  this.appId = appId;
326
335
  this.nonce = nonce;
327
336
  this.isServer = isPlatformServer(platformId);
328
- addServerStyles(doc, appId, this.inline);
337
+ addServerStyles(doc, appId, this.inline, this.external);
329
338
  this.hosts.add(doc.head);
330
339
  }
331
340
  /**
@@ -418,10 +427,10 @@ class SharedStylesHost {
418
427
  // Insert the element into the DOM with the host node as parent
419
428
  return host.appendChild(element);
420
429
  }
421
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
422
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: SharedStylesHost });
430
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", 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.0.4", ngImport: i0, type: SharedStylesHost });
423
432
  }
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: SharedStylesHost, decorators: [{
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: SharedStylesHost, decorators: [{
425
434
  type: Injectable
426
435
  }], ctorParameters: () => [{ type: Document, decorators: [{
427
436
  type: Inject,
@@ -545,10 +554,10 @@ class DomRendererFactory2 {
545
554
  ngOnDestroy() {
546
555
  this.rendererByCompId.clear();
547
556
  }
548
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", 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 });
549
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomRendererFactory2 });
557
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", 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.0.4", ngImport: i0, type: DomRendererFactory2 });
550
559
  }
551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomRendererFactory2, decorators: [{
560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomRendererFactory2, decorators: [{
552
561
  type: Injectable
553
562
  }], ctorParameters: () => [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{
554
563
  type: Inject,
@@ -862,10 +871,10 @@ class DomEventsPlugin extends EventManagerPlugin {
862
871
  removeEventListener(target, eventName, callback) {
863
872
  return target.removeEventListener(eventName, callback);
864
873
  }
865
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
866
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomEventsPlugin });
874
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
875
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomEventsPlugin });
867
876
  }
868
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomEventsPlugin, decorators: [{
877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomEventsPlugin, decorators: [{
869
878
  type: Injectable
870
879
  }], ctorParameters: () => [{ type: undefined, decorators: [{
871
880
  type: Inject,
@@ -1034,10 +1043,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
1034
1043
  static _normalizeKey(keyName) {
1035
1044
  return keyName === 'esc' ? 'escape' : keyName;
1036
1045
  }
1037
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1038
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: KeyEventsPlugin });
1046
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1047
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: KeyEventsPlugin });
1039
1048
  }
1040
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: KeyEventsPlugin, decorators: [{
1049
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: KeyEventsPlugin, decorators: [{
1041
1050
  type: Injectable
1042
1051
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1043
1052
  type: Inject,
@@ -1053,7 +1062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1053
1062
  * The root component passed into this function *must* be a standalone one (should have the
1054
1063
  * `standalone: true` flag in the `@Component` decorator config).
1055
1064
  *
1056
- * ```typescript
1065
+ * ```angular-ts
1057
1066
  * @Component({
1058
1067
  * standalone: true,
1059
1068
  * template: 'Hello world!'
@@ -1066,7 +1075,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1066
1075
  * You can add the list of providers that should be available in the application injector by
1067
1076
  * specifying the `providers` field in an object passed as the second argument:
1068
1077
  *
1069
- * ```typescript
1078
+ * ```ts
1070
1079
  * await bootstrapApplication(RootComponent, {
1071
1080
  * providers: [
1072
1081
  * {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}
@@ -1077,7 +1086,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1077
1086
  * The `importProvidersFrom` helper method can be used to collect all providers from any
1078
1087
  * existing NgModule (and transitively from all NgModules that it imports):
1079
1088
  *
1080
- * ```typescript
1089
+ * ```ts
1081
1090
  * await bootstrapApplication(RootComponent, {
1082
1091
  * providers: [
1083
1092
  * importProvidersFrom(SomeNgModule)
@@ -1090,7 +1099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1090
1099
  * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`
1091
1100
  * array, for example:
1092
1101
  *
1093
- * ```typescript
1102
+ * ```ts
1094
1103
  * import {provideProtractorTestingSupport} from '@angular/platform-browser';
1095
1104
  *
1096
1105
  * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});
@@ -1226,11 +1235,11 @@ class BrowserModule {
1226
1235
  `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1227
1236
  }
1228
1237
  }
1229
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1230
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.2", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1231
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] });
1238
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", 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.0.4", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1240
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] });
1232
1241
  }
1233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: BrowserModule, decorators: [{
1242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BrowserModule, decorators: [{
1234
1243
  type: NgModule,
1235
1244
  args: [{
1236
1245
  providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
@@ -1396,10 +1405,10 @@ class Meta {
1396
1405
  _getMetaKeyMap(prop) {
1397
1406
  return META_KEYS_MAP[prop] || prop;
1398
1407
  }
1399
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1400
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Meta, providedIn: 'root' });
1408
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1409
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Meta, providedIn: 'root' });
1401
1410
  }
1402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Meta, decorators: [{
1411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Meta, decorators: [{
1403
1412
  type: Injectable,
1404
1413
  args: [{ providedIn: 'root' }]
1405
1414
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1441,10 +1450,10 @@ class Title {
1441
1450
  setTitle(newTitle) {
1442
1451
  this._doc.title = newTitle || '';
1443
1452
  }
1444
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1445
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Title, providedIn: 'root' });
1453
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1454
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Title, providedIn: 'root' });
1446
1455
  }
1447
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: Title, decorators: [{
1456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: Title, decorators: [{
1448
1457
  type: Injectable,
1449
1458
  args: [{ providedIn: 'root' }]
1450
1459
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1717,10 +1726,10 @@ class HammerGestureConfig {
1717
1726
  }
1718
1727
  return mc;
1719
1728
  }
1720
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1721
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGestureConfig });
1729
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1730
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerGestureConfig });
1722
1731
  }
1723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGestureConfig, decorators: [{
1732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerGestureConfig, decorators: [{
1724
1733
  type: Injectable
1725
1734
  }] });
1726
1735
  /**
@@ -1816,10 +1825,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1816
1825
  isCustomEvent(eventName) {
1817
1826
  return this._config.events.indexOf(eventName) > -1;
1818
1827
  }
1819
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1820
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGesturesPlugin });
1828
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", 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.0.4", ngImport: i0, type: HammerGesturesPlugin });
1821
1830
  }
1822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1831
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1823
1832
  type: Injectable
1824
1833
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1825
1834
  type: Inject,
@@ -1845,9 +1854,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1845
1854
  * @publicApi
1846
1855
  */
1847
1856
  class HammerModule {
1848
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1849
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.2", ngImport: i0, type: HammerModule });
1850
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerModule, providers: [
1857
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1858
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.4", ngImport: i0, type: HammerModule });
1859
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerModule, providers: [
1851
1860
  {
1852
1861
  provide: EVENT_MANAGER_PLUGINS,
1853
1862
  useClass: HammerGesturesPlugin,
@@ -1857,7 +1866,7 @@ class HammerModule {
1857
1866
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1858
1867
  ] });
1859
1868
  }
1860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: HammerModule, decorators: [{
1869
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: HammerModule, decorators: [{
1861
1870
  type: NgModule,
1862
1871
  args: [{
1863
1872
  providers: [
@@ -1904,10 +1913,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImpor
1904
1913
  * @publicApi
1905
1914
  */
1906
1915
  class DomSanitizer {
1907
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1908
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(() => DomSanitizerImpl) });
1916
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1917
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(() => DomSanitizerImpl) });
1909
1918
  }
1910
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizer, decorators: [{
1919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizer, decorators: [{
1911
1920
  type: Injectable,
1912
1921
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1913
1922
  }] });
@@ -1970,10 +1979,10 @@ class DomSanitizerImpl extends DomSanitizer {
1970
1979
  bypassSecurityTrustResourceUrl(value) {
1971
1980
  return ɵbypassSanitizationTrustResourceUrl(value);
1972
1981
  }
1973
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1974
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root' });
1982
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1983
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root' });
1975
1984
  }
1976
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: DomSanitizerImpl, decorators: [{
1985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: DomSanitizerImpl, decorators: [{
1977
1986
  type: Injectable,
1978
1987
  args: [{ providedIn: 'root' }]
1979
1988
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -2042,7 +2051,7 @@ function withI18nSupport() {
2042
2051
  *
2043
2052
  * Basic example of how you can enable event replay in your application when
2044
2053
  * `bootstrapApplication` function is used:
2045
- * ```
2054
+ * ```ts
2046
2055
  * bootstrapApplication(AppComponent, {
2047
2056
  * providers: [provideClientHydration(withEventReplay())]
2048
2057
  * });
@@ -2060,7 +2069,7 @@ function withEventReplay() {
2060
2069
  *
2061
2070
  * Basic example of how you can enable incremental hydration in your application when
2062
2071
  * the `bootstrapApplication` function is used:
2063
- * ```
2072
+ * ```ts
2064
2073
  * bootstrapApplication(AppComponent, {
2065
2074
  * providers: [provideClientHydration(withIncrementalHydration())]
2066
2075
  * });
@@ -2121,7 +2130,7 @@ function provideZoneJsCompatibilityDetector() {
2121
2130
  *
2122
2131
  * Basic example of how you can enable hydration in your application when
2123
2132
  * `bootstrapApplication` function is used:
2124
- * ```
2133
+ * ```ts
2125
2134
  * bootstrapApplication(AppComponent, {
2126
2135
  * providers: [provideClientHydration()]
2127
2136
  * });
@@ -2129,7 +2138,7 @@ function provideZoneJsCompatibilityDetector() {
2129
2138
  *
2130
2139
  * Alternatively if you are using NgModules, you would add `provideClientHydration`
2131
2140
  * to your root app module's provider list.
2132
- * ```
2141
+ * ```ts
2133
2142
  * @NgModule({
2134
2143
  * declarations: [RootCmp],
2135
2144
  * bootstrap: [RootCmp],
@@ -2183,7 +2192,7 @@ function provideClientHydration(...features) {
2183
2192
  /**
2184
2193
  * @publicApi
2185
2194
  */
2186
- const VERSION = new Version('19.0.2');
2195
+ const VERSION = new Version('19.0.4');
2187
2196
 
2188
2197
  /**
2189
2198
  * @module