raise-common-lib 0.0.149 → 0.0.151

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.
Files changed (32) hide show
  1. package/bundles/raise-common-lib.umd.js +252 -160
  2. package/bundles/raise-common-lib.umd.js.map +1 -1
  3. package/bundles/raise-common-lib.umd.min.js +1 -1
  4. package/bundles/raise-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/dialog/common-delete-dialog/index.component.js +30 -2
  6. package/esm2015/lib/dialog/common-dialog/index.component.js +47 -11
  7. package/esm2015/lib/layout/multi-tab/index.component.js +17 -3
  8. package/esm2015/lib/raise-common-lib.module.js +7 -3
  9. package/esm2015/lib/service/dialog.service.js +1 -1
  10. package/esm2015/public-api.js +2 -1
  11. package/esm2015/raise-common-lib.js +3 -4
  12. package/esm5/lib/dialog/common-delete-dialog/index.component.js +35 -2
  13. package/esm5/lib/dialog/common-dialog/index.component.js +51 -12
  14. package/esm5/lib/layout/multi-tab/index.component.js +21 -3
  15. package/esm5/lib/raise-common-lib.module.js +7 -3
  16. package/esm5/lib/service/dialog.service.js +1 -1
  17. package/esm5/public-api.js +2 -1
  18. package/esm5/raise-common-lib.js +3 -4
  19. package/fesm2015/raise-common-lib.js +220 -139
  20. package/fesm2015/raise-common-lib.js.map +1 -1
  21. package/fesm5/raise-common-lib.js +248 -155
  22. package/fesm5/raise-common-lib.js.map +1 -1
  23. package/lib/dialog/common-delete-dialog/index.component.d.ts +4 -0
  24. package/lib/dialog/common-dialog/index.component.d.ts +6 -1
  25. package/lib/layout/multi-tab/index.component.d.ts +2 -0
  26. package/lib/service/dialog.service.d.ts +2 -0
  27. package/package.json +1 -1
  28. package/public-api.d.ts +1 -0
  29. package/raise-common-lib.d.ts +1 -2
  30. package/raise-common-lib.metadata.json +1 -1
  31. package/src/assets/img/grow-icon.svg +6 -0
  32. package/src/assets/img/shrink-icon.svg +6 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-grids'), require('lodash'), require('rxjs'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@syncfusion/ej2-angular-treegrid'), require('@syncfusion/ej2-angular-navigations'), require('@angular/router'), require('rxjs/operators'), require('@angular/common/http'), require('@syncfusion/ej2-base'), require('resize-observer-polyfill'), require('@angular/common'), require('@syncfusion/ej2-data'), require('@angular/material/icon'), require('@angular/platform-browser'), require('@angular/forms'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-diagrams'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-pivotview'), require('@syncfusion/ej2-angular-charts'), require('@syncfusion/ej2-angular-layouts'), require('@syncfusion/ej2-angular-pdfviewer'), require('@syncfusion/ej2-angular-splitbuttons'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/material/menu'), require('@angular/material/tooltip')) :
3
- typeof define === 'function' && define.amd ? define('raise-common-lib', ['exports', '@angular/core', '@syncfusion/ej2-angular-grids', 'lodash', 'rxjs', '@angular/material/snack-bar', '@angular/material/dialog', '@syncfusion/ej2-angular-treegrid', '@syncfusion/ej2-angular-navigations', '@angular/router', 'rxjs/operators', '@angular/common/http', '@syncfusion/ej2-base', 'resize-observer-polyfill', '@angular/common', '@syncfusion/ej2-data', '@angular/material/icon', '@angular/platform-browser', '@angular/forms', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-diagrams', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-pivotview', '@syncfusion/ej2-angular-charts', '@syncfusion/ej2-angular-layouts', '@syncfusion/ej2-angular-pdfviewer', '@syncfusion/ej2-angular-splitbuttons', '@syncfusion/ej2-angular-richtexteditor', '@angular/material/menu', '@angular/material/tooltip'], factory) :
4
- (global = global || self, factory(global['raise-common-lib'] = {}, global.ng.core, global.ej2AngularGrids, global.lodash, global.rxjs, global.ng.material['snack-bar'], global.ng.material.dialog, global.ej2AngularTreegrid, global.ej2AngularNavigations, global.ng.router, global.rxjs.operators, global.ng.common.http, global.ej2Base, global.ResizeObserver, global.ng.common, global.ej2Data, global.ng.material.icon, global.ng.platformBrowser, global.ng.forms, global.ej2AngularButtons, global.ej2AngularDiagrams, global.ej2AngularPopups, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularDropdowns, global.ej2AngularPivotview, global.ej2AngularCharts, global.ej2AngularLayouts, global.ej2AngularPdfviewer, global.ej2AngularSplitbuttons, global.ej2AngularRichtexteditor, global.ng.material.menu, global.ng.material.tooltip));
5
- }(this, (function (exports, core, ej2AngularGrids, lodash, rxjs, snackBar, dialog, ej2AngularTreegrid, ej2AngularNavigations, router, operators, http, ej2Base, ResizeObserver, common, ej2Data, icon, platformBrowser, forms, ej2AngularButtons, ej2AngularDiagrams, ej2AngularPopups, ej2AngularCalendars, ej2AngularInputs, ej2AngularDropdowns, ej2AngularPivotview, ej2AngularCharts, ej2AngularLayouts, ej2AngularPdfviewer, ej2AngularSplitbuttons, ej2AngularRichtexteditor, menu, tooltip) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-grids'), require('lodash'), require('rxjs'), require('@angular/material/snack-bar'), require('@angular/material/dialog'), require('@syncfusion/ej2-angular-treegrid'), require('@syncfusion/ej2-angular-navigations'), require('@angular/router'), require('rxjs/operators'), require('@angular/cdk/drag-drop'), require('@angular/common/http'), require('@syncfusion/ej2-base'), require('resize-observer-polyfill'), require('@angular/common'), require('@syncfusion/ej2-data'), require('@angular/material/icon'), require('@angular/platform-browser'), require('@angular/forms'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-diagrams'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-pivotview'), require('@syncfusion/ej2-angular-charts'), require('@syncfusion/ej2-angular-layouts'), require('@syncfusion/ej2-angular-pdfviewer'), require('@syncfusion/ej2-angular-splitbuttons'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/material/menu'), require('@angular/material/tooltip')) :
3
+ typeof define === 'function' && define.amd ? define('raise-common-lib', ['exports', '@angular/core', '@syncfusion/ej2-angular-grids', 'lodash', 'rxjs', '@angular/material/snack-bar', '@angular/material/dialog', '@syncfusion/ej2-angular-treegrid', '@syncfusion/ej2-angular-navigations', '@angular/router', 'rxjs/operators', '@angular/cdk/drag-drop', '@angular/common/http', '@syncfusion/ej2-base', 'resize-observer-polyfill', '@angular/common', '@syncfusion/ej2-data', '@angular/material/icon', '@angular/platform-browser', '@angular/forms', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-diagrams', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-pivotview', '@syncfusion/ej2-angular-charts', '@syncfusion/ej2-angular-layouts', '@syncfusion/ej2-angular-pdfviewer', '@syncfusion/ej2-angular-splitbuttons', '@syncfusion/ej2-angular-richtexteditor', '@angular/material/menu', '@angular/material/tooltip'], factory) :
4
+ (global = global || self, factory(global['raise-common-lib'] = {}, global.ng.core, global.ej2AngularGrids, global.lodash, global.rxjs, global.ng.material['snack-bar'], global.ng.material.dialog, global.ej2AngularTreegrid, global.ej2AngularNavigations, global.ng.router, global.rxjs.operators, global.ng.cdk['drag-drop'], global.ng.common.http, global.ej2Base, global.ResizeObserver, global.ng.common, global.ej2Data, global.ng.material.icon, global.ng.platformBrowser, global.ng.forms, global.ej2AngularButtons, global.ej2AngularDiagrams, global.ej2AngularPopups, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularDropdowns, global.ej2AngularPivotview, global.ej2AngularCharts, global.ej2AngularLayouts, global.ej2AngularPdfviewer, global.ej2AngularSplitbuttons, global.ej2AngularRichtexteditor, global.ng.material.menu, global.ng.material.tooltip));
5
+ }(this, (function (exports, core, ej2AngularGrids, lodash, rxjs, snackBar, dialog, ej2AngularTreegrid, ej2AngularNavigations, router, operators, dragDrop, http, ej2Base, ResizeObserver, common, ej2Data, icon, platformBrowser, forms, ej2AngularButtons, ej2AngularDiagrams, ej2AngularPopups, ej2AngularCalendars, ej2AngularInputs, ej2AngularDropdowns, ej2AngularPivotview, ej2AngularCharts, ej2AngularLayouts, ej2AngularPdfviewer, ej2AngularSplitbuttons, ej2AngularRichtexteditor, menu, tooltip) { 'use strict';
6
6
 
7
7
  ResizeObserver = ResizeObserver && ResizeObserver.hasOwnProperty('default') ? ResizeObserver['default'] : ResizeObserver;
8
8
 
@@ -1959,6 +1959,10 @@
1959
1959
  DialogConfig.prototype.hideSaveBtn;
1960
1960
  /** @type {?|undefined} */
1961
1961
  DialogConfig.prototype.hideCloseBtn;
1962
+ /** @type {?|undefined} */
1963
+ DialogConfig.prototype.showZoomBtn;
1964
+ /** @type {?|undefined} */
1965
+ DialogConfig.prototype.onCloseRequest;
1962
1966
  }
1963
1967
  var CommonDeleteComponent = /** @class */ (function () {
1964
1968
  function CommonDeleteComponent(data, dialogRef) {
@@ -1969,6 +1973,7 @@
1969
1973
  this.cancelBtnLabel = "";
1970
1974
  this.description = "";
1971
1975
  this.size = "small";
1976
+ this.showZoomBtn = false;
1972
1977
  }
1973
1978
  /**
1974
1979
  * @return {?}
@@ -1989,6 +1994,7 @@
1989
1994
  this.translation.IF_YOU_DELETE_THIS_RECORD_WARNING ||
1990
1995
  ".If you delete this record, you won't be able to recover it. Do you want to delete it?";
1991
1996
  this.size = this.data.size || "small";
1997
+ this.showZoomBtn = this.data.showZoomBtn || false;
1992
1998
  };
1993
1999
  /**
1994
2000
  * @param {?} e
@@ -2001,10 +2007,35 @@
2001
2007
  function (e) {
2002
2008
  this.dialogRef.close(e);
2003
2009
  };
2010
+ /**
2011
+ * @param {?} e
2012
+ * @return {?}
2013
+ */
2014
+ CommonDeleteComponent.prototype.onClose = /**
2015
+ * @param {?} e
2016
+ * @return {?}
2017
+ */
2018
+ function (e) {
2019
+ var _this = this;
2020
+ if (this.data.onCloseRequest) {
2021
+ this.data.onCloseRequest(e).then((/**
2022
+ * @param {?} confirmed
2023
+ * @return {?}
2024
+ */
2025
+ function (confirmed) {
2026
+ if (confirmed) {
2027
+ _this.dialogRef.close();
2028
+ }
2029
+ }));
2030
+ }
2031
+ else {
2032
+ this.dialogRef.close();
2033
+ }
2034
+ };
2004
2035
  CommonDeleteComponent.decorators = [
2005
2036
  { type: core.Component, args: [{
2006
2037
  selector: "kt-common-delete-dialog",
2007
- template: "<kt-common-dialog\r\n\t[size]=\"size\"\r\n\t[title]=\"title\"\r\n\t[hideHeader]=\"false\"\r\n\t[hideCloseBtn]=\"data.hideCloseBtn === undefined ? false : data.hideCloseBtn\"\r\n\t[hideSaveBtn]=\"data.hideSaveBtn === undefined ? false : data.hideSaveBtn\"\r\n\t[saveBtnLabel]=\"saveBtnLabel\"\r\n\t[cancelBtnLabel]=\"cancelBtnLabel\"\r\n\t[showErrorIcon]=\"\r\n\t\tdata.showErrorIcon === undefined ? false : data.showErrorIcon\r\n\t\"\r\n\t[hideCloseIcon]=\"\r\n\t\tdata.hideCloseIcon === undefined ? false : data.hideCloseIcon\r\n\t\"\r\n\t(saveEmit)=\"onSave($event)\"\r\n>\r\n\t<div class=\"mapping-dialog\">\r\n\t\t{{ description }}\r\n\t</div>\r\n</kt-common-dialog>\r\n",
2038
+ template: "<kt-common-dialog\r\n\t[size]=\"size\"\r\n\t[title]=\"title\"\r\n\t[hideHeader]=\"false\"\r\n\t[hideCloseBtn]=\"data.hideCloseBtn === undefined ? false : data.hideCloseBtn\"\r\n\t[hideSaveBtn]=\"data.hideSaveBtn === undefined ? false : data.hideSaveBtn\"\r\n\t[saveBtnLabel]=\"saveBtnLabel\"\r\n\t[cancelBtnLabel]=\"cancelBtnLabel\"\r\n\t[showZoomBtn]=\"showZoomBtn\"\r\n\t[showErrorIcon]=\"\r\n\t\tdata.showErrorIcon === undefined ? false : data.showErrorIcon\r\n\t\"\r\n\t[hideCloseIcon]=\"\r\n\t\tdata.hideCloseIcon === undefined ? false : data.hideCloseIcon\r\n\t\"\r\n\t(saveEmit)=\"onSave($event)\"\r\n>\r\n\t<div class=\"mapping-dialog\">\r\n\t\t{{ description }}\r\n\t</div>\r\n</kt-common-dialog>\r\n",
2008
2039
  styles: [".mapping-dialog{color:#44566c;font-family:Arial;font-size:12px;line-height:16px;white-space:pre-line}"]
2009
2040
  }] }
2010
2041
  ];
@@ -2029,6 +2060,8 @@
2029
2060
  /** @type {?} */
2030
2061
  CommonDeleteComponent.prototype.size;
2031
2062
  /** @type {?} */
2063
+ CommonDeleteComponent.prototype.showZoomBtn;
2064
+ /** @type {?} */
2032
2065
  CommonDeleteComponent.prototype.data;
2033
2066
  /** @type {?} */
2034
2067
  CommonDeleteComponent.prototype.dialogRef;
@@ -3763,6 +3796,23 @@
3763
3796
  this.ref.markForCheck();
3764
3797
  }
3765
3798
  };
3799
+ /**
3800
+ * @param {?} event
3801
+ * @return {?}
3802
+ */
3803
+ MultiTabComponent.prototype.onTabDrop = /**
3804
+ * @param {?} event
3805
+ * @return {?}
3806
+ */
3807
+ function (event) {
3808
+ var previousIndex = event.previousIndex, currentIndex = event.currentIndex;
3809
+ console.log("previousIndex", previousIndex, "currentIndex", currentIndex);
3810
+ if (previousIndex === 0 || currentIndex === 0) {
3811
+ return;
3812
+ }
3813
+ dragDrop.moveItemInArray(this.tabList, event.previousIndex, event.currentIndex);
3814
+ sessionStorage.setItem("TabCache", JSON.stringify(this.tabList));
3815
+ };
3766
3816
  /**
3767
3817
  * @return {?}
3768
3818
  */
@@ -3834,8 +3884,8 @@
3834
3884
  MultiTabComponent.decorators = [
3835
3885
  { type: core.Component, args: [{
3836
3886
  selector: "rs-multi-tab",
3837
- template: "<div class=\"rs-multi-tab\" [ngClass]=\"{ 'b-line': tabList.length > 0 }\">\r\n\t<ul>\r\n\t\t<ng-container *ngFor=\"let tab of tabList; let i = index\">\r\n\t\t\t<li\r\n\t\t\t\t[ngClass]=\"selectedTab === i ? 'isSelect' : 'notSelect'\"\r\n\t\t\t\t(click)=\"changeTab(tab, i)\"\r\n\t\t\t>\r\n\t\t\t\t<ejs-tooltip\r\n\t\t\t\t\tid=\"notSelectTooltip\"\r\n\t\t\t\t\t[showTipPointer]=\"false\"\r\n\t\t\t\t\t[openDelay]=\"500\"\r\n\t\t\t\t\t*ngIf=\"tab.displayTitle !== tab.title; else originText\"\r\n\t\t\t\t\tstyle=\"height: 27px\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<ng-template #content>\r\n\t\t\t\t\t\t<div class=\"tooltip-content\">\r\n\t\t\t\t\t\t\t{{ tab.title }}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t<span class=\"tabTitle\">{{ tab.displayTitle }}</span>\r\n\t\t\t\t</ejs-tooltip>\r\n\t\t\t\t<ng-template #originText>\r\n\t\t\t\t\t<span class=\"tabTitle\">\r\n\t\t\t\t\t\t{{ tab.displayTitle }}\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<span\r\n\t\t\t\t\tclass=\"img-block\"\r\n\t\t\t\t\t*ngIf=\"selectedTab !== i && i !== 0\"\r\n\t\t\t\t></span>\r\n\t\t\t\t<img\r\n\t\t\t\t\t*ngIf=\"i !== 0\"\r\n\t\t\t\t\tsrc=\"../../../assets/img/close-url.svg\"\r\n\t\t\t\t\t(click)=\"closeTab(i)\"\r\n\t\t\t\t/>\r\n\t\t\t</li>\r\n\t\t</ng-container>\r\n\t</ul>\r\n\t<div class=\"refresh-tab\" (click)=\"refreshTab()\" *ngIf=\"tabList.length > 0\">\r\n\t\t<ejs-tooltip\r\n\t\t\tid=\"notSelectTooltip\"\r\n\t\t\tcssClass=\"notSelectTooltip\"\r\n\t\t\t[showTipPointer]=\"false\"\r\n\t\t\t[openDelay]=\"500\"\r\n\t\t\tstyle=\"height: 27px\"\r\n\t\t>\r\n\t\t\t<ng-template #content>\r\n\t\t\t\t<div class=\"tooltip-content\">Refresh Current Tab</div>\r\n\t\t\t</ng-template>\r\n\t\t\t<img\r\n\t\t\t\tid=\"loadingIcon\"\r\n\t\t\t\talt\r\n\t\t\t\tclass=\"refresh-btn\"\r\n\t\t\t\tsrc=\"../../../assets/img/desktop-refresh-btn.svg\"\r\n\t\t\t/>\r\n\t\t</ejs-tooltip>\r\n\t</div>\r\n</div>\r\n",
3838
- styles: [".rs-multi-tab{width:100%;display:flex;justify-content:space-between;margin:0 auto;max-width:1886px}.rs-multi-tab.b-line{border-bottom:1px solid #e5eaef}.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:28px;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}.notSelectTooltip{transform:translateX(-12px)}@-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}.isSelect:not(:first-child){padding-right:20px!important}}@media (max-width:600px){.rs-multi-tab ul li{padding:0 8px}.rs-multi-tab ul .notSelect .img-block{width:0!important}}"]
3887
+ template: "<div class=\"rs-multi-tab\" [ngClass]=\"{ 'b-line': tabList.length > 0 }\">\r\n <ul\r\n cdkDropList\r\n cdkDropListOrientation=\"horizontal\"\r\n (cdkDropListDropped)=\"onTabDrop($event)\"\r\n >\r\n <li\r\n class=\"tab-item\"\r\n *ngFor=\"let tab of tabList; let i = index\"\r\n [ngClass]=\"selectedTab === i ? 'isSelect' : 'notSelect'\"\r\n [cdkDragDisabled]=\"i === 0\"\r\n cdkDrag\r\n (click)=\"changeTab(tab, i)\"\r\n >\r\n <ng-template cdkDragPlaceholder let-item>\r\n <div class=\"placeholder\">\r\n\t\t</div>\r\n </ng-template>\r\n\t \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 && i !== 0\"></span>\r\n <img\r\n *ngIf=\"i !== 0\"\r\n src=\"../../../assets/img/close-url.svg\"\r\n (click)=\"closeTab(i)\"\r\n />\r\n </li>\r\n </ul>\r\n <div class=\"refresh-tab\" (click)=\"refreshTab()\" *ngIf=\"tabList.length > 0\">\r\n <ejs-tooltip\r\n id=\"notSelectTooltip\"\r\n cssClass=\"notSelectTooltip\"\r\n [showTipPointer]=\"false\"\r\n [openDelay]=\"500\"\r\n style=\"height: 27px\"\r\n >\r\n <ng-template #content>\r\n <div class=\"tooltip-content\">Refresh Current Tab</div>\r\n </ng-template>\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 </ejs-tooltip>\r\n </div>\r\n</div>\r\n",
3888
+ styles: ["@charset \"UTF-8\";.rs-multi-tab{width:100%;display:flex;justify-content:space-between;margin:0 auto;max-width:1886px}.rs-multi-tab.b-line{border-bottom:1px solid #e5eaef}.rs-multi-tab ul{display:flex;margin:0 8px;padding:0;overflow:hidden;height:100%}.rs-multi-tab ul .tab-item{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:28px;background:#f8fafb;vertical-align:top;position:relative;cursor:default}.rs-multi-tab ul .tab-item .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 .tab-item img{border-radius:4px;padding:4px;margin-left:6px;margin-top:1px;vertical-align:top;cursor:pointer}.rs-multi-tab ul .tab-item img:hover{background:#dce8f6}.rs-multi-tab ul .tab-item:not(:last-child){border-right:none}.rs-multi-tab ul .tab-item:first-of-type{border-top-left-radius:8px}.rs-multi-tab ul .tab-item:last-child{border-top-right-radius:8px}.rs-multi-tab ul.cdk-drop-list-dragging .tab-item.cdk-drag-disabled:hover{background:#f8fafb!important;cursor:no-drop}.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}.notSelectTooltip{transform:translateX(-12px)}.tab-item.cdk-drag{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:28px;background:#f8fafb;vertical-align:top;position:relative;cursor:default}.tab-item.cdk-drag .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}.tab-item.cdk-drag img{border-radius:4px;padding:4px;margin-left:6px;margin-top:1px;vertical-align:top;cursor:pointer}.tab-item.cdk-drag img:hover{background:#dce8f6}@-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 .tab-item img{position:absolute;right:3px;background-color:#fff}.notSelect:hover img{position:absolute;right:3px;background-color:#eff5fb}.img-block{display:none!important}.isSelect:not(:first-child){padding-right:20px!important}}@media (max-width:600px){.rs-multi-tab ul .tab-item{padding:0 8px}.rs-multi-tab ul .notSelect .img-block{width:0!important}}"]
3839
3889
  }] }
3840
3890
  ];
3841
3891
  /** @nocollapse */
@@ -22826,6 +22876,194 @@
22826
22876
  ToolbarItemComponent.prototype.ImageType;
22827
22877
  }
22828
22878
 
22879
+ /**
22880
+ * @fileoverview added by tsickle
22881
+ * Generated from: lib/dialog/common-dialog/index.component.ts
22882
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
22883
+ */
22884
+ var CommonDialogComponent = /** @class */ (function () {
22885
+ function CommonDialogComponent(dialogRef) {
22886
+ this.dialogRef = dialogRef;
22887
+ // 隐藏元素相关属性
22888
+ this.hideHeader = false;
22889
+ this.hideCloseIcon = false;
22890
+ this.hideCloseBtn = false;
22891
+ this.hideSaveBtn = false;
22892
+ this.saveBtnLabel = "";
22893
+ this.cancelBtnLabel = "";
22894
+ this.showErrorIcon = false;
22895
+ this.showZoomBtn = false;
22896
+ // 显示相关属性
22897
+ this.dialogStyle = {};
22898
+ this.size = "";
22899
+ this.title = "Dialog";
22900
+ this.loading = false;
22901
+ this.saveEmit = new core.EventEmitter();
22902
+ this.closeEmit = new core.EventEmitter();
22903
+ this.defaultSize = "";
22904
+ this.customFooter = false;
22905
+ }
22906
+ /**
22907
+ * @return {?}
22908
+ */
22909
+ CommonDialogComponent.prototype.ngAfterContentInit = /**
22910
+ * @return {?}
22911
+ */
22912
+ function () {
22913
+ this.customFooter = !!this.footerContent;
22914
+ };
22915
+ /**
22916
+ * @return {?}
22917
+ */
22918
+ CommonDialogComponent.prototype.ngOnInit = /**
22919
+ * @return {?}
22920
+ */
22921
+ function () {
22922
+ this.getInfo();
22923
+ };
22924
+ /**
22925
+ * @return {?}
22926
+ */
22927
+ CommonDialogComponent.prototype.onClose = /**
22928
+ * @return {?}
22929
+ */
22930
+ function () {
22931
+ var _this = this;
22932
+ if (this.onCloseRequest) {
22933
+ this.onCloseRequest().then((/**
22934
+ * @param {?} confirmed
22935
+ * @return {?}
22936
+ */
22937
+ function (confirmed) {
22938
+ if (confirmed) {
22939
+ _this.dialogRef.close();
22940
+ }
22941
+ }));
22942
+ }
22943
+ else {
22944
+ this.dialogRef.close();
22945
+ }
22946
+ };
22947
+ /**
22948
+ * @return {?}
22949
+ */
22950
+ CommonDialogComponent.prototype.onZoom = /**
22951
+ * @return {?}
22952
+ */
22953
+ function () {
22954
+ if (this.size === "largest") {
22955
+ this.size = this.defaultSize; // 恢复到原始大小
22956
+ }
22957
+ else {
22958
+ this.size = "largest"; // 设置为最大化
22959
+ }
22960
+ };
22961
+ /**
22962
+ * @return {?}
22963
+ */
22964
+ CommonDialogComponent.prototype.onSave = /**
22965
+ * @return {?}
22966
+ */
22967
+ function () {
22968
+ var _this = this;
22969
+ // 这里把关闭事件emit上去,但是必须使用箭头函数保存this对象
22970
+ this.saveEmit.emit((/**
22971
+ * @param {?} res
22972
+ * @return {?}
22973
+ */
22974
+ function (res) {
22975
+ _this.dialogRef.close(res);
22976
+ }));
22977
+ };
22978
+ /**
22979
+ * @private
22980
+ * @return {?}
22981
+ */
22982
+ CommonDialogComponent.prototype.getInfo = /**
22983
+ * @private
22984
+ * @return {?}
22985
+ */
22986
+ function () {
22987
+ this.translation = JSON.parse(localStorage.getItem("translation")) || {};
22988
+ this.saveBtnLabel = this.saveBtnLabel || this.translation.SAVE || ".SAVE";
22989
+ this.cancelBtnLabel =
22990
+ this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
22991
+ this.defaultSize = this.size;
22992
+ };
22993
+ CommonDialogComponent.decorators = [
22994
+ { type: core.Component, args: [{
22995
+ selector: "rs-common-dialog",
22996
+ template: "<div class=\"dialog\" [ngClass]=\"size\" [ngStyle]=\"dialogStyle\">\r\n <!-- \u5934\u90E8 -->\r\n <div *ngIf=\"!hideHeader\" mat-dialog-title class=\"dialog__header\">\r\n <div class=\"header__title\">\r\n <img\r\n src=\"../../../assets/img/notification-status-warning.svg\"\r\n alt=\"\"\r\n *ngIf=\"showErrorIcon\"\r\n />\r\n {{ title }}\r\n </div>\r\n <div class=\"header__actions\">\r\n <div *ngIf=\"showZoomBtn\" class=\"header__close-btn\" (click)=\"onZoom()\">\r\n <img\r\n class=\"header__close-icon\"\r\n *ngIf=\"size === 'largest'\"\r\n src=\"../../../assets/img/shrink-icon.svg\"\r\n />\r\n <img\r\n class=\"header__close-icon\"\r\n *ngIf=\"size !== 'largest'\"\r\n src=\"../../../assets/img/grow-icon.svg\"\r\n />\r\n </div>\r\n <div *ngIf=\"!hideCloseIcon\" class=\"header__close-btn\" (click)=\"onClose()\">\r\n <img class=\"header__close-icon\" src=\"../../../assets/img/close.svg\" />\r\n </div>\r\n </div>\r\n </div>\r\n <!-- \u5185\u5BB9 -->\r\n <div class=\"dialog__content\" mat-dialog-content>\r\n <ng-content></ng-content>\r\n </div>\r\n <!-- \u5E95\u90E8\u6309\u94AE -->\r\n <div mat-dialog-actions class=\"dialog__footer\">\r\n <ng-content select=\"[footerSlot]\"></ng-content>\r\n <!-- \u9ED8\u8BA4\u5C55\u793A\u4FDD\u5B58/\u5173\u95ED\u6309\u94AE -->\r\n <ng-container *ngIf=\"!customFooter\">\r\n <ng-template [ngTemplateOutlet]=\"defaultTemplate\"></ng-template>\r\n </ng-container>\r\n <ng-template #defaultTemplate>\r\n <button\r\n *ngIf=\"!hideCloseBtn\"\r\n class=\"e-btn\"\r\n (click)=\"onClose()\"\r\n >\r\n {{ cancelBtnLabel }}\r\n </button>\r\n <button\r\n *ngIf=\"!hideSaveBtn\"\r\n class=\"e-btn e-primary\"\r\n (click)=\"onSave()\"\r\n >\r\n {{ saveBtnLabel }}\r\n </button>\r\n </ng-template>\r\n </div>\r\n <!-- loading -->\r\n <div class=\"dialog__loading\" [hidden]=\"!loading\">\r\n <img src=\"../../../assets/img/raise_loading.gif\" alt=\"\" />\r\n </div>\r\n</div>\r\n",
22997
+ styles: [":host::ng-deep .dialog{position:relative;max-height:90vh;font-weight:400;padding:20px;overflow:hidden;display:flex;flex-direction:column}:host::ng-deep .dialog.largest{width:80vw!important;max-width:1885px;padding:20px}:host::ng-deep .dialog.medium{width:500px;padding:20px}:host::ng-deep .dialog.small{width:350px;padding:20px 16px}:host::ng-deep .dialog.small .dialog__header{color:#002c4f;margin-bottom:16px}:host::ng-deep .dialog.small .dialog__header .header__title{font-size:13px;line-height:16px}:host::ng-deep .dialog.small .dialog__content{font-size:12px;line-height:16px}:host::ng-deep .dialog.small .dialog__footer{min-height:42px;padding:16px 0 0;font-size:12px;line-height:14px}:host::ng-deep .dialog.small .dialog__footer button{padding:6px 12px;min-width:60px}:host::ng-deep .dialog.large{width:800px;padding:20px}:host::ng-deep .dialog .dialog__header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0}:host::ng-deep .dialog .dialog__header::before{display:none}:host::ng-deep .dialog .dialog__header .header__title{color:#002c4f;font-family:Arial;font-size:15px;font-weight:700;line-height:18px;flex:1;overflow:hidden;display:flex;align-items:center;gap:8px}:host::ng-deep .dialog .dialog__header .header__actions{display:flex;align-items:center;gap:20px}:host::ng-deep .dialog .dialog__header .header__close-icon{display:block;width:100%;height:100%}:host::ng-deep .dialog .dialog__header .header__close-btn{cursor:pointer;flex:0 0 20px;padding:4px;width:20px;height:20px;display:flex;justify-content:center;align-items:center}:host::ng-deep .dialog .dialog__content{width:100%;min-height:38px;position:relative;overflow-y:auto;overflow-x:hidden;margin:0;padding:0;font-size:13px;line-height:19px;flex:1;height:0}:host::ng-deep .dialog .dialog__footer{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:20px 0 0;font-size:13px;line-height:16px;margin-bottom:0}:host::ng-deep .dialog .dialog__footer button{border-radius:4px;padding:6px 16px;border:none;min-width:70px}:host::ng-deep .dialog .dialog__footer button+button{margin-left:12px}:host::ng-deep .dialog .dialog__footer .save-btn{background:#1364b3;border:1px solid #1364b3;font-weight:700;color:#fff}:host::ng-deep .dialog .dialog__footer .cancel-btn{border:1px solid #adb5bd;background:#fff}:host::ng-deep .dialog .dialog__loading{height:100%;background:0 0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999}:host::ng-deep .dialog .dialog__loading img{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%)}"]
22998
+ }] }
22999
+ ];
23000
+ /** @nocollapse */
23001
+ CommonDialogComponent.ctorParameters = function () { return [
23002
+ { type: dialog.MatDialogRef }
23003
+ ]; };
23004
+ CommonDialogComponent.propDecorators = {
23005
+ hideHeader: [{ type: core.Input }],
23006
+ hideCloseIcon: [{ type: core.Input }],
23007
+ hideCloseBtn: [{ type: core.Input }],
23008
+ hideSaveBtn: [{ type: core.Input }],
23009
+ saveBtnLabel: [{ type: core.Input }],
23010
+ cancelBtnLabel: [{ type: core.Input }],
23011
+ showErrorIcon: [{ type: core.Input }],
23012
+ showZoomBtn: [{ type: core.Input }],
23013
+ onCloseRequest: [{ type: core.Input }],
23014
+ dialogStyle: [{ type: core.Input }],
23015
+ size: [{ type: core.Input }],
23016
+ title: [{ type: core.Input }],
23017
+ loading: [{ type: core.Input }],
23018
+ saveEmit: [{ type: core.Output }],
23019
+ closeEmit: [{ type: core.Output }],
23020
+ footerContent: [{ type: core.ContentChild, args: ["footerSlot", { static: false },] }]
23021
+ };
23022
+ return CommonDialogComponent;
23023
+ }());
23024
+ if (false) {
23025
+ /** @type {?} */
23026
+ CommonDialogComponent.prototype.translation;
23027
+ /** @type {?} */
23028
+ CommonDialogComponent.prototype.hideHeader;
23029
+ /** @type {?} */
23030
+ CommonDialogComponent.prototype.hideCloseIcon;
23031
+ /** @type {?} */
23032
+ CommonDialogComponent.prototype.hideCloseBtn;
23033
+ /** @type {?} */
23034
+ CommonDialogComponent.prototype.hideSaveBtn;
23035
+ /** @type {?} */
23036
+ CommonDialogComponent.prototype.saveBtnLabel;
23037
+ /** @type {?} */
23038
+ CommonDialogComponent.prototype.cancelBtnLabel;
23039
+ /** @type {?} */
23040
+ CommonDialogComponent.prototype.showErrorIcon;
23041
+ /** @type {?} */
23042
+ CommonDialogComponent.prototype.showZoomBtn;
23043
+ /** @type {?} */
23044
+ CommonDialogComponent.prototype.onCloseRequest;
23045
+ /** @type {?} */
23046
+ CommonDialogComponent.prototype.dialogStyle;
23047
+ /** @type {?} */
23048
+ CommonDialogComponent.prototype.size;
23049
+ /** @type {?} */
23050
+ CommonDialogComponent.prototype.title;
23051
+ /** @type {?} */
23052
+ CommonDialogComponent.prototype.loading;
23053
+ /** @type {?} */
23054
+ CommonDialogComponent.prototype.saveEmit;
23055
+ /** @type {?} */
23056
+ CommonDialogComponent.prototype.closeEmit;
23057
+ /** @type {?} */
23058
+ CommonDialogComponent.prototype.defaultSize;
23059
+ /** @type {?} */
23060
+ CommonDialogComponent.prototype.footerContent;
23061
+ /** @type {?} */
23062
+ CommonDialogComponent.prototype.customFooter;
23063
+ /** @type {?} */
23064
+ CommonDialogComponent.prototype.dialogRef;
23065
+ }
23066
+
22829
23067
  /**
22830
23068
  * @fileoverview added by tsickle
22831
23069
  * Generated from: lib/service/icon-loader.service.ts
@@ -23053,155 +23291,6 @@
23053
23291
  return KeepAliveService;
23054
23292
  }());
23055
23293
 
23056
- /**
23057
- * @fileoverview added by tsickle
23058
- * Generated from: lib/dialog/common-dialog/index.component.ts
23059
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
23060
- */
23061
- var CommonDialogComponent = /** @class */ (function () {
23062
- function CommonDialogComponent(dialogRef) {
23063
- this.dialogRef = dialogRef;
23064
- // 隐藏元素相关属性
23065
- this.hideHeader = false;
23066
- this.hideCloseIcon = false;
23067
- this.hideCloseBtn = false;
23068
- this.hideSaveBtn = false;
23069
- this.saveBtnLabel = "";
23070
- this.cancelBtnLabel = "";
23071
- this.showErrorIcon = false;
23072
- // 显示相关属性
23073
- this.size = "";
23074
- this.title = "Dialog";
23075
- this.loading = false;
23076
- this.saveEmit = new core.EventEmitter();
23077
- this.closeEmit = new core.EventEmitter();
23078
- this.customFooter = false;
23079
- }
23080
- /**
23081
- * @return {?}
23082
- */
23083
- CommonDialogComponent.prototype.ngAfterContentInit = /**
23084
- * @return {?}
23085
- */
23086
- function () {
23087
- this.customFooter = !!this.footerContent;
23088
- };
23089
- /**
23090
- * @return {?}
23091
- */
23092
- CommonDialogComponent.prototype.ngOnInit = /**
23093
- * @return {?}
23094
- */
23095
- function () {
23096
- this.getInfo();
23097
- };
23098
- /**
23099
- * @param {?=} res
23100
- * @return {?}
23101
- */
23102
- CommonDialogComponent.prototype.onClose = /**
23103
- * @param {?=} res
23104
- * @return {?}
23105
- */
23106
- function (res) {
23107
- this.dialogRef.close(res);
23108
- this.closeEmit.emit(res);
23109
- };
23110
- /**
23111
- * @return {?}
23112
- */
23113
- CommonDialogComponent.prototype.onSave = /**
23114
- * @return {?}
23115
- */
23116
- function () {
23117
- var _this = this;
23118
- // 这里把关闭事件emit上去,但是必须使用箭头函数保存this对象
23119
- this.saveEmit.emit((/**
23120
- * @param {?} res
23121
- * @return {?}
23122
- */
23123
- function (res) {
23124
- _this.onClose(res);
23125
- }));
23126
- };
23127
- /**
23128
- * @private
23129
- * @return {?}
23130
- */
23131
- CommonDialogComponent.prototype.getInfo = /**
23132
- * @private
23133
- * @return {?}
23134
- */
23135
- function () {
23136
- this.translation = JSON.parse(localStorage.getItem("translation")) || {};
23137
- this.saveBtnLabel =
23138
- this.saveBtnLabel || this.translation.SAVE || ".SAVE";
23139
- this.cancelBtnLabel =
23140
- this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
23141
- };
23142
- CommonDialogComponent.decorators = [
23143
- { type: core.Component, args: [{
23144
- selector: "kt-common-dialog",
23145
- template: "<div class=\"dialog\" [ngClass]=\"size\">\r\n\t<!-- \u5934\u90E8 -->\r\n\t<div *ngIf=\"!hideHeader\" mat-dialog-title class=\"dialog__header\">\r\n\t\t<div class=\"header__title\">\r\n\t\t\t<img\r\n\t\t\t\tsrc=\"../../../assets/img/notification-status-warning.svg\"\r\n\t\t\t\talt=\"\"\r\n\t\t\t\t*ngIf=\"showErrorIcon\"\r\n\t\t\t/>\r\n\t\t\t{{ title }}\r\n\t\t</div>\r\n\t\t<div\r\n\t\t\t*ngIf=\"!hideCloseIcon\"\r\n\t\t\tclass=\"header__close-btn\"\r\n\t\t\t(click)=\"onClose()\"\r\n\t\t>\r\n\t\t\t<img\r\n\t\t\t\tclass=\"header__close-icon\"\r\n\t\t\t\tsrc=\"../../../assets/img/close.svg\"\r\n\t\t\t/>\r\n\t\t</div>\r\n\t</div>\r\n\t<!-- \u5185\u5BB9 -->\r\n\t<div class=\"dialog__content\" mat-dialog-content>\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n\t<!-- \u5E95\u90E8\u6309\u94AE -->\r\n\t<div mat-dialog-actions class=\"dialog__footer\">\r\n\t\t<ng-content select=\"[footerSlot]\"></ng-content>\r\n\t\t<!-- \u9ED8\u8BA4\u5C55\u793A\u4FDD\u5B58/\u5173\u95ED\u6309\u94AE -->\r\n\t\t<ng-container *ngIf=\"!customFooter\">\r\n\t\t\t<ng-template [ngTemplateOutlet]=\"defaultTemplate\"></ng-template>\r\n\t\t</ng-container>\r\n\t\t<ng-template #defaultTemplate>\r\n\t\t\t<button *ngIf=\"!hideCloseBtn\" class=\"e-btn\" [ngClass]=\"size\" mat-dialog-close>\r\n\t\t\t\t{{ cancelBtnLabel }}\r\n\t\t\t</button>\r\n\t\t\t<button *ngIf=\"!hideSaveBtn\" class=\"e-btn e-primary\" [ngClass]=\"size\" (click)=\"onSave()\">\r\n\t\t\t\t{{ saveBtnLabel }}\r\n\t\t\t</button>\r\n\t\t</ng-template>\r\n\t</div>\r\n\t<!-- loading -->\r\n\t<div class=\"dialog__loading\" [hidden]=\"!loading\">\r\n\t\t<img src=\"../../../assets/img/raise_loading.gif\" alt=\"\" />\r\n\t</div>\r\n</div>\r\n",
23146
- styles: [":host::ng-deep .dialog{position:relative;max-height:90vh;font-weight:400;overflow:hidden}:host::ng-deep .dialog.medium{width:500px;padding:20px}:host::ng-deep .dialog.small{width:350px;padding:20px 16px}:host::ng-deep .dialog.small .dialog__header{color:#002c4f;margin-bottom:16px}:host::ng-deep .dialog.small .dialog__header .header__title{font-size:13px;line-height:16px}:host::ng-deep .dialog.small .dialog__content{font-size:12px;line-height:16px}:host::ng-deep .dialog.small .dialog__footer{min-height:42px;padding:16px 0 0;font-size:12px;line-height:14px}:host::ng-deep .dialog.small .dialog__footer button{padding:6px 12px;min-width:60px}:host::ng-deep .dialog.large{width:800px;padding:20px}:host::ng-deep .dialog .dialog__header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0}:host::ng-deep .dialog .dialog__header::before{display:none}:host::ng-deep .dialog .dialog__header .header__title{color:#002c4f;font-family:Arial;font-size:15px;font-weight:700;line-height:18px;flex:1;overflow:hidden;display:flex;align-items:center;gap:8px}:host::ng-deep .dialog .dialog__header .header__close-icon{display:block;width:100%;height:100%}:host::ng-deep .dialog .dialog__header .header__close-btn{cursor:pointer;flex:0 0 20px;padding:4px;width:20px;height:20px;display:flex;justify-content:center;align-items:center}:host::ng-deep .dialog .dialog__content{width:100%;min-height:38px;position:relative;overflow-y:auto;overflow-x:hidden;margin:0;padding:0;font-size:13px;line-height:19px}:host::ng-deep .dialog .dialog__footer{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:20px 0 0;font-size:13px;line-height:16px;margin-bottom:0}:host::ng-deep .dialog .dialog__footer button{border-radius:4px;padding:6px 16px;border:none;min-width:70px}:host::ng-deep .dialog .dialog__footer button+button{margin-left:12px}:host::ng-deep .dialog .dialog__footer .save-btn{background:#1364b3;border:1px solid #1364b3;font-weight:700;color:#fff}:host::ng-deep .dialog .dialog__footer .cancel-btn{border:1px solid #adb5bd;background:#fff}:host::ng-deep .dialog .dialog__loading{height:100%;background:0 0;position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999}:host::ng-deep .dialog .dialog__loading img{position:absolute;left:50%;top:50%;width:40px;height:40px;transform:translate(-50%,-50%)}"]
23147
- }] }
23148
- ];
23149
- /** @nocollapse */
23150
- CommonDialogComponent.ctorParameters = function () { return [
23151
- { type: dialog.MatDialogRef }
23152
- ]; };
23153
- CommonDialogComponent.propDecorators = {
23154
- hideHeader: [{ type: core.Input }],
23155
- hideCloseIcon: [{ type: core.Input }],
23156
- hideCloseBtn: [{ type: core.Input }],
23157
- hideSaveBtn: [{ type: core.Input }],
23158
- saveBtnLabel: [{ type: core.Input }],
23159
- cancelBtnLabel: [{ type: core.Input }],
23160
- showErrorIcon: [{ type: core.Input }],
23161
- size: [{ type: core.Input }],
23162
- title: [{ type: core.Input }],
23163
- loading: [{ type: core.Input }],
23164
- saveEmit: [{ type: core.Output }],
23165
- closeEmit: [{ type: core.Output }],
23166
- footerContent: [{ type: core.ContentChild, args: ["footerSlot", { static: false },] }]
23167
- };
23168
- return CommonDialogComponent;
23169
- }());
23170
- if (false) {
23171
- /** @type {?} */
23172
- CommonDialogComponent.prototype.translation;
23173
- /** @type {?} */
23174
- CommonDialogComponent.prototype.hideHeader;
23175
- /** @type {?} */
23176
- CommonDialogComponent.prototype.hideCloseIcon;
23177
- /** @type {?} */
23178
- CommonDialogComponent.prototype.hideCloseBtn;
23179
- /** @type {?} */
23180
- CommonDialogComponent.prototype.hideSaveBtn;
23181
- /** @type {?} */
23182
- CommonDialogComponent.prototype.saveBtnLabel;
23183
- /** @type {?} */
23184
- CommonDialogComponent.prototype.cancelBtnLabel;
23185
- /** @type {?} */
23186
- CommonDialogComponent.prototype.showErrorIcon;
23187
- /** @type {?} */
23188
- CommonDialogComponent.prototype.size;
23189
- /** @type {?} */
23190
- CommonDialogComponent.prototype.title;
23191
- /** @type {?} */
23192
- CommonDialogComponent.prototype.loading;
23193
- /** @type {?} */
23194
- CommonDialogComponent.prototype.saveEmit;
23195
- /** @type {?} */
23196
- CommonDialogComponent.prototype.closeEmit;
23197
- /** @type {?} */
23198
- CommonDialogComponent.prototype.footerContent;
23199
- /** @type {?} */
23200
- CommonDialogComponent.prototype.customFooter;
23201
- /** @type {?} */
23202
- CommonDialogComponent.prototype.dialogRef;
23203
- }
23204
-
23205
23294
  /**
23206
23295
  * @fileoverview added by tsickle
23207
23296
  * Generated from: lib/raise-common-lib.module.ts
@@ -23239,13 +23328,14 @@
23239
23328
  RsCommentaryComponent,
23240
23329
  RSNavCardGroupComponent,
23241
23330
  RSToolbarComponent,
23242
- TruncatedTextToggleComponent
23331
+ TruncatedTextToggleComponent,
23243
23332
  ],
23244
23333
  imports: [
23245
23334
  common.CommonModule,
23246
23335
  http.HttpClientModule,
23247
23336
  forms.ReactiveFormsModule,
23248
23337
  forms.FormsModule,
23338
+ dragDrop.DragDropModule,
23249
23339
  snackBar.MatSnackBarModule,
23250
23340
  menu.MatMenuModule,
23251
23341
  tooltip.MatTooltipModule,
@@ -23330,6 +23420,7 @@
23330
23420
  http.HttpClientModule,
23331
23421
  forms.ReactiveFormsModule,
23332
23422
  forms.FormsModule,
23423
+ dragDrop.DragDropModule,
23333
23424
  snackBar.MatSnackBarModule,
23334
23425
  menu.MatMenuModule,
23335
23426
  tooltip.MatTooltipModule,
@@ -23394,7 +23485,8 @@
23394
23485
  RsCommentaryComponent,
23395
23486
  RSNavCardGroupComponent,
23396
23487
  RSToolbarComponent,
23397
- TruncatedTextToggleComponent
23488
+ TruncatedTextToggleComponent,
23489
+ CommonDialogComponent,
23398
23490
  ],
23399
23491
  entryComponents: [
23400
23492
  NewActionNotificationComponent,
@@ -23408,6 +23500,7 @@
23408
23500
  }());
23409
23501
 
23410
23502
  exports.CheckboxGroupComponent = CheckboxGroupComponent;
23503
+ exports.CommonDialogComponent = CommonDialogComponent;
23411
23504
  exports.CommonFunctionService = CommonFunctionService;
23412
23505
  exports.CommonGridComponent = CommonGridComponent;
23413
23506
  exports.DefaultDrawerConfig = DefaultDrawerConfig;
@@ -23444,8 +23537,7 @@
23444
23537
  exports.filterShowSection = filterShowSection;
23445
23538
  exports.ɵa = Debounce;
23446
23539
  exports.ɵb = NewActionNotificationComponent;
23447
- exports.ɵc = CommonDialogComponent;
23448
- exports.ɵd = CommonDeleteComponent;
23540
+ exports.ɵc = CommonDeleteComponent;
23449
23541
 
23450
23542
  Object.defineProperty(exports, '__esModule', { value: true });
23451
23543