raise-common-lib 0.0.34 → 0.0.36

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