@apipass/modals 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/apipass-modals.mjs +4 -4
- package/esm2022/lib/confirm-modal/confirm-modal.component.mjs +43 -0
- package/esm2022/lib/confirm-remove-modal/confirm-remove-modal.component.mjs +54 -0
- package/esm2022/lib/modal-header/modal-header.component.mjs +69 -0
- package/esm2022/modals.module.mjs +64 -0
- package/{esm2020 → esm2022}/public-api.mjs +5 -5
- package/{fesm2020 → fesm2022}/apipass-modals.mjs +172 -149
- package/fesm2022/apipass-modals.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/confirm-modal/confirm-modal.component.d.ts +22 -22
- package/lib/confirm-remove-modal/confirm-remove-modal.component.d.ts +24 -24
- package/lib/modal-header/modal-header.component.d.ts +17 -17
- package/modals.module.d.ts +17 -17
- package/package.json +15 -21
- package/public-api.d.ts +5 -5
- package/esm2020/lib/confirm-modal/confirm-modal.component.mjs +0 -31
- package/esm2020/lib/confirm-remove-modal/confirm-remove-modal.component.mjs +0 -41
- package/esm2020/lib/modal-header/modal-header.component.mjs +0 -67
- package/esm2020/modals.module.mjs +0 -63
- package/fesm2015/apipass-modals.mjs +0 -199
- package/fesm2015/apipass-modals.mjs.map +0 -1
- package/fesm2020/apipass-modals.mjs.map +0 -1
|
@@ -16,176 +16,199 @@ import { IconsModule } from '@apipass/icons';
|
|
|
16
16
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
17
|
import { MatInputModule } from '@angular/material/input';
|
|
18
18
|
|
|
19
|
-
class ConfirmRemoveDialogData {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
19
|
+
class ConfirmRemoveDialogData {
|
|
20
|
+
title;
|
|
21
|
+
content;
|
|
22
|
+
confirmIcon;
|
|
23
|
+
confirmText;
|
|
24
|
+
removeText;
|
|
25
|
+
removeTextLabel;
|
|
26
|
+
removeTextConfirm;
|
|
27
|
+
showCloseIcon;
|
|
28
|
+
closeLabel;
|
|
29
|
+
item;
|
|
30
|
+
}
|
|
31
|
+
class ConfirmRemoveModalDataComponent {
|
|
32
|
+
dialogRef;
|
|
33
|
+
data;
|
|
34
|
+
constructor(dialogRef, data) {
|
|
35
|
+
this.dialogRef = dialogRef;
|
|
36
|
+
this.data = data;
|
|
37
|
+
}
|
|
38
|
+
closeClick() {
|
|
39
|
+
this.dialogRef.close();
|
|
40
|
+
}
|
|
41
|
+
confirmClick() {
|
|
42
|
+
if (!this.data?.removeTextConfirm || this.data?.removeText === this.data?.removeTextConfirm) {
|
|
43
|
+
this.dialogRef.close(this.data);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
isConfirmDisabled() {
|
|
47
|
+
if (!this.data?.removeTextConfirm) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return this.data?.removeText !== this.data?.removeTextConfirm;
|
|
51
|
+
}
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmRemoveModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ConfirmRemoveModalDataComponent, selector: "confirm-remove-modal-data", ngImport: i0, template: "<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n <input-text *ngIf=\"data.removeTextConfirm\" [label]=\"data.removeTextLabel || ''\" [(ngModel)]=\"data.removeText\"></input-text>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <secondary-button [btnDisabled]=\"isConfirmDisabled()\" [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></secondary-button>\r\n</div>\r\n", styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title icon{position:absolute;right:10px;top:5px}.modal-content{margin:20px 0!important;border:none!important;text-align:center!important;box-shadow:none!important}.modal-content input-text{width:80%}.modal-actions{width:100%;display:flex;justify-content:center;align-items:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.InputTextComponent, selector: "input-text", inputs: ["label", "disabled", "iconSuffix", "iconPrefix", "autoComplete"], outputs: ["suffixIconClick", "prefixIconClick"] }, { kind: "component", type: i3$1.SecondaryButtonComponent, selector: "secondary-button", inputs: ["label", "btnDisabled", "icon", "suffixIcon", "selected", "btnClass"], outputs: ["onClick"] }, { kind: "component", type: i6.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'confirm-remove-modal-data', template: "<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n <input-text *ngIf=\"data.removeTextConfirm\" [label]=\"data.removeTextLabel || ''\" [(ngModel)]=\"data.removeText\"></input-text>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <secondary-button [btnDisabled]=\"isConfirmDisabled()\" [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></secondary-button>\r\n</div>\r\n", styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title icon{position:absolute;right:10px;top:5px}.modal-content{margin:20px 0!important;border:none!important;text-align:center!important;box-shadow:none!important}.modal-content input-text{width:80%}.modal-actions{width:100%;display:flex;justify-content:center;align-items:center}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
59
|
+
type: Inject,
|
|
60
|
+
args: [MAT_DIALOG_DATA]
|
|
49
61
|
}] }]; } });
|
|
50
62
|
|
|
51
|
-
class ConfirmDialogData {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
class ConfirmDialogData {
|
|
64
|
+
title;
|
|
65
|
+
content;
|
|
66
|
+
confirmIcon;
|
|
67
|
+
confirmText;
|
|
68
|
+
cancelIcon;
|
|
69
|
+
cancelText;
|
|
70
|
+
showCloseIcon;
|
|
71
|
+
closeLabel;
|
|
72
|
+
item;
|
|
73
|
+
}
|
|
74
|
+
class ConfirmModalDataComponent {
|
|
75
|
+
dialogRef;
|
|
76
|
+
data;
|
|
77
|
+
constructor(dialogRef, data) {
|
|
78
|
+
this.dialogRef = dialogRef;
|
|
79
|
+
this.data = data;
|
|
80
|
+
}
|
|
81
|
+
closeClick() {
|
|
82
|
+
this.dialogRef.close(false);
|
|
83
|
+
}
|
|
84
|
+
confirmClick() {
|
|
85
|
+
this.dialogRef.close(true);
|
|
86
|
+
}
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ConfirmModalDataComponent, selector: "confirm-modal-data", ngImport: i0, template: "<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <tertiary-button [icon]=\"data.cancelIcon || ''\" [label]=\"data.cancelText || ''\" (onClick)=\"closeClick()\"></tertiary-button>\r\n <primary-button [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></primary-button>\r\n</div>\r\n", styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title icon{position:absolute;right:10px;top:5px}.modal-content{margin:20px 0!important;border:none!important;text-align:center!important;box-shadow:none!important}.modal-content p{margin:0!important}.modal-actions{width:100%;display:flex;justify-content:center;align-items:center}.modal-actions primary-button{margin-left:5px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i3$1.PrimaryButtonComponent, selector: "primary-button", inputs: ["label", "btnDisabled", "icon", "suffixIcon", "selected", "btnClass"], outputs: ["onClick"] }, { kind: "component", type: i3$1.TertiaryButtonComponent, selector: "tertiary-button", inputs: ["label", "btnDisabled", "icon", "suffixIcon", "selected", "btnClass"], outputs: ["onClick"] }, { kind: "component", type: i6.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
89
|
+
}
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{ selector: 'confirm-modal-data', template: "<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <tertiary-button [icon]=\"data.cancelIcon || ''\" [label]=\"data.cancelText || ''\" (onClick)=\"closeClick()\"></tertiary-button>\r\n <primary-button [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></primary-button>\r\n</div>\r\n", styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title icon{position:absolute;right:10px;top:5px}.modal-content{margin:20px 0!important;border:none!important;text-align:center!important;box-shadow:none!important}.modal-content p{margin:0!important}.modal-actions{width:100%;display:flex;justify-content:center;align-items:center}.modal-actions primary-button{margin-left:5px}\n"] }]
|
|
93
|
+
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
94
|
+
type: Inject,
|
|
95
|
+
args: [MAT_DIALOG_DATA]
|
|
73
96
|
}] }]; } });
|
|
74
97
|
|
|
75
|
-
class ModalHeaderComponent {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
changeExpand() {
|
|
86
|
-
this.expanded = !this.expanded;
|
|
87
|
-
this.expandClick.next(this.expanded);
|
|
88
|
-
if (this.expanded) {
|
|
89
|
-
this.dialogRef?.addPanelClass('mod-expanded');
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
this.dialogRef?.removePanelClass('mod-expanded');
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ModalHeaderComponent, selector: "modal-header-component", inputs: { title: "title", expanded: "expanded", showExpandIcon: "showExpandIcon", showCloseIcon: "showCloseIcon", titleClose: "titleClose", titleExpand: "titleExpand", dialogRef: "dialogRef" }, outputs: { closeClick: "closeClick", expandClick: "expandClick" }, ngImport: i0, template: `
|
|
98
|
+
class ModalHeaderComponent {
|
|
99
|
+
title;
|
|
100
|
+
expanded = false;
|
|
101
|
+
showExpandIcon = false;
|
|
102
|
+
showCloseIcon = false;
|
|
103
|
+
titleClose = 'Close';
|
|
104
|
+
titleExpand = 'Expand';
|
|
105
|
+
dialogRef;
|
|
106
|
+
closeClick = new EventEmitter();
|
|
107
|
+
expandClick = new EventEmitter();
|
|
108
|
+
changeExpand() {
|
|
109
|
+
this.expanded = !this.expanded;
|
|
110
|
+
this.expandClick.next(this.expanded);
|
|
111
|
+
if (this.expanded) {
|
|
112
|
+
this.dialogRef?.addPanelClass('mod-expanded');
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.dialogRef?.removePanelClass('mod-expanded');
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ModalHeaderComponent, selector: "modal-header-component", inputs: { title: "title", expanded: "expanded", showExpandIcon: "showExpandIcon", showCloseIcon: "showCloseIcon", titleClose: "titleClose", titleExpand: "titleExpand", dialogRef: "dialogRef" }, outputs: { closeClick: "closeClick", expandClick: "expandClick" }, ngImport: i0, template: `
|
|
98
120
|
<div class="modal-title">
|
|
99
121
|
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
100
122
|
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
101
123
|
<icon *ngIf="showExpandIcon" type="primary clickable" [size]="13" [name]="!expanded ? 'fa fa-expand-arrows-alt' : 'fa fa-compress'" [title]="titleExpand" (onClick)="changeExpand()"></icon>
|
|
102
|
-
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
124
|
+
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next(undefined)"></icon>
|
|
103
125
|
</div>
|
|
104
126
|
</div>
|
|
105
|
-
`, isInline: true, styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title>.modal-title-actions{position:absolute;right:10px;top:5px;display:flex;justify-content:center;align-items:center}.modal-title>.modal-title-actions icon{display:block}.modal-title>.modal-title-actions icon:not(:last-child){margin-right:10px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "component", type: i6.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
106
|
-
|
|
107
|
-
|
|
127
|
+
`, isInline: true, styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title>.modal-title-actions{position:absolute;right:10px;top:5px;display:flex;justify-content:center;align-items:center}.modal-title>.modal-title-actions icon{display:block}.modal-title>.modal-title-actions icon:not(:last-child){margin-right:10px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "component", type: i6.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
128
|
+
}
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
130
|
+
type: Component,
|
|
108
131
|
args: [{ selector: 'modal-header-component', template: `
|
|
109
132
|
<div class="modal-title">
|
|
110
133
|
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
111
134
|
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
112
135
|
<icon *ngIf="showExpandIcon" type="primary clickable" [size]="13" [name]="!expanded ? 'fa fa-expand-arrows-alt' : 'fa fa-compress'" [title]="titleExpand" (onClick)="changeExpand()"></icon>
|
|
113
|
-
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
136
|
+
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next(undefined)"></icon>
|
|
114
137
|
</div>
|
|
115
138
|
</div>
|
|
116
|
-
`, styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title>.modal-title-actions{position:absolute;right:10px;top:5px;display:flex;justify-content:center;align-items:center}.modal-title>.modal-title-actions icon{display:block}.modal-title>.modal-title-actions icon:not(:last-child){margin-right:10px}\n"] }]
|
|
117
|
-
}], propDecorators: { title: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}], expanded: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], showExpandIcon: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], showCloseIcon: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], titleClose: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], titleExpand: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}], dialogRef: [{
|
|
130
|
-
type: Input
|
|
131
|
-
}], closeClick: [{
|
|
132
|
-
type: Output
|
|
133
|
-
}], expandClick: [{
|
|
134
|
-
type: Output
|
|
139
|
+
`, styles: [".modal-title{display:flex;position:relative;justify-content:center;width:100%;align-items:flex-start}.modal-title h3{width:100%;text-align:center;margin:0;font-weight:700}.modal-title>.modal-title-actions{position:absolute;right:10px;top:5px;display:flex;justify-content:center;align-items:center}.modal-title>.modal-title-actions icon{display:block}.modal-title>.modal-title-actions icon:not(:last-child){margin-right:10px}\n"] }]
|
|
140
|
+
}], propDecorators: { title: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], expanded: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], showExpandIcon: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], showCloseIcon: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], titleClose: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], titleExpand: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], dialogRef: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], closeClick: [{
|
|
155
|
+
type: Output
|
|
156
|
+
}], expandClick: [{
|
|
157
|
+
type: Output
|
|
135
158
|
}] } });
|
|
136
159
|
|
|
137
|
-
class ModalsModule {
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
-
type: NgModule,
|
|
162
|
-
args: [{
|
|
163
|
-
imports: [
|
|
164
|
-
CommonModule,
|
|
165
|
-
MatDialogModule,
|
|
166
|
-
MatFormFieldModule,
|
|
167
|
-
FormsModule,
|
|
168
|
-
MatInputModule,
|
|
169
|
-
InputsModule,
|
|
170
|
-
ButtonsModule,
|
|
171
|
-
IconsModule
|
|
172
|
-
],
|
|
173
|
-
declarations: [
|
|
174
|
-
ConfirmRemoveModalDataComponent,
|
|
175
|
-
ConfirmModalDataComponent,
|
|
176
|
-
ModalHeaderComponent
|
|
177
|
-
],
|
|
178
|
-
exports: [
|
|
179
|
-
ConfirmRemoveModalDataComponent,
|
|
180
|
-
ConfirmModalDataComponent,
|
|
181
|
-
ModalHeaderComponent
|
|
182
|
-
],
|
|
183
|
-
providers: []
|
|
184
|
-
}]
|
|
160
|
+
class ModalsModule {
|
|
161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ModalsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
162
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ModalsModule, declarations: [ConfirmRemoveModalDataComponent,
|
|
163
|
+
ConfirmModalDataComponent,
|
|
164
|
+
ModalHeaderComponent], imports: [CommonModule,
|
|
165
|
+
MatDialogModule,
|
|
166
|
+
MatFormFieldModule,
|
|
167
|
+
FormsModule,
|
|
168
|
+
MatInputModule,
|
|
169
|
+
InputsModule,
|
|
170
|
+
ButtonsModule,
|
|
171
|
+
IconsModule], exports: [ConfirmRemoveModalDataComponent,
|
|
172
|
+
ConfirmModalDataComponent,
|
|
173
|
+
ModalHeaderComponent] });
|
|
174
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ModalsModule, imports: [CommonModule,
|
|
175
|
+
MatDialogModule,
|
|
176
|
+
MatFormFieldModule,
|
|
177
|
+
FormsModule,
|
|
178
|
+
MatInputModule,
|
|
179
|
+
InputsModule,
|
|
180
|
+
ButtonsModule,
|
|
181
|
+
IconsModule] });
|
|
182
|
+
}
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ModalsModule, decorators: [{
|
|
184
|
+
type: NgModule,
|
|
185
|
+
args: [{
|
|
186
|
+
imports: [
|
|
187
|
+
CommonModule,
|
|
188
|
+
MatDialogModule,
|
|
189
|
+
MatFormFieldModule,
|
|
190
|
+
FormsModule,
|
|
191
|
+
MatInputModule,
|
|
192
|
+
InputsModule,
|
|
193
|
+
ButtonsModule,
|
|
194
|
+
IconsModule
|
|
195
|
+
],
|
|
196
|
+
declarations: [
|
|
197
|
+
ConfirmRemoveModalDataComponent,
|
|
198
|
+
ConfirmModalDataComponent,
|
|
199
|
+
ModalHeaderComponent
|
|
200
|
+
],
|
|
201
|
+
exports: [
|
|
202
|
+
ConfirmRemoveModalDataComponent,
|
|
203
|
+
ConfirmModalDataComponent,
|
|
204
|
+
ModalHeaderComponent
|
|
205
|
+
],
|
|
206
|
+
providers: []
|
|
207
|
+
}]
|
|
185
208
|
}] });
|
|
186
209
|
|
|
187
|
-
/**
|
|
188
|
-
* Generated bundle index. Do not edit.
|
|
210
|
+
/**
|
|
211
|
+
* Generated bundle index. Do not edit.
|
|
189
212
|
*/
|
|
190
213
|
|
|
191
214
|
export { ConfirmDialogData, ConfirmModalDataComponent, ConfirmRemoveDialogData, ConfirmRemoveModalDataComponent, ModalHeaderComponent, ModalsModule };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apipass-modals.mjs","sources":["../../../projects/modals/src/lib/confirm-remove-modal/confirm-remove-modal.component.ts","../../../projects/modals/src/lib/confirm-remove-modal/confirm-remove-modal.component.html","../../../projects/modals/src/lib/confirm-modal/confirm-modal.component.ts","../../../projects/modals/src/lib/confirm-modal/confirm-modal.component.html","../../../projects/modals/src/lib/modal-header/modal-header.component.ts","../../../projects/modals/src/modals.module.ts","../../../projects/modals/src/apipass-modals.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core'\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'\r\n\r\nexport class ConfirmRemoveDialogData {\r\n title?: string\r\n content?: string\r\n confirmIcon?: string\r\n confirmText?: string\r\n removeText?: string\r\n removeTextLabel?: string\r\n removeTextConfirm?: string\r\n showCloseIcon?: boolean\r\n closeLabel?: string\r\n item?: any\r\n}\r\n\r\n@Component({\r\n selector: 'confirm-remove-modal-data',\r\n templateUrl: 'confirm-remove-modal.component.html',\r\n styleUrls: ['confirm-remove-modal.component.scss']\r\n})\r\nexport class ConfirmRemoveModalDataComponent {\r\n constructor (\r\n public dialogRef: MatDialogRef<ConfirmRemoveModalDataComponent>,\r\n @Inject(MAT_DIALOG_DATA) public data: ConfirmRemoveDialogData\r\n ) {\r\n }\r\n\r\n closeClick (): void {\r\n this.dialogRef.close()\r\n }\r\n\r\n confirmClick (): void {\r\n if (!this.data?.removeTextConfirm || this.data?.removeText === this.data?.removeTextConfirm) {\r\n this.dialogRef.close(this.data)\r\n }\r\n }\r\n\r\n isConfirmDisabled (): boolean {\r\n if (!this.data?.removeTextConfirm) {\r\n return false\r\n }\r\n return this.data?.removeText !== this.data?.removeTextConfirm\r\n }\r\n}\r\n","<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n <input-text *ngIf=\"data.removeTextConfirm\" [label]=\"data.removeTextLabel || ''\" [(ngModel)]=\"data.removeText\"></input-text>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <secondary-button [btnDisabled]=\"isConfirmDisabled()\" [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></secondary-button>\r\n</div>\r\n","import { Component, Inject } from '@angular/core'\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'\r\n\r\nexport class ConfirmDialogData {\r\n title?: string\r\n content?: string\r\n confirmIcon?: string\r\n confirmText?: string\r\n cancelIcon?: string\r\n cancelText?: string\r\n showCloseIcon?: boolean\r\n closeLabel?: string\r\n item?: any\r\n}\r\n\r\n@Component({\r\n selector: 'confirm-modal-data',\r\n templateUrl: 'confirm-modal.component.html',\r\n styleUrls: ['confirm-modal.component.scss']\r\n})\r\nexport class ConfirmModalDataComponent {\r\n constructor (\r\n public dialogRef: MatDialogRef<ConfirmModalDataComponent>,\r\n @Inject(MAT_DIALOG_DATA) public data: ConfirmDialogData\r\n ) {\r\n }\r\n\r\n closeClick (): void {\r\n this.dialogRef.close(false)\r\n }\r\n\r\n confirmClick (): void {\r\n this.dialogRef.close(true)\r\n }\r\n}\r\n","<div class=\"modal-title\">\r\n <h3 *ngIf=\"data.title\" [innerHTML]=\"data.title\" mat-dialog-title></h3>\r\n <icon *ngIf=\"data.showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"data.closeLabel\" (onClick)=\"closeClick()\"></icon>\r\n</div>\r\n\r\n<div class=\"modal-content\" mat-dialog-content>\r\n <p *ngIf=\"data.content\" [innerHTML]=\"data.content\"></p>\r\n</div>\r\n\r\n<div class=\"modal-actions\" mat-dialog-actions>\r\n <tertiary-button [icon]=\"data.cancelIcon || ''\" [label]=\"data.cancelText || ''\" (onClick)=\"closeClick()\"></tertiary-button>\r\n <primary-button [icon]=\"data.confirmIcon || ''\" [label]=\"data.confirmText || ''\" (onClick)=\"confirmClick()\"></primary-button>\r\n</div>\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core'\r\nimport { MatDialogRef } from '@angular/material/dialog'\r\n\r\n@Component({\r\n selector: 'modal-header-component',\r\n template: `\r\n <div class=\"modal-title\">\r\n <h3 [innerHTML]='title' mat-dialog-title></h3>\r\n <div *ngIf=\"showExpandIcon || showCloseIcon\" class=\"modal-title-actions\">\r\n <icon *ngIf=\"showExpandIcon\" type=\"primary clickable\" [size]=\"13\" [name]=\"!expanded ? 'fa fa-expand-arrows-alt' : 'fa fa-compress'\" [title]=\"titleExpand\" (onClick)=\"changeExpand()\"></icon>\r\n <icon *ngIf=\"showCloseIcon\" type=\"tertiary clickable\" name=\"fas fa-times\" [title]=\"titleClose\" (onClick)=\"closeClick.next(undefined)\"></icon>\r\n </div>\r\n </div>\r\n `,\r\n styleUrls: ['modal-header.scss']\r\n})\r\nexport class ModalHeaderComponent {\r\n @Input() title: string | undefined\r\n @Input() expanded = false\r\n @Input() showExpandIcon = false\r\n @Input() showCloseIcon = false\r\n\r\n @Input() titleClose = 'Close'\r\n @Input() titleExpand = 'Expand'\r\n @Input() dialogRef: MatDialogRef<ModalHeaderComponent> | undefined\r\n\r\n @Output() closeClick = new EventEmitter<any>()\r\n @Output() expandClick = new EventEmitter<boolean>()\r\n\r\n public changeExpand (): void {\r\n this.expanded = !this.expanded\r\n this.expandClick.next(this.expanded)\r\n if (this.expanded) {\r\n this.dialogRef?.addPanelClass('mod-expanded')\r\n } else {\r\n this.dialogRef?.removePanelClass('mod-expanded')\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core'\r\nimport { CommonModule } from '@angular/common'\r\nimport { ConfirmRemoveModalDataComponent } from './lib/confirm-remove-modal/confirm-remove-modal.component'\r\nimport { ConfirmModalDataComponent } from './lib/confirm-modal/confirm-modal.component'\r\nimport { ModalHeaderComponent } from './lib/modal-header/modal-header.component'\r\nimport { MatDialogModule } from '@angular/material/dialog'\r\nimport { MatFormFieldModule } from '@angular/material/form-field'\r\nimport { FormsModule } from '@angular/forms'\r\nimport { MatInputModule } from '@angular/material/input'\r\nimport { ButtonsModule } from '@apipass/buttons'\r\nimport { IconsModule } from '@apipass/icons'\r\nimport { InputsModule } from '@apipass/inputs'\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MatDialogModule,\r\n MatFormFieldModule,\r\n FormsModule,\r\n MatInputModule,\r\n InputsModule,\r\n ButtonsModule,\r\n IconsModule\r\n ],\r\n declarations: [\r\n ConfirmRemoveModalDataComponent,\r\n ConfirmModalDataComponent,\r\n ModalHeaderComponent\r\n ],\r\n exports: [\r\n ConfirmRemoveModalDataComponent,\r\n ConfirmModalDataComponent,\r\n ModalHeaderComponent\r\n ],\r\n providers: []\r\n})\r\nexport class ModalsModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i5","i3","i4","i1","i2"],"mappings":";;;;;;;;;;;;;;;;;;MAGa,uBAAuB,CAAA;AAClC,IAAA,KAAK,CAAS;AACd,IAAA,OAAO,CAAS;AAChB,IAAA,WAAW,CAAS;AACpB,IAAA,WAAW,CAAS;AACpB,IAAA,UAAU,CAAS;AACnB,IAAA,eAAe,CAAS;AACxB,IAAA,iBAAiB,CAAS;AAC1B,IAAA,aAAa,CAAU;AACvB,IAAA,UAAU,CAAS;AACnB,IAAA,IAAI,CAAM;AACX,CAAA;AAED,MAKa,+BAA+B,CAAA;AAEjC,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W;YACX,cAAc;YACd,YAAY;YACZ,aAAa;AACb,YAAA,WAAW,aAQX,+BAA+B;YAC/B,yBAAyB;YACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YArBrB,YAAY;YACZ,eAAe;YACf,kBAAkB;YAClB,WAAW;YACX,cAAc;YACd,YAAY;YACZ,aAAa;YACb,WAAW,CAAA,EAAA,CAAA,CAAA;;2FAcF,YAAY,EAAA,UAAA,EAAA,CAAA;kBAvBxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;wBACf,kBAAkB;wBAClB,WAAW;wBACX,cAAc;wBACd,YAAY;wBACZ,aAAa;wBACb,WAAW;AACZ,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,+BAA+B;wBAC/B,yBAAyB;wBACzB,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,+BAA+B;wBAC/B,yBAAyB;wBACzB,oBAAoB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACnCD;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@apipass/modals" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@apipass/modals" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConfirmDialogData {
|
|
4
|
-
title?: string;
|
|
5
|
-
content?: string;
|
|
6
|
-
confirmIcon?: string;
|
|
7
|
-
confirmText?: string;
|
|
8
|
-
cancelIcon?: string;
|
|
9
|
-
cancelText?: string;
|
|
10
|
-
showCloseIcon?: boolean;
|
|
11
|
-
closeLabel?: string;
|
|
12
|
-
item?: any;
|
|
13
|
-
}
|
|
14
|
-
export declare class ConfirmModalDataComponent {
|
|
15
|
-
dialogRef: MatDialogRef<ConfirmModalDataComponent>;
|
|
16
|
-
data: ConfirmDialogData;
|
|
17
|
-
constructor(dialogRef: MatDialogRef<ConfirmModalDataComponent>, data: ConfirmDialogData);
|
|
18
|
-
closeClick(): void;
|
|
19
|
-
confirmClick(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmModalDataComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmModalDataComponent, "confirm-modal-data", never, {}, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ConfirmDialogData {
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
confirmIcon?: string;
|
|
7
|
+
confirmText?: string;
|
|
8
|
+
cancelIcon?: string;
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
showCloseIcon?: boolean;
|
|
11
|
+
closeLabel?: string;
|
|
12
|
+
item?: any;
|
|
13
|
+
}
|
|
14
|
+
export declare class ConfirmModalDataComponent {
|
|
15
|
+
dialogRef: MatDialogRef<ConfirmModalDataComponent>;
|
|
16
|
+
data: ConfirmDialogData;
|
|
17
|
+
constructor(dialogRef: MatDialogRef<ConfirmModalDataComponent>, data: ConfirmDialogData);
|
|
18
|
+
closeClick(): void;
|
|
19
|
+
confirmClick(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmModalDataComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmModalDataComponent, "confirm-modal-data", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConfirmRemoveDialogData {
|
|
4
|
-
title?: string;
|
|
5
|
-
content?: string;
|
|
6
|
-
confirmIcon?: string;
|
|
7
|
-
confirmText?: string;
|
|
8
|
-
removeText?: string;
|
|
9
|
-
removeTextLabel?: string;
|
|
10
|
-
removeTextConfirm?: string;
|
|
11
|
-
showCloseIcon?: boolean;
|
|
12
|
-
closeLabel?: string;
|
|
13
|
-
item?: any;
|
|
14
|
-
}
|
|
15
|
-
export declare class ConfirmRemoveModalDataComponent {
|
|
16
|
-
dialogRef: MatDialogRef<ConfirmRemoveModalDataComponent>;
|
|
17
|
-
data: ConfirmRemoveDialogData;
|
|
18
|
-
constructor(dialogRef: MatDialogRef<ConfirmRemoveModalDataComponent>, data: ConfirmRemoveDialogData);
|
|
19
|
-
closeClick(): void;
|
|
20
|
-
confirmClick(): void;
|
|
21
|
-
isConfirmDisabled(): boolean;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRemoveModalDataComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmRemoveModalDataComponent, "confirm-remove-modal-data", never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ConfirmRemoveDialogData {
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
confirmIcon?: string;
|
|
7
|
+
confirmText?: string;
|
|
8
|
+
removeText?: string;
|
|
9
|
+
removeTextLabel?: string;
|
|
10
|
+
removeTextConfirm?: string;
|
|
11
|
+
showCloseIcon?: boolean;
|
|
12
|
+
closeLabel?: string;
|
|
13
|
+
item?: any;
|
|
14
|
+
}
|
|
15
|
+
export declare class ConfirmRemoveModalDataComponent {
|
|
16
|
+
dialogRef: MatDialogRef<ConfirmRemoveModalDataComponent>;
|
|
17
|
+
data: ConfirmRemoveDialogData;
|
|
18
|
+
constructor(dialogRef: MatDialogRef<ConfirmRemoveModalDataComponent>, data: ConfirmRemoveDialogData);
|
|
19
|
+
closeClick(): void;
|
|
20
|
+
confirmClick(): void;
|
|
21
|
+
isConfirmDisabled(): boolean;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRemoveModalDataComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmRemoveModalDataComponent, "confirm-remove-modal-data", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ModalHeaderComponent {
|
|
5
|
-
title: string | undefined;
|
|
6
|
-
expanded: boolean;
|
|
7
|
-
showExpandIcon: boolean;
|
|
8
|
-
showCloseIcon: boolean;
|
|
9
|
-
titleClose: string;
|
|
10
|
-
titleExpand: string;
|
|
11
|
-
dialogRef: MatDialogRef<ModalHeaderComponent> | undefined;
|
|
12
|
-
closeClick: EventEmitter<any>;
|
|
13
|
-
expandClick: EventEmitter<boolean>;
|
|
14
|
-
changeExpand(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "modal-header-component", never, { "title": "title"; "expanded": "expanded"; "showExpandIcon": "showExpandIcon"; "showCloseIcon": "showCloseIcon"; "titleClose": "titleClose"; "titleExpand": "titleExpand"; "dialogRef": "dialogRef"; }, { "closeClick": "closeClick"; "expandClick": "expandClick"; }, never, never, false, never>;
|
|
17
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalHeaderComponent {
|
|
5
|
+
title: string | undefined;
|
|
6
|
+
expanded: boolean;
|
|
7
|
+
showExpandIcon: boolean;
|
|
8
|
+
showCloseIcon: boolean;
|
|
9
|
+
titleClose: string;
|
|
10
|
+
titleExpand: string;
|
|
11
|
+
dialogRef: MatDialogRef<ModalHeaderComponent> | undefined;
|
|
12
|
+
closeClick: EventEmitter<any>;
|
|
13
|
+
expandClick: EventEmitter<boolean>;
|
|
14
|
+
changeExpand(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "modal-header-component", never, { "title": { "alias": "title"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "showExpandIcon": { "alias": "showExpandIcon"; "required": false; }; "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "titleClose": { "alias": "titleClose"; "required": false; }; "titleExpand": { "alias": "titleExpand"; "required": false; }; "dialogRef": { "alias": "dialogRef"; "required": false; }; }, { "closeClick": "closeClick"; "expandClick": "expandClick"; }, never, never, false, never>;
|
|
17
|
+
}
|
package/modals.module.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lib/confirm-remove-modal/confirm-remove-modal.component";
|
|
3
|
-
import * as i2 from "./lib/confirm-modal/confirm-modal.component";
|
|
4
|
-
import * as i3 from "./lib/modal-header/modal-header.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@angular/material/dialog";
|
|
7
|
-
import * as i6 from "@angular/material/form-field";
|
|
8
|
-
import * as i7 from "@angular/forms";
|
|
9
|
-
import * as i8 from "@angular/material/input";
|
|
10
|
-
import * as i9 from "@apipass/inputs";
|
|
11
|
-
import * as i10 from "@apipass/buttons";
|
|
12
|
-
import * as i11 from "@apipass/icons";
|
|
13
|
-
export declare class ModalsModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalsModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalsModule, [typeof i1.ConfirmRemoveModalDataComponent, typeof i2.ConfirmModalDataComponent, typeof i3.ModalHeaderComponent], [typeof i4.CommonModule, typeof i5.MatDialogModule, typeof i6.MatFormFieldModule, typeof i7.FormsModule, typeof i8.MatInputModule, typeof i9.InputsModule, typeof i10.ButtonsModule, typeof i11.IconsModule], [typeof i1.ConfirmRemoveModalDataComponent, typeof i2.ConfirmModalDataComponent, typeof i3.ModalHeaderComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ModalsModule>;
|
|
17
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./lib/confirm-remove-modal/confirm-remove-modal.component";
|
|
3
|
+
import * as i2 from "./lib/confirm-modal/confirm-modal.component";
|
|
4
|
+
import * as i3 from "./lib/modal-header/modal-header.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/material/dialog";
|
|
7
|
+
import * as i6 from "@angular/material/form-field";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "@angular/material/input";
|
|
10
|
+
import * as i9 from "@apipass/inputs";
|
|
11
|
+
import * as i10 from "@apipass/buttons";
|
|
12
|
+
import * as i11 from "@apipass/icons";
|
|
13
|
+
export declare class ModalsModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalsModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalsModule, [typeof i1.ConfirmRemoveModalDataComponent, typeof i2.ConfirmModalDataComponent, typeof i3.ModalHeaderComponent], [typeof i4.CommonModule, typeof i5.MatDialogModule, typeof i6.MatFormFieldModule, typeof i7.FormsModule, typeof i8.MatInputModule, typeof i9.InputsModule, typeof i10.ButtonsModule, typeof i11.IconsModule], [typeof i1.ConfirmRemoveModalDataComponent, typeof i2.ConfirmModalDataComponent, typeof i3.ModalHeaderComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ModalsModule>;
|
|
17
|
+
}
|