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