@apipass/modals 1.0.0 → 1.0.7
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/lib/confirm-modal/confirm-modal.component.mjs +3 -3
- package/esm2020/lib/confirm-remove-modal/confirm-remove-modal.component.mjs +3 -3
- package/esm2020/lib/modal-header/modal-header.component.mjs +3 -3
- package/esm2020/modals.module.mjs +1 -1
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/apipass-modals.mjs +6 -6
- package/fesm2015/apipass-modals.mjs.map +1 -1
- package/fesm2020/apipass-modals.mjs +6 -6
- package/fesm2020/apipass-modals.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -20,12 +20,12 @@ export class ConfirmModalDataComponent {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
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 });
|
|
23
|
-
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
|
|
23
|
+
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.PrimaryButtonComponent, selector: "primary-button", inputs: ["label", "btnDisabled", "icon", "suffixIcon", "selected", "btnClass"], outputs: ["onClick"] }, { kind: "component", type: i3.TertiaryButtonComponent, selector: "tertiary-button", inputs: ["label", "btnDisabled", "icon", "suffixIcon", "selected", "btnClass"], outputs: ["onClick"] }, { kind: "component", type: i4.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
|
-
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
|
|
26
|
+
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"] }]
|
|
27
27
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
28
28
|
type: Inject,
|
|
29
29
|
args: [MAT_DIALOG_DATA]
|
|
30
30
|
}] }]; } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1tb2RhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb2RhbHMvc3JjL2xpYi9jb25maXJtLW1vZGFsL2NvbmZpcm0tbW9kYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi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GF0YS50aXRsZVwiIG1hdC1kaWFsb2ctdGl0bGU+PC9oMz5cclxuICA8aWNvbiAqbmdJZj1cImRhdGEuc2hvd0Nsb3NlSWNvblwiIHR5cGU9XCJ0ZXJ0aWFyeSBjbGlja2FibGVcIiBuYW1lPVwiZmFzIGZhLXRpbWVzXCIgW3RpdGxlXT1cImRhdGEuY2xvc2VMYWJlbFwiIChvbkNsaWNrKT1cImNsb3NlQ2xpY2soKVwiPjwvaWNvbj5cclxuPC9kaXY+XHJcblxyXG48ZGl2IGNsYXNzPVwibW9kYWwtY29udGVudFwiIG1hdC1kaWFsb2ctY29udGVudD5cclxuICA8cCAqbmdJZj1cImRhdGEuY29udGVudFwiIFtpbm5lckhUTUxdPVwiZGF0YS5jb250ZW50XCI+PC9wPlxyXG48L2Rpdj5cclxuXHJcbjxkaXYgY2xhc3M9XCJtb2RhbC1hY3Rpb25zXCIgbWF0LWRpYWxvZy1hY3Rpb25zPlxyXG4gIDx0ZXJ0aWFyeS1idXR0b24gW2ljb25dPVwiZGF0YS5jYW5jZWxJY29uIHx8ICcnXCIgW2xhYmVsXT1cImRhdGEuY2FuY2VsVGV4dCB8fCAnJ1wiIChvbkNsaWNrKT1cImNsb3NlQ2xpY2soKVwiPjwvdGVydGlhcnktYnV0dG9uPlxyXG4gIDxwcmltYXJ5LWJ1dHRvbiBbaWNvbl09XCJkYXRhLmNvbmZpcm1JY29uIHx8ICcnXCIgW2xhYmVsXT1cImRhdGEuY29uZmlybVRleHQgfHwgJydcIiAob25DbGljayk9XCJjb25maXJtQ2xpY2soKVwiPjwvcHJpbWFyeS1idXR0b24+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -30,12 +30,12 @@ export class ConfirmRemoveModalDataComponent {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
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 });
|
|
33
|
-
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
|
|
33
|
+
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: i5.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"] }] });
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
|
-
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
|
|
36
|
+
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"] }]
|
|
37
37
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
38
38
|
type: Inject,
|
|
39
39
|
args: [MAT_DIALOG_DATA]
|
|
40
40
|
}] }]; } });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1yZW1vdmUtbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9kYWxzL3NyYy9saWIvY29uZmlybS1yZW1vdmUtbW9kYWwvY29uZmlybS1yZW1vdmUtbW9kYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9kYWxzL3NyYy9saWIvY29uZmlybS1yZW1vdmUtbW9kYWwvY29uZmlybS1yZW1vdmUtbW9kYWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDakQsT0FBTyxFQUFFLGVBQWUsRUFBRSxZQUFZ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I+PC9wPlxyXG4gIDxpbnB1dC10ZXh0ICpuZ0lmPVwiZGF0YS5yZW1vdmVUZXh0Q29uZmlybVwiIFtsYWJlbF09XCJkYXRhLnJlbW92ZVRleHRMYWJlbCB8fCAnJ1wiIFsobmdNb2RlbCldPVwiZGF0YS5yZW1vdmVUZXh0XCI+PC9pbnB1dC10ZXh0PlxyXG48L2Rpdj5cclxuXHJcbjxkaXYgY2xhc3M9XCJtb2RhbC1hY3Rpb25zXCIgbWF0LWRpYWxvZy1hY3Rpb25zPlxyXG4gIDxzZWNvbmRhcnktYnV0dG9uIFtidG5EaXNhYmxlZF09XCJpc0NvbmZpcm1EaXNhYmxlZCgpXCIgW2ljb25dPVwiZGF0YS5jb25maXJtSWNvbiB8fCAnJ1wiIFtsYWJlbF09XCJkYXRhLmNvbmZpcm1UZXh0IHx8ICcnXCIgKG9uQ2xpY2spPVwiY29uZmlybUNsaWNrKClcIj48L3NlY29uZGFyeS1idXR0b24+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -33,7 +33,7 @@ ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
33
33
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
-
`, 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
|
|
36
|
+
`, 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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "component", type: i3.IconComponent, selector: "icon", inputs: ["name", "title", "type", "size", "isMaterialIcon", "materialOutline", "routerLinkActive", "routerLink", "link", "target", "isActive"], outputs: ["onClick"] }] });
|
|
37
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{ selector: 'modal-header-component', template: `
|
|
@@ -44,7 +44,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
44
44
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
|
-
`, 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
|
|
47
|
+
`, 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"] }]
|
|
48
48
|
}], propDecorators: { title: [{
|
|
49
49
|
type: Input
|
|
50
50
|
}], expanded: [{
|
|
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
64
64
|
}], expandClick: [{
|
|
65
65
|
type: Output
|
|
66
66
|
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json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RXZlbnRFbWl0dGVyPGJvb2xlYW4+KClcclxuXHJcbiAgcHVibGljIGNoYW5nZUV4cGFuZCAoKTogdm9pZCB7XHJcbiAgICB0aGlzLmV4cGFuZGVkID0gIXRoaXMuZXhwYW5kZWRcclxuICAgIHRoaXMuZXhwYW5kQ2xpY2submV4dCh0aGlzLmV4cGFuZGVkKVxyXG4gICAgaWYgKHRoaXMuZXhwYW5kZWQpIHtcclxuICAgICAgdGhpcy5kaWFsb2dSZWY/LmFkZFBhbmVsQ2xhc3MoJ21vZC1leHBhbmRlZCcpXHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICB0aGlzLmRpYWxvZ1JlZj8ucmVtb3ZlUGFuZWxDbGFzcygnbW9kLWV4cGFuZGVkJylcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -60,4 +60,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
60
60
|
providers: []
|
|
61
61
|
}]
|
|
62
62
|
}] });
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWxzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL21vZGFscy9zcmMvbW9kYWxzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3hDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUM5QyxPQUFPLEVBQUUsK0JBQStCLEVBQUUsTUFBTSwyREFBMkQsQ0FBQTtBQUMzRyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQTtBQUN2RixPQUFPLEVBQUUsb0J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1dHRvbnNNb2R1bGUgfSBmcm9tICdAYXBpcGFzcy9idXR0b25zJ1xyXG5pbXBvcnQgeyBJY29uc01vZHVsZSB9IGZyb20gJ0BhcGlwYXNzL2ljb25zJ1xyXG5pbXBvcnQgeyBJbnB1dHNNb2R1bGUgfSBmcm9tICdAYXBpcGFzcy9pbnB1dHMnXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIE1hdERpYWxvZ01vZHVsZSxcclxuICAgIE1hdEZvcm1GaWVsZE1vZHVsZSxcclxuICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgTWF0SW5wdXRNb2R1bGUsXHJcbiAgICBJbnB1dHNNb2R1bGUsXHJcbiAgICBCdXR0b25zTW9kdWxlLFxyXG4gICAgSWNvbnNNb2R1bGVcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgQ29uZmlybVJlbW92ZU1vZGFsRGF0YUNvbXBvbmVudCxcclxuICAgIENvbmZpcm1Nb2RhbERhdGFDb21wb25lbnQsXHJcbiAgICBNb2RhbEhlYWRlckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgQ29uZmlybVJlbW92ZU1vZGFsRGF0YUNvbXBvbmVudCxcclxuICAgIENvbmZpcm1Nb2RhbERhdGFDb21wb25lbnQsXHJcbiAgICBNb2RhbEhlYWRlckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgcHJvdmlkZXJzOiBbXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTW9kYWxzTW9kdWxlIHsgfVxyXG4iXX0=
|
package/esm2020/public-api.mjs
CHANGED
|
@@ -3,4 +3,4 @@ export * from './modals.module';
|
|
|
3
3
|
export * from './lib/confirm-remove-modal/confirm-remove-modal.component';
|
|
4
4
|
export * from './lib/confirm-modal/confirm-modal.component';
|
|
5
5
|
export * from './lib/modal-header/modal-header.component';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL21vZGFscy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFBO0FBQ3hDLGNBQWMsaUJBQWlCLENBQUE7QUFDL0IsY0FBYywyREFBMkQsQ0FBQTtBQUN6RSxjQUFjLDZDQUE2QyxDQUFBO0FBQzNELGNBQWMsMkNBQTJDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9kaWFsb2cnXHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kYWxzLm1vZHVsZSdcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uZmlybS1yZW1vdmUtbW9kYWwvY29uZmlybS1yZW1vdmUtbW9kYWwuY29tcG9uZW50J1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25maXJtLW1vZGFsL2NvbmZpcm0tbW9kYWwuY29tcG9uZW50J1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RhbC1oZWFkZXIvbW9kYWwtaGVhZGVyLmNvbXBvbmVudCdcclxuIl19
|
|
@@ -41,10 +41,10 @@ class ConfirmRemoveModalDataComponent {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
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
|
|
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
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
46
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
|
|
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
48
|
}], ctorParameters: function () {
|
|
49
49
|
return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
50
50
|
type: Inject,
|
|
@@ -67,10 +67,10 @@ class ConfirmModalDataComponent {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
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
|
|
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
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
72
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
|
|
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
74
|
}], ctorParameters: function () {
|
|
75
75
|
return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
76
76
|
type: Inject,
|
|
@@ -109,7 +109,7 @@ ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
109
109
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
110
110
|
</div>
|
|
111
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
|
|
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
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
114
114
|
type: Component,
|
|
115
115
|
args: [{ selector: 'modal-header-component', template: `
|
|
@@ -120,7 +120,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
120
120
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
121
121
|
</div>
|
|
122
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
|
|
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
124
|
}], propDecorators: { title: [{
|
|
125
125
|
type: Input
|
|
126
126
|
}], expanded: [{
|
|
@@ -1 +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\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}\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\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}\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\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: EventEmitter<any> = new EventEmitter();\r\n @Output() expandClick: EventEmitter<boolean> = new EventEmitter();\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}\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;IAE1C,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,CAAC;KACxB;IAED,YAAY,GAAA;;QACV,IAAI,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,IAAI,MAAE,IAAA,IAAA,E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AA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,iBAXrB,+BAA+B;QAC/B,yBAAyB;AACzB,QAAA,oBAAoB,aAZpB,YAAY;QACZ,eAAe;QACf,kBAAkB;QAClB,WAAW;QACX,cAAc;QACd,YAAY;QACZ,aAAa;AACb,QAAA,WAAW,aAQX,+BAA+B;QAC/B,yBAAyB;QACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,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
|
+
{"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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AyB;QACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,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;;;;"}
|
|
@@ -39,10 +39,10 @@ class ConfirmRemoveModalDataComponent {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
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
|
|
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
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmRemoveModalDataComponent, decorators: [{
|
|
44
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
|
|
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
46
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmRemoveDialogData, decorators: [{
|
|
47
47
|
type: Inject,
|
|
48
48
|
args: [MAT_DIALOG_DATA]
|
|
@@ -63,10 +63,10 @@ class ConfirmModalDataComponent {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
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
|
|
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
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmModalDataComponent, decorators: [{
|
|
68
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
|
|
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
70
|
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: ConfirmDialogData, decorators: [{
|
|
71
71
|
type: Inject,
|
|
72
72
|
args: [MAT_DIALOG_DATA]
|
|
@@ -102,7 +102,7 @@ ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
102
102
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
103
103
|
</div>
|
|
104
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
|
|
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
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{ selector: 'modal-header-component', template: `
|
|
@@ -113,7 +113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
113
113
|
<icon *ngIf="showCloseIcon" type="tertiary clickable" name="fas fa-times" [title]="titleClose" (onClick)="closeClick.next()"></icon>
|
|
114
114
|
</div>
|
|
115
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
|
|
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
117
|
}], propDecorators: { title: [{
|
|
118
118
|
type: Input
|
|
119
119
|
}], expanded: [{
|
|
@@ -1 +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\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}\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\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}\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\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: EventEmitter<any> = new EventEmitter();\r\n @Output() expandClick: EventEmitter<boolean> = new EventEmitter();\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}\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;IAE1C,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,SAAS,CAAC,KAAK,EAAE,CAAC;KACxB;IAED,YAAY,GAAA;AACV,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,iBAAiB,IAAI,IAAI,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE;YAC3F,IAAI,CAAC,SAAS,CA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AE;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;;;;"}
|
|
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,SAAS,CAAC,KAAK,EAAE,CAAA;KACvB;IAED,YAAY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;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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apipass/modals",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "15.0.3",
|
|
6
6
|
"@angular/cdk": "15.0.3",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"@angular/material": "15.0.3"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@apipass/buttons": "1.0.
|
|
14
|
-
"@apipass/icons": "1.0.
|
|
15
|
-
"@apipass/inputs": "1.0.
|
|
13
|
+
"@apipass/buttons": "1.0.7",
|
|
14
|
+
"@apipass/icons": "1.0.7",
|
|
15
|
+
"@apipass/inputs": "1.0.7",
|
|
16
16
|
"tslib": "2.5.0"
|
|
17
17
|
},
|
|
18
18
|
"module": "fesm2015/apipass-modals.mjs",
|