@apipass/modals 1.0.7 → 1.0.9
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 +6 -6
- package/fesm2022/apipass-modals.mjs +215 -0
- 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 +0 -192
- package/fesm2020/apipass-modals.mjs.map +0 -1
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/material/dialog';
|
|
2
|
-
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
3
|
-
export * from '@angular/material/dialog';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { Component, Inject, EventEmitter, Input, Output, NgModule } from '@angular/core';
|
|
6
|
-
import * as i2 from '@angular/common';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import * as i3 from '@angular/forms';
|
|
9
|
-
import { FormsModule } from '@angular/forms';
|
|
10
|
-
import * as i4 from '@apipass/inputs';
|
|
11
|
-
import { InputsModule } from '@apipass/inputs';
|
|
12
|
-
import * as i3$1 from '@apipass/buttons';
|
|
13
|
-
import { ButtonsModule } from '@apipass/buttons';
|
|
14
|
-
import * as i6 from '@apipass/icons';
|
|
15
|
-
import { IconsModule } from '@apipass/icons';
|
|
16
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
|
-
import { MatInputModule } from '@angular/material/input';
|
|
18
|
-
|
|
19
|
-
class ConfirmRemoveDialogData {
|
|
20
|
-
}
|
|
21
|
-
class ConfirmRemoveModalDataComponent {
|
|
22
|
-
constructor(dialogRef, data) {
|
|
23
|
-
this.dialogRef = dialogRef;
|
|
24
|
-
this.data = data;
|
|
25
|
-
}
|
|
26
|
-
closeClick() {
|
|
27
|
-
this.dialogRef.close();
|
|
28
|
-
}
|
|
29
|
-
confirmClick() {
|
|
30
|
-
var _a, _b, _c;
|
|
31
|
-
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.removeTextConfirm) || ((_b = this.data) === null || _b === void 0 ? void 0 : _b.removeText) === ((_c = this.data) === null || _c === void 0 ? void 0 : _c.removeTextConfirm)) {
|
|
32
|
-
this.dialogRef.close(this.data);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
isConfirmDisabled() {
|
|
36
|
-
var _a, _b, _c;
|
|
37
|
-
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.removeTextConfirm)) {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
return ((_b = this.data) === null || _b === void 0 ? void 0 : _b.removeText) !== ((_c = this.data) === null || _c === void 0 ? void 0 : _c.removeTextConfirm);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
ConfirmRemoveModalDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
-
ConfirmRemoveModalDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
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"] }]
|
|
48
|
-
}], ctorParameters: function () {
|
|
49
|
-
return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
50
|
-
type: Inject,
|
|
51
|
-
args: [MAT_DIALOG_DATA]
|
|
52
|
-
}] }];
|
|
53
|
-
} });
|
|
54
|
-
|
|
55
|
-
class ConfirmDialogData {
|
|
56
|
-
}
|
|
57
|
-
class ConfirmModalDataComponent {
|
|
58
|
-
constructor(dialogRef, data) {
|
|
59
|
-
this.dialogRef = dialogRef;
|
|
60
|
-
this.data = data;
|
|
61
|
-
}
|
|
62
|
-
closeClick() {
|
|
63
|
-
this.dialogRef.close(false);
|
|
64
|
-
}
|
|
65
|
-
confirmClick() {
|
|
66
|
-
this.dialogRef.close(true);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
ConfirmModalDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
-
ConfirmModalDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
72
|
-
type: Component,
|
|
73
|
-
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"] }]
|
|
74
|
-
}], ctorParameters: function () {
|
|
75
|
-
return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
76
|
-
type: Inject,
|
|
77
|
-
args: [MAT_DIALOG_DATA]
|
|
78
|
-
}] }];
|
|
79
|
-
} });
|
|
80
|
-
|
|
81
|
-
class ModalHeaderComponent {
|
|
82
|
-
constructor() {
|
|
83
|
-
this.expanded = false;
|
|
84
|
-
this.showExpandIcon = false;
|
|
85
|
-
this.showCloseIcon = false;
|
|
86
|
-
this.titleClose = 'Close';
|
|
87
|
-
this.titleExpand = 'Expand';
|
|
88
|
-
this.closeClick = new EventEmitter();
|
|
89
|
-
this.expandClick = new EventEmitter();
|
|
90
|
-
}
|
|
91
|
-
changeExpand() {
|
|
92
|
-
var _a, _b;
|
|
93
|
-
this.expanded = !this.expanded;
|
|
94
|
-
this.expandClick.next(this.expanded);
|
|
95
|
-
if (this.expanded) {
|
|
96
|
-
(_a = this.dialogRef) === null || _a === void 0 ? void 0 : _a.addPanelClass('mod-expanded');
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
(_b = this.dialogRef) === null || _b === void 0 ? void 0 : _b.removePanelClass('mod-expanded');
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
-
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: `
|
|
105
|
-
<div class="modal-title">
|
|
106
|
-
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
107
|
-
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
108
|
-
<icon *ngIf="showExpandIcon" type="primary clickable" [size]="13" [name]="!expanded ? 'fa fa-expand-arrows-alt' : 'fa fa-compress'" [title]="titleExpand" (onClick)="changeExpand()"></icon>
|
|
109
|
-
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
`, 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"] }] });
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
114
|
-
type: Component,
|
|
115
|
-
args: [{ selector: 'modal-header-component', template: `
|
|
116
|
-
<div class="modal-title">
|
|
117
|
-
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
118
|
-
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
119
|
-
<icon *ngIf="showExpandIcon" type="primary clickable" [size]="13" [name]="!expanded ? 'fa fa-expand-arrows-alt' : 'fa fa-compress'" [title]="titleExpand" (onClick)="changeExpand()"></icon>
|
|
120
|
-
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
`, 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"] }]
|
|
124
|
-
}], propDecorators: { title: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], expanded: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}], showExpandIcon: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], showCloseIcon: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], titleClose: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], titleExpand: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], dialogRef: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], closeClick: [{
|
|
139
|
-
type: Output
|
|
140
|
-
}], expandClick: [{
|
|
141
|
-
type: Output
|
|
142
|
-
}] } });
|
|
143
|
-
|
|
144
|
-
class ModalsModule {
|
|
145
|
-
}
|
|
146
|
-
ModalsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
147
|
-
ModalsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, declarations: [ConfirmRemoveModalDataComponent,
|
|
148
|
-
ConfirmModalDataComponent,
|
|
149
|
-
ModalHeaderComponent], imports: [CommonModule,
|
|
150
|
-
MatDialogModule,
|
|
151
|
-
MatFormFieldModule,
|
|
152
|
-
FormsModule,
|
|
153
|
-
MatInputModule,
|
|
154
|
-
InputsModule,
|
|
155
|
-
ButtonsModule,
|
|
156
|
-
IconsModule], exports: [ConfirmRemoveModalDataComponent,
|
|
157
|
-
ConfirmModalDataComponent,
|
|
158
|
-
ModalHeaderComponent] });
|
|
159
|
-
ModalsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, imports: [CommonModule,
|
|
160
|
-
MatDialogModule,
|
|
161
|
-
MatFormFieldModule,
|
|
162
|
-
FormsModule,
|
|
163
|
-
MatInputModule,
|
|
164
|
-
InputsModule,
|
|
165
|
-
ButtonsModule,
|
|
166
|
-
IconsModule] });
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, decorators: [{
|
|
168
|
-
type: NgModule,
|
|
169
|
-
args: [{
|
|
170
|
-
imports: [
|
|
171
|
-
CommonModule,
|
|
172
|
-
MatDialogModule,
|
|
173
|
-
MatFormFieldModule,
|
|
174
|
-
FormsModule,
|
|
175
|
-
MatInputModule,
|
|
176
|
-
InputsModule,
|
|
177
|
-
ButtonsModule,
|
|
178
|
-
IconsModule
|
|
179
|
-
],
|
|
180
|
-
declarations: [
|
|
181
|
-
ConfirmRemoveModalDataComponent,
|
|
182
|
-
ConfirmModalDataComponent,
|
|
183
|
-
ModalHeaderComponent
|
|
184
|
-
],
|
|
185
|
-
exports: [
|
|
186
|
-
ConfirmRemoveModalDataComponent,
|
|
187
|
-
ConfirmModalDataComponent,
|
|
188
|
-
ModalHeaderComponent
|
|
189
|
-
],
|
|
190
|
-
providers: []
|
|
191
|
-
}]
|
|
192
|
-
}] });
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Generated bundle index. Do not edit.
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
|
-
export { ConfirmDialogData, ConfirmModalDataComponent, ConfirmRemoveDialogData, ConfirmRemoveModalDataComponent, ModalHeaderComponent, ModalsModule };
|
|
199
|
-
//# sourceMappingURL=apipass-modals.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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()\"></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;AAWnC,CAAA;MAOY,+BAA+B,CAAA;IAC1C,WACS,CAAA,SAAwD,EAC/B,IAA6B,EAAA;AADtD,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAA+C;AAC/B,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAyB;KAE9D;IAED,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAA;KACvB;IAED,YAAY,GAAA;;QACV,IAAI,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,iBAAiB,CAAA,IAAI,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,UAAU,OAAK,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,iBAAiB,CAAA,EAAE;YAC3F,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAChC,SAAA;KACF;IAED,iBAAiB,GAAA;;QACf,I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A,IAAA,EAAA,YAAY,YArBrB,YAAY;QACZ,eAAe;QACf,kBAAkB;QAClB,WAAW;QACX,cAAc;QACd,YAAY;QACZ,aAAa;QACb,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;iBACd,CAAA;;;ACnCD;;AAEG;;;;"}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/material/dialog';
|
|
2
|
-
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
3
|
-
export * from '@angular/material/dialog';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { Component, Inject, EventEmitter, Input, Output, NgModule } from '@angular/core';
|
|
6
|
-
import * as i2 from '@angular/common';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import * as i3 from '@angular/forms';
|
|
9
|
-
import { FormsModule } from '@angular/forms';
|
|
10
|
-
import * as i4 from '@apipass/inputs';
|
|
11
|
-
import { InputsModule } from '@apipass/inputs';
|
|
12
|
-
import * as i3$1 from '@apipass/buttons';
|
|
13
|
-
import { ButtonsModule } from '@apipass/buttons';
|
|
14
|
-
import * as i6 from '@apipass/icons';
|
|
15
|
-
import { IconsModule } from '@apipass/icons';
|
|
16
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
|
-
import { MatInputModule } from '@angular/material/input';
|
|
18
|
-
|
|
19
|
-
class ConfirmRemoveDialogData {
|
|
20
|
-
}
|
|
21
|
-
class ConfirmRemoveModalDataComponent {
|
|
22
|
-
constructor(dialogRef, data) {
|
|
23
|
-
this.dialogRef = dialogRef;
|
|
24
|
-
this.data = data;
|
|
25
|
-
}
|
|
26
|
-
closeClick() {
|
|
27
|
-
this.dialogRef.close();
|
|
28
|
-
}
|
|
29
|
-
confirmClick() {
|
|
30
|
-
if (!this.data?.removeTextConfirm || this.data?.removeText === this.data?.removeTextConfirm) {
|
|
31
|
-
this.dialogRef.close(this.data);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
isConfirmDisabled() {
|
|
35
|
-
if (!this.data?.removeTextConfirm) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
return this.data?.removeText !== this.data?.removeTextConfirm;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
ConfirmRemoveModalDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
ConfirmRemoveModalDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
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"] }]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
47
|
-
type: Inject,
|
|
48
|
-
args: [MAT_DIALOG_DATA]
|
|
49
|
-
}] }]; } });
|
|
50
|
-
|
|
51
|
-
class ConfirmDialogData {
|
|
52
|
-
}
|
|
53
|
-
class ConfirmModalDataComponent {
|
|
54
|
-
constructor(dialogRef, data) {
|
|
55
|
-
this.dialogRef = dialogRef;
|
|
56
|
-
this.data = data;
|
|
57
|
-
}
|
|
58
|
-
closeClick() {
|
|
59
|
-
this.dialogRef.close(false);
|
|
60
|
-
}
|
|
61
|
-
confirmClick() {
|
|
62
|
-
this.dialogRef.close(true);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
ConfirmModalDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
ConfirmModalDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
68
|
-
type: Component,
|
|
69
|
-
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"] }]
|
|
70
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
71
|
-
type: Inject,
|
|
72
|
-
args: [MAT_DIALOG_DATA]
|
|
73
|
-
}] }]; } });
|
|
74
|
-
|
|
75
|
-
class ModalHeaderComponent {
|
|
76
|
-
constructor() {
|
|
77
|
-
this.expanded = false;
|
|
78
|
-
this.showExpandIcon = false;
|
|
79
|
-
this.showCloseIcon = false;
|
|
80
|
-
this.titleClose = 'Close';
|
|
81
|
-
this.titleExpand = 'Expand';
|
|
82
|
-
this.closeClick = new EventEmitter();
|
|
83
|
-
this.expandClick = new EventEmitter();
|
|
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
|
-
ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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
|
-
<div class="modal-title">
|
|
99
|
-
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
100
|
-
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
101
|
-
<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>
|
|
103
|
-
</div>
|
|
104
|
-
</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
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
107
|
-
type: Component,
|
|
108
|
-
args: [{ selector: 'modal-header-component', template: `
|
|
109
|
-
<div class="modal-title">
|
|
110
|
-
<h3 [innerHTML]='title' mat-dialog-title></h3>
|
|
111
|
-
<div *ngIf="showExpandIcon || showCloseIcon" class="modal-title-actions">
|
|
112
|
-
<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>
|
|
114
|
-
</div>
|
|
115
|
-
</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
|
|
135
|
-
}] } });
|
|
136
|
-
|
|
137
|
-
class ModalsModule {
|
|
138
|
-
}
|
|
139
|
-
ModalsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
140
|
-
ModalsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, declarations: [ConfirmRemoveModalDataComponent,
|
|
141
|
-
ConfirmModalDataComponent,
|
|
142
|
-
ModalHeaderComponent], imports: [CommonModule,
|
|
143
|
-
MatDialogModule,
|
|
144
|
-
MatFormFieldModule,
|
|
145
|
-
FormsModule,
|
|
146
|
-
MatInputModule,
|
|
147
|
-
InputsModule,
|
|
148
|
-
ButtonsModule,
|
|
149
|
-
IconsModule], exports: [ConfirmRemoveModalDataComponent,
|
|
150
|
-
ConfirmModalDataComponent,
|
|
151
|
-
ModalHeaderComponent] });
|
|
152
|
-
ModalsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, imports: [CommonModule,
|
|
153
|
-
MatDialogModule,
|
|
154
|
-
MatFormFieldModule,
|
|
155
|
-
FormsModule,
|
|
156
|
-
MatInputModule,
|
|
157
|
-
InputsModule,
|
|
158
|
-
ButtonsModule,
|
|
159
|
-
IconsModule] });
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalsModule, decorators: [{
|
|
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
|
-
}]
|
|
185
|
-
}] });
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Generated bundle index. Do not edit.
|
|
189
|
-
*/
|
|
190
|
-
|
|
191
|
-
export { ConfirmDialogData, ConfirmModalDataComponent, ConfirmRemoveDialogData, ConfirmRemoveModalDataComponent, ModalHeaderComponent, ModalsModule };
|
|
192
|
-
//# sourceMappingURL=apipass-modals.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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()\"></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;AAWnC,CAAA;MAOY,+BAA+B,CAAA;IAC1C,WACS,CAAA,SAAwD,EAC/B,IAA6B,EAAA;QADtD,IAAS,CAAA,SAAA,GAAT,SAAS,CAA+C;QAC/B,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAyB;KAE9D;IAED,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,SAA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