@ts-core/angular 11.0.70 → 11.0.71
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 +8 -8
- 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/bottomSheet/component/BottomSheetImpl.js +1 -2
- package/esm2015/service/RouterBaseService.js +9 -8
- package/fesm2015/ts-core-angular.js +8 -8
- package/fesm2015/ts-core-angular.js.map +1 -1
- package/package.json +1 -1
- package/service/RouterBaseService.d.ts +1 -1
- package/style/mat/vi-mat.scss +0 -1
|
@@ -5146,7 +5146,6 @@
|
|
|
5146
5146
|
_this.isBlink = !_this.isBlink;
|
|
5147
5147
|
};
|
|
5148
5148
|
_this.observer = new rxjs.Subject();
|
|
5149
|
-
console.log(_this);
|
|
5150
5149
|
_this.properties = properties;
|
|
5151
5150
|
_this.content.window = _this;
|
|
5152
5151
|
_this.setProperties();
|
|
@@ -10315,17 +10314,18 @@
|
|
|
10315
10314
|
// Public Methods
|
|
10316
10315
|
//
|
|
10317
10316
|
// --------------------------------------------------------------------------
|
|
10318
|
-
RouterBaseService.prototype.isUrlActive = function (
|
|
10317
|
+
RouterBaseService.prototype.isUrlActive = function (item, isExact) {
|
|
10319
10318
|
if (isExact === void 0) { isExact = false; }
|
|
10320
10319
|
if (isExact) {
|
|
10321
|
-
return this.router.isActive(
|
|
10320
|
+
return this.router.isActive(item, isExact);
|
|
10322
10321
|
}
|
|
10323
|
-
if (_.isString(
|
|
10324
|
-
|
|
10322
|
+
if (_.isString(item)) {
|
|
10323
|
+
item = this.router.parseUrl(item);
|
|
10325
10324
|
}
|
|
10326
|
-
var
|
|
10327
|
-
|
|
10328
|
-
|
|
10325
|
+
var current = this.router.parseUrl(this.urlTree.toString());
|
|
10326
|
+
item.fragment = current.fragment = null;
|
|
10327
|
+
item.queryParams = current.queryParams = {};
|
|
10328
|
+
return item.toString() === current.toString();
|
|
10329
10329
|
};
|
|
10330
10330
|
// --------------------------------------------------------------------------
|
|
10331
10331
|
//
|