@angular/router 22.0.0-next.11 → 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.11
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, ɵ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';
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.11",
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.11",
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.11",
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.11",
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.11",
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.11",
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.11",
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.11",
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.11",
1819
+ version: "22.0.0-next.12",
1822
1820
  ngImport: i0,
1823
1821
  type: RouterOutlet,
1824
1822
  decorators: [{
@@ -1946,7 +1944,7 @@ class RoutedComponentInputBinder {
1946
1944
  }
1947
1945
  static ɵfac = i0.ɵɵngDeclareFactory({
1948
1946
  minVersion: "12.0.0",
1949
- version: "22.0.0-next.11",
1947
+ version: "22.0.0-next.12",
1950
1948
  ngImport: i0,
1951
1949
  type: RoutedComponentInputBinder,
1952
1950
  deps: "invalid",
@@ -1954,14 +1952,14 @@ class RoutedComponentInputBinder {
1954
1952
  });
1955
1953
  static ɵprov = i0.ɵɵngDeclareInjectable({
1956
1954
  minVersion: "12.0.0",
1957
- version: "22.0.0-next.11",
1955
+ version: "22.0.0-next.12",
1958
1956
  ngImport: i0,
1959
1957
  type: RoutedComponentInputBinder
1960
1958
  });
1961
1959
  }
1962
1960
  i0.ɵɵngDeclareClassMetadata({
1963
1961
  minVersion: "12.0.0",
1964
- version: "22.0.0-next.11",
1962
+ version: "22.0.0-next.12",
1965
1963
  ngImport: i0,
1966
1964
  type: RoutedComponentInputBinder,
1967
1965
  decorators: [{
@@ -1975,7 +1973,7 @@ i0.ɵɵngDeclareClassMetadata({
1975
1973
  class ɵEmptyOutletComponent {
1976
1974
  static ɵfac = i0.ɵɵngDeclareFactory({
1977
1975
  minVersion: "12.0.0",
1978
- version: "22.0.0-next.11",
1976
+ version: "22.0.0-next.12",
1979
1977
  ngImport: i0,
1980
1978
  type: ɵEmptyOutletComponent,
1981
1979
  deps: [],
@@ -1983,7 +1981,7 @@ class ɵEmptyOutletComponent {
1983
1981
  });
1984
1982
  static ɵcmp = i0.ɵɵngDeclareComponent({
1985
1983
  minVersion: "14.0.0",
1986
- version: "22.0.0-next.11",
1984
+ version: "22.0.0-next.12",
1987
1985
  type: ɵEmptyOutletComponent,
1988
1986
  isStandalone: true,
1989
1987
  selector: "ng-component",
@@ -2004,7 +2002,7 @@ class ɵEmptyOutletComponent {
2004
2002
  }
2005
2003
  i0.ɵɵngDeclareClassMetadata({
2006
2004
  minVersion: "12.0.0",
2007
- version: "22.0.0-next.11",
2005
+ version: "22.0.0-next.12",
2008
2006
  ngImport: i0,
2009
2007
  type: ɵEmptyOutletComponent,
2010
2008
  decorators: [{
@@ -3315,31 +3313,29 @@ class TitleStrategy {
3315
3313
  }
3316
3314
  static ɵfac = i0.ɵɵngDeclareFactory({
3317
3315
  minVersion: "12.0.0",
3318
- version: "22.0.0-next.11",
3316
+ version: "22.0.0-next.12",
3319
3317
  ngImport: i0,
3320
3318
  type: TitleStrategy,
3321
3319
  deps: [],
3322
- target: i0.ɵɵFactoryTarget.Injectable
3320
+ target: i0.ɵɵFactoryTarget.Service
3323
3321
  });
3324
- static ɵprov = i0.ɵɵngDeclareInjectable({
3325
- minVersion: "12.0.0",
3326
- version: "22.0.0-next.11",
3322
+ static ɵprov = i0.ɵɵngDeclareService({
3323
+ minVersion: "22.0.0",
3324
+ version: "22.0.0-next.12",
3327
3325
  ngImport: i0,
3328
3326
  type: TitleStrategy,
3329
- providedIn: 'root',
3330
- useFactory: () => inject(DefaultTitleStrategy)
3327
+ factory: () => inject(DefaultTitleStrategy)
3331
3328
  });
3332
3329
  }
3333
3330
  i0.ɵɵngDeclareClassMetadata({
3334
3331
  minVersion: "12.0.0",
3335
- version: "22.0.0-next.11",
3332
+ version: "22.0.0-next.12",
3336
3333
  ngImport: i0,
3337
3334
  type: TitleStrategy,
3338
3335
  decorators: [{
3339
- type: Injectable,
3336
+ type: Service,
3340
3337
  args: [{
3341
- providedIn: 'root',
3342
- useFactory: () => inject(DefaultTitleStrategy)
3338
+ factory: () => inject(DefaultTitleStrategy)
3343
3339
  }]
3344
3340
  }]
3345
3341
  });
@@ -3357,7 +3353,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3357
3353
  }
3358
3354
  static ɵfac = i0.ɵɵngDeclareFactory({
3359
3355
  minVersion: "12.0.0",
3360
- version: "22.0.0-next.11",
3356
+ version: "22.0.0-next.12",
3361
3357
  ngImport: i0,
3362
3358
  type: DefaultTitleStrategy,
3363
3359
  deps: [{
@@ -3367,7 +3363,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3367
3363
  });
3368
3364
  static ɵprov = i0.ɵɵngDeclareInjectable({
3369
3365
  minVersion: "12.0.0",
3370
- version: "22.0.0-next.11",
3366
+ version: "22.0.0-next.12",
3371
3367
  ngImport: i0,
3372
3368
  type: DefaultTitleStrategy,
3373
3369
  providedIn: 'root'
@@ -3375,7 +3371,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3375
3371
  }
3376
3372
  i0.ɵɵngDeclareClassMetadata({
3377
3373
  minVersion: "12.0.0",
3378
- version: "22.0.0-next.11",
3374
+ version: "22.0.0-next.12",
3379
3375
  ngImport: i0,
3380
3376
  type: DefaultTitleStrategy,
3381
3377
  decorators: [{
@@ -3454,30 +3450,26 @@ class RouterConfigLoader {
3454
3450
  }
3455
3451
  static ɵfac = i0.ɵɵngDeclareFactory({
3456
3452
  minVersion: "12.0.0",
3457
- version: "22.0.0-next.11",
3453
+ version: "22.0.0-next.12",
3458
3454
  ngImport: i0,
3459
3455
  type: RouterConfigLoader,
3460
3456
  deps: [],
3461
- target: i0.ɵɵFactoryTarget.Injectable
3457
+ target: i0.ɵɵFactoryTarget.Service
3462
3458
  });
3463
- static ɵprov = i0.ɵɵngDeclareInjectable({
3464
- minVersion: "12.0.0",
3465
- version: "22.0.0-next.11",
3459
+ static ɵprov = i0.ɵɵngDeclareService({
3460
+ minVersion: "22.0.0",
3461
+ version: "22.0.0-next.12",
3466
3462
  ngImport: i0,
3467
- type: RouterConfigLoader,
3468
- providedIn: 'root'
3463
+ type: RouterConfigLoader
3469
3464
  });
3470
3465
  }
3471
3466
  i0.ɵɵngDeclareClassMetadata({
3472
3467
  minVersion: "12.0.0",
3473
- version: "22.0.0-next.11",
3468
+ version: "22.0.0-next.12",
3474
3469
  ngImport: i0,
3475
3470
  type: RouterConfigLoader,
3476
3471
  decorators: [{
3477
- type: Injectable,
3478
- args: [{
3479
- providedIn: 'root'
3480
- }]
3472
+ type: Service
3481
3473
  }]
3482
3474
  });
3483
3475
  async function loadChildren(route, compiler, parentInjector, onLoadEndListener) {
@@ -3529,31 +3521,29 @@ async function maybeResolveResources(value) {
3529
3521
  class UrlHandlingStrategy {
3530
3522
  static ɵfac = i0.ɵɵngDeclareFactory({
3531
3523
  minVersion: "12.0.0",
3532
- version: "22.0.0-next.11",
3524
+ version: "22.0.0-next.12",
3533
3525
  ngImport: i0,
3534
3526
  type: UrlHandlingStrategy,
3535
3527
  deps: [],
3536
- target: i0.ɵɵFactoryTarget.Injectable
3528
+ target: i0.ɵɵFactoryTarget.Service
3537
3529
  });
3538
- static ɵprov = i0.ɵɵngDeclareInjectable({
3539
- minVersion: "12.0.0",
3540
- version: "22.0.0-next.11",
3530
+ static ɵprov = i0.ɵɵngDeclareService({
3531
+ minVersion: "22.0.0",
3532
+ version: "22.0.0-next.12",
3541
3533
  ngImport: i0,
3542
3534
  type: UrlHandlingStrategy,
3543
- providedIn: 'root',
3544
- useFactory: () => inject(DefaultUrlHandlingStrategy)
3535
+ factory: () => inject(DefaultUrlHandlingStrategy)
3545
3536
  });
3546
3537
  }
3547
3538
  i0.ɵɵngDeclareClassMetadata({
3548
3539
  minVersion: "12.0.0",
3549
- version: "22.0.0-next.11",
3540
+ version: "22.0.0-next.12",
3550
3541
  ngImport: i0,
3551
3542
  type: UrlHandlingStrategy,
3552
3543
  decorators: [{
3553
- type: Injectable,
3544
+ type: Service,
3554
3545
  args: [{
3555
- providedIn: 'root',
3556
- useFactory: () => inject(DefaultUrlHandlingStrategy)
3546
+ factory: () => inject(DefaultUrlHandlingStrategy)
3557
3547
  }]
3558
3548
  }]
3559
3549
  });
@@ -3569,30 +3559,26 @@ class DefaultUrlHandlingStrategy {
3569
3559
  }
3570
3560
  static ɵfac = i0.ɵɵngDeclareFactory({
3571
3561
  minVersion: "12.0.0",
3572
- version: "22.0.0-next.11",
3562
+ version: "22.0.0-next.12",
3573
3563
  ngImport: i0,
3574
3564
  type: DefaultUrlHandlingStrategy,
3575
3565
  deps: [],
3576
- target: i0.ɵɵFactoryTarget.Injectable
3566
+ target: i0.ɵɵFactoryTarget.Service
3577
3567
  });
3578
- static ɵprov = i0.ɵɵngDeclareInjectable({
3579
- minVersion: "12.0.0",
3580
- version: "22.0.0-next.11",
3568
+ static ɵprov = i0.ɵɵngDeclareService({
3569
+ minVersion: "22.0.0",
3570
+ version: "22.0.0-next.12",
3581
3571
  ngImport: i0,
3582
- type: DefaultUrlHandlingStrategy,
3583
- providedIn: 'root'
3572
+ type: DefaultUrlHandlingStrategy
3584
3573
  });
3585
3574
  }
3586
3575
  i0.ɵɵngDeclareClassMetadata({
3587
3576
  minVersion: "12.0.0",
3588
- version: "22.0.0-next.11",
3577
+ version: "22.0.0-next.12",
3589
3578
  ngImport: i0,
3590
3579
  type: DefaultUrlHandlingStrategy,
3591
3580
  decorators: [{
3592
- type: Injectable,
3593
- args: [{
3594
- providedIn: 'root'
3595
- }]
3581
+ type: Service
3596
3582
  }]
3597
3583
  });
3598
3584
 
@@ -3984,30 +3970,26 @@ class NavigationTransitions {
3984
3970
  }
3985
3971
  static ɵfac = i0.ɵɵngDeclareFactory({
3986
3972
  minVersion: "12.0.0",
3987
- version: "22.0.0-next.11",
3973
+ version: "22.0.0-next.12",
3988
3974
  ngImport: i0,
3989
3975
  type: NavigationTransitions,
3990
3976
  deps: [],
3991
- target: i0.ɵɵFactoryTarget.Injectable
3977
+ target: i0.ɵɵFactoryTarget.Service
3992
3978
  });
3993
- static ɵprov = i0.ɵɵngDeclareInjectable({
3994
- minVersion: "12.0.0",
3995
- version: "22.0.0-next.11",
3979
+ static ɵprov = i0.ɵɵngDeclareService({
3980
+ minVersion: "22.0.0",
3981
+ version: "22.0.0-next.12",
3996
3982
  ngImport: i0,
3997
- type: NavigationTransitions,
3998
- providedIn: 'root'
3983
+ type: NavigationTransitions
3999
3984
  });
4000
3985
  }
4001
3986
  i0.ɵɵngDeclareClassMetadata({
4002
3987
  minVersion: "12.0.0",
4003
- version: "22.0.0-next.11",
3988
+ version: "22.0.0-next.12",
4004
3989
  ngImport: i0,
4005
3990
  type: NavigationTransitions,
4006
3991
  decorators: [{
4007
- type: Injectable,
4008
- args: [{
4009
- providedIn: 'root'
4010
- }]
3992
+ type: Service
4011
3993
  }],
4012
3994
  ctorParameters: () => []
4013
3995
  });
@@ -4073,31 +4055,29 @@ function destroyDetachedRouteHandle(handle) {
4073
4055
  class RouteReuseStrategy {
4074
4056
  static ɵfac = i0.ɵɵngDeclareFactory({
4075
4057
  minVersion: "12.0.0",
4076
- version: "22.0.0-next.11",
4058
+ version: "22.0.0-next.12",
4077
4059
  ngImport: i0,
4078
4060
  type: RouteReuseStrategy,
4079
4061
  deps: [],
4080
- target: i0.ɵɵFactoryTarget.Injectable
4062
+ target: i0.ɵɵFactoryTarget.Service
4081
4063
  });
4082
- static ɵprov = i0.ɵɵngDeclareInjectable({
4083
- minVersion: "12.0.0",
4084
- version: "22.0.0-next.11",
4064
+ static ɵprov = i0.ɵɵngDeclareService({
4065
+ minVersion: "22.0.0",
4066
+ version: "22.0.0-next.12",
4085
4067
  ngImport: i0,
4086
4068
  type: RouteReuseStrategy,
4087
- providedIn: 'root',
4088
- useFactory: () => inject(DefaultRouteReuseStrategy)
4069
+ factory: () => inject(DefaultRouteReuseStrategy)
4089
4070
  });
4090
4071
  }
4091
4072
  i0.ɵɵngDeclareClassMetadata({
4092
4073
  minVersion: "12.0.0",
4093
- version: "22.0.0-next.11",
4074
+ version: "22.0.0-next.12",
4094
4075
  ngImport: i0,
4095
4076
  type: RouteReuseStrategy,
4096
4077
  decorators: [{
4097
- type: Injectable,
4078
+ type: Service,
4098
4079
  args: [{
4099
- providedIn: 'root',
4100
- useFactory: () => inject(DefaultRouteReuseStrategy)
4080
+ factory: () => inject(DefaultRouteReuseStrategy)
4101
4081
  }]
4102
4082
  }]
4103
4083
  });
@@ -4122,30 +4102,26 @@ class BaseRouteReuseStrategy {
4122
4102
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4123
4103
  static ɵfac = i0.ɵɵngDeclareFactory({
4124
4104
  minVersion: "12.0.0",
4125
- version: "22.0.0-next.11",
4105
+ version: "22.0.0-next.12",
4126
4106
  ngImport: i0,
4127
4107
  type: DefaultRouteReuseStrategy,
4128
- deps: null,
4129
- target: i0.ɵɵFactoryTarget.Injectable
4108
+ deps: [],
4109
+ target: i0.ɵɵFactoryTarget.Service
4130
4110
  });
4131
- static ɵprov = i0.ɵɵngDeclareInjectable({
4132
- minVersion: "12.0.0",
4133
- version: "22.0.0-next.11",
4111
+ static ɵprov = i0.ɵɵngDeclareService({
4112
+ minVersion: "22.0.0",
4113
+ version: "22.0.0-next.12",
4134
4114
  ngImport: i0,
4135
- type: DefaultRouteReuseStrategy,
4136
- providedIn: 'root'
4115
+ type: DefaultRouteReuseStrategy
4137
4116
  });
4138
4117
  }
4139
4118
  i0.ɵɵngDeclareClassMetadata({
4140
4119
  minVersion: "12.0.0",
4141
- version: "22.0.0-next.11",
4120
+ version: "22.0.0-next.12",
4142
4121
  ngImport: i0,
4143
4122
  type: DefaultRouteReuseStrategy,
4144
4123
  decorators: [{
4145
- type: Injectable,
4146
- args: [{
4147
- providedIn: 'root'
4148
- }]
4124
+ type: Service
4149
4125
  }]
4150
4126
  });
4151
4127
 
@@ -4220,31 +4196,29 @@ class StateManager {
4220
4196
  }
4221
4197
  static ɵfac = i0.ɵɵngDeclareFactory({
4222
4198
  minVersion: "12.0.0",
4223
- version: "22.0.0-next.11",
4199
+ version: "22.0.0-next.12",
4224
4200
  ngImport: i0,
4225
4201
  type: StateManager,
4226
4202
  deps: [],
4227
- target: i0.ɵɵFactoryTarget.Injectable
4203
+ target: i0.ɵɵFactoryTarget.Service
4228
4204
  });
4229
- static ɵprov = i0.ɵɵngDeclareInjectable({
4230
- minVersion: "12.0.0",
4231
- version: "22.0.0-next.11",
4205
+ static ɵprov = i0.ɵɵngDeclareService({
4206
+ minVersion: "22.0.0",
4207
+ version: "22.0.0-next.12",
4232
4208
  ngImport: i0,
4233
4209
  type: StateManager,
4234
- providedIn: 'root',
4235
- useFactory: () => inject(HistoryStateManager)
4210
+ factory: () => inject(HistoryStateManager)
4236
4211
  });
4237
4212
  }
4238
4213
  i0.ɵɵngDeclareClassMetadata({
4239
4214
  minVersion: "12.0.0",
4240
- version: "22.0.0-next.11",
4215
+ version: "22.0.0-next.12",
4241
4216
  ngImport: i0,
4242
4217
  type: StateManager,
4243
4218
  decorators: [{
4244
- type: Injectable,
4219
+ type: Service,
4245
4220
  args: [{
4246
- providedIn: 'root',
4247
- useFactory: () => inject(HistoryStateManager)
4221
+ factory: () => inject(HistoryStateManager)
4248
4222
  }]
4249
4223
  }]
4250
4224
  });
@@ -4359,30 +4333,26 @@ class HistoryStateManager extends StateManager {
4359
4333
  }
4360
4334
  static ɵfac = i0.ɵɵngDeclareFactory({
4361
4335
  minVersion: "12.0.0",
4362
- version: "22.0.0-next.11",
4336
+ version: "22.0.0-next.12",
4363
4337
  ngImport: i0,
4364
4338
  type: HistoryStateManager,
4365
- deps: null,
4366
- target: i0.ɵɵFactoryTarget.Injectable
4339
+ deps: [],
4340
+ target: i0.ɵɵFactoryTarget.Service
4367
4341
  });
4368
- static ɵprov = i0.ɵɵngDeclareInjectable({
4369
- minVersion: "12.0.0",
4370
- version: "22.0.0-next.11",
4342
+ static ɵprov = i0.ɵɵngDeclareService({
4343
+ minVersion: "22.0.0",
4344
+ version: "22.0.0-next.12",
4371
4345
  ngImport: i0,
4372
- type: HistoryStateManager,
4373
- providedIn: 'root'
4346
+ type: HistoryStateManager
4374
4347
  });
4375
4348
  }
4376
4349
  i0.ɵɵngDeclareClassMetadata({
4377
4350
  minVersion: "12.0.0",
4378
- version: "22.0.0-next.11",
4351
+ version: "22.0.0-next.12",
4379
4352
  ngImport: i0,
4380
4353
  type: HistoryStateManager,
4381
4354
  decorators: [{
4382
- type: Injectable,
4383
- args: [{
4384
- providedIn: 'root'
4385
- }]
4355
+ type: Service
4386
4356
  }]
4387
4357
  });
4388
4358
 
@@ -4686,30 +4656,26 @@ class Router {
4686
4656
  }
4687
4657
  static ɵfac = i0.ɵɵngDeclareFactory({
4688
4658
  minVersion: "12.0.0",
4689
- version: "22.0.0-next.11",
4659
+ version: "22.0.0-next.12",
4690
4660
  ngImport: i0,
4691
4661
  type: Router,
4692
4662
  deps: [],
4693
- target: i0.ɵɵFactoryTarget.Injectable
4663
+ target: i0.ɵɵFactoryTarget.Service
4694
4664
  });
4695
- static ɵprov = i0.ɵɵngDeclareInjectable({
4696
- minVersion: "12.0.0",
4697
- version: "22.0.0-next.11",
4665
+ static ɵprov = i0.ɵɵngDeclareService({
4666
+ minVersion: "22.0.0",
4667
+ version: "22.0.0-next.12",
4698
4668
  ngImport: i0,
4699
- type: Router,
4700
- providedIn: 'root'
4669
+ type: Router
4701
4670
  });
4702
4671
  }
4703
4672
  i0.ɵɵngDeclareClassMetadata({
4704
4673
  minVersion: "12.0.0",
4705
- version: "22.0.0-next.11",
4674
+ version: "22.0.0-next.12",
4706
4675
  ngImport: i0,
4707
4676
  type: Router,
4708
4677
  decorators: [{
4709
- type: Injectable,
4710
- args: [{
4711
- providedIn: 'root'
4712
- }]
4678
+ type: Service
4713
4679
  }],
4714
4680
  ctorParameters: () => []
4715
4681
  });