raise-common-lib 0.0.33 → 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.
@@ -2320,7 +2320,7 @@
2320
2320
  };
2321
2321
  MultiTabComponent.decorators = [
2322
2322
  { type: core.Component, args: [{
2323
- selector: "kt-multi-tab",
2323
+ selector: "rs-multi-tab",
2324
2324
  template: "<div class=\"rs-multi-tab\" *ngIf=\"tabList.length > 0\">\r\n <ul>\r\n <ng-container *ngFor=\"let tab of tabList; let i = index\">\r\n <li\r\n [ngClass]=\"selectedTab === i ? 'isSelect' : 'notSelect'\"\r\n (click)=\"changeTab(tab, i)\"\r\n >\r\n <ejs-tooltip\r\n id=\"notSelectTooltip\"\r\n [showTipPointer]=\"false\"\r\n [openDelay]=\"500\"\r\n *ngIf=\"tab.displayTitle !== tab.title; else originText\"\r\n style=\"height: 27px\"\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">\r\n {{ tab.title }}\r\n </div>\r\n </ng-template>\r\n <span class=\"tabTitle\">{{ tab.displayTitle }}</span>\r\n </ejs-tooltip>\r\n <ng-template #originText>\r\n <span class=\"tabTitle\">\r\n {{ tab.displayTitle }}\r\n </span>\r\n </ng-template>\r\n <span class=\"img-block\" *ngIf=\"selectedTab !== i\"></span>\r\n <img\r\n *ngIf=\"tabList.length !== 1\"\r\n src=\"../../../assets/img/close-url.svg\"\r\n (click)=\"closeTab(tab, i)\"\r\n />\r\n </li>\r\n </ng-container>\r\n </ul>\r\n <div class=\"refresh-tab\" (click)=\"refreshTab()\">\r\n <img\r\n id=\"loadingIcon\"\r\n alt\r\n class=\"refresh-btn\"\r\n src=\"../../../assets/img/desktop-refresh-btn.svg\"\r\n />\r\n <span>Refresh Current Tab</span>\r\n </div>\r\n</div>\r\n",
2325
2325
  styles: [".rs-multi-tab{border-bottom:1px solid #e5eaef;height:28px;width:100%;display:flex;justify-content:space-between}.rs-multi-tab ul{display:flex;margin:0 8px;padding:0;overflow:hidden;height:100%}.rs-multi-tab ul li{max-width:164px;padding:0 12px;display:flex;align-items:center;flex:auto;border:1px solid #e5eaef;border-bottom:none;color:#5f6f81;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;height:100%;background:#f8fafb;vertical-align:top;position:relative;cursor:default}.rs-multi-tab ul li .tabTitle{display:inline-block;white-space:nowrap;font-size:11px;font-family:Arial;font-style:normal;font-weight:400;line-height:16px;transition:width .3s}.rs-multi-tab ul li img{border-radius:4px;padding:4px;margin-left:6px;margin-top:1px;vertical-align:top;cursor:pointer}.rs-multi-tab ul li img:hover{background:#dce8f6}.rs-multi-tab ul li:not(:last-child){border-right:none}.rs-multi-tab ul li:first-of-type{border-top-left-radius:8px}.rs-multi-tab ul li:last-child{border-top-right-radius:8px}.rs-multi-tab ul .isSelect{color:#1f3f5c;background:#fff}.rs-multi-tab ul .notSelect img{display:none}.rs-multi-tab ul .notSelect .img-block{display:inline-block;width:22px}.rs-multi-tab ul .notSelect:hover{color:#1f3f5c;background-color:rgba(31,123,255,.04)}.rs-multi-tab ul .notSelect:hover .img-block{display:none}.rs-multi-tab ul .notSelect:hover img{display:inline-block}.rs-multi-tab .refresh-tab{cursor:pointer;text-align:right;color:#6c7c90;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:28px;padding-right:12px}.rs-multi-tab .refresh-tab img{vertical-align:middle;margin-right:4px}.refresh-tab-loading{-webkit-animation:1s linear infinite spin;animation:1s linear infinite spin}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.tooltip-content{padding:4px;color:#f8fafb;font-family:Arial;font-size:11px;font-style:normal;font-weight:400;line-height:14px}@media (max-width:1400px){.refresh-tab{padding-right:0!important}.refresh-tab span{display:none!important}}@media (max-width:1100px){.rs-multi-tab ul li img{position:absolute;right:3px;background-color:#fff}.notSelect:hover img{position:absolute;right:3px;background-color:#eff5fb}.img-block{display:none!important}}@media (max-width:600px){.rs-multi-tab ul li{padding:0 8px}.rs-multi-tab ul .notSelect .img-block{width:0!important}}"]
2326
2326
  }] }
@@ -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
- * @param {?} component
21422
- * @return {?}
21423
- */
21424
- KeepAliveService.prototype.setBaseComponent = /**
21425
- * @param {?} component
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