@angular/router 18.2.0 → 19.0.0-next.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.
- package/esm2022/src/components/empty_outlet.mjs +3 -3
- package/esm2022/src/directives/router_link.mjs +3 -3
- package/esm2022/src/directives/router_link_active.mjs +3 -3
- package/esm2022/src/directives/router_outlet.mjs +42 -11
- package/esm2022/src/index.mjs +2 -2
- package/esm2022/src/models.mjs +1 -1
- package/esm2022/src/navigation_transition.mjs +5 -8
- package/esm2022/src/page_title_strategy.mjs +6 -6
- package/esm2022/src/route_reuse_strategy.mjs +6 -6
- package/esm2022/src/router.mjs +4 -12
- package/esm2022/src/router_config.mjs +1 -1
- package/esm2022/src/router_config_loader.mjs +3 -3
- package/esm2022/src/router_module.mjs +12 -6
- package/esm2022/src/router_outlet_context.mjs +3 -3
- package/esm2022/src/router_preloader.mjs +9 -9
- package/esm2022/src/router_scroller.mjs +3 -3
- package/esm2022/src/statemanager/state_manager.mjs +6 -6
- package/esm2022/src/url_handling_strategy.mjs +6 -6
- package/esm2022/src/url_tree.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/router_testing_harness.mjs +12 -9
- package/esm2022/testing/src/router_testing_module.mjs +4 -4
- package/fesm2022/router.mjs +115 -89
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +16 -13
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +35 -16
- package/package.json +4 -4
- package/testing/index.d.ts +5 -2
- package/upgrade/index.d.ts +1 -1
package/fesm2022/router.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v19.0.0-next.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { ɵisPromise, ɵRuntimeError, Injectable, createEnvironmentInjector, ɵisNgModule, isStandalone, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, Directive, Input, Output,
|
|
8
|
+
import { ɵisPromise, ɵRuntimeError, Injectable, createEnvironmentInjector, ɵisNgModule, isStandalone, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Directive, Input, Output, reflectComponentType, ɵisInjectable, runInInjectionContext, Component, Compiler, NgModuleFactory, NgZone, afterNextRender, EnvironmentInjector, ɵConsole, ɵPendingTasks, ɵɵsanitizeUrlOrResourceUrl, booleanAttribute, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, InjectFlags, APP_INITIALIZER, SkipSelf, NgModule, Inject, Version } from '@angular/core';
|
|
9
9
|
import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, concat, defer, pipe, throwError, EMPTY, ConnectableObservable, Subject, Subscription } from 'rxjs';
|
|
10
10
|
import * as i3 from '@angular/common';
|
|
11
11
|
import { DOCUMENT, Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';
|
|
@@ -421,10 +421,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
421
421
|
* @publicApi
|
|
422
422
|
*/
|
|
423
423
|
class UrlSerializer {
|
|
424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
425
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
425
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
426
426
|
}
|
|
427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
428
428
|
type: Injectable,
|
|
429
429
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
430
430
|
}] });
|
|
@@ -2044,10 +2044,10 @@ class ChildrenOutletContexts {
|
|
|
2044
2044
|
getContext(childName) {
|
|
2045
2045
|
return this.contexts.get(childName) || null;
|
|
2046
2046
|
}
|
|
2047
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2048
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2048
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
2049
2049
|
}
|
|
2050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2051
2051
|
type: Injectable,
|
|
2052
2052
|
args: [{ providedIn: 'root' }]
|
|
2053
2053
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2545,6 +2545,27 @@ function hasStaticTitle(config) {
|
|
|
2545
2545
|
return typeof config.title === 'string' || config.title === null;
|
|
2546
2546
|
}
|
|
2547
2547
|
|
|
2548
|
+
/**
|
|
2549
|
+
* An `InjectionToken` provided by the `RouterOutlet` and can be set using the `routerOutletData`
|
|
2550
|
+
* input.
|
|
2551
|
+
*
|
|
2552
|
+
* When unset, this value is `null` by default.
|
|
2553
|
+
*
|
|
2554
|
+
* @usageNotes
|
|
2555
|
+
*
|
|
2556
|
+
* To set the data from the template of the component with `router-outlet`:
|
|
2557
|
+
* ```
|
|
2558
|
+
* <router-outlet [routerOutletData]="{name: 'Angular'}" />
|
|
2559
|
+
* ```
|
|
2560
|
+
*
|
|
2561
|
+
* To read the data in the routed component:
|
|
2562
|
+
* ```
|
|
2563
|
+
* data = inject(ROUTER_OUTLET_DATA) as Signal<{name: string}>;
|
|
2564
|
+
* ```
|
|
2565
|
+
*
|
|
2566
|
+
* @publicApi
|
|
2567
|
+
*/
|
|
2568
|
+
const ROUTER_OUTLET_DATA = new InjectionToken(ngDevMode ? 'RouterOutlet data' : '');
|
|
2548
2569
|
/**
|
|
2549
2570
|
* @description
|
|
2550
2571
|
*
|
|
@@ -2615,6 +2636,12 @@ class RouterOutlet {
|
|
|
2615
2636
|
* subtree.
|
|
2616
2637
|
*/
|
|
2617
2638
|
this.detachEvents = new EventEmitter();
|
|
2639
|
+
/**
|
|
2640
|
+
* Data that will be provided to the child injector through the `ROUTER_OUTLET_DATA` token.
|
|
2641
|
+
*
|
|
2642
|
+
* When unset, the value of the token is `undefined` by default.
|
|
2643
|
+
*/
|
|
2644
|
+
this.routerOutletData = input(undefined);
|
|
2618
2645
|
this.parentContexts = inject(ChildrenOutletContexts);
|
|
2619
2646
|
this.location = inject(ViewContainerRef);
|
|
2620
2647
|
this.changeDetector = inject(ChangeDetectorRef);
|
|
@@ -2743,7 +2770,7 @@ class RouterOutlet {
|
|
|
2743
2770
|
const snapshot = activatedRoute.snapshot;
|
|
2744
2771
|
const component = snapshot.component;
|
|
2745
2772
|
const childContexts = this.parentContexts.getOrCreateContext(this.name).children;
|
|
2746
|
-
const injector = new OutletInjector(activatedRoute, childContexts, location.injector);
|
|
2773
|
+
const injector = new OutletInjector(activatedRoute, childContexts, location.injector, this.routerOutletData);
|
|
2747
2774
|
this.activated = location.createComponent(component, {
|
|
2748
2775
|
index: location.length,
|
|
2749
2776
|
injector,
|
|
@@ -2755,10 +2782,10 @@ class RouterOutlet {
|
|
|
2755
2782
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2756
2783
|
this.activateEvents.emit(this.activated.instance);
|
|
2757
2784
|
}
|
|
2758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2759
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2785
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2786
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.0-next.0", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, routerOutletData: { classPropertyName: "routerOutletData", publicName: "routerOutletData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 }); }
|
|
2760
2787
|
}
|
|
2761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2762
2789
|
type: Directive,
|
|
2763
2790
|
args: [{
|
|
2764
2791
|
selector: 'router-outlet',
|
|
@@ -2797,12 +2824,13 @@ class OutletInjector {
|
|
|
2797
2824
|
* Note: it's a temporary solution and we should explore how to support this case better.
|
|
2798
2825
|
*/
|
|
2799
2826
|
__ngOutletInjector(parentInjector) {
|
|
2800
|
-
return new OutletInjector(this.route, this.childContexts, parentInjector);
|
|
2827
|
+
return new OutletInjector(this.route, this.childContexts, parentInjector, this.outletData);
|
|
2801
2828
|
}
|
|
2802
|
-
constructor(route, childContexts, parent) {
|
|
2829
|
+
constructor(route, childContexts, parent, outletData) {
|
|
2803
2830
|
this.route = route;
|
|
2804
2831
|
this.childContexts = childContexts;
|
|
2805
2832
|
this.parent = parent;
|
|
2833
|
+
this.outletData = outletData;
|
|
2806
2834
|
}
|
|
2807
2835
|
get(token, notFoundValue) {
|
|
2808
2836
|
if (token === ActivatedRoute) {
|
|
@@ -2811,6 +2839,9 @@ class OutletInjector {
|
|
|
2811
2839
|
if (token === ChildrenOutletContexts) {
|
|
2812
2840
|
return this.childContexts;
|
|
2813
2841
|
}
|
|
2842
|
+
if (token === ROUTER_OUTLET_DATA) {
|
|
2843
|
+
return this.outletData;
|
|
2844
|
+
}
|
|
2814
2845
|
return this.parent.get(token, notFoundValue);
|
|
2815
2846
|
}
|
|
2816
2847
|
}
|
|
@@ -2881,10 +2912,10 @@ class RoutedComponentInputBinder {
|
|
|
2881
2912
|
});
|
|
2882
2913
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2883
2914
|
}
|
|
2884
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2885
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2915
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2916
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2886
2917
|
}
|
|
2887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2888
2919
|
type: Injectable
|
|
2889
2920
|
}] });
|
|
2890
2921
|
|
|
@@ -4207,10 +4238,10 @@ class TitleStrategy {
|
|
|
4207
4238
|
getResolvedTitleForRoute(snapshot) {
|
|
4208
4239
|
return snapshot.data[RouteTitleKey];
|
|
4209
4240
|
}
|
|
4210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4211
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4241
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4242
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4212
4243
|
}
|
|
4213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4214
4245
|
type: Injectable,
|
|
4215
4246
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4216
4247
|
}] });
|
|
@@ -4233,10 +4264,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4233
4264
|
this.title.setTitle(title);
|
|
4234
4265
|
}
|
|
4235
4266
|
}
|
|
4236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4268
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4238
4269
|
}
|
|
4239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4240
4271
|
type: Injectable,
|
|
4241
4272
|
args: [{ providedIn: 'root' }]
|
|
4242
4273
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4261,10 +4292,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4261
4292
|
* to this `EmptyOutletComponent`.
|
|
4262
4293
|
*/
|
|
4263
4294
|
class ɵEmptyOutletComponent {
|
|
4264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4265
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.0", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
4266
4297
|
}
|
|
4267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4268
4299
|
type: Component,
|
|
4269
4300
|
args: [{
|
|
4270
4301
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4349,10 +4380,10 @@ class RouterConfigLoader {
|
|
|
4349
4380
|
this.childrenLoaders.set(route, loader);
|
|
4350
4381
|
return loader;
|
|
4351
4382
|
}
|
|
4352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4353
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4384
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4354
4385
|
}
|
|
4355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4356
4387
|
type: Injectable,
|
|
4357
4388
|
args: [{ providedIn: 'root' }]
|
|
4358
4389
|
}] });
|
|
@@ -4419,10 +4450,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4419
4450
|
* @publicApi
|
|
4420
4451
|
*/
|
|
4421
4452
|
class UrlHandlingStrategy {
|
|
4422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4423
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4453
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4454
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4424
4455
|
}
|
|
4425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4426
4457
|
type: Injectable,
|
|
4427
4458
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4428
4459
|
}] });
|
|
@@ -4439,10 +4470,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4439
4470
|
merge(newUrlPart, wholeUrl) {
|
|
4440
4471
|
return newUrlPart;
|
|
4441
4472
|
}
|
|
4442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4443
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4474
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4444
4475
|
}
|
|
4445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4446
4477
|
type: Injectable,
|
|
4447
4478
|
args: [{ providedIn: 'root' }]
|
|
4448
4479
|
}] });
|
|
@@ -4835,10 +4866,7 @@ class NavigationTransitions {
|
|
|
4835
4866
|
}
|
|
4836
4867
|
else {
|
|
4837
4868
|
this.events.next(navigationError);
|
|
4838
|
-
|
|
4839
|
-
// Note: Still remove public `Router.errorHandler` property, as this is supposed to be configured in DI.
|
|
4840
|
-
const errorHandlerResult = router.errorHandler(e);
|
|
4841
|
-
overallTransitionState.resolve(!!errorHandlerResult);
|
|
4869
|
+
throw e;
|
|
4842
4870
|
}
|
|
4843
4871
|
}
|
|
4844
4872
|
catch (ee) {
|
|
@@ -4897,10 +4925,10 @@ class NavigationTransitions {
|
|
|
4897
4925
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
4898
4926
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
4899
4927
|
}
|
|
4900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4901
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4928
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4929
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4902
4930
|
}
|
|
4903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4904
4932
|
type: Injectable,
|
|
4905
4933
|
args: [{ providedIn: 'root' }]
|
|
4906
4934
|
}], ctorParameters: () => [] });
|
|
@@ -4916,10 +4944,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4916
4944
|
* @publicApi
|
|
4917
4945
|
*/
|
|
4918
4946
|
class RouteReuseStrategy {
|
|
4919
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4920
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4947
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4948
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4921
4949
|
}
|
|
4922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4923
4951
|
type: Injectable,
|
|
4924
4952
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4925
4953
|
}] });
|
|
@@ -4970,19 +4998,19 @@ class BaseRouteReuseStrategy {
|
|
|
4970
4998
|
}
|
|
4971
4999
|
}
|
|
4972
5000
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4973
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4974
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5002
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4975
5003
|
}
|
|
4976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4977
5005
|
type: Injectable,
|
|
4978
5006
|
args: [{ providedIn: 'root' }]
|
|
4979
5007
|
}] });
|
|
4980
5008
|
|
|
4981
5009
|
class StateManager {
|
|
4982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4983
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5011
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4984
5012
|
}
|
|
4985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: StateManager, decorators: [{
|
|
4986
5014
|
type: Injectable,
|
|
4987
5015
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4988
5016
|
}] });
|
|
@@ -5155,10 +5183,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5155
5183
|
}
|
|
5156
5184
|
return { navigationId };
|
|
5157
5185
|
}
|
|
5158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5159
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5187
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5160
5188
|
}
|
|
5161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5162
5190
|
type: Injectable,
|
|
5163
5191
|
args: [{ providedIn: 'root' }]
|
|
5164
5192
|
}] });
|
|
@@ -5275,14 +5303,6 @@ class Router {
|
|
|
5275
5303
|
* (i.e., an Observable rather than the Subject).
|
|
5276
5304
|
*/
|
|
5277
5305
|
this._events = new Subject();
|
|
5278
|
-
/**
|
|
5279
|
-
* A handler for navigation errors in this NgModule.
|
|
5280
|
-
*
|
|
5281
|
-
* @deprecated Subscribe to the `Router` events and watch for `NavigationError` instead.
|
|
5282
|
-
* `provideRouter` has the `withNavigationErrorHandler` feature to make this easier.
|
|
5283
|
-
* @see {@link withNavigationErrorHandler}
|
|
5284
|
-
*/
|
|
5285
|
-
this.errorHandler = this.options.errorHandler || defaultErrorHandler;
|
|
5286
5306
|
/**
|
|
5287
5307
|
* True if at least one navigation event has occurred,
|
|
5288
5308
|
* false otherwise.
|
|
@@ -5733,10 +5753,10 @@ class Router {
|
|
|
5733
5753
|
return Promise.reject(e);
|
|
5734
5754
|
});
|
|
5735
5755
|
}
|
|
5736
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5737
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5756
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5757
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5738
5758
|
}
|
|
5739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: Router, decorators: [{
|
|
5740
5760
|
type: Injectable,
|
|
5741
5761
|
args: [{ providedIn: 'root' }]
|
|
5742
5762
|
}], ctorParameters: () => [] });
|
|
@@ -6036,10 +6056,10 @@ class RouterLink {
|
|
|
6036
6056
|
preserveFragment: this.preserveFragment,
|
|
6037
6057
|
});
|
|
6038
6058
|
}
|
|
6039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6040
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
6059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6060
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.0", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6041
6061
|
}
|
|
6042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterLink, decorators: [{
|
|
6043
6063
|
type: Directive,
|
|
6044
6064
|
args: [{
|
|
6045
6065
|
selector: '[routerLink]',
|
|
@@ -6277,10 +6297,10 @@ class RouterLinkActive {
|
|
|
6277
6297
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6278
6298
|
return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
|
|
6279
6299
|
}
|
|
6280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6281
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6301
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.0", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 }); }
|
|
6282
6302
|
}
|
|
6283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6284
6304
|
type: Directive,
|
|
6285
6305
|
args: [{
|
|
6286
6306
|
selector: '[routerLinkActive]',
|
|
@@ -6332,10 +6352,10 @@ class PreloadAllModules {
|
|
|
6332
6352
|
preload(route, fn) {
|
|
6333
6353
|
return fn().pipe(catchError(() => of(null)));
|
|
6334
6354
|
}
|
|
6335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6336
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6337
6357
|
}
|
|
6338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6339
6359
|
type: Injectable,
|
|
6340
6360
|
args: [{ providedIn: 'root' }]
|
|
6341
6361
|
}] });
|
|
@@ -6352,10 +6372,10 @@ class NoPreloading {
|
|
|
6352
6372
|
preload(route, fn) {
|
|
6353
6373
|
return of(null);
|
|
6354
6374
|
}
|
|
6355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6356
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6376
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6357
6377
|
}
|
|
6358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6359
6379
|
type: Injectable,
|
|
6360
6380
|
args: [{ providedIn: 'root' }]
|
|
6361
6381
|
}] });
|
|
@@ -6446,10 +6466,10 @@ class RouterPreloader {
|
|
|
6446
6466
|
}
|
|
6447
6467
|
});
|
|
6448
6468
|
}
|
|
6449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6450
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6470
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6451
6471
|
}
|
|
6452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6453
6473
|
type: Injectable,
|
|
6454
6474
|
args: [{ providedIn: 'root' }]
|
|
6455
6475
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6542,10 +6562,10 @@ class RouterScroller {
|
|
|
6542
6562
|
this.routerEventsSubscription?.unsubscribe();
|
|
6543
6563
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6544
6564
|
}
|
|
6545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6566
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterScroller }); }
|
|
6547
6567
|
}
|
|
6548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6549
6569
|
type: Injectable
|
|
6550
6570
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6551
6571
|
|
|
@@ -7160,6 +7180,12 @@ class RouterModule {
|
|
|
7160
7180
|
useFactory: provideForRootGuard,
|
|
7161
7181
|
deps: [[Router, new Optional(), new SkipSelf()]],
|
|
7162
7182
|
},
|
|
7183
|
+
config?.errorHandler
|
|
7184
|
+
? {
|
|
7185
|
+
provide: NAVIGATION_ERROR_HANDLER,
|
|
7186
|
+
useValue: config.errorHandler,
|
|
7187
|
+
}
|
|
7188
|
+
: [],
|
|
7163
7189
|
{ provide: ROUTER_CONFIGURATION, useValue: config ? config : {} },
|
|
7164
7190
|
config?.useHash ? provideHashLocationStrategy() : providePathLocationStrategy(),
|
|
7165
7191
|
provideRouterScroller(),
|
|
@@ -7193,11 +7219,11 @@ class RouterModule {
|
|
|
7193
7219
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7194
7220
|
};
|
|
7195
7221
|
}
|
|
7196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7197
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7198
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7223
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
7224
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterModule }); }
|
|
7199
7225
|
}
|
|
7200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.0", ngImport: i0, type: RouterModule, decorators: [{
|
|
7201
7227
|
type: NgModule,
|
|
7202
7228
|
args: [{
|
|
7203
7229
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7342,7 +7368,7 @@ function mapToResolve(provider) {
|
|
|
7342
7368
|
/**
|
|
7343
7369
|
* @publicApi
|
|
7344
7370
|
*/
|
|
7345
|
-
const VERSION = new Version('
|
|
7371
|
+
const VERSION = new Version('19.0.0-next.0');
|
|
7346
7372
|
|
|
7347
7373
|
/**
|
|
7348
7374
|
* @module
|
|
@@ -7357,5 +7383,5 @@ const VERSION = new Version('18.2.0');
|
|
|
7357
7383
|
* Generated bundle index. Do not edit.
|
|
7358
7384
|
*/
|
|
7359
7385
|
|
|
7360
|
-
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, EventType, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationError, NavigationSkipped, NavigationSkippedCode, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, RedirectCommand, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve, provideRouter, provideRoutes, withComponentInputBinding, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, withViewTransitions, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, afterNextNavigation as ɵafterNextNavigation, loadChildren as ɵloadChildren };
|
|
7386
|
+
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, EventType, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationError, NavigationSkipped, NavigationSkippedCode, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTER_OUTLET_DATA, ROUTES, RedirectCommand, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve, provideRouter, provideRoutes, withComponentInputBinding, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, withViewTransitions, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, afterNextNavigation as ɵafterNextNavigation, loadChildren as ɵloadChildren };
|
|
7361
7387
|
//# sourceMappingURL=router.mjs.map
|