raise-common-lib 0.0.150 → 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.
@@ -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;
@@ -22843,6 +22876,194 @@
22843
22876
  ToolbarItemComponent.prototype.ImageType;
22844
22877
  }
22845
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
+
22846
23067
  /**
22847
23068
  * @fileoverview added by tsickle
22848
23069
  * Generated from: lib/service/icon-loader.service.ts
@@ -23070,155 +23291,6 @@
23070
23291
  return KeepAliveService;
23071
23292
  }());
23072
23293
 
23073
- /**
23074
- * @fileoverview added by tsickle
23075
- * Generated from: lib/dialog/common-dialog/index.component.ts
23076
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
23077
- */
23078
- var CommonDialogComponent = /** @class */ (function () {
23079
- function CommonDialogComponent(dialogRef) {
23080
- this.dialogRef = dialogRef;
23081
- // 隐藏元素相关属性
23082
- this.hideHeader = false;
23083
- this.hideCloseIcon = false;
23084
- this.hideCloseBtn = false;
23085
- this.hideSaveBtn = false;
23086
- this.saveBtnLabel = "";
23087
- this.cancelBtnLabel = "";
23088
- this.showErrorIcon = false;
23089
- // 显示相关属性
23090
- this.size = "";
23091
- this.title = "Dialog";
23092
- this.loading = false;
23093
- this.saveEmit = new core.EventEmitter();
23094
- this.closeEmit = new core.EventEmitter();
23095
- this.customFooter = false;
23096
- }
23097
- /**
23098
- * @return {?}
23099
- */
23100
- CommonDialogComponent.prototype.ngAfterContentInit = /**
23101
- * @return {?}
23102
- */
23103
- function () {
23104
- this.customFooter = !!this.footerContent;
23105
- };
23106
- /**
23107
- * @return {?}
23108
- */
23109
- CommonDialogComponent.prototype.ngOnInit = /**
23110
- * @return {?}
23111
- */
23112
- function () {
23113
- this.getInfo();
23114
- };
23115
- /**
23116
- * @param {?=} res
23117
- * @return {?}
23118
- */
23119
- CommonDialogComponent.prototype.onClose = /**
23120
- * @param {?=} res
23121
- * @return {?}
23122
- */
23123
- function (res) {
23124
- this.dialogRef.close(res);
23125
- this.closeEmit.emit(res);
23126
- };
23127
- /**
23128
- * @return {?}
23129
- */
23130
- CommonDialogComponent.prototype.onSave = /**
23131
- * @return {?}
23132
- */
23133
- function () {
23134
- var _this = this;
23135
- // 这里把关闭事件emit上去,但是必须使用箭头函数保存this对象
23136
- this.saveEmit.emit((/**
23137
- * @param {?} res
23138
- * @return {?}
23139
- */
23140
- function (res) {
23141
- _this.onClose(res);
23142
- }));
23143
- };
23144
- /**
23145
- * @private
23146
- * @return {?}
23147
- */
23148
- CommonDialogComponent.prototype.getInfo = /**
23149
- * @private
23150
- * @return {?}
23151
- */
23152
- function () {
23153
- this.translation = JSON.parse(localStorage.getItem("translation")) || {};
23154
- this.saveBtnLabel =
23155
- this.saveBtnLabel || this.translation.SAVE || ".SAVE";
23156
- this.cancelBtnLabel =
23157
- this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
23158
- };
23159
- CommonDialogComponent.decorators = [
23160
- { type: core.Component, args: [{
23161
- selector: "kt-common-dialog",
23162
- 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",
23163
- 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%)}"]
23164
- }] }
23165
- ];
23166
- /** @nocollapse */
23167
- CommonDialogComponent.ctorParameters = function () { return [
23168
- { type: dialog.MatDialogRef }
23169
- ]; };
23170
- CommonDialogComponent.propDecorators = {
23171
- hideHeader: [{ type: core.Input }],
23172
- hideCloseIcon: [{ type: core.Input }],
23173
- hideCloseBtn: [{ type: core.Input }],
23174
- hideSaveBtn: [{ type: core.Input }],
23175
- saveBtnLabel: [{ type: core.Input }],
23176
- cancelBtnLabel: [{ type: core.Input }],
23177
- showErrorIcon: [{ type: core.Input }],
23178
- size: [{ type: core.Input }],
23179
- title: [{ type: core.Input }],
23180
- loading: [{ type: core.Input }],
23181
- saveEmit: [{ type: core.Output }],
23182
- closeEmit: [{ type: core.Output }],
23183
- footerContent: [{ type: core.ContentChild, args: ["footerSlot", { static: false },] }]
23184
- };
23185
- return CommonDialogComponent;
23186
- }());
23187
- if (false) {
23188
- /** @type {?} */
23189
- CommonDialogComponent.prototype.translation;
23190
- /** @type {?} */
23191
- CommonDialogComponent.prototype.hideHeader;
23192
- /** @type {?} */
23193
- CommonDialogComponent.prototype.hideCloseIcon;
23194
- /** @type {?} */
23195
- CommonDialogComponent.prototype.hideCloseBtn;
23196
- /** @type {?} */
23197
- CommonDialogComponent.prototype.hideSaveBtn;
23198
- /** @type {?} */
23199
- CommonDialogComponent.prototype.saveBtnLabel;
23200
- /** @type {?} */
23201
- CommonDialogComponent.prototype.cancelBtnLabel;
23202
- /** @type {?} */
23203
- CommonDialogComponent.prototype.showErrorIcon;
23204
- /** @type {?} */
23205
- CommonDialogComponent.prototype.size;
23206
- /** @type {?} */
23207
- CommonDialogComponent.prototype.title;
23208
- /** @type {?} */
23209
- CommonDialogComponent.prototype.loading;
23210
- /** @type {?} */
23211
- CommonDialogComponent.prototype.saveEmit;
23212
- /** @type {?} */
23213
- CommonDialogComponent.prototype.closeEmit;
23214
- /** @type {?} */
23215
- CommonDialogComponent.prototype.footerContent;
23216
- /** @type {?} */
23217
- CommonDialogComponent.prototype.customFooter;
23218
- /** @type {?} */
23219
- CommonDialogComponent.prototype.dialogRef;
23220
- }
23221
-
23222
23294
  /**
23223
23295
  * @fileoverview added by tsickle
23224
23296
  * Generated from: lib/raise-common-lib.module.ts
@@ -23256,7 +23328,7 @@
23256
23328
  RsCommentaryComponent,
23257
23329
  RSNavCardGroupComponent,
23258
23330
  RSToolbarComponent,
23259
- TruncatedTextToggleComponent
23331
+ TruncatedTextToggleComponent,
23260
23332
  ],
23261
23333
  imports: [
23262
23334
  common.CommonModule,
@@ -23413,7 +23485,8 @@
23413
23485
  RsCommentaryComponent,
23414
23486
  RSNavCardGroupComponent,
23415
23487
  RSToolbarComponent,
23416
- TruncatedTextToggleComponent
23488
+ TruncatedTextToggleComponent,
23489
+ CommonDialogComponent,
23417
23490
  ],
23418
23491
  entryComponents: [
23419
23492
  NewActionNotificationComponent,
@@ -23427,6 +23500,7 @@
23427
23500
  }());
23428
23501
 
23429
23502
  exports.CheckboxGroupComponent = CheckboxGroupComponent;
23503
+ exports.CommonDialogComponent = CommonDialogComponent;
23430
23504
  exports.CommonFunctionService = CommonFunctionService;
23431
23505
  exports.CommonGridComponent = CommonGridComponent;
23432
23506
  exports.DefaultDrawerConfig = DefaultDrawerConfig;
@@ -23463,8 +23537,7 @@
23463
23537
  exports.filterShowSection = filterShowSection;
23464
23538
  exports.ɵa = Debounce;
23465
23539
  exports.ɵb = NewActionNotificationComponent;
23466
- exports.ɵc = CommonDialogComponent;
23467
- exports.ɵd = CommonDeleteComponent;
23540
+ exports.ɵc = CommonDeleteComponent;
23468
23541
 
23469
23542
  Object.defineProperty(exports, '__esModule', { value: true });
23470
23543