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
|
@@ -21056,19 +21056,14 @@ var toBeDeleteUrl;
|
|
|
21056
21056
|
/** @type {?} */
|
|
21057
21057
|
var excludeRoutes = [];
|
|
21058
21058
|
// 不需要缓存的url
|
|
21059
|
-
var
|
|
21060
|
-
// 不需要缓存的url
|
|
21061
|
-
KeepAliveService = /** @class */ (function () {
|
|
21059
|
+
var KeepAliveService = /** @class */ (function () {
|
|
21062
21060
|
function KeepAliveService() {
|
|
21063
21061
|
}
|
|
21064
|
-
// 用于存储 BaseComponent 的实例
|
|
21065
21062
|
/**
|
|
21066
21063
|
* @param {?} routes
|
|
21067
21064
|
* @return {?}
|
|
21068
21065
|
*/
|
|
21069
|
-
KeepAliveService.prototype.setExcludeRoutes =
|
|
21070
|
-
// 用于存储 BaseComponent 的实例
|
|
21071
|
-
/**
|
|
21066
|
+
KeepAliveService.prototype.setExcludeRoutes = /**
|
|
21072
21067
|
* @param {?} routes
|
|
21073
21068
|
* @return {?}
|
|
21074
21069
|
*/
|
|
@@ -21216,32 +21211,16 @@ KeepAliveService = /** @class */ (function () {
|
|
|
21216
21211
|
* @return {?}
|
|
21217
21212
|
*/
|
|
21218
21213
|
function () {
|
|
21219
|
-
sessionStorage.removeItem("TabCache");
|
|
21220
|
-
if (this.baseComponent) {
|
|
21221
|
-
this.baseComponent.ngOnDestroy();
|
|
21222
|
-
}
|
|
21223
21214
|
storedRoutes.clear();
|
|
21224
21215
|
};
|
|
21225
|
-
|
|
21226
|
-
|
|
21227
|
-
|
|
21228
|
-
|
|
21229
|
-
|
|
21230
|
-
|
|
21231
|
-
* @return {?}
|
|
21232
|
-
*/
|
|
21233
|
-
function (component) {
|
|
21234
|
-
this.baseComponent = component;
|
|
21235
|
-
};
|
|
21216
|
+
KeepAliveService.decorators = [
|
|
21217
|
+
{ type: Injectable, args: [{
|
|
21218
|
+
providedIn: "root",
|
|
21219
|
+
},] }
|
|
21220
|
+
];
|
|
21221
|
+
/** @nocollapse */ KeepAliveService.ngInjectableDef = ɵɵdefineInjectable({ factory: function KeepAliveService_Factory() { return new KeepAliveService(); }, token: KeepAliveService, providedIn: "root" });
|
|
21236
21222
|
return KeepAliveService;
|
|
21237
|
-
}());
|
|
21238
|
-
if (false) {
|
|
21239
|
-
/**
|
|
21240
|
-
* @type {?}
|
|
21241
|
-
* @private
|
|
21242
|
-
*/
|
|
21243
|
-
KeepAliveService.prototype.baseComponent;
|
|
21244
|
-
}
|
|
21223
|
+
}());
|
|
21245
21224
|
|
|
21246
21225
|
/**
|
|
21247
21226
|
* @fileoverview added by tsickle
|