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.
@@ -1512,6 +1512,10 @@ if (false) {
1512
1512
  DialogConfig.prototype.hideSaveBtn;
1513
1513
  /** @type {?|undefined} */
1514
1514
  DialogConfig.prototype.hideCloseBtn;
1515
+ /** @type {?|undefined} */
1516
+ DialogConfig.prototype.showZoomBtn;
1517
+ /** @type {?|undefined} */
1518
+ DialogConfig.prototype.onCloseRequest;
1515
1519
  }
1516
1520
  class CommonDeleteComponent {
1517
1521
  /**
@@ -1526,6 +1530,7 @@ class CommonDeleteComponent {
1526
1530
  this.cancelBtnLabel = "";
1527
1531
  this.description = "";
1528
1532
  this.size = "small";
1533
+ this.showZoomBtn = false;
1529
1534
  }
1530
1535
  /**
1531
1536
  * @return {?}
@@ -1543,6 +1548,7 @@ class CommonDeleteComponent {
1543
1548
  this.translation.IF_YOU_DELETE_THIS_RECORD_WARNING ||
1544
1549
  ".If you delete this record, you won't be able to recover it. Do you want to delete it?";
1545
1550
  this.size = this.data.size || "small";
1551
+ this.showZoomBtn = this.data.showZoomBtn || false;
1546
1552
  }
1547
1553
  /**
1548
1554
  * @param {?} e
@@ -1551,11 +1557,31 @@ class CommonDeleteComponent {
1551
1557
  onSave(e) {
1552
1558
  this.dialogRef.close(e);
1553
1559
  }
1560
+ /**
1561
+ * @param {?} e
1562
+ * @return {?}
1563
+ */
1564
+ onClose(e) {
1565
+ if (this.data.onCloseRequest) {
1566
+ this.data.onCloseRequest(e).then((/**
1567
+ * @param {?} confirmed
1568
+ * @return {?}
1569
+ */
1570
+ (confirmed) => {
1571
+ if (confirmed) {
1572
+ this.dialogRef.close();
1573
+ }
1574
+ }));
1575
+ }
1576
+ else {
1577
+ this.dialogRef.close();
1578
+ }
1579
+ }
1554
1580
  }
1555
1581
  CommonDeleteComponent.decorators = [
1556
1582
  { type: Component, args: [{
1557
1583
  selector: "kt-common-delete-dialog",
1558
- 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",
1584
+ 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",
1559
1585
  styles: [".mapping-dialog{color:#44566c;font-family:Arial;font-size:12px;line-height:16px;white-space:pre-line}"]
1560
1586
  }] }
1561
1587
  ];
@@ -1578,6 +1604,8 @@ if (false) {
1578
1604
  /** @type {?} */
1579
1605
  CommonDeleteComponent.prototype.size;
1580
1606
  /** @type {?} */
1607
+ CommonDeleteComponent.prototype.showZoomBtn;
1608
+ /** @type {?} */
1581
1609
  CommonDeleteComponent.prototype.data;
1582
1610
  /** @type {?} */
1583
1611
  CommonDeleteComponent.prototype.dialogRef;
@@ -21778,6 +21806,175 @@ if (false) {
21778
21806
  ToolbarItemComponent.prototype.ImageType;
21779
21807
  }
21780
21808
 
21809
+ /**
21810
+ * @fileoverview added by tsickle
21811
+ * Generated from: lib/dialog/common-dialog/index.component.ts
21812
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21813
+ */
21814
+ class CommonDialogComponent {
21815
+ /**
21816
+ * @param {?} dialogRef
21817
+ */
21818
+ constructor(dialogRef) {
21819
+ this.dialogRef = dialogRef;
21820
+ // 隐藏元素相关属性
21821
+ this.hideHeader = false;
21822
+ this.hideCloseIcon = false;
21823
+ this.hideCloseBtn = false;
21824
+ this.hideSaveBtn = false;
21825
+ this.saveBtnLabel = "";
21826
+ this.cancelBtnLabel = "";
21827
+ this.showErrorIcon = false;
21828
+ this.showZoomBtn = false;
21829
+ // 显示相关属性
21830
+ this.dialogStyle = {};
21831
+ this.size = "";
21832
+ this.title = "Dialog";
21833
+ this.loading = false;
21834
+ this.saveEmit = new EventEmitter();
21835
+ this.closeEmit = new EventEmitter();
21836
+ this.defaultSize = "";
21837
+ this.customFooter = false;
21838
+ }
21839
+ /**
21840
+ * @return {?}
21841
+ */
21842
+ ngAfterContentInit() {
21843
+ this.customFooter = !!this.footerContent;
21844
+ }
21845
+ /**
21846
+ * @return {?}
21847
+ */
21848
+ ngOnInit() {
21849
+ this.getInfo();
21850
+ }
21851
+ /**
21852
+ * @return {?}
21853
+ */
21854
+ onClose() {
21855
+ if (this.onCloseRequest) {
21856
+ this.onCloseRequest().then((/**
21857
+ * @param {?} confirmed
21858
+ * @return {?}
21859
+ */
21860
+ (confirmed) => {
21861
+ if (confirmed) {
21862
+ this.dialogRef.close();
21863
+ }
21864
+ }));
21865
+ }
21866
+ else {
21867
+ this.dialogRef.close();
21868
+ }
21869
+ }
21870
+ /**
21871
+ * @return {?}
21872
+ */
21873
+ onZoom() {
21874
+ if (this.size === "largest") {
21875
+ this.size = this.defaultSize; // 恢复到原始大小
21876
+ }
21877
+ else {
21878
+ this.size = "largest"; // 设置为最大化
21879
+ }
21880
+ }
21881
+ /**
21882
+ * @return {?}
21883
+ */
21884
+ onSave() {
21885
+ // 这里把关闭事件emit上去,但是必须使用箭头函数保存this对象
21886
+ this.saveEmit.emit((/**
21887
+ * @param {?} res
21888
+ * @return {?}
21889
+ */
21890
+ (res) => {
21891
+ this.dialogRef.close(res);
21892
+ }));
21893
+ }
21894
+ /**
21895
+ * @private
21896
+ * @return {?}
21897
+ */
21898
+ getInfo() {
21899
+ this.translation = JSON.parse(localStorage.getItem("translation")) || {};
21900
+ this.saveBtnLabel = this.saveBtnLabel || this.translation.SAVE || ".SAVE";
21901
+ this.cancelBtnLabel =
21902
+ this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
21903
+ this.defaultSize = this.size;
21904
+ }
21905
+ }
21906
+ CommonDialogComponent.decorators = [
21907
+ { type: Component, args: [{
21908
+ selector: "rs-common-dialog",
21909
+ 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",
21910
+ 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%)}"]
21911
+ }] }
21912
+ ];
21913
+ /** @nocollapse */
21914
+ CommonDialogComponent.ctorParameters = () => [
21915
+ { type: MatDialogRef }
21916
+ ];
21917
+ CommonDialogComponent.propDecorators = {
21918
+ hideHeader: [{ type: Input }],
21919
+ hideCloseIcon: [{ type: Input }],
21920
+ hideCloseBtn: [{ type: Input }],
21921
+ hideSaveBtn: [{ type: Input }],
21922
+ saveBtnLabel: [{ type: Input }],
21923
+ cancelBtnLabel: [{ type: Input }],
21924
+ showErrorIcon: [{ type: Input }],
21925
+ showZoomBtn: [{ type: Input }],
21926
+ onCloseRequest: [{ type: Input }],
21927
+ dialogStyle: [{ type: Input }],
21928
+ size: [{ type: Input }],
21929
+ title: [{ type: Input }],
21930
+ loading: [{ type: Input }],
21931
+ saveEmit: [{ type: Output }],
21932
+ closeEmit: [{ type: Output }],
21933
+ footerContent: [{ type: ContentChild, args: ["footerSlot", { static: false },] }]
21934
+ };
21935
+ if (false) {
21936
+ /** @type {?} */
21937
+ CommonDialogComponent.prototype.translation;
21938
+ /** @type {?} */
21939
+ CommonDialogComponent.prototype.hideHeader;
21940
+ /** @type {?} */
21941
+ CommonDialogComponent.prototype.hideCloseIcon;
21942
+ /** @type {?} */
21943
+ CommonDialogComponent.prototype.hideCloseBtn;
21944
+ /** @type {?} */
21945
+ CommonDialogComponent.prototype.hideSaveBtn;
21946
+ /** @type {?} */
21947
+ CommonDialogComponent.prototype.saveBtnLabel;
21948
+ /** @type {?} */
21949
+ CommonDialogComponent.prototype.cancelBtnLabel;
21950
+ /** @type {?} */
21951
+ CommonDialogComponent.prototype.showErrorIcon;
21952
+ /** @type {?} */
21953
+ CommonDialogComponent.prototype.showZoomBtn;
21954
+ /** @type {?} */
21955
+ CommonDialogComponent.prototype.onCloseRequest;
21956
+ /** @type {?} */
21957
+ CommonDialogComponent.prototype.dialogStyle;
21958
+ /** @type {?} */
21959
+ CommonDialogComponent.prototype.size;
21960
+ /** @type {?} */
21961
+ CommonDialogComponent.prototype.title;
21962
+ /** @type {?} */
21963
+ CommonDialogComponent.prototype.loading;
21964
+ /** @type {?} */
21965
+ CommonDialogComponent.prototype.saveEmit;
21966
+ /** @type {?} */
21967
+ CommonDialogComponent.prototype.closeEmit;
21968
+ /** @type {?} */
21969
+ CommonDialogComponent.prototype.defaultSize;
21970
+ /** @type {?} */
21971
+ CommonDialogComponent.prototype.footerContent;
21972
+ /** @type {?} */
21973
+ CommonDialogComponent.prototype.customFooter;
21974
+ /** @type {?} */
21975
+ CommonDialogComponent.prototype.dialogRef;
21976
+ }
21977
+
21781
21978
  /**
21782
21979
  * @fileoverview added by tsickle
21783
21980
  * Generated from: lib/service/icon-loader.service.ts
@@ -21962,139 +22159,6 @@ KeepAliveService.decorators = [
21962
22159
  ];
21963
22160
  /** @nocollapse */ KeepAliveService.ngInjectableDef = ɵɵdefineInjectable({ factory: function KeepAliveService_Factory() { return new KeepAliveService(); }, token: KeepAliveService, providedIn: "root" });
21964
22161
 
21965
- /**
21966
- * @fileoverview added by tsickle
21967
- * Generated from: lib/dialog/common-dialog/index.component.ts
21968
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
21969
- */
21970
- class CommonDialogComponent {
21971
- /**
21972
- * @param {?} dialogRef
21973
- */
21974
- constructor(dialogRef) {
21975
- this.dialogRef = dialogRef;
21976
- // 隐藏元素相关属性
21977
- this.hideHeader = false;
21978
- this.hideCloseIcon = false;
21979
- this.hideCloseBtn = false;
21980
- this.hideSaveBtn = false;
21981
- this.saveBtnLabel = "";
21982
- this.cancelBtnLabel = "";
21983
- this.showErrorIcon = false;
21984
- // 显示相关属性
21985
- this.size = "";
21986
- this.title = "Dialog";
21987
- this.loading = false;
21988
- this.saveEmit = new EventEmitter();
21989
- this.closeEmit = new EventEmitter();
21990
- this.customFooter = false;
21991
- }
21992
- /**
21993
- * @return {?}
21994
- */
21995
- ngAfterContentInit() {
21996
- this.customFooter = !!this.footerContent;
21997
- }
21998
- /**
21999
- * @return {?}
22000
- */
22001
- ngOnInit() {
22002
- this.getInfo();
22003
- }
22004
- /**
22005
- * @param {?=} res
22006
- * @return {?}
22007
- */
22008
- onClose(res) {
22009
- this.dialogRef.close(res);
22010
- this.closeEmit.emit(res);
22011
- }
22012
- /**
22013
- * @return {?}
22014
- */
22015
- onSave() {
22016
- // 这里把关闭事件emit上去,但是必须使用箭头函数保存this对象
22017
- this.saveEmit.emit((/**
22018
- * @param {?} res
22019
- * @return {?}
22020
- */
22021
- (res) => {
22022
- this.onClose(res);
22023
- }));
22024
- }
22025
- /**
22026
- * @private
22027
- * @return {?}
22028
- */
22029
- getInfo() {
22030
- this.translation = JSON.parse(localStorage.getItem("translation")) || {};
22031
- this.saveBtnLabel =
22032
- this.saveBtnLabel || this.translation.SAVE || ".SAVE";
22033
- this.cancelBtnLabel =
22034
- this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
22035
- }
22036
- }
22037
- CommonDialogComponent.decorators = [
22038
- { type: Component, args: [{
22039
- selector: "kt-common-dialog",
22040
- 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",
22041
- 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%)}"]
22042
- }] }
22043
- ];
22044
- /** @nocollapse */
22045
- CommonDialogComponent.ctorParameters = () => [
22046
- { type: MatDialogRef }
22047
- ];
22048
- CommonDialogComponent.propDecorators = {
22049
- hideHeader: [{ type: Input }],
22050
- hideCloseIcon: [{ type: Input }],
22051
- hideCloseBtn: [{ type: Input }],
22052
- hideSaveBtn: [{ type: Input }],
22053
- saveBtnLabel: [{ type: Input }],
22054
- cancelBtnLabel: [{ type: Input }],
22055
- showErrorIcon: [{ type: Input }],
22056
- size: [{ type: Input }],
22057
- title: [{ type: Input }],
22058
- loading: [{ type: Input }],
22059
- saveEmit: [{ type: Output }],
22060
- closeEmit: [{ type: Output }],
22061
- footerContent: [{ type: ContentChild, args: ["footerSlot", { static: false },] }]
22062
- };
22063
- if (false) {
22064
- /** @type {?} */
22065
- CommonDialogComponent.prototype.translation;
22066
- /** @type {?} */
22067
- CommonDialogComponent.prototype.hideHeader;
22068
- /** @type {?} */
22069
- CommonDialogComponent.prototype.hideCloseIcon;
22070
- /** @type {?} */
22071
- CommonDialogComponent.prototype.hideCloseBtn;
22072
- /** @type {?} */
22073
- CommonDialogComponent.prototype.hideSaveBtn;
22074
- /** @type {?} */
22075
- CommonDialogComponent.prototype.saveBtnLabel;
22076
- /** @type {?} */
22077
- CommonDialogComponent.prototype.cancelBtnLabel;
22078
- /** @type {?} */
22079
- CommonDialogComponent.prototype.showErrorIcon;
22080
- /** @type {?} */
22081
- CommonDialogComponent.prototype.size;
22082
- /** @type {?} */
22083
- CommonDialogComponent.prototype.title;
22084
- /** @type {?} */
22085
- CommonDialogComponent.prototype.loading;
22086
- /** @type {?} */
22087
- CommonDialogComponent.prototype.saveEmit;
22088
- /** @type {?} */
22089
- CommonDialogComponent.prototype.closeEmit;
22090
- /** @type {?} */
22091
- CommonDialogComponent.prototype.footerContent;
22092
- /** @type {?} */
22093
- CommonDialogComponent.prototype.customFooter;
22094
- /** @type {?} */
22095
- CommonDialogComponent.prototype.dialogRef;
22096
- }
22097
-
22098
22162
  /**
22099
22163
  * @fileoverview added by tsickle
22100
22164
  * Generated from: lib/raise-common-lib.module.ts
@@ -22131,7 +22195,7 @@ RaiseCommonLibModule.decorators = [
22131
22195
  RsCommentaryComponent,
22132
22196
  RSNavCardGroupComponent,
22133
22197
  RSToolbarComponent,
22134
- TruncatedTextToggleComponent
22198
+ TruncatedTextToggleComponent,
22135
22199
  ],
22136
22200
  imports: [
22137
22201
  CommonModule,
@@ -22288,7 +22352,8 @@ RaiseCommonLibModule.decorators = [
22288
22352
  RsCommentaryComponent,
22289
22353
  RSNavCardGroupComponent,
22290
22354
  RSToolbarComponent,
22291
- TruncatedTextToggleComponent
22355
+ TruncatedTextToggleComponent,
22356
+ CommonDialogComponent,
22292
22357
  ],
22293
22358
  entryComponents: [
22294
22359
  NewActionNotificationComponent,
@@ -22311,5 +22376,5 @@ RaiseCommonLibModule.decorators = [
22311
22376
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
22312
22377
  */
22313
22378
 
22314
- export { CheckboxGroupComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, filterShowSection, Debounce as ɵa, NewActionNotificationComponent as ɵb, CommonDialogComponent as ɵc, CommonDeleteComponent as ɵd };
22379
+ export { CheckboxGroupComponent, CommonDialogComponent, CommonFunctionService, CommonGridComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, filterShowSection, Debounce as ɵa, NewActionNotificationComponent as ɵb, CommonDeleteComponent as ɵc };
22315
22380
  //# sourceMappingURL=raise-common-lib.js.map