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.
@@ -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
- * @param {?} component
21227
- * @return {?}
21228
- */
21229
- KeepAliveService.prototype.setBaseComponent = /**
21230
- * @param {?} component
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