raise-common-lib 0.0.34 → 0.0.35
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/raise-common-lib.umd.js +9 -30
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/service/keep-alive.service.js +9 -20
- package/esm5/lib/service/keep-alive.service.js +11 -31
- package/fesm2015/raise-common-lib.js +6 -19
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +9 -30
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/service/keep-alive.service.d.ts +0 -2
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -21251,19 +21251,14 @@
|
|
|
21251
21251
|
/** @type {?} */
|
|
21252
21252
|
var excludeRoutes = [];
|
|
21253
21253
|
// 不需要缓存的url
|
|
21254
|
-
var
|
|
21255
|
-
// 不需要缓存的url
|
|
21256
|
-
KeepAliveService = /** @class */ (function () {
|
|
21254
|
+
var KeepAliveService = /** @class */ (function () {
|
|
21257
21255
|
function KeepAliveService() {
|
|
21258
21256
|
}
|
|
21259
|
-
// 用于存储 BaseComponent 的实例
|
|
21260
21257
|
/**
|
|
21261
21258
|
* @param {?} routes
|
|
21262
21259
|
* @return {?}
|
|
21263
21260
|
*/
|
|
21264
|
-
KeepAliveService.prototype.setExcludeRoutes =
|
|
21265
|
-
// 用于存储 BaseComponent 的实例
|
|
21266
|
-
/**
|
|
21261
|
+
KeepAliveService.prototype.setExcludeRoutes = /**
|
|
21267
21262
|
* @param {?} routes
|
|
21268
21263
|
* @return {?}
|
|
21269
21264
|
*/
|
|
@@ -21411,32 +21406,16 @@
|
|
|
21411
21406
|
* @return {?}
|
|
21412
21407
|
*/
|
|
21413
21408
|
function () {
|
|
21414
|
-
sessionStorage.removeItem("TabCache");
|
|
21415
|
-
if (this.baseComponent) {
|
|
21416
|
-
this.baseComponent.ngOnDestroy();
|
|
21417
|
-
}
|
|
21418
21409
|
storedRoutes.clear();
|
|
21419
21410
|
};
|
|
21420
|
-
|
|
21421
|
-
|
|
21422
|
-
|
|
21423
|
-
|
|
21424
|
-
|
|
21425
|
-
|
|
21426
|
-
* @return {?}
|
|
21427
|
-
*/
|
|
21428
|
-
function (component) {
|
|
21429
|
-
this.baseComponent = component;
|
|
21430
|
-
};
|
|
21411
|
+
KeepAliveService.decorators = [
|
|
21412
|
+
{ type: core.Injectable, args: [{
|
|
21413
|
+
providedIn: "root",
|
|
21414
|
+
},] }
|
|
21415
|
+
];
|
|
21416
|
+
/** @nocollapse */ KeepAliveService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function KeepAliveService_Factory() { return new KeepAliveService(); }, token: KeepAliveService, providedIn: "root" });
|
|
21431
21417
|
return KeepAliveService;
|
|
21432
|
-
}());
|
|
21433
|
-
if (false) {
|
|
21434
|
-
/**
|
|
21435
|
-
* @type {?}
|
|
21436
|
-
* @private
|
|
21437
|
-
*/
|
|
21438
|
-
KeepAliveService.prototype.baseComponent;
|
|
21439
|
-
}
|
|
21418
|
+
}());
|
|
21440
21419
|
|
|
21441
21420
|
/**
|
|
21442
21421
|
* @fileoverview added by tsickle
|