monkey-front-core 0.0.389 → 0.0.390
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/components/alerts/alerts.component.mjs +7 -4
- package/esm2020/lib/components/alerts/alerts.module.mjs +20 -4
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +4 -3
- package/fesm2015/monkey-front-core.mjs +43 -25
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +42 -24
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/components/alerts/alerts.component.d.ts +4 -0
- package/lib/components/alerts/alerts.module.d.ts +4 -3
- package/lib/core/interfaces/monkeyecx-config.d.ts +4 -0
- package/monkey-front-core-0.0.390.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.389.tgz +0 -0
|
@@ -2,7 +2,8 @@ import { Component, Input } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "monkey-style-guide";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "@
|
|
5
|
+
import * as i3 from "@angular/router";
|
|
6
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
7
|
export class AlertsComponent {
|
|
7
8
|
constructor(modalService) {
|
|
8
9
|
this.modalService = modalService;
|
|
@@ -10,6 +11,7 @@ export class AlertsComponent {
|
|
|
10
11
|
this._img = '';
|
|
11
12
|
this._title = '';
|
|
12
13
|
this._message = '';
|
|
14
|
+
this._action = null;
|
|
13
15
|
// not to do
|
|
14
16
|
}
|
|
15
17
|
ngOnInit() {
|
|
@@ -17,19 +19,20 @@ export class AlertsComponent {
|
|
|
17
19
|
this._img = config?.data?.img;
|
|
18
20
|
this._title = config?.data?.title;
|
|
19
21
|
this._message = config?.data?.message;
|
|
22
|
+
this._action = config?.data?.action;
|
|
20
23
|
}
|
|
21
24
|
onClose() {
|
|
22
25
|
this.modalService.close(this.modalRef);
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
AlertsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
AlertsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AlertsComponent, selector: "monkeyecx-alerts", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate":
|
|
29
|
+
AlertsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AlertsComponent, selector: "monkeyecx-alerts", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n <ng-container *ngIf=\"_action\">\r\n <monkey-button type=\"primary\" color=\"theme\" \r\n [routerLink]=\"_action.href\">\r\n {{ _action.label | translate }}\r\n </monkey-button>\r\n </ng-container>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }], pipes: { "translate": i4.TranslatePipe } });
|
|
27
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, decorators: [{
|
|
28
31
|
type: Component,
|
|
29
|
-
args: [{ selector: 'monkeyecx-alerts', template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"] }]
|
|
32
|
+
args: [{ selector: 'monkeyecx-alerts', template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n <ng-container *ngIf=\"_action\">\r\n <monkey-button type=\"primary\" color=\"theme\" \r\n [routerLink]=\"_action.href\">\r\n {{ _action.label | translate }}\r\n </monkey-button>\r\n </ng-container>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"] }]
|
|
30
33
|
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }]; }, propDecorators: { config: [{
|
|
31
34
|
type: Input
|
|
32
35
|
}], modalRef: [{
|
|
33
36
|
type: Input
|
|
34
37
|
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnRzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9hbGVydHMvYWxlcnRzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9hbGVydHMvYWxlcnRzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7Ozs7QUFRekQsTUFBTSxPQUFPLGVBQWU7SUFnQjFCLFlBQ1UsWUFBMEM7UUFBMUMsaUJBQVksR0FBWixZQUFZLENBQThCO1FBaEIzQyxXQUFNLEdBQTZCLElBQUksQ0FBQztRQUlqRCxTQUFJLEdBQUcsRUFBRSxDQUFDO1FBRVYsV0FBTSxHQUFHLEVBQUUsQ0FBQztRQUVaLGFBQVEsR0FBRyxFQUFFLENBQUM7UUFFZCxZQUFPLEdBR0ksSUFBSSxD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A8L2Rpdj5cclxuICA8ZGl2IGNsYXNzPVwiYWxlcnQtYm9keVwiPlxyXG4gICAgPHNwYW4gY2xhc3M9XCJ0aXRsZVwiPlxyXG4gICAgICB7eyBfdGl0bGUgfCB0cmFuc2xhdGUgfX1cclxuICAgIDwvc3Bhbj5cclxuICAgIDxzcGFuIGNsYXNzPVwibWVzc2FnZVwiPlxyXG4gICAgICB7eyBfbWVzc2FnZSB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgPC9zcGFuPlxyXG4gIDwvZGl2PlxyXG4gIDxkaXYgY2xhc3M9XCJhbGVydC1mb290ZXJcIj5cclxuICAgIDxtb25rZXktYnV0dG9uIHR5cGU9XCJ0ZXJ0aWFyeVwiIGNvbG9yPVwidGhlbWVcIiAoY2xpY2spPVwib25DbG9zZSgpXCI+XHJcbiAgICAgIHt7ICdCVVRUT05TLkNMT1NFJyB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgPC9tb25rZXktYnV0dG9uPlxyXG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIl9hY3Rpb25cIj5cclxuICAgICAgPG1vbmtleS1idXR0b24gdHlwZT1cInByaW1hcnlcIiBjb2xvcj1cInRoZW1lXCIgXHJcbiAgICAgICAgW3JvdXRlckxpbmtdPVwiX2FjdGlvbi5ocmVmXCI+XHJcbiAgICAgICAge3sgX2FjdGlvbi5sYWJlbCB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgICA8L21vbmtleS1idXR0b24+XHJcbiAgICA8L25nLWNvbnRhaW5lcj5cclxuICA8L2Rpdj5cclxuPC9tb25rZXktbW9kYWw+Il19
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
|
+
import { RouterModule } from '@angular/router';
|
|
3
4
|
import { TranslateModule } from '@ngx-translate/core';
|
|
4
5
|
import { MonkeyButtonModule, MonkeyModalModule } from 'monkey-style-guide';
|
|
5
6
|
import { AlertsComponent } from './alerts.component';
|
|
@@ -8,14 +9,29 @@ import * as i1 from "@ngx-translate/core";
|
|
|
8
9
|
export class AlertsModule {
|
|
9
10
|
}
|
|
10
11
|
AlertsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
AlertsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, declarations: [AlertsComponent], imports: [CommonModule,
|
|
12
|
-
|
|
12
|
+
AlertsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, declarations: [AlertsComponent], imports: [CommonModule,
|
|
13
|
+
RouterModule,
|
|
14
|
+
MonkeyButtonModule,
|
|
15
|
+
MonkeyModalModule, i1.TranslateModule], exports: [AlertsComponent] });
|
|
16
|
+
AlertsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, imports: [[
|
|
17
|
+
CommonModule,
|
|
18
|
+
RouterModule,
|
|
19
|
+
MonkeyButtonModule,
|
|
20
|
+
MonkeyModalModule,
|
|
21
|
+
TranslateModule.forChild()
|
|
22
|
+
]] });
|
|
13
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, decorators: [{
|
|
14
24
|
type: NgModule,
|
|
15
25
|
args: [{
|
|
16
26
|
declarations: [AlertsComponent],
|
|
17
|
-
imports: [
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
RouterModule,
|
|
30
|
+
MonkeyButtonModule,
|
|
31
|
+
MonkeyModalModule,
|
|
32
|
+
TranslateModule.forChild()
|
|
33
|
+
],
|
|
18
34
|
exports: [AlertsComponent]
|
|
19
35
|
}]
|
|
20
36
|
}] });
|
|
21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cmluZztcbiAgfTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBNb25rZXlFY3hDb25maWcge1xuICBwcm9ncmFtPzogTW9ua2V5RWN4Q29uZmlnUHJvZ3JhbTtcbiAgbWFya2V0PzogTW9ua2V5RWN4Q29uZmlnTWFya2V0O1xuICB0aGVtZT86IE1vbmtleUVjeENvbmZpZ1RoZW1lO1xuICBzdXBwb3J0PzogTW9ua2V5RWN4Q29uZmlnU3VwcG9ydDtcbiAgaTE4bj86IE1vbmtleUVjeENvbmZpZ2kxOG47XG4gIGxvZ3M/OiBNb25rZXlFY3hDb25maWdMb2dzO1xuICBleHRlcm5hbGkxOG4/OiBNb25rZXlFY3hDb25maWdFeHRlcm5hbGkxOG47XG4gIG1lc3NhZ2VzPzogTW9ua2V5RWN4Q29uZmlnTWVzc2FnZXM7XG4gIGV4dGVybmFsU2V0dGluZ3M/OiBNb25rZXlFY3hDb25maWdFeHRlcm5hbFNldHRpbmdzO1xuICBndG0/OiBNb25rZXlFY3hDb25maWdHVE07XG4gIGFsZXJ0PzogTW9ua2V5RWN4Q29uZmlnQWxlcnQ7XG59XG4iXX0=
|
|
@@ -11,7 +11,7 @@ export class MonkeyEcxAlertsConfigService {
|
|
|
11
11
|
}
|
|
12
12
|
handleValidation(config) {
|
|
13
13
|
if (config.alert) {
|
|
14
|
-
const { img, title, message, endDate, noEndDate } = config.alert;
|
|
14
|
+
const { img, title, message, endDate, noEndDate, action } = config.alert;
|
|
15
15
|
if (moment.default().isSameOrBefore(moment.default(endDate)) || noEndDate) {
|
|
16
16
|
this.modalService.open(AlertsComponent, {
|
|
17
17
|
color: 'theme',
|
|
@@ -19,7 +19,8 @@ export class MonkeyEcxAlertsConfigService {
|
|
|
19
19
|
data: {
|
|
20
20
|
img,
|
|
21
21
|
title,
|
|
22
|
-
message
|
|
22
|
+
message,
|
|
23
|
+
action
|
|
23
24
|
}
|
|
24
25
|
});
|
|
25
26
|
}
|
|
@@ -37,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
37
38
|
providedIn: 'root'
|
|
38
39
|
}]
|
|
39
40
|
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalFixedService }]; } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWFsZXJ0cy1jb25maWcuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29yZS9zZXJ2aWNlcy9jb25maWcvbW9ua2V5ZWN4LWFsZXJ0cy1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sS0FBSyxPQUFPLE1BQU0sUUFBUSxDQUFDO0FBRWxDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7O0FBRzlFLE1BQU0sTUFBTSxHQUFRLE9BQU8sQ0FBQztBQUs1QixNQUFNLE9BQU8sNEJBQTRCO0lBQ3ZDLFlBQW9CLFlBQStDO1FBQS9DLGlCQUFZLEdBQVosWUFBWSxDQUFtQztRQUNqRSxZQUFZO0lBQ2QsQ0FBQztJQUVPLGdCQUFnQixDQUFDLE1BQXVCO1FBQzlDLElBQUksTUFBTSxDQUFDLEtBQUssRUFBRTtZQUNoQixNQUFNLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDO1lBQ3pFLElBQUksTUFBTSxDQUFDLE9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dGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgTW9ua2V5RWN4QWxlcnRzQ29uZmlnU2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgbW9kYWxTZXJ2aWNlOiBNb25rZXlTdHlsZUd1aWRlTW9kYWxGaXhlZFNlcnZpY2UpIHtcbiAgICAvLyBub3QgdG8gZG9cbiAgfVxuXG4gIHByaXZhdGUgaGFuZGxlVmFsaWRhdGlvbihjb25maWc6IE1vbmtleUVjeENvbmZpZykge1xuICAgIGlmIChjb25maWcuYWxlcnQpIHtcbiAgICAgIGNvbnN0IHsgaW1nLCB0aXRsZSwgbWVzc2FnZSwgZW5kRGF0ZSwgbm9FbmREYXRlLCBhY3Rpb24gfSA9IGNvbmZpZy5hbGVydDtcbiAgICAgIGlmIChtb21lbnQuZGVmYXVsdCgpLmlzU2FtZU9yQmVmb3JlKG1vbWVudC5kZWZhdWx0KGVuZERhdGUpKSB8fCBub0VuZERhdGUpIHtcbiAgICAgICAgdGhpcy5tb2RhbFNlcnZpY2Uub3BlbihBbGVydHNDb21wb25lbnQsIHtcbiAgICAgICAgICBjb2xvcjogJ3RoZW1lJyxcbiAgICAgICAgICBzaXplOiAnbWQnLFxuICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgIGltZyxcbiAgICAgICAgICAgIHRpdGxlLFxuICAgICAgICAgICAgbWVzc2FnZSxcbiAgICAgICAgICAgIGFjdGlvblxuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGFwcGx5KGNvbmZpZzogTW9ua2V5RWN4Q29uZmlnKSB7XG4gICAgdGhpcy5oYW5kbGVWYWxpZGF0aW9uKGNvbmZpZyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -4,6 +4,8 @@ import * as i1 from 'monkey-style-guide';
|
|
|
4
4
|
import { MonkeyButtonModule, MonkeyModalModule, MonkeyIconModule, MonkeyInputModule, MonkeyRadioButtonModule, MonkeyOptionModule, MonkeyUtils, MonkeyStyleGuideModule, MonkeyStyleGuideModalService, MonkeyStyleGuideSettingsService, MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { CommonModule, formatNumber, CurrencyPipe } from '@angular/common';
|
|
7
|
+
import * as i2$1 from '@angular/router';
|
|
8
|
+
import { RouterModule, NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
|
|
7
9
|
import * as i1$1 from '@ngx-translate/core';
|
|
8
10
|
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
9
11
|
import * as moment_ from 'moment';
|
|
@@ -11,10 +13,8 @@ import { map, catchError, filter, take, takeWhile, first, takeUntil, mergeMap, f
|
|
|
11
13
|
import { throwError, BehaviorSubject, Subscription, interval, concat, of, Subject, from } from 'rxjs';
|
|
12
14
|
import * as i1$2 from '@angular/common/http';
|
|
13
15
|
import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
14
|
-
import * as i2$
|
|
16
|
+
import * as i2$2 from '@angular/platform-browser';
|
|
15
17
|
import * as i1$3 from 'ngx-cookie-service';
|
|
16
|
-
import * as i2$2 from '@angular/router';
|
|
17
|
-
import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
|
|
18
18
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
19
19
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
20
20
|
import * as i1$4 from '@angular/cdk/overlay';
|
|
@@ -35,24 +35,26 @@ class AlertsComponent {
|
|
|
35
35
|
this._img = '';
|
|
36
36
|
this._title = '';
|
|
37
37
|
this._message = '';
|
|
38
|
+
this._action = null;
|
|
38
39
|
// not to do
|
|
39
40
|
}
|
|
40
41
|
ngOnInit() {
|
|
41
|
-
var _a, _b, _c;
|
|
42
|
+
var _a, _b, _c, _d;
|
|
42
43
|
const { config } = this;
|
|
43
44
|
this._img = (_a = config === null || config === void 0 ? void 0 : config.data) === null || _a === void 0 ? void 0 : _a.img;
|
|
44
45
|
this._title = (_b = config === null || config === void 0 ? void 0 : config.data) === null || _b === void 0 ? void 0 : _b.title;
|
|
45
46
|
this._message = (_c = config === null || config === void 0 ? void 0 : config.data) === null || _c === void 0 ? void 0 : _c.message;
|
|
47
|
+
this._action = (_d = config === null || config === void 0 ? void 0 : config.data) === null || _d === void 0 ? void 0 : _d.action;
|
|
46
48
|
}
|
|
47
49
|
onClose() {
|
|
48
50
|
this.modalService.close(this.modalRef);
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
AlertsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
-
AlertsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AlertsComponent, selector: "monkeyecx-alerts", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$1.TranslatePipe } });
|
|
54
|
+
AlertsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AlertsComponent, selector: "monkeyecx-alerts", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n <ng-container *ngIf=\"_action\">\r\n <monkey-button type=\"primary\" color=\"theme\" \r\n [routerLink]=\"_action.href\">\r\n {{ _action.label | translate }}\r\n </monkey-button>\r\n </ng-container>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }], pipes: { "translate": i1$1.TranslatePipe } });
|
|
53
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, decorators: [{
|
|
54
56
|
type: Component,
|
|
55
|
-
args: [{ selector: 'monkeyecx-alerts', template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"] }]
|
|
57
|
+
args: [{ selector: 'monkeyecx-alerts', template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"alert-header\">\r\n <img [src]=\"_img\">\r\n </div>\r\n <div class=\"alert-body\">\r\n <span class=\"title\">\r\n {{ _title | translate }}\r\n </span>\r\n <span class=\"message\">\r\n {{ _message | translate }}\r\n </span>\r\n </div>\r\n <div class=\"alert-footer\">\r\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'BUTTONS.CLOSE' | translate }}\r\n </monkey-button>\r\n <ng-container *ngIf=\"_action\">\r\n <monkey-button type=\"primary\" color=\"theme\" \r\n [routerLink]=\"_action.href\">\r\n {{ _action.label | translate }}\r\n </monkey-button>\r\n </ng-container>\r\n </div>\r\n</monkey-modal>", styles: [":host ::ng-deep monkey-modal mecx-monkey-modal{padding:0}:host ::ng-deep monkey-modal mecx-monkey-modal .body{margin-bottom:0}:host ::ng-deep monkey-modal .mecx-monkey-modal__size-md{max-width:448px}:host .alert-header{height:100%}@media screen and (max-width: 959px){:host .alert-header{min-height:212px}}:host .alert-header img{border-radius:12px 12px 0 0;-o-object-fit:cover;object-fit:cover;width:100%;max-height:280px}@media screen and (max-width: 959px){:host .alert-header img{height:200px}}:host .alert-body{display:flex;flex-direction:column;gap:16px;padding:24px;margin:auto}:host .alert-body .title{font-style:normal;font-weight:700;font-size:32px;line-height:40px;text-align:center;color:#1f2024}:host .alert-body .message{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;letter-spacing:.03em;color:#545a63}:host .alert-footer{display:flex;justify-content:flex-end;padding:0 24px 24px;position:sticky;bottom:0;background:#fafafa}\n"] }]
|
|
56
58
|
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }]; }, propDecorators: { config: [{
|
|
57
59
|
type: Input
|
|
58
60
|
}], modalRef: [{
|
|
@@ -62,13 +64,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
62
64
|
class AlertsModule {
|
|
63
65
|
}
|
|
64
66
|
AlertsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
-
AlertsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, declarations: [AlertsComponent], imports: [CommonModule,
|
|
66
|
-
|
|
67
|
+
AlertsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, declarations: [AlertsComponent], imports: [CommonModule,
|
|
68
|
+
RouterModule,
|
|
69
|
+
MonkeyButtonModule,
|
|
70
|
+
MonkeyModalModule, i1$1.TranslateModule], exports: [AlertsComponent] });
|
|
71
|
+
AlertsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, imports: [[
|
|
72
|
+
CommonModule,
|
|
73
|
+
RouterModule,
|
|
74
|
+
MonkeyButtonModule,
|
|
75
|
+
MonkeyModalModule,
|
|
76
|
+
TranslateModule.forChild()
|
|
77
|
+
]] });
|
|
67
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsModule, decorators: [{
|
|
68
79
|
type: NgModule,
|
|
69
80
|
args: [{
|
|
70
81
|
declarations: [AlertsComponent],
|
|
71
|
-
imports: [
|
|
82
|
+
imports: [
|
|
83
|
+
CommonModule,
|
|
84
|
+
RouterModule,
|
|
85
|
+
MonkeyButtonModule,
|
|
86
|
+
MonkeyModalModule,
|
|
87
|
+
TranslateModule.forChild()
|
|
88
|
+
],
|
|
72
89
|
exports: [AlertsComponent]
|
|
73
90
|
}]
|
|
74
91
|
}] });
|
|
@@ -581,14 +598,14 @@ class MonkeyEcxBlobSecurePipe {
|
|
|
581
598
|
}));
|
|
582
599
|
}
|
|
583
600
|
}
|
|
584
|
-
MonkeyEcxBlobSecurePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, deps: [{ token: MonkeyEcxService }, { token: i2$
|
|
601
|
+
MonkeyEcxBlobSecurePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, deps: [{ token: MonkeyEcxService }, { token: i2$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
585
602
|
MonkeyEcxBlobSecurePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, name: "monkeyecxBlobSecure" });
|
|
586
603
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
|
|
587
604
|
type: Pipe,
|
|
588
605
|
args: [{
|
|
589
606
|
name: 'monkeyecxBlobSecure'
|
|
590
607
|
}]
|
|
591
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$
|
|
608
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i2$2.DomSanitizer }]; } });
|
|
592
609
|
|
|
593
610
|
class MonkeyEcxDisplayFirstNamePipe {
|
|
594
611
|
transform(name) {
|
|
@@ -1672,14 +1689,14 @@ class MonkeyEcxProgressBarService {
|
|
|
1672
1689
|
return ((_a = this.visible) === null || _a === void 0 ? void 0 : _a.asObservable()) || null;
|
|
1673
1690
|
}
|
|
1674
1691
|
}
|
|
1675
|
-
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i2$
|
|
1692
|
+
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1676
1693
|
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
1677
1694
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
1678
1695
|
type: Injectable,
|
|
1679
1696
|
args: [{
|
|
1680
1697
|
providedIn: 'root'
|
|
1681
1698
|
}]
|
|
1682
|
-
}], ctorParameters: function () { return [{ type: i2$
|
|
1699
|
+
}], ctorParameters: function () { return [{ type: i2$1.Router }]; } });
|
|
1683
1700
|
|
|
1684
1701
|
class MonkeyEcxProgressBarComponent {
|
|
1685
1702
|
constructor(progressBarService) {
|
|
@@ -2440,7 +2457,7 @@ class MonkeyEcxPopoverDirective {
|
|
|
2440
2457
|
this.eventsSubs.unsubscribe();
|
|
2441
2458
|
}
|
|
2442
2459
|
}
|
|
2443
|
-
MonkeyEcxPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.Overlay }, { token: i1$4.OverlayPositionBuilder }, { token: i2$
|
|
2460
|
+
MonkeyEcxPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i1$4.Overlay }, { token: i1$4.OverlayPositionBuilder }, { token: i2$1.Router }, { token: POPOVER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2444
2461
|
MonkeyEcxPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: { popover: ["monkeyecxPopover", "popover"], closed: ["monkeyecxPopoverClosed", "closed"], target: ["monkeyecxPopoverTarget", "target"], minwidth: ["monkeyecxPopoverMinwidth", "minwidth"], backdrop: ["monkeyecxPopoverBackdrop", "backdrop"], watch: ["monkeyecxPopoverWatch", "watch"], dir: ["monkeyecxPopoverDir", "dir"], contextmenu: ["monkeyecxPopoverContextmenu", "contextmenu"], height: ["monkeyecxPopoverHeight", "height"] }, ngImport: i0 });
|
|
2445
2462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, decorators: [{
|
|
2446
2463
|
type: Directive,
|
|
@@ -2448,7 +2465,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2448
2465
|
selector: '[monkeyecxPopover]'
|
|
2449
2466
|
}]
|
|
2450
2467
|
}], ctorParameters: function () {
|
|
2451
|
-
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.Overlay }, { type: i1$4.OverlayPositionBuilder }, { type: i2$
|
|
2468
|
+
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.Overlay }, { type: i1$4.OverlayPositionBuilder }, { type: i2$1.Router }, { type: undefined, decorators: [{
|
|
2452
2469
|
type: Inject,
|
|
2453
2470
|
args: [POPOVER_OPTIONS]
|
|
2454
2471
|
}, {
|
|
@@ -3336,14 +3353,14 @@ class MonkeyEcxMaintenanceConfigService {
|
|
|
3336
3353
|
this.handleValidation(config);
|
|
3337
3354
|
}
|
|
3338
3355
|
}
|
|
3339
|
-
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i2$
|
|
3356
|
+
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3340
3357
|
MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
|
|
3341
3358
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
|
|
3342
3359
|
type: Injectable,
|
|
3343
3360
|
args: [{
|
|
3344
3361
|
providedIn: 'root'
|
|
3345
3362
|
}]
|
|
3346
|
-
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }, { type: i2$
|
|
3363
|
+
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }, { type: i2$1.Router }]; } });
|
|
3347
3364
|
|
|
3348
3365
|
class MonkeyEcxFeatureToggleService {
|
|
3349
3366
|
constructor() {
|
|
@@ -3476,7 +3493,7 @@ class MonkeyEcxAlertsConfigService {
|
|
|
3476
3493
|
}
|
|
3477
3494
|
handleValidation(config) {
|
|
3478
3495
|
if (config.alert) {
|
|
3479
|
-
const { img, title, message, endDate, noEndDate } = config.alert;
|
|
3496
|
+
const { img, title, message, endDate, noEndDate, action } = config.alert;
|
|
3480
3497
|
if (moment.default().isSameOrBefore(moment.default(endDate)) || noEndDate) {
|
|
3481
3498
|
this.modalService.open(AlertsComponent, {
|
|
3482
3499
|
color: 'theme',
|
|
@@ -3484,7 +3501,8 @@ class MonkeyEcxAlertsConfigService {
|
|
|
3484
3501
|
data: {
|
|
3485
3502
|
img,
|
|
3486
3503
|
title,
|
|
3487
|
-
message
|
|
3504
|
+
message,
|
|
3505
|
+
action
|
|
3488
3506
|
}
|
|
3489
3507
|
});
|
|
3490
3508
|
}
|
|
@@ -4242,14 +4260,14 @@ class MonkeyEcxAuthGuardByRole {
|
|
|
4242
4260
|
});
|
|
4243
4261
|
}
|
|
4244
4262
|
}
|
|
4245
|
-
MonkeyEcxAuthGuardByRole.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, deps: [{ token: MonkeyEcxTokenStorageService }, { token: i2$
|
|
4263
|
+
MonkeyEcxAuthGuardByRole.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, deps: [{ token: MonkeyEcxTokenStorageService }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4246
4264
|
MonkeyEcxAuthGuardByRole.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, providedIn: 'root' });
|
|
4247
4265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardByRole, decorators: [{
|
|
4248
4266
|
type: Injectable,
|
|
4249
4267
|
args: [{
|
|
4250
4268
|
providedIn: 'root'
|
|
4251
4269
|
}]
|
|
4252
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxTokenStorageService }, { type: i2$
|
|
4270
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxTokenStorageService }, { type: i2$1.Router }]; } });
|
|
4253
4271
|
|
|
4254
4272
|
class MonkeyEcxAuthGuard {
|
|
4255
4273
|
constructor(monkeyecxAuthenticationService) {
|
|
@@ -4503,14 +4521,14 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
4503
4521
|
}
|
|
4504
4522
|
}
|
|
4505
4523
|
}
|
|
4506
|
-
MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxTokenStorageService }, { token: MonkeyEcxAuthenticationService }, { token: i2$
|
|
4524
|
+
MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxTokenStorageService }, { token: MonkeyEcxAuthenticationService }, { token: i2$1.Router }, { token: i1.MonkeyStyleGuideSnackbarService }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4507
4525
|
MonkeyEcxHttpErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, providedIn: 'root' });
|
|
4508
4526
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, decorators: [{
|
|
4509
4527
|
type: Injectable,
|
|
4510
4528
|
args: [{
|
|
4511
4529
|
providedIn: 'root'
|
|
4512
4530
|
}]
|
|
4513
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxTokenStorageService }, { type: MonkeyEcxAuthenticationService }, { type: i2$
|
|
4531
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxTokenStorageService }, { type: MonkeyEcxAuthenticationService }, { type: i2$1.Router }, { type: i1.MonkeyStyleGuideSnackbarService }, { type: i1$1.TranslateService }]; } });
|
|
4514
4532
|
|
|
4515
4533
|
class MonkeyEcxOthersErrorsHandlingService {
|
|
4516
4534
|
constructor(modalService) {
|
|
@@ -5017,14 +5035,14 @@ class MonkeyEcxDiscoveryParamsService {
|
|
|
5017
5035
|
return found;
|
|
5018
5036
|
}
|
|
5019
5037
|
}
|
|
5020
|
-
MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i2$
|
|
5038
|
+
MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5021
5039
|
MonkeyEcxDiscoveryParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, providedIn: 'root' });
|
|
5022
5040
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, decorators: [{
|
|
5023
5041
|
type: Injectable,
|
|
5024
5042
|
args: [{
|
|
5025
5043
|
providedIn: 'root'
|
|
5026
5044
|
}]
|
|
5027
|
-
}], ctorParameters: function () { return [{ type: i2$
|
|
5045
|
+
}], ctorParameters: function () { return [{ type: i2$1.Router }]; } });
|
|
5028
5046
|
|
|
5029
5047
|
class MonkeyEcxRequestScheduleService {
|
|
5030
5048
|
constructor(monkeyecxService, monkeyLoggedHandlingService) {
|