@angular/router 22.0.0-next.10 → 22.0.0-next.12

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,12 +1,12 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.10
2
+ * @license Angular v22.0.0-next.12
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { DOCUMENT, Location } from '@angular/common';
8
8
  import * as i0 from '@angular/core';
9
- import { ɵisPromise as _isPromise, ɵRuntimeError as _RuntimeError, computed, Injectable, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, reflectComponentType, ChangeDetectionStrategy, Component, runInInjectionContext, ɵisInjectable as _isInjectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, Compiler, NgModuleFactory, ɵresolveComponentResources as _resolveComponentResources, afterNextRender, signal, EnvironmentInjector, DestroyRef, untracked, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵformatRuntimeError as _formatRuntimeError } from '@angular/core';
9
+ import { ɵisPromise as _isPromise, ɵRuntimeError as _RuntimeError, computed, Service, Injectable, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, reflectComponentType, ChangeDetectionStrategy, Component, runInInjectionContext, ɵisInjectable as _isInjectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, Compiler, ɵmaybeUnwrapDefaultExport as _maybeUnwrapDefaultExport, NgModuleFactory, ɵresolveComponentResources as _resolveComponentResources, afterNextRender, signal, EnvironmentInjector, DestroyRef, untracked, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵformatRuntimeError as _formatRuntimeError } from '@angular/core';
10
10
  import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, Observable, concat, defer, pipe, EMPTY, throwError, Subject, Subscription } from 'rxjs';
11
11
  import { first, map, switchMap, take, startWith, filter, takeUntil, mergeMap, concatMap, tap, takeLast, catchError, finalize } from 'rxjs/operators';
12
12
  import * as i1 from '@angular/platform-browser';
@@ -327,31 +327,29 @@ function mapChildrenIntoArray(segment, fn) {
327
327
  class UrlSerializer {
328
328
  static ɵfac = i0.ɵɵngDeclareFactory({
329
329
  minVersion: "12.0.0",
330
- version: "22.0.0-next.10",
330
+ version: "22.0.0-next.12",
331
331
  ngImport: i0,
332
332
  type: UrlSerializer,
333
333
  deps: [],
334
- target: i0.ɵɵFactoryTarget.Injectable
334
+ target: i0.ɵɵFactoryTarget.Service
335
335
  });
336
- static ɵprov = i0.ɵɵngDeclareInjectable({
337
- minVersion: "12.0.0",
338
- version: "22.0.0-next.10",
336
+ static ɵprov = i0.ɵɵngDeclareService({
337
+ minVersion: "22.0.0",
338
+ version: "22.0.0-next.12",
339
339
  ngImport: i0,
340
340
  type: UrlSerializer,
341
- providedIn: 'root',
342
- useFactory: () => new DefaultUrlSerializer()
341
+ factory: () => new DefaultUrlSerializer()
343
342
  });
344
343
  }
345
344
  i0.ɵɵngDeclareClassMetadata({
346
345
  minVersion: "12.0.0",
347
- version: "22.0.0-next.10",
346
+ version: "22.0.0-next.12",
348
347
  ngImport: i0,
349
348
  type: UrlSerializer,
350
349
  decorators: [{
351
- type: Injectable,
350
+ type: Service,
352
351
  args: [{
353
- providedIn: 'root',
354
- useFactory: () => new DefaultUrlSerializer()
352
+ factory: () => new DefaultUrlSerializer()
355
353
  }]
356
354
  }]
357
355
  });
@@ -1301,7 +1299,7 @@ class ChildrenOutletContexts {
1301
1299
  }
1302
1300
  static ɵfac = i0.ɵɵngDeclareFactory({
1303
1301
  minVersion: "12.0.0",
1304
- version: "22.0.0-next.10",
1302
+ version: "22.0.0-next.12",
1305
1303
  ngImport: i0,
1306
1304
  type: ChildrenOutletContexts,
1307
1305
  deps: [{
@@ -1311,7 +1309,7 @@ class ChildrenOutletContexts {
1311
1309
  });
1312
1310
  static ɵprov = i0.ɵɵngDeclareInjectable({
1313
1311
  minVersion: "12.0.0",
1314
- version: "22.0.0-next.10",
1312
+ version: "22.0.0-next.12",
1315
1313
  ngImport: i0,
1316
1314
  type: ChildrenOutletContexts,
1317
1315
  providedIn: 'root'
@@ -1319,7 +1317,7 @@ class ChildrenOutletContexts {
1319
1317
  }
1320
1318
  i0.ɵɵngDeclareClassMetadata({
1321
1319
  minVersion: "12.0.0",
1322
- version: "22.0.0-next.10",
1320
+ version: "22.0.0-next.12",
1323
1321
  ngImport: i0,
1324
1322
  type: ChildrenOutletContexts,
1325
1323
  decorators: [{
@@ -1777,7 +1775,7 @@ class RouterOutlet {
1777
1775
  }
1778
1776
  static ɵfac = i0.ɵɵngDeclareFactory({
1779
1777
  minVersion: "12.0.0",
1780
- version: "22.0.0-next.10",
1778
+ version: "22.0.0-next.12",
1781
1779
  ngImport: i0,
1782
1780
  type: RouterOutlet,
1783
1781
  deps: [],
@@ -1785,7 +1783,7 @@ class RouterOutlet {
1785
1783
  });
1786
1784
  static ɵdir = i0.ɵɵngDeclareDirective({
1787
1785
  minVersion: "17.1.0",
1788
- version: "22.0.0-next.10",
1786
+ version: "22.0.0-next.12",
1789
1787
  type: RouterOutlet,
1790
1788
  isStandalone: true,
1791
1789
  selector: "router-outlet",
@@ -1818,7 +1816,7 @@ class RouterOutlet {
1818
1816
  }
1819
1817
  i0.ɵɵngDeclareClassMetadata({
1820
1818
  minVersion: "12.0.0",
1821
- version: "22.0.0-next.10",
1819
+ version: "22.0.0-next.12",
1822
1820
  ngImport: i0,
1823
1821
  type: RouterOutlet,
1824
1822
  decorators: [{
@@ -1886,6 +1884,7 @@ const INPUT_BINDER = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDe
1886
1884
  class RoutedComponentInputBinder {
1887
1885
  options;
1888
1886
  outletDataSubscriptions = new Map();
1887
+ outletSeenKeys = new Map();
1889
1888
  constructor(options) {
1890
1889
  this.options = options;
1891
1890
  this.options.queryParams ??= true;
@@ -1897,6 +1896,7 @@ class RoutedComponentInputBinder {
1897
1896
  unsubscribeFromRouteData(outlet) {
1898
1897
  this.outletDataSubscriptions.get(outlet)?.unsubscribe();
1899
1898
  this.outletDataSubscriptions.delete(outlet);
1899
+ this.outletSeenKeys.delete(outlet);
1900
1900
  }
1901
1901
  subscribeToRouteData(outlet) {
1902
1902
  const {
@@ -1922,17 +1922,29 @@ class RoutedComponentInputBinder {
1922
1922
  this.unsubscribeFromRouteData(outlet);
1923
1923
  return;
1924
1924
  }
1925
+ let seenKeys = this.outletSeenKeys.get(outlet);
1926
+ if (!seenKeys) {
1927
+ seenKeys = new Set();
1928
+ this.outletSeenKeys.set(outlet, seenKeys);
1929
+ }
1930
+ for (const key of Object.keys(data)) {
1931
+ seenKeys.add(key);
1932
+ }
1933
+ const behavior = this.options.unmatchedInputBehavior ?? 'alwaysUndefined';
1925
1934
  for (const {
1926
1935
  templateName
1927
1936
  } of mirror.inputs) {
1928
- outlet.activatedComponentRef.setInput(templateName, data[templateName]);
1937
+ const value = data[templateName];
1938
+ if (value !== undefined || behavior === 'alwaysUndefined' || seenKeys.has(templateName)) {
1939
+ outlet.activatedComponentRef.setInput(templateName, value);
1940
+ }
1929
1941
  }
1930
1942
  });
1931
1943
  this.outletDataSubscriptions.set(outlet, dataSubscription);
1932
1944
  }
1933
1945
  static ɵfac = i0.ɵɵngDeclareFactory({
1934
1946
  minVersion: "12.0.0",
1935
- version: "22.0.0-next.10",
1947
+ version: "22.0.0-next.12",
1936
1948
  ngImport: i0,
1937
1949
  type: RoutedComponentInputBinder,
1938
1950
  deps: "invalid",
@@ -1940,14 +1952,14 @@ class RoutedComponentInputBinder {
1940
1952
  });
1941
1953
  static ɵprov = i0.ɵɵngDeclareInjectable({
1942
1954
  minVersion: "12.0.0",
1943
- version: "22.0.0-next.10",
1955
+ version: "22.0.0-next.12",
1944
1956
  ngImport: i0,
1945
1957
  type: RoutedComponentInputBinder
1946
1958
  });
1947
1959
  }
1948
1960
  i0.ɵɵngDeclareClassMetadata({
1949
1961
  minVersion: "12.0.0",
1950
- version: "22.0.0-next.10",
1962
+ version: "22.0.0-next.12",
1951
1963
  ngImport: i0,
1952
1964
  type: RoutedComponentInputBinder,
1953
1965
  decorators: [{
@@ -1961,7 +1973,7 @@ i0.ɵɵngDeclareClassMetadata({
1961
1973
  class ɵEmptyOutletComponent {
1962
1974
  static ɵfac = i0.ɵɵngDeclareFactory({
1963
1975
  minVersion: "12.0.0",
1964
- version: "22.0.0-next.10",
1976
+ version: "22.0.0-next.12",
1965
1977
  ngImport: i0,
1966
1978
  type: ɵEmptyOutletComponent,
1967
1979
  deps: [],
@@ -1969,7 +1981,7 @@ class ɵEmptyOutletComponent {
1969
1981
  });
1970
1982
  static ɵcmp = i0.ɵɵngDeclareComponent({
1971
1983
  minVersion: "14.0.0",
1972
- version: "22.0.0-next.10",
1984
+ version: "22.0.0-next.12",
1973
1985
  type: ɵEmptyOutletComponent,
1974
1986
  isStandalone: true,
1975
1987
  selector: "ng-component",
@@ -1990,7 +2002,7 @@ class ɵEmptyOutletComponent {
1990
2002
  }
1991
2003
  i0.ɵɵngDeclareClassMetadata({
1992
2004
  minVersion: "12.0.0",
1993
- version: "22.0.0-next.10",
2005
+ version: "22.0.0-next.12",
1994
2006
  ngImport: i0,
1995
2007
  type: ɵEmptyOutletComponent,
1996
2008
  decorators: [{
@@ -3301,31 +3313,29 @@ class TitleStrategy {
3301
3313
  }
3302
3314
  static ɵfac = i0.ɵɵngDeclareFactory({
3303
3315
  minVersion: "12.0.0",
3304
- version: "22.0.0-next.10",
3316
+ version: "22.0.0-next.12",
3305
3317
  ngImport: i0,
3306
3318
  type: TitleStrategy,
3307
3319
  deps: [],
3308
- target: i0.ɵɵFactoryTarget.Injectable
3320
+ target: i0.ɵɵFactoryTarget.Service
3309
3321
  });
3310
- static ɵprov = i0.ɵɵngDeclareInjectable({
3311
- minVersion: "12.0.0",
3312
- version: "22.0.0-next.10",
3322
+ static ɵprov = i0.ɵɵngDeclareService({
3323
+ minVersion: "22.0.0",
3324
+ version: "22.0.0-next.12",
3313
3325
  ngImport: i0,
3314
3326
  type: TitleStrategy,
3315
- providedIn: 'root',
3316
- useFactory: () => inject(DefaultTitleStrategy)
3327
+ factory: () => inject(DefaultTitleStrategy)
3317
3328
  });
3318
3329
  }
3319
3330
  i0.ɵɵngDeclareClassMetadata({
3320
3331
  minVersion: "12.0.0",
3321
- version: "22.0.0-next.10",
3332
+ version: "22.0.0-next.12",
3322
3333
  ngImport: i0,
3323
3334
  type: TitleStrategy,
3324
3335
  decorators: [{
3325
- type: Injectable,
3336
+ type: Service,
3326
3337
  args: [{
3327
- providedIn: 'root',
3328
- useFactory: () => inject(DefaultTitleStrategy)
3338
+ factory: () => inject(DefaultTitleStrategy)
3329
3339
  }]
3330
3340
  }]
3331
3341
  });
@@ -3343,7 +3353,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3343
3353
  }
3344
3354
  static ɵfac = i0.ɵɵngDeclareFactory({
3345
3355
  minVersion: "12.0.0",
3346
- version: "22.0.0-next.10",
3356
+ version: "22.0.0-next.12",
3347
3357
  ngImport: i0,
3348
3358
  type: DefaultTitleStrategy,
3349
3359
  deps: [{
@@ -3353,7 +3363,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3353
3363
  });
3354
3364
  static ɵprov = i0.ɵɵngDeclareInjectable({
3355
3365
  minVersion: "12.0.0",
3356
- version: "22.0.0-next.10",
3366
+ version: "22.0.0-next.12",
3357
3367
  ngImport: i0,
3358
3368
  type: DefaultTitleStrategy,
3359
3369
  providedIn: 'root'
@@ -3361,7 +3371,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3361
3371
  }
3362
3372
  i0.ɵɵngDeclareClassMetadata({
3363
3373
  minVersion: "12.0.0",
3364
- version: "22.0.0-next.10",
3374
+ version: "22.0.0-next.12",
3365
3375
  ngImport: i0,
3366
3376
  type: DefaultTitleStrategy,
3367
3377
  decorators: [{
@@ -3398,7 +3408,7 @@ class RouterConfigLoader {
3398
3408
  const loader = (async () => {
3399
3409
  try {
3400
3410
  const loaded = await wrapIntoPromise(runInInjectionContext(injector, () => route.loadComponent()));
3401
- const component = await maybeResolveResources(maybeUnwrapDefaultExport(loaded));
3411
+ const component = await maybeResolveResources(_maybeUnwrapDefaultExport(loaded));
3402
3412
  if (this.onLoadEndListener) {
3403
3413
  this.onLoadEndListener(route);
3404
3414
  }
@@ -3440,35 +3450,31 @@ class RouterConfigLoader {
3440
3450
  }
3441
3451
  static ɵfac = i0.ɵɵngDeclareFactory({
3442
3452
  minVersion: "12.0.0",
3443
- version: "22.0.0-next.10",
3453
+ version: "22.0.0-next.12",
3444
3454
  ngImport: i0,
3445
3455
  type: RouterConfigLoader,
3446
3456
  deps: [],
3447
- target: i0.ɵɵFactoryTarget.Injectable
3457
+ target: i0.ɵɵFactoryTarget.Service
3448
3458
  });
3449
- static ɵprov = i0.ɵɵngDeclareInjectable({
3450
- minVersion: "12.0.0",
3451
- version: "22.0.0-next.10",
3459
+ static ɵprov = i0.ɵɵngDeclareService({
3460
+ minVersion: "22.0.0",
3461
+ version: "22.0.0-next.12",
3452
3462
  ngImport: i0,
3453
- type: RouterConfigLoader,
3454
- providedIn: 'root'
3463
+ type: RouterConfigLoader
3455
3464
  });
3456
3465
  }
3457
3466
  i0.ɵɵngDeclareClassMetadata({
3458
3467
  minVersion: "12.0.0",
3459
- version: "22.0.0-next.10",
3468
+ version: "22.0.0-next.12",
3460
3469
  ngImport: i0,
3461
3470
  type: RouterConfigLoader,
3462
3471
  decorators: [{
3463
- type: Injectable,
3464
- args: [{
3465
- providedIn: 'root'
3466
- }]
3472
+ type: Service
3467
3473
  }]
3468
3474
  });
3469
3475
  async function loadChildren(route, compiler, parentInjector, onLoadEndListener) {
3470
3476
  const loaded = await wrapIntoPromise(runInInjectionContext(parentInjector, () => route.loadChildren()));
3471
- const t = await maybeResolveResources(maybeUnwrapDefaultExport(loaded));
3477
+ const t = await maybeResolveResources(_maybeUnwrapDefaultExport(loaded));
3472
3478
  let factoryOrRoutes;
3473
3479
  if (t instanceof NgModuleFactory || Array.isArray(t)) {
3474
3480
  factoryOrRoutes = t;
@@ -3501,12 +3507,6 @@ async function loadChildren(route, compiler, parentInjector, onLoadEndListener)
3501
3507
  factory
3502
3508
  };
3503
3509
  }
3504
- function isWrappedDefaultExport(value) {
3505
- return value && typeof value === 'object' && 'default' in value;
3506
- }
3507
- function maybeUnwrapDefaultExport(input) {
3508
- return isWrappedDefaultExport(input) ? input['default'] : input;
3509
- }
3510
3510
  async function maybeResolveResources(value) {
3511
3511
  if ((typeof ngJitMode === 'undefined' || ngJitMode) && typeof fetch === 'function') {
3512
3512
  try {
@@ -3521,31 +3521,29 @@ async function maybeResolveResources(value) {
3521
3521
  class UrlHandlingStrategy {
3522
3522
  static ɵfac = i0.ɵɵngDeclareFactory({
3523
3523
  minVersion: "12.0.0",
3524
- version: "22.0.0-next.10",
3524
+ version: "22.0.0-next.12",
3525
3525
  ngImport: i0,
3526
3526
  type: UrlHandlingStrategy,
3527
3527
  deps: [],
3528
- target: i0.ɵɵFactoryTarget.Injectable
3528
+ target: i0.ɵɵFactoryTarget.Service
3529
3529
  });
3530
- static ɵprov = i0.ɵɵngDeclareInjectable({
3531
- minVersion: "12.0.0",
3532
- version: "22.0.0-next.10",
3530
+ static ɵprov = i0.ɵɵngDeclareService({
3531
+ minVersion: "22.0.0",
3532
+ version: "22.0.0-next.12",
3533
3533
  ngImport: i0,
3534
3534
  type: UrlHandlingStrategy,
3535
- providedIn: 'root',
3536
- useFactory: () => inject(DefaultUrlHandlingStrategy)
3535
+ factory: () => inject(DefaultUrlHandlingStrategy)
3537
3536
  });
3538
3537
  }
3539
3538
  i0.ɵɵngDeclareClassMetadata({
3540
3539
  minVersion: "12.0.0",
3541
- version: "22.0.0-next.10",
3540
+ version: "22.0.0-next.12",
3542
3541
  ngImport: i0,
3543
3542
  type: UrlHandlingStrategy,
3544
3543
  decorators: [{
3545
- type: Injectable,
3544
+ type: Service,
3546
3545
  args: [{
3547
- providedIn: 'root',
3548
- useFactory: () => inject(DefaultUrlHandlingStrategy)
3546
+ factory: () => inject(DefaultUrlHandlingStrategy)
3549
3547
  }]
3550
3548
  }]
3551
3549
  });
@@ -3561,30 +3559,26 @@ class DefaultUrlHandlingStrategy {
3561
3559
  }
3562
3560
  static ɵfac = i0.ɵɵngDeclareFactory({
3563
3561
  minVersion: "12.0.0",
3564
- version: "22.0.0-next.10",
3562
+ version: "22.0.0-next.12",
3565
3563
  ngImport: i0,
3566
3564
  type: DefaultUrlHandlingStrategy,
3567
3565
  deps: [],
3568
- target: i0.ɵɵFactoryTarget.Injectable
3566
+ target: i0.ɵɵFactoryTarget.Service
3569
3567
  });
3570
- static ɵprov = i0.ɵɵngDeclareInjectable({
3571
- minVersion: "12.0.0",
3572
- version: "22.0.0-next.10",
3568
+ static ɵprov = i0.ɵɵngDeclareService({
3569
+ minVersion: "22.0.0",
3570
+ version: "22.0.0-next.12",
3573
3571
  ngImport: i0,
3574
- type: DefaultUrlHandlingStrategy,
3575
- providedIn: 'root'
3572
+ type: DefaultUrlHandlingStrategy
3576
3573
  });
3577
3574
  }
3578
3575
  i0.ɵɵngDeclareClassMetadata({
3579
3576
  minVersion: "12.0.0",
3580
- version: "22.0.0-next.10",
3577
+ version: "22.0.0-next.12",
3581
3578
  ngImport: i0,
3582
3579
  type: DefaultUrlHandlingStrategy,
3583
3580
  decorators: [{
3584
- type: Injectable,
3585
- args: [{
3586
- providedIn: 'root'
3587
- }]
3581
+ type: Service
3588
3582
  }]
3589
3583
  });
3590
3584
 
@@ -3976,30 +3970,26 @@ class NavigationTransitions {
3976
3970
  }
3977
3971
  static ɵfac = i0.ɵɵngDeclareFactory({
3978
3972
  minVersion: "12.0.0",
3979
- version: "22.0.0-next.10",
3973
+ version: "22.0.0-next.12",
3980
3974
  ngImport: i0,
3981
3975
  type: NavigationTransitions,
3982
3976
  deps: [],
3983
- target: i0.ɵɵFactoryTarget.Injectable
3977
+ target: i0.ɵɵFactoryTarget.Service
3984
3978
  });
3985
- static ɵprov = i0.ɵɵngDeclareInjectable({
3986
- minVersion: "12.0.0",
3987
- version: "22.0.0-next.10",
3979
+ static ɵprov = i0.ɵɵngDeclareService({
3980
+ minVersion: "22.0.0",
3981
+ version: "22.0.0-next.12",
3988
3982
  ngImport: i0,
3989
- type: NavigationTransitions,
3990
- providedIn: 'root'
3983
+ type: NavigationTransitions
3991
3984
  });
3992
3985
  }
3993
3986
  i0.ɵɵngDeclareClassMetadata({
3994
3987
  minVersion: "12.0.0",
3995
- version: "22.0.0-next.10",
3988
+ version: "22.0.0-next.12",
3996
3989
  ngImport: i0,
3997
3990
  type: NavigationTransitions,
3998
3991
  decorators: [{
3999
- type: Injectable,
4000
- args: [{
4001
- providedIn: 'root'
4002
- }]
3992
+ type: Service
4003
3993
  }],
4004
3994
  ctorParameters: () => []
4005
3995
  });
@@ -4065,31 +4055,29 @@ function destroyDetachedRouteHandle(handle) {
4065
4055
  class RouteReuseStrategy {
4066
4056
  static ɵfac = i0.ɵɵngDeclareFactory({
4067
4057
  minVersion: "12.0.0",
4068
- version: "22.0.0-next.10",
4058
+ version: "22.0.0-next.12",
4069
4059
  ngImport: i0,
4070
4060
  type: RouteReuseStrategy,
4071
4061
  deps: [],
4072
- target: i0.ɵɵFactoryTarget.Injectable
4062
+ target: i0.ɵɵFactoryTarget.Service
4073
4063
  });
4074
- static ɵprov = i0.ɵɵngDeclareInjectable({
4075
- minVersion: "12.0.0",
4076
- version: "22.0.0-next.10",
4064
+ static ɵprov = i0.ɵɵngDeclareService({
4065
+ minVersion: "22.0.0",
4066
+ version: "22.0.0-next.12",
4077
4067
  ngImport: i0,
4078
4068
  type: RouteReuseStrategy,
4079
- providedIn: 'root',
4080
- useFactory: () => inject(DefaultRouteReuseStrategy)
4069
+ factory: () => inject(DefaultRouteReuseStrategy)
4081
4070
  });
4082
4071
  }
4083
4072
  i0.ɵɵngDeclareClassMetadata({
4084
4073
  minVersion: "12.0.0",
4085
- version: "22.0.0-next.10",
4074
+ version: "22.0.0-next.12",
4086
4075
  ngImport: i0,
4087
4076
  type: RouteReuseStrategy,
4088
4077
  decorators: [{
4089
- type: Injectable,
4078
+ type: Service,
4090
4079
  args: [{
4091
- providedIn: 'root',
4092
- useFactory: () => inject(DefaultRouteReuseStrategy)
4080
+ factory: () => inject(DefaultRouteReuseStrategy)
4093
4081
  }]
4094
4082
  }]
4095
4083
  });
@@ -4114,30 +4102,26 @@ class BaseRouteReuseStrategy {
4114
4102
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4115
4103
  static ɵfac = i0.ɵɵngDeclareFactory({
4116
4104
  minVersion: "12.0.0",
4117
- version: "22.0.0-next.10",
4105
+ version: "22.0.0-next.12",
4118
4106
  ngImport: i0,
4119
4107
  type: DefaultRouteReuseStrategy,
4120
- deps: null,
4121
- target: i0.ɵɵFactoryTarget.Injectable
4108
+ deps: [],
4109
+ target: i0.ɵɵFactoryTarget.Service
4122
4110
  });
4123
- static ɵprov = i0.ɵɵngDeclareInjectable({
4124
- minVersion: "12.0.0",
4125
- version: "22.0.0-next.10",
4111
+ static ɵprov = i0.ɵɵngDeclareService({
4112
+ minVersion: "22.0.0",
4113
+ version: "22.0.0-next.12",
4126
4114
  ngImport: i0,
4127
- type: DefaultRouteReuseStrategy,
4128
- providedIn: 'root'
4115
+ type: DefaultRouteReuseStrategy
4129
4116
  });
4130
4117
  }
4131
4118
  i0.ɵɵngDeclareClassMetadata({
4132
4119
  minVersion: "12.0.0",
4133
- version: "22.0.0-next.10",
4120
+ version: "22.0.0-next.12",
4134
4121
  ngImport: i0,
4135
4122
  type: DefaultRouteReuseStrategy,
4136
4123
  decorators: [{
4137
- type: Injectable,
4138
- args: [{
4139
- providedIn: 'root'
4140
- }]
4124
+ type: Service
4141
4125
  }]
4142
4126
  });
4143
4127
 
@@ -4212,31 +4196,29 @@ class StateManager {
4212
4196
  }
4213
4197
  static ɵfac = i0.ɵɵngDeclareFactory({
4214
4198
  minVersion: "12.0.0",
4215
- version: "22.0.0-next.10",
4199
+ version: "22.0.0-next.12",
4216
4200
  ngImport: i0,
4217
4201
  type: StateManager,
4218
4202
  deps: [],
4219
- target: i0.ɵɵFactoryTarget.Injectable
4203
+ target: i0.ɵɵFactoryTarget.Service
4220
4204
  });
4221
- static ɵprov = i0.ɵɵngDeclareInjectable({
4222
- minVersion: "12.0.0",
4223
- version: "22.0.0-next.10",
4205
+ static ɵprov = i0.ɵɵngDeclareService({
4206
+ minVersion: "22.0.0",
4207
+ version: "22.0.0-next.12",
4224
4208
  ngImport: i0,
4225
4209
  type: StateManager,
4226
- providedIn: 'root',
4227
- useFactory: () => inject(HistoryStateManager)
4210
+ factory: () => inject(HistoryStateManager)
4228
4211
  });
4229
4212
  }
4230
4213
  i0.ɵɵngDeclareClassMetadata({
4231
4214
  minVersion: "12.0.0",
4232
- version: "22.0.0-next.10",
4215
+ version: "22.0.0-next.12",
4233
4216
  ngImport: i0,
4234
4217
  type: StateManager,
4235
4218
  decorators: [{
4236
- type: Injectable,
4219
+ type: Service,
4237
4220
  args: [{
4238
- providedIn: 'root',
4239
- useFactory: () => inject(HistoryStateManager)
4221
+ factory: () => inject(HistoryStateManager)
4240
4222
  }]
4241
4223
  }]
4242
4224
  });
@@ -4351,30 +4333,26 @@ class HistoryStateManager extends StateManager {
4351
4333
  }
4352
4334
  static ɵfac = i0.ɵɵngDeclareFactory({
4353
4335
  minVersion: "12.0.0",
4354
- version: "22.0.0-next.10",
4336
+ version: "22.0.0-next.12",
4355
4337
  ngImport: i0,
4356
4338
  type: HistoryStateManager,
4357
- deps: null,
4358
- target: i0.ɵɵFactoryTarget.Injectable
4339
+ deps: [],
4340
+ target: i0.ɵɵFactoryTarget.Service
4359
4341
  });
4360
- static ɵprov = i0.ɵɵngDeclareInjectable({
4361
- minVersion: "12.0.0",
4362
- version: "22.0.0-next.10",
4342
+ static ɵprov = i0.ɵɵngDeclareService({
4343
+ minVersion: "22.0.0",
4344
+ version: "22.0.0-next.12",
4363
4345
  ngImport: i0,
4364
- type: HistoryStateManager,
4365
- providedIn: 'root'
4346
+ type: HistoryStateManager
4366
4347
  });
4367
4348
  }
4368
4349
  i0.ɵɵngDeclareClassMetadata({
4369
4350
  minVersion: "12.0.0",
4370
- version: "22.0.0-next.10",
4351
+ version: "22.0.0-next.12",
4371
4352
  ngImport: i0,
4372
4353
  type: HistoryStateManager,
4373
4354
  decorators: [{
4374
- type: Injectable,
4375
- args: [{
4376
- providedIn: 'root'
4377
- }]
4355
+ type: Service
4378
4356
  }]
4379
4357
  });
4380
4358
 
@@ -4678,30 +4656,26 @@ class Router {
4678
4656
  }
4679
4657
  static ɵfac = i0.ɵɵngDeclareFactory({
4680
4658
  minVersion: "12.0.0",
4681
- version: "22.0.0-next.10",
4659
+ version: "22.0.0-next.12",
4682
4660
  ngImport: i0,
4683
4661
  type: Router,
4684
4662
  deps: [],
4685
- target: i0.ɵɵFactoryTarget.Injectable
4663
+ target: i0.ɵɵFactoryTarget.Service
4686
4664
  });
4687
- static ɵprov = i0.ɵɵngDeclareInjectable({
4688
- minVersion: "12.0.0",
4689
- version: "22.0.0-next.10",
4665
+ static ɵprov = i0.ɵɵngDeclareService({
4666
+ minVersion: "22.0.0",
4667
+ version: "22.0.0-next.12",
4690
4668
  ngImport: i0,
4691
- type: Router,
4692
- providedIn: 'root'
4669
+ type: Router
4693
4670
  });
4694
4671
  }
4695
4672
  i0.ɵɵngDeclareClassMetadata({
4696
4673
  minVersion: "12.0.0",
4697
- version: "22.0.0-next.10",
4674
+ version: "22.0.0-next.12",
4698
4675
  ngImport: i0,
4699
4676
  type: Router,
4700
4677
  decorators: [{
4701
- type: Injectable,
4702
- args: [{
4703
- providedIn: 'root'
4704
- }]
4678
+ type: Service
4705
4679
  }],
4706
4680
  ctorParameters: () => []
4707
4681
  });