@ts-core/angular 11.0.81 → 11.0.82
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/bundles/ts-core-angular.umd.js +9 -2
- package/bundles/ts-core-angular.umd.js.map +1 -1
- package/bundles/ts-core-angular.umd.min.js +1 -1
- package/bundles/ts-core-angular.umd.min.js.map +1 -1
- package/esm2015/service/RouterBaseService.js +6 -3
- package/fesm2015/ts-core-angular.js +5 -2
- package/fesm2015/ts-core-angular.js.map +1 -1
- package/package.json +1 -1
- package/service/RouterBaseService.d.ts +6 -1
- package/style/mat/vi-mat.scss +2 -3
- package/ts-core-angular.metadata.json +1 -1
|
@@ -10427,10 +10427,10 @@
|
|
|
10427
10427
|
_this.status = common.LoadableStatus.LOADING;
|
|
10428
10428
|
}
|
|
10429
10429
|
else if (event instanceof router.NavigationEnd || event instanceof router.NavigationCancel || event instanceof router.NavigationError) {
|
|
10430
|
-
_this.status = common.LoadableStatus.LOADED;
|
|
10431
10430
|
if (event instanceof router.NavigationEnd) {
|
|
10432
10431
|
_this._lastUrl = event.url;
|
|
10433
10432
|
}
|
|
10433
|
+
_this.status = common.LoadableStatus.LOADED;
|
|
10434
10434
|
}
|
|
10435
10435
|
});
|
|
10436
10436
|
};
|
|
@@ -10468,7 +10468,7 @@
|
|
|
10468
10468
|
this.isNeedUpdateExtras = false;
|
|
10469
10469
|
this.applyExtras(this.extrasToApply);
|
|
10470
10470
|
}
|
|
10471
|
-
this.observer.next(new observer.ObservableData(common.LoadableEvent.COMPLETE));
|
|
10471
|
+
this.observer.next(new observer.ObservableData(common.LoadableEvent.COMPLETE, { url: this.url, lastUrl: this.lastUrl }));
|
|
10472
10472
|
break;
|
|
10473
10473
|
}
|
|
10474
10474
|
if (newStatus === common.LoadableStatus.LOADED || newStatus === common.LoadableStatus.ERROR) {
|
|
@@ -10628,6 +10628,13 @@
|
|
|
10628
10628
|
enumerable: false,
|
|
10629
10629
|
configurable: true
|
|
10630
10630
|
});
|
|
10631
|
+
Object.defineProperty(RouterBaseService.prototype, "lastUrlTree", {
|
|
10632
|
+
get: function () {
|
|
10633
|
+
return this.router.parseUrl(this.lastUrl);
|
|
10634
|
+
},
|
|
10635
|
+
enumerable: false,
|
|
10636
|
+
configurable: true
|
|
10637
|
+
});
|
|
10631
10638
|
Object.defineProperty(RouterBaseService.prototype, "router", {
|
|
10632
10639
|
get: function () {
|
|
10633
10640
|
return this._router;
|