monkey-front-core 0.0.273 → 0.0.274
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/README.md +24 -24
- package/esm2020/lib/components/alerts/alerts.component.mjs +3 -3
- package/esm2020/lib/components/alerts/alerts.module.mjs +1 -1
- package/esm2020/lib/components/alerts/index.mjs +1 -1
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +5 -5
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +1 -1
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +1 -1
- package/esm2020/lib/components/index.mjs +1 -1
- package/esm2020/lib/components/progress-bar/index.mjs +1 -1
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +1 -1
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +1 -1
- package/esm2020/lib/components/version-changed/index.mjs +1 -1
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +3 -3
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +1 -1
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +1 -1
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +1 -1
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +1 -1
- package/esm2020/lib/core/directives/index.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +1 -1
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +1 -1
- package/esm2020/lib/core/index.mjs +1 -1
- package/esm2020/lib/core/interceptors/index.mjs +1 -1
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +1 -1
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +1 -1
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +1 -1
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +1 -1
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +1 -1
- package/esm2020/lib/core/interfaces/index.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +1 -1
- package/esm2020/lib/core/interfaces/schedules/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +1 -1
- package/esm2020/lib/core/model/index.mjs +1 -1
- package/esm2020/lib/core/pipes/index.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +1 -1
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +1 -1
- package/esm2020/lib/core/services/alerts/index.mjs +1 -1
- package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +1 -1
- package/esm2020/lib/core/services/auth/index.mjs +1 -1
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +1 -1
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +1 -1
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +1 -1
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +1 -1
- package/esm2020/lib/core/services/commons/index.mjs +1 -1
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +16 -16
- package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +3 -3
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +1 -1
- package/esm2020/lib/core/services/error/index.mjs +1 -1
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +1 -1
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/index.mjs +1 -1
- package/esm2020/lib/core/services/logged/index.mjs +1 -1
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +1 -1
- package/esm2020/lib/core/services/pagination/index.mjs +1 -1
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +1 -1
- package/esm2020/lib/core/services/request-download/index.mjs +1 -1
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/request-paged/index.mjs +1 -1
- package/esm2020/lib/core/services/request-queue/index.mjs +1 -1
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/routes/index.mjs +1 -1
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +1 -1
- package/esm2020/lib/core/services/schedules/index.mjs +1 -1
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +1 -1
- package/esm2020/lib/core/services/storage/index.mjs +1 -1
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +1 -1
- package/esm2020/lib/core/specification-search/index.mjs +1 -1
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +1 -1
- package/esm2020/lib/core/utils/decorators-utils.mjs +1 -1
- package/esm2020/lib/core/utils/index.mjs +1 -1
- package/esm2020/lib/core/utils/statics.mjs +1 -1
- package/esm2020/lib/core/utils/utils.mjs +1 -1
- package/esm2020/lib/core/utils/validators.mjs +1 -1
- package/esm2020/lib/monkey-front-core.module.mjs +1 -1
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/monkey-front-core.mjs +27 -27
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +27 -27
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +2 -2
- package/lib/core/interfaces/index.d.ts +1 -1
- package/lib/core/interfaces/{monkeyecx-config-boostrap.d.ts → monkeyecx-config-bootstrap.d.ts} +1 -1
- package/lib/core/interfaces/monkeyecx-filter.d.ts +1 -1
- package/lib/core/services/config/monkeyecx-config.service.d.ts +2 -2
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +2 -2
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +2 -2
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +2 -2
- package/monkey-front-core-0.0.274.tgz +0 -0
- package/package.json +3 -3
- package/esm2020/lib/core/interfaces/monkeyecx-config-boostrap.mjs +0 -2
- package/monkey-front-core-0.0.273.tgz +0 -0
|
@@ -45,10 +45,10 @@ class AlertsComponent {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
AlertsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
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\">\n <div class=\"alert-header\">\n <img [src]=\"_img\">\n </div>\n <div class=\"alert-body\">\n <span class=\"title\">\n {{ _title | translate }}\n </span>\n <span class=\"message\">\n {{ _message | translate }}\n </span>\n </div>\n <div class=\"alert-footer\">\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\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 } });
|
|
48
|
+
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 } });
|
|
49
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AlertsComponent, decorators: [{
|
|
50
50
|
type: Component,
|
|
51
|
-
args: [{ selector: 'monkeyecx-alerts', template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"alert-header\">\n <img [src]=\"_img\">\n </div>\n <div class=\"alert-body\">\n <span class=\"title\">\n {{ _title | translate }}\n </span>\n <span class=\"message\">\n {{ _message | translate }}\n </span>\n </div>\n <div class=\"alert-footer\">\n <monkey-button type=\"tertiary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\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"] }]
|
|
51
|
+
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"] }]
|
|
52
52
|
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }]; }, propDecorators: { config: [{
|
|
53
53
|
type: Input
|
|
54
54
|
}], modalRef: [{
|
|
@@ -322,20 +322,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
322
322
|
class ClosedToMaintenanceComponent {
|
|
323
323
|
constructor() {
|
|
324
324
|
this.config = null;
|
|
325
|
-
this.
|
|
325
|
+
this._configBootstrap = null;
|
|
326
326
|
}
|
|
327
327
|
ngOnInit() {
|
|
328
|
-
this.
|
|
328
|
+
this._configBootstrap = this.config?.data;
|
|
329
329
|
}
|
|
330
330
|
onClose() {
|
|
331
331
|
document.location.reload();
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
ClosedToMaintenanceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
335
|
-
ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ClosedToMaintenanceComponent, selector: "monkeyecx-closed-to-maintenance", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\n {{
|
|
335
|
+
ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ClosedToMaintenanceComponent, selector: "monkeyecx-closed-to-maintenance", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\r\n {{ _configBootstrap?.maintenance?.endDate | monkeyecxFormatDateTimelapse: true }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-4' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.BUTTONS.UPDATE-MAINTENANCE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-closed-to-maintenance .body{padding:24px;width:100%}monkeyecx-closed-to-maintenance .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53}monkeyecx-closed-to-maintenance .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-closed-to-maintenance .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-closed-to-maintenance .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-closed-to-maintenance monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\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, "monkeyecxFormatDateTimelapse": MonkeyEcxFormatDateTimelapsePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
336
336
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceComponent, decorators: [{
|
|
337
337
|
type: Component,
|
|
338
|
-
args: [{ selector: 'monkeyecx-closed-to-maintenance', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\n {{
|
|
338
|
+
args: [{ selector: 'monkeyecx-closed-to-maintenance', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\r\n {{ _configBootstrap?.maintenance?.endDate | monkeyecxFormatDateTimelapse: true }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-4' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.BUTTONS.UPDATE-MAINTENANCE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-closed-to-maintenance .body{padding:24px;width:100%}monkeyecx-closed-to-maintenance .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53}monkeyecx-closed-to-maintenance .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-closed-to-maintenance .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-closed-to-maintenance .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-closed-to-maintenance monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
|
|
339
339
|
}], propDecorators: { config: [{
|
|
340
340
|
type: Input
|
|
341
341
|
}], modalRef: [{
|
|
@@ -1622,10 +1622,10 @@ class MonkeyEcxProgressBarComponent {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
1624
|
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1625
|
-
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1625
|
+
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\r\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\r\n</ng-container>\r\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1626
1626
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
1627
1627
|
type: Component,
|
|
1628
|
-
args: [{ selector: 'monkeyecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
|
|
1628
|
+
args: [{ selector: 'monkeyecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\r\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\r\n</ng-container>\r\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
|
|
1629
1629
|
}], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
|
|
1630
1630
|
|
|
1631
1631
|
class MonkeyEcxProgressBarModule {
|
|
@@ -1651,10 +1651,10 @@ class VersionChangedComponent {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
1653
|
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1654
|
-
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\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 }, encapsulation: i0.ViewEncapsulation.None });
|
|
1654
|
+
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\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 }, encapsulation: i0.ViewEncapsulation.None });
|
|
1655
1655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
1656
1656
|
type: Component,
|
|
1657
|
-
args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
|
|
1657
|
+
args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
|
|
1658
1658
|
}], propDecorators: { config: [{
|
|
1659
1659
|
type: Input
|
|
1660
1660
|
}], modalRef: [{
|
|
@@ -2960,7 +2960,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2960
2960
|
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i1$1.TranslateService }, { type: MonkeyEcxCookieStorageService }, { type: MonkeyEcxErrorConfigService }]; }, propDecorators: { apply: [] } });
|
|
2961
2961
|
|
|
2962
2962
|
class MonkeyEcxLogsConfigService {
|
|
2963
|
-
apply(params,
|
|
2963
|
+
apply(params, configBootstrap, environment, identifyCode) {
|
|
2964
2964
|
const { program, logs } = params;
|
|
2965
2965
|
if (logs?.enabled && environment.environment !== 'dev') {
|
|
2966
2966
|
datadogRum.init({
|
|
@@ -2971,7 +2971,7 @@ class MonkeyEcxLogsConfigService {
|
|
|
2971
2971
|
sampleRate: 100,
|
|
2972
2972
|
replaySampleRate: 100,
|
|
2973
2973
|
env: `monkey-front-${identifyCode}-${environment.environment}`,
|
|
2974
|
-
version:
|
|
2974
|
+
version: configBootstrap?.version,
|
|
2975
2975
|
trackInteractions: true,
|
|
2976
2976
|
trackSessionAcrossSubdomains: true,
|
|
2977
2977
|
useSecureSessionCookie: true,
|
|
@@ -3270,29 +3270,29 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3270
3270
|
this.monkeyGAConfigService = monkeyGAConfigService;
|
|
3271
3271
|
this.monkeyEcxAlertsConfigService = monkeyEcxAlertsConfigService;
|
|
3272
3272
|
this.configSubject$ = new BehaviorSubject({});
|
|
3273
|
-
this.
|
|
3273
|
+
this.configBootstrapSubject$ = new BehaviorSubject({});
|
|
3274
3274
|
}
|
|
3275
3275
|
internalValidations(...args) {
|
|
3276
3276
|
const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
|
|
3277
|
-
const
|
|
3277
|
+
const configBootstrap = args[0];
|
|
3278
3278
|
const callback = args[1];
|
|
3279
3279
|
monkeyecxSecurityConsoleConfigService.apply();
|
|
3280
|
-
monkeyecxServiceWorkerConfigService.apply(
|
|
3281
|
-
monkeyecxMaintenanceConfigService.apply(
|
|
3282
|
-
callback(
|
|
3280
|
+
monkeyecxServiceWorkerConfigService.apply(configBootstrap);
|
|
3281
|
+
monkeyecxMaintenanceConfigService.apply(configBootstrap);
|
|
3282
|
+
callback(configBootstrap);
|
|
3283
3283
|
}
|
|
3284
|
-
getWhiteLabelSettings(monkeyecxCode,
|
|
3284
|
+
getWhiteLabelSettings(monkeyecxCode, configBootstrap, callback, environment, identifyCode) {
|
|
3285
3285
|
const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyGAConfigService, monkeyEcxAlertsConfigService, internalValidations } = this;
|
|
3286
3286
|
const url = `${environment.urlAssets}/${monkeyecxCode.toLowerCase()}`;
|
|
3287
3287
|
monkeyecxService
|
|
3288
3288
|
?.get(`${url}/white-label.json`)
|
|
3289
3289
|
?.subscribe((config) => {
|
|
3290
3290
|
monkeyecxi18nConfigService.apply(config, environment);
|
|
3291
|
-
monkeyecxLogsConfigService.apply(config,
|
|
3291
|
+
monkeyecxLogsConfigService.apply(config, configBootstrap, environment, identifyCode);
|
|
3292
3292
|
monkeyEcxFeatureToggleService.apply(configSubject$, environment);
|
|
3293
3293
|
monkeyGAConfigService.apply(config, environment);
|
|
3294
3294
|
monkeyEcxAlertsConfigService.apply(config);
|
|
3295
|
-
monkeyStyleGuideSettingsService.
|
|
3295
|
+
monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBootstrap, callback, environment));
|
|
3296
3296
|
configSubject$.next(config);
|
|
3297
3297
|
}, (err) => {
|
|
3298
3298
|
monkeyecxErrorConfigService.apply('theme');
|
|
@@ -3301,9 +3301,9 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3301
3301
|
});
|
|
3302
3302
|
}
|
|
3303
3303
|
init(callback, environment, identifyCode, monkeyecxCode) {
|
|
3304
|
-
const { monkeyecxService,
|
|
3304
|
+
const { monkeyecxService, configBootstrapSubject$, monkeyecxErrorConfigService } = this;
|
|
3305
3305
|
monkeyecxService
|
|
3306
|
-
?.get(`${environment.
|
|
3306
|
+
?.get(`${environment.bootstrapAssets}`, {
|
|
3307
3307
|
observe: 'response'
|
|
3308
3308
|
})
|
|
3309
3309
|
?.subscribe((resp) => {
|
|
@@ -3311,23 +3311,23 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
3311
3311
|
const monkeyCode = headers.get('monkey-code') || monkeyecxCode;
|
|
3312
3312
|
if (monkeyCode) {
|
|
3313
3313
|
this.getWhiteLabelSettings(monkeyCode, body, callback, environment, identifyCode);
|
|
3314
|
-
|
|
3314
|
+
configBootstrapSubject$.next(body);
|
|
3315
3315
|
}
|
|
3316
3316
|
else {
|
|
3317
3317
|
monkeyecxErrorConfigService.apply('theme');
|
|
3318
|
-
console.error(`
|
|
3318
|
+
console.error(`Bootstrap ${monkeyCode} Configuration not found!`);
|
|
3319
3319
|
}
|
|
3320
3320
|
}, (err) => {
|
|
3321
3321
|
monkeyecxErrorConfigService.apply('theme');
|
|
3322
|
-
console.error('
|
|
3322
|
+
console.error('Bootstrap Configuration not found!');
|
|
3323
3323
|
throwError(err);
|
|
3324
3324
|
});
|
|
3325
3325
|
}
|
|
3326
3326
|
config() {
|
|
3327
3327
|
return this.configSubject$.asObservable();
|
|
3328
3328
|
}
|
|
3329
|
-
|
|
3330
|
-
return this.
|
|
3329
|
+
bootstrapConfig() {
|
|
3330
|
+
return this.configBootstrapSubject$.asObservable();
|
|
3331
3331
|
}
|
|
3332
3332
|
}
|
|
3333
3333
|
MonkeyEcxConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxi18nConfigService }, { token: MonkeyEcxLogsConfigService }, { token: i1.MonkeyStyleGuideSettingsService }, { token: MonkeyEcxServiceWorkerConfigService }, { token: MonkeyEcxSecurityConsoleConfigService }, { token: MonkeyEcxMaintenanceConfigService }, { token: MonkeyEcxErrorConfigService }, { token: MonkeyEcxFeatureToggleService }, { token: MonkeyEcxGAConfigService }, { token: MonkeyEcxAlertsConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|