monkey-front-core 0.0.30 → 0.0.34
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/bundles/monkey-front-core.umd.js +387 -361
- package/bundles/monkey-front-core.umd.js.map +1 -1
- package/esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.component.js +4 -4
- package/esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.module.js +5 -5
- package/esm2015/lib/components/closed-to-maintenance/index.js +1 -1
- package/esm2015/lib/components/progress-bar/index.js +1 -1
- package/esm2015/lib/components/progress-bar/progress-bar.component.js +4 -4
- package/esm2015/lib/components/progress-bar/progress-bar.module.js +5 -5
- package/esm2015/lib/components/progress-bar/progress-bar.service.js +4 -4
- package/esm2015/lib/components/version-changed/index.js +1 -1
- package/esm2015/lib/components/version-changed/version-changed.component.js +4 -4
- package/esm2015/lib/components/version-changed/version-changed.module.js +5 -5
- package/esm2015/lib/core/decorators/index.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-decorators.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-download-decorators.js +1 -1
- package/esm2015/lib/core/decorators/monkeyecx-upload-decorators.js +1 -1
- package/esm2015/lib/core/directives/index.js +1 -1
- package/esm2015/lib/core/directives/monkeyecx-directives-module.js +5 -5
- package/esm2015/lib/core/directives/monkeyecx-drag-drop.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-format-currency.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-format-upper.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-only-alpha-numeric-directive.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-only-number-directive.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-security-directive.js +4 -4
- package/esm2015/lib/core/directives/monkeyecx-tooltip-directive.js +4 -4
- package/esm2015/lib/core/index.js +1 -1
- package/esm2015/lib/core/interceptors/index.js +1 -1
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-error.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-header.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-interceptor.module.js +5 -5
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.js +4 -4
- package/esm2015/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.js +4 -4
- package/esm2015/lib/core/interfaces/index.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-auth-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-company.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-config-boostrap.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-config.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-error-response.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-handled-error-response.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-header-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-intercom-options.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-me-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-navigation.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-program.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-releases.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-request-in-progress.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-request-paged.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-response-paged.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-service-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-token-credentials.js +1 -1
- package/esm2015/lib/core/interfaces/monkeyecx-translate-options.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-download.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-downloaded.js +1 -1
- package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-item-download.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-queue.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/index.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.js +1 -1
- package/esm2015/lib/core/interfaces/request-upload/monkeyecx-request-upload.js +1 -1
- package/esm2015/lib/core/interfaces/schedules/index.js +1 -1
- package/esm2015/lib/core/interfaces/schedules/monkeyecx-request-schedule.js +1 -1
- package/esm2015/lib/core/model/index.js +1 -1
- package/esm2015/lib/core/model/monkeyecx-model.js +1 -1
- package/esm2015/lib/core/pipes/index.js +1 -1
- package/esm2015/lib/core/pipes/monkeyecx-display-first-name.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-currency.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-date-timelapse.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-document.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-number.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-size.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-type-document.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-value.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-format-zipcode.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-pipes.module.js +5 -5
- package/esm2015/lib/core/pipes/monkeyecx-text-truncate.js +4 -4
- package/esm2015/lib/core/pipes/monkeyecx-truncate-qtd.js +4 -4
- package/esm2015/lib/core/services/auth/index.js +1 -1
- package/esm2015/lib/core/services/auth/monkeyecx-auth-guard-login.service.js +4 -4
- package/esm2015/lib/core/services/auth/monkeyecx-auth-guard.service.js +4 -4
- package/esm2015/lib/core/services/auth/monkeyecx-authentication.service.js +4 -4
- package/esm2015/lib/core/services/commons/index.js +1 -1
- package/esm2015/lib/core/services/commons/monkeyecx-commons.service.js +1 -1
- package/esm2015/lib/core/services/config/index.js +1 -1
- package/esm2015/lib/core/services/config/monkeyecx-config.module.js +5 -5
- package/esm2015/lib/core/services/config/monkeyecx-config.service.js +20 -15
- package/esm2015/lib/core/services/config/monkeyecx-error-config.service.js +85 -0
- package/esm2015/lib/core/services/config/monkeyecx-feature-toggle.service.js +14 -11
- package/esm2015/lib/core/services/config/monkeyecx-i18n-config.service.js +17 -11
- package/esm2015/lib/core/services/config/monkeyecx-logs-config.service.js +12 -10
- package/esm2015/lib/core/services/config/monkeyecx-maintenance-config.service.js +4 -4
- package/esm2015/lib/core/services/config/monkeyecx-security-console-config.service.js +4 -4
- package/esm2015/lib/core/services/config/monkeyecx-service-worker-config.service.js +4 -4
- package/esm2015/lib/core/services/error/index.js +1 -1
- package/esm2015/lib/core/services/error/monkeyecx-error-handling.module.js +5 -5
- package/esm2015/lib/core/services/error/monkeyecx-error-handling.service.js +4 -4
- package/esm2015/lib/core/services/error/monkeyecx-http-error-handling.service.js +4 -4
- package/esm2015/lib/core/services/error/monkeyecx-others-errors-handling.service.js +4 -4
- package/esm2015/lib/core/services/index.js +1 -1
- package/esm2015/lib/core/services/logged/index.js +1 -1
- package/esm2015/lib/core/services/logged/monkeyecx-logged-handling.service.js +4 -4
- package/esm2015/lib/core/services/monkeyecx-handling.service.js +4 -4
- package/esm2015/lib/core/services/monkeyecx-service.service.js +4 -4
- package/esm2015/lib/core/services/request-download/index.js +1 -1
- package/esm2015/lib/core/services/request-download/monkeyecx-request-download-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-paged/index.js +1 -1
- package/esm2015/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.js +1 -1
- package/esm2015/lib/core/services/request-queue/index.js +1 -1
- package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.js +4 -4
- package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.js +4 -4
- package/esm2015/lib/core/services/routes/index.js +1 -1
- package/esm2015/lib/core/services/routes/monkeyecx-dicovery-params.service.js +4 -4
- package/esm2015/lib/core/services/schedules/index.js +1 -1
- package/esm2015/lib/core/services/schedules/monkeyecx-request-schedule.service.js +4 -4
- package/esm2015/lib/core/services/storage/index.js +1 -1
- package/esm2015/lib/core/services/storage/monkeyecx-cookie-storage.service.js +16 -85
- package/esm2015/lib/core/services/storage/monkeyecx-token-storage.service.js +4 -4
- package/esm2015/lib/core/specification-search/index.js +1 -1
- package/esm2015/lib/core/specification-search/monkeyecx-specification-search.js +1 -1
- package/esm2015/lib/core/utils/decorators-utils.js +1 -1
- package/esm2015/lib/core/utils/index.js +1 -1
- package/esm2015/lib/core/utils/statics.js +1 -1
- package/esm2015/lib/core/utils/utils.js +1 -1
- package/esm2015/lib/core/utils/validate-utils.js +1 -1
- package/esm2015/lib/core/utils/validators.js +2 -3
- package/esm2015/lib/monkey-front-core.module.js +5 -5
- package/esm2015/public-api.js +1 -1
- package/fesm2015/monkey-front-core.js +376 -348
- package/fesm2015/monkey-front-core.js.map +1 -1
- package/lib/core/services/config/monkeyecx-config.service.d.ts +5 -1
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -0
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +4 -6
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +3 -1
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +6 -8
- package/monkey-front-core-0.0.34.tgz +0 -0
- package/package.json +2 -1
- package/monkey-front-core-0.0.30.tgz +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe, Component, ViewEncapsulation, Input, NgModule, Injectable, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self,
|
|
2
|
+
import { Pipe, Component, ViewEncapsulation, Input, NgModule, Injectable, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, NgZone, ErrorHandler, Optional, SkipSelf } from '@angular/core';
|
|
3
3
|
import * as i1 from 'monkey-style-guide';
|
|
4
4
|
import { MonkeyButtonModule, MonkeyIconModule, MonkeyInputModule, MonkeyModalModule, MonkeyUtils, MonkeyStyleGuideModule, MonkeyStyleGuideModalService, MonkeyStyleGuideSettingsService, MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
|
|
5
5
|
import * as i1$1 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
7
7
|
import * as moment_ from 'moment';
|
|
8
8
|
import * as i1$2 from '@angular/common';
|
|
9
|
-
import { formatNumber, CurrencyPipe, CommonModule,
|
|
9
|
+
import { formatNumber, CurrencyPipe, CommonModule, registerLocaleData } from '@angular/common';
|
|
10
10
|
import * as i1$3 from '@angular/router';
|
|
11
11
|
import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
|
|
12
12
|
import { BehaviorSubject, throwError, interval, concat, of } from 'rxjs';
|
|
@@ -16,8 +16,9 @@ import { __decorate } from 'tslib';
|
|
|
16
16
|
import * as i1$4 from '@angular/common/http';
|
|
17
17
|
import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
18
18
|
import localePTBR from '@angular/common/locales/global/pt';
|
|
19
|
+
import * as i1$5 from 'ngx-cookie-service';
|
|
19
20
|
import { datadogRum } from '@datadog/browser-rum';
|
|
20
|
-
import * as i1$
|
|
21
|
+
import * as i1$6 from '@angular/service-worker';
|
|
21
22
|
import { ServiceWorkerModule } from '@angular/service-worker';
|
|
22
23
|
import { initialize } from 'launchdarkly-js-client-sdk';
|
|
23
24
|
|
|
@@ -264,9 +265,9 @@ class MonkeyEcxFormatDateTimelapsePipe {
|
|
|
264
265
|
return `${moment$2(stillUtc, formatFrom).format(formatTo)}`;
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
|
-
MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
268
|
-
MonkeyEcxFormatDateTimelapsePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
268
|
+
MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
269
|
+
MonkeyEcxFormatDateTimelapsePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, name: "monkeyecxFormatDateTimelapse" });
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, decorators: [{
|
|
270
271
|
type: Pipe,
|
|
271
272
|
args: [{
|
|
272
273
|
name: 'monkeyecxFormatDateTimelapse'
|
|
@@ -284,9 +285,9 @@ class ClosedToMaintenanceComponent {
|
|
|
284
285
|
document.location.reload();
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
|
-
ClosedToMaintenanceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
288
|
-
ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
288
|
+
ClosedToMaintenanceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
289
|
+
ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ClosedToMaintenanceComponent, selector: "monkeyecx-closed-to-maintenance", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\">\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 {{ _configBoostrap?.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:normal;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:normal;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"] }], pipes: { "translate": i1$1.TranslatePipe, "monkeyecxFormatDateTimelapse": MonkeyEcxFormatDateTimelapsePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceComponent, decorators: [{
|
|
290
291
|
type: Component,
|
|
291
292
|
args: [{
|
|
292
293
|
selector: 'monkeyecx-closed-to-maintenance',
|
|
@@ -310,9 +311,9 @@ class MonkeyEcxFormatNumber {
|
|
|
310
311
|
return formatNumber(Number(number), 'ptbr');
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
|
-
MonkeyEcxFormatNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
314
|
-
MonkeyEcxFormatNumber.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
314
|
+
MonkeyEcxFormatNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
315
|
+
MonkeyEcxFormatNumber.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, name: "monkeyecxFormatNumber" });
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, decorators: [{
|
|
316
317
|
type: Pipe,
|
|
317
318
|
args: [{
|
|
318
319
|
name: 'monkeyecxFormatNumber'
|
|
@@ -329,9 +330,9 @@ class MonkeyEcxFormatValue {
|
|
|
329
330
|
return number;
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
|
-
MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
333
|
-
MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
333
|
+
MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
334
|
+
MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, name: "monkeyecxFormatValue" });
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
|
|
335
336
|
type: Pipe,
|
|
336
337
|
args: [{
|
|
337
338
|
name: 'monkeyecxFormatValue'
|
|
@@ -348,9 +349,9 @@ class MonkeyEcxFormatDocumentPipe {
|
|
|
348
349
|
return MonkeyEcxUtils.formatDocumentWithMask(document, withType);
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
|
-
MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
352
|
-
MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
352
|
+
MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
353
|
+
MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, name: "monkeyecxFormatDocument" });
|
|
354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
|
|
354
355
|
type: Pipe,
|
|
355
356
|
args: [{
|
|
356
357
|
name: 'monkeyecxFormatDocument'
|
|
@@ -367,9 +368,9 @@ class MonkeyEcxDisplayFirstNamePipe {
|
|
|
367
368
|
return MonkeyEcxUtils.cutFirstLastName(name);
|
|
368
369
|
}
|
|
369
370
|
}
|
|
370
|
-
MonkeyEcxDisplayFirstNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
371
|
-
MonkeyEcxDisplayFirstNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
371
|
+
MonkeyEcxDisplayFirstNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
372
|
+
MonkeyEcxDisplayFirstNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, name: "monkeyecxDisplayFirstName" });
|
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, decorators: [{
|
|
373
374
|
type: Pipe,
|
|
374
375
|
args: [{
|
|
375
376
|
name: 'monkeyecxDisplayFirstName'
|
|
@@ -387,9 +388,9 @@ class MonkeyEcxFormatSizePipe {
|
|
|
387
388
|
return MonkeyEcxUtils.formatFileSize(sizeNum);
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
|
-
MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
391
|
-
MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
391
|
+
MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
392
|
+
MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, name: "monkeyecxFormatSize" });
|
|
393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
|
|
393
394
|
type: Pipe,
|
|
394
395
|
args: [{
|
|
395
396
|
name: 'monkeyecxFormatSize'
|
|
@@ -413,9 +414,9 @@ class MonkeyEcxFormatCurrencyPipe {
|
|
|
413
414
|
return this.currencyPipe.transform(value, currencyCode, 'symbol', '', currentLocale);
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
|
-
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
417
|
-
MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
417
|
+
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i0.Injector }, { token: i1$2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
418
|
+
MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, name: "monkeyecxFormatCurrency" });
|
|
419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
|
|
419
420
|
type: Pipe,
|
|
420
421
|
args: [{
|
|
421
422
|
name: 'monkeyecxFormatCurrency'
|
|
@@ -432,9 +433,9 @@ class MonkeyEcxFormatZipCodePipe {
|
|
|
432
433
|
return MonkeyEcxUtils.formatZipCode(zipCode);
|
|
433
434
|
}
|
|
434
435
|
}
|
|
435
|
-
MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
436
|
-
MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
436
|
+
MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
437
|
+
MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, name: "monkeyecxFormatZipCode" });
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
|
|
438
439
|
type: Pipe,
|
|
439
440
|
args: [{
|
|
440
441
|
name: 'monkeyecxFormatZipCode'
|
|
@@ -456,9 +457,9 @@ class MonkeyEcxTextTruncatePipe {
|
|
|
456
457
|
return `${text.substr(0, left)} ${midChar} ${text.substring(right)}`;
|
|
457
458
|
}
|
|
458
459
|
}
|
|
459
|
-
MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
460
|
-
MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
460
|
+
MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
461
|
+
MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, name: "monkeyecxTextTruncate" });
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
|
|
462
463
|
type: Pipe,
|
|
463
464
|
args: [{
|
|
464
465
|
name: 'monkeyecxTextTruncate'
|
|
@@ -475,9 +476,9 @@ class MonkeyEcxDocumentTypePipe {
|
|
|
475
476
|
return MonkeyEcxUtils.getDocumentType(document);
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
|
-
MonkeyEcxDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
479
|
-
MonkeyEcxDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
479
|
+
MonkeyEcxDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
480
|
+
MonkeyEcxDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, name: "monkeyecxDocumentType" });
|
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, decorators: [{
|
|
481
482
|
type: Pipe,
|
|
482
483
|
args: [{
|
|
483
484
|
name: 'monkeyecxDocumentType'
|
|
@@ -489,9 +490,9 @@ class MonkeyEcxTruncateQtdPipe {
|
|
|
489
490
|
return `${number > threshold ? `${threshold}+` : number}`;
|
|
490
491
|
}
|
|
491
492
|
}
|
|
492
|
-
MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
493
|
-
MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
493
|
+
MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
494
|
+
MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, name: "monkeyecxTruncateQtd" });
|
|
495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
|
|
495
496
|
type: Pipe,
|
|
496
497
|
args: [{
|
|
497
498
|
name: 'monkeyecxTruncateQtd'
|
|
@@ -500,8 +501,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
500
501
|
|
|
501
502
|
class MonkeyEcxPipesModule {
|
|
502
503
|
}
|
|
503
|
-
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
504
|
-
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
504
|
+
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
505
|
+
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxFormatDocumentPipe,
|
|
505
506
|
MonkeyEcxFormatDateTimelapsePipe,
|
|
506
507
|
MonkeyEcxDisplayFirstNamePipe,
|
|
507
508
|
MonkeyEcxFormatSizePipe,
|
|
@@ -522,8 +523,8 @@ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
|
522
523
|
MonkeyEcxTextTruncatePipe,
|
|
523
524
|
MonkeyEcxTruncateQtdPipe,
|
|
524
525
|
MonkeyEcxDocumentTypePipe] });
|
|
525
|
-
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
526
|
+
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
527
528
|
type: NgModule,
|
|
528
529
|
args: [{
|
|
529
530
|
declarations: [
|
|
@@ -558,14 +559,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
558
559
|
|
|
559
560
|
class ClosedToMaintenanceModule {
|
|
560
561
|
}
|
|
561
|
-
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
562
|
-
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
562
|
+
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
563
|
+
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
|
|
563
564
|
MonkeyButtonModule,
|
|
564
565
|
MonkeyIconModule,
|
|
565
566
|
MonkeyInputModule,
|
|
566
567
|
MonkeyModalModule,
|
|
567
568
|
MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
|
|
568
|
-
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
569
|
+
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
|
|
569
570
|
CommonModule,
|
|
570
571
|
MonkeyButtonModule,
|
|
571
572
|
MonkeyIconModule,
|
|
@@ -574,7 +575,7 @@ ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
574
575
|
MonkeyEcxPipesModule,
|
|
575
576
|
TranslateModule.forChild()
|
|
576
577
|
]] });
|
|
577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
|
|
578
579
|
type: NgModule,
|
|
579
580
|
args: [{
|
|
580
581
|
declarations: [ClosedToMaintenanceComponent],
|
|
@@ -625,9 +626,9 @@ class MonkeyEcxProgressBarService {
|
|
|
625
626
|
return this.visible.asObservable();
|
|
626
627
|
}
|
|
627
628
|
}
|
|
628
|
-
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
629
|
-
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
629
|
+
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
630
|
+
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
631
632
|
type: Injectable,
|
|
632
633
|
args: [{
|
|
633
634
|
providedIn: 'root'
|
|
@@ -646,9 +647,9 @@ class MonkeyEcxProgressBarComponent {
|
|
|
646
647
|
});
|
|
647
648
|
}
|
|
648
649
|
}
|
|
649
|
-
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
650
|
-
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
650
|
+
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
651
|
+
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", 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: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
652
653
|
type: Component,
|
|
653
654
|
args: [{
|
|
654
655
|
selector: 'monkeyecx-progress-bar',
|
|
@@ -660,10 +661,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
660
661
|
|
|
661
662
|
class MonkeyEcxProgressBarModule {
|
|
662
663
|
}
|
|
663
|
-
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
664
|
-
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
665
|
-
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
664
|
+
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
665
|
+
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
|
|
666
|
+
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
|
|
667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
|
|
667
668
|
type: NgModule,
|
|
668
669
|
args: [{
|
|
669
670
|
declarations: [MonkeyEcxProgressBarComponent],
|
|
@@ -677,9 +678,9 @@ class VersionChangedComponent {
|
|
|
677
678
|
document.location.reload();
|
|
678
679
|
}
|
|
679
680
|
}
|
|
680
|
-
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
681
|
-
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
681
|
+
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
682
|
+
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\">\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:normal;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:normal;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"] }], pipes: { "translate": i1$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
683
684
|
type: Component,
|
|
684
685
|
args: [{
|
|
685
686
|
selector: 'monkeyecx-version-changed',
|
|
@@ -695,13 +696,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
695
696
|
|
|
696
697
|
class VersionChangedModule {
|
|
697
698
|
}
|
|
698
|
-
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
699
|
-
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
699
|
+
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
700
|
+
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
|
|
700
701
|
MonkeyButtonModule,
|
|
701
702
|
MonkeyIconModule,
|
|
702
703
|
MonkeyInputModule,
|
|
703
704
|
MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
|
|
704
|
-
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
705
|
+
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, imports: [[
|
|
705
706
|
CommonModule,
|
|
706
707
|
MonkeyButtonModule,
|
|
707
708
|
MonkeyIconModule,
|
|
@@ -709,7 +710,7 @@ VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
709
710
|
MonkeyModalModule,
|
|
710
711
|
TranslateModule.forChild()
|
|
711
712
|
]] });
|
|
712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, decorators: [{
|
|
713
714
|
type: NgModule,
|
|
714
715
|
args: [{
|
|
715
716
|
declarations: [VersionChangedComponent],
|
|
@@ -1035,8 +1036,7 @@ var decoratorsUtils = /*#__PURE__*/Object.freeze({
|
|
|
1035
1036
|
});
|
|
1036
1037
|
|
|
1037
1038
|
const moment = moment_;
|
|
1038
|
-
|
|
1039
|
-
const EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)([A-Za-z0-9_\-.])+@([A-Za-z0-9])+\.([A-Za-z]{1,61})$/;
|
|
1039
|
+
const EMAIL_REGEXP = /^[\w-.]+@([\w-]+\.)+[\w-]{1,64}$/;
|
|
1040
1040
|
function isEmptyInputValue(value) {
|
|
1041
1041
|
return value == null || value.length === 0;
|
|
1042
1042
|
}
|
|
@@ -1403,9 +1403,9 @@ class MonkeyEcxDragDropDirective {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1407
|
-
MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1406
|
+
MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDragDropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1407
|
+
MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxDragDropDirective, selector: "[monkeyecxDragDrop]", outputs: { onFileDropped: "onFileDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "ondrop($event)" }, properties: { "style.background-color": "this.background", "style.opacity": "this.opacity" } }, ngImport: i0 });
|
|
1408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDragDropDirective, decorators: [{
|
|
1409
1409
|
type: Directive,
|
|
1410
1410
|
args: [{
|
|
1411
1411
|
selector: '[monkeyecxDragDrop]'
|
|
@@ -1455,9 +1455,9 @@ class MonkeyEcxFormatCurrency {
|
|
|
1455
1455
|
this.el.value = this.handle(value);
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
MonkeyEcxFormatCurrency.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1459
|
-
MonkeyEcxFormatCurrency.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1458
|
+
MonkeyEcxFormatCurrency.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrency, deps: [{ token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1459
|
+
MonkeyEcxFormatCurrency.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxFormatCurrency, selector: "[monkeyecxFormatCurrency]", host: { listeners: { "input": "onInput($event.target.value)" } }, providers: [CurrencyPipe], ngImport: i0 });
|
|
1460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrency, decorators: [{
|
|
1461
1461
|
type: Directive,
|
|
1462
1462
|
args: [{
|
|
1463
1463
|
selector: '[monkeyecxFormatCurrency]',
|
|
@@ -1496,8 +1496,8 @@ class MonkeyEcxFormatUpper {
|
|
|
1496
1496
|
this._renderer.setProperty(this._el.nativeElement, 'disabled', isDisabled);
|
|
1497
1497
|
}
|
|
1498
1498
|
}
|
|
1499
|
-
MonkeyEcxFormatUpper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1500
|
-
MonkeyEcxFormatUpper.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1499
|
+
MonkeyEcxFormatUpper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatUpper, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1500
|
+
MonkeyEcxFormatUpper.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxFormatUpper, selector: "[monkeyecxFormatUpper]", host: { listeners: { "keyup": "onKeyDown($event)", "blur": "onBlur($event)" } }, providers: [
|
|
1501
1501
|
{
|
|
1502
1502
|
provide: NG_VALUE_ACCESSOR,
|
|
1503
1503
|
useExisting: forwardRef(() => {
|
|
@@ -1507,7 +1507,7 @@ MonkeyEcxFormatUpper.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", v
|
|
|
1507
1507
|
multi: true
|
|
1508
1508
|
}
|
|
1509
1509
|
], ngImport: i0 });
|
|
1510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatUpper, decorators: [{
|
|
1511
1511
|
type: Directive,
|
|
1512
1512
|
args: [{
|
|
1513
1513
|
selector: '[monkeyecxFormatUpper]',
|
|
@@ -1545,9 +1545,9 @@ class MonkeyEcxOnlyAlphaNumericDirective {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
-
MonkeyEcxOnlyAlphaNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1549
|
-
MonkeyEcxOnlyAlphaNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1548
|
+
MonkeyEcxOnlyAlphaNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1549
|
+
MonkeyEcxOnlyAlphaNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxOnlyAlphaNumericDirective, selector: "[monkeyecxOnlyAlphaNumeric]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
|
|
1550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, decorators: [{
|
|
1551
1551
|
type: Directive,
|
|
1552
1552
|
args: [{
|
|
1553
1553
|
selector: '[monkeyecxOnlyAlphaNumeric]'
|
|
@@ -1570,9 +1570,9 @@ class MonkeyEcxOnlyNumbersDirective {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
}
|
|
1573
|
-
MonkeyEcxOnlyNumbersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1574
|
-
MonkeyEcxOnlyNumbersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1573
|
+
MonkeyEcxOnlyNumbersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1574
|
+
MonkeyEcxOnlyNumbersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxOnlyNumbersDirective, selector: "[monkeyecxOnlyNumbers]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
|
|
1575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, decorators: [{
|
|
1576
1576
|
type: Directive,
|
|
1577
1577
|
args: [{
|
|
1578
1578
|
selector: '[monkeyecxOnlyNumbers]'
|
|
@@ -1879,9 +1879,9 @@ class MonkeyEcxHandlingService {
|
|
|
1879
1879
|
return this.monkeyecxRequestUpload;
|
|
1880
1880
|
}
|
|
1881
1881
|
}
|
|
1882
|
-
MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1883
|
-
MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1882
|
+
MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1883
|
+
MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
|
|
1885
1885
|
type: Injectable,
|
|
1886
1886
|
args: [{
|
|
1887
1887
|
providedIn: 'root'
|
|
@@ -1975,9 +1975,9 @@ class MonkeyEcxService {
|
|
|
1975
1975
|
}));
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
|
-
MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1979
|
-
MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1978
|
+
MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, deps: [{ token: i1$4.HttpClient }, { token: MonkeyEcxHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1979
|
+
MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
|
|
1980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, decorators: [{
|
|
1981
1981
|
type: Injectable,
|
|
1982
1982
|
args: [{
|
|
1983
1983
|
providedIn: 'root'
|
|
@@ -1986,104 +1986,119 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
1986
1986
|
|
|
1987
1987
|
/* eslint-disable object-curly-newline */
|
|
1988
1988
|
class MonkeyEcxCookieStorageService {
|
|
1989
|
-
constructor(
|
|
1990
|
-
this.
|
|
1989
|
+
constructor(cookieService) {
|
|
1990
|
+
this.cookieService = cookieService;
|
|
1991
1991
|
// not to do
|
|
1992
1992
|
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1993
|
+
setCookie(name, value) {
|
|
1994
|
+
this.removeCookie(name);
|
|
1995
|
+
this.cookieService.set(name, value, null, '/', '', true, 'None');
|
|
1996
1996
|
}
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
return decodeURIComponent(encodedURIComponent);
|
|
2000
|
-
}
|
|
2001
|
-
catch (_a) {
|
|
2002
|
-
return encodedURIComponent;
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
check(name) {
|
|
2006
|
-
name = encodeURIComponent(name);
|
|
2007
|
-
const regExp = this.getCookieRegExp(name);
|
|
2008
|
-
return regExp.test(this.document.cookie);
|
|
2009
|
-
}
|
|
2010
|
-
set(name, value, expiresOrOptions, path, domain, secure, sameSite) {
|
|
2011
|
-
if (typeof expiresOrOptions === 'number' ||
|
|
2012
|
-
expiresOrOptions instanceof Date ||
|
|
2013
|
-
path ||
|
|
2014
|
-
domain ||
|
|
2015
|
-
secure ||
|
|
2016
|
-
sameSite) {
|
|
2017
|
-
const optionsBody = {
|
|
2018
|
-
expires: expiresOrOptions,
|
|
2019
|
-
path,
|
|
2020
|
-
domain,
|
|
2021
|
-
secure,
|
|
2022
|
-
sameSite: sameSite || 'Lax'
|
|
2023
|
-
};
|
|
2024
|
-
this.set(name, value, optionsBody);
|
|
2025
|
-
return;
|
|
2026
|
-
}
|
|
2027
|
-
let cookieString = `${encodeURIComponent(name)}=${encodeURIComponent(value)};`;
|
|
2028
|
-
const options = expiresOrOptions || {};
|
|
2029
|
-
if (options.expires) {
|
|
2030
|
-
if (typeof options.expires === 'number') {
|
|
2031
|
-
const dateExpires = new Date(new Date().getTime() + options.expires * 1000 * 60 * 60 * 24);
|
|
2032
|
-
cookieString += `expires=${dateExpires.toUTCString()};`;
|
|
2033
|
-
}
|
|
2034
|
-
else {
|
|
2035
|
-
cookieString += `expires=${options.expires.toUTCString()};`;
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
if (options.path) {
|
|
2039
|
-
cookieString += `path=${options.path};`;
|
|
2040
|
-
}
|
|
2041
|
-
if (options.domain) {
|
|
2042
|
-
cookieString += `domain=${options.domain};`;
|
|
2043
|
-
}
|
|
2044
|
-
if (options.secure === false && options.sameSite === 'None') {
|
|
2045
|
-
options.secure = true;
|
|
2046
|
-
}
|
|
2047
|
-
if (options.secure) {
|
|
2048
|
-
cookieString += 'secure;';
|
|
2049
|
-
}
|
|
2050
|
-
if (!options.sameSite) {
|
|
2051
|
-
options.sameSite = 'Lax';
|
|
2052
|
-
}
|
|
2053
|
-
cookieString += `sameSite=${options.sameSite};`;
|
|
2054
|
-
this.document.cookie = cookieString;
|
|
1997
|
+
getCookie(name) {
|
|
1998
|
+
return this.cookieService.get(name);
|
|
2055
1999
|
}
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
name = encodeURIComponent(name);
|
|
2059
|
-
const regExp = this.getCookieRegExp(name);
|
|
2060
|
-
const result = regExp.exec(this.document.cookie);
|
|
2061
|
-
return result[1] ? this.safeDecodeURIComponent(result[1]) : '';
|
|
2062
|
-
}
|
|
2063
|
-
return '';
|
|
2000
|
+
removeCookie(name) {
|
|
2001
|
+
this.cookieService.delete(name, '/');
|
|
2064
2002
|
}
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2003
|
+
}
|
|
2004
|
+
MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$5.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2005
|
+
MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
|
|
2006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
|
|
2007
|
+
type: Injectable,
|
|
2008
|
+
args: [{
|
|
2009
|
+
providedIn: 'root'
|
|
2010
|
+
}]
|
|
2011
|
+
}], ctorParameters: function () { return [{ type: i1$5.CookieService }]; } });
|
|
2012
|
+
|
|
2013
|
+
let window$1;
|
|
2014
|
+
const text = {
|
|
2015
|
+
i18n: {
|
|
2016
|
+
title: 'We have an quick update for you',
|
|
2017
|
+
message: 'Click anywhere here to reload your locale'
|
|
2018
|
+
},
|
|
2019
|
+
theme: {
|
|
2020
|
+
title: 'We have an quick update for you',
|
|
2021
|
+
message: 'Click anywhere here to reload your theme'
|
|
2022
|
+
}
|
|
2023
|
+
};
|
|
2024
|
+
class MonkeyEcxErrorConfigService {
|
|
2025
|
+
constructor() {
|
|
2026
|
+
// not to do
|
|
2027
|
+
}
|
|
2028
|
+
enableSupport() {
|
|
2029
|
+
window$1.zE('webWidget', 'updateSettings', {
|
|
2030
|
+
webWidget: {
|
|
2031
|
+
color: {
|
|
2032
|
+
theme: '#0273E8',
|
|
2033
|
+
launcherText: '#fff',
|
|
2034
|
+
header: '#0273E8',
|
|
2035
|
+
button: '#0273E8'
|
|
2036
|
+
},
|
|
2037
|
+
zIndex: 99,
|
|
2038
|
+
offset: {
|
|
2039
|
+
horizontal: '1px',
|
|
2040
|
+
vertical: '20px'
|
|
2041
|
+
},
|
|
2042
|
+
mobile: {
|
|
2043
|
+
labelVisible: true
|
|
2044
|
+
},
|
|
2045
|
+
launcher: {
|
|
2046
|
+
mobile: {
|
|
2047
|
+
labelVisible: true
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
});
|
|
2052
|
+
window$1.zE('webWidget', 'setLocale', 'en-US');
|
|
2053
|
+
window$1.zE('webWidget', 'show');
|
|
2054
|
+
}
|
|
2055
|
+
apply(type) {
|
|
2056
|
+
const { title, message } = text[type];
|
|
2057
|
+
const element = document.createElement('div');
|
|
2058
|
+
element.id = 'monkeyecx-information';
|
|
2059
|
+
const elementImg = document.createElement('img');
|
|
2060
|
+
elementImg.width = 128;
|
|
2061
|
+
elementImg.src = 'assets/images/monkey.svg';
|
|
2062
|
+
elementImg.style.marginBottom = '50px';
|
|
2063
|
+
const elementTitle = document.createElement('span');
|
|
2064
|
+
elementTitle.id = 'title';
|
|
2065
|
+
elementTitle.innerText = title;
|
|
2066
|
+
elementTitle.style.marginBottom = '20px';
|
|
2067
|
+
const elementMessage = document.createElement('span');
|
|
2068
|
+
elementMessage.id = 'message';
|
|
2069
|
+
elementMessage.innerText = message;
|
|
2070
|
+
elementMessage.style.marginBottom = '20px';
|
|
2071
|
+
const elementChat = document.createElement('span');
|
|
2072
|
+
elementChat.id = 'message';
|
|
2073
|
+
elementChat.innerText =
|
|
2074
|
+
"If you're having trouble to update, please use the support icon bellow";
|
|
2075
|
+
element.appendChild(elementImg);
|
|
2076
|
+
element.appendChild(elementTitle);
|
|
2077
|
+
element.appendChild(elementMessage);
|
|
2078
|
+
element.appendChild(elementChat);
|
|
2079
|
+
element.addEventListener('click', () => {
|
|
2080
|
+
document.location.reload();
|
|
2081
|
+
});
|
|
2082
|
+
document.body.appendChild(element);
|
|
2083
|
+
document.body.getElementsByTagName('app-root')[0].remove();
|
|
2084
|
+
this.enableSupport();
|
|
2068
2085
|
}
|
|
2069
2086
|
}
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2087
|
+
MonkeyEcxErrorConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2088
|
+
MonkeyEcxErrorConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, providedIn: 'root' });
|
|
2089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, decorators: [{
|
|
2073
2090
|
type: Injectable,
|
|
2074
2091
|
args: [{
|
|
2075
2092
|
providedIn: 'root'
|
|
2076
2093
|
}]
|
|
2077
|
-
}], ctorParameters: function () { return [
|
|
2078
|
-
type: Inject,
|
|
2079
|
-
args: [DOCUMENT]
|
|
2080
|
-
}] }]; } });
|
|
2094
|
+
}], ctorParameters: function () { return []; } });
|
|
2081
2095
|
|
|
2082
2096
|
class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
2083
|
-
constructor(monkeyecxService, translateService, monkeyecxCookieStorageService) {
|
|
2097
|
+
constructor(monkeyecxService, translateService, monkeyecxCookieStorageService, monkeyecxErrorConfigService) {
|
|
2084
2098
|
super(monkeyecxService);
|
|
2085
2099
|
this.translateService = translateService;
|
|
2086
2100
|
this.monkeyecxCookieStorageService = monkeyecxCookieStorageService;
|
|
2101
|
+
this.monkeyecxErrorConfigService = monkeyecxErrorConfigService;
|
|
2087
2102
|
this.translateService.addLangs(['pt-BR', 'en-US']);
|
|
2088
2103
|
this.translateService.setDefaultLang('pt-BR');
|
|
2089
2104
|
this.translateService.use('pt-BR');
|
|
@@ -2093,28 +2108,32 @@ class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
|
2093
2108
|
registerLocaleData(localePTBR, 'pt-PT');
|
|
2094
2109
|
}
|
|
2095
2110
|
apply(params, environment, change = false) {
|
|
2096
|
-
const { monkeyecxService, monkeyecxCookieStorageService } = this;
|
|
2111
|
+
const { monkeyecxService, monkeyecxCookieStorageService, monkeyecxErrorConfigService } = this;
|
|
2097
2112
|
let { i18n } = params;
|
|
2098
|
-
const cookie = monkeyecxCookieStorageService.
|
|
2113
|
+
const cookie = monkeyecxCookieStorageService.getCookie('monkey-app-locale');
|
|
2099
2114
|
if (cookie && !change) {
|
|
2100
2115
|
i18n = JSON.parse(atob(cookie));
|
|
2101
2116
|
}
|
|
2102
2117
|
else {
|
|
2103
|
-
monkeyecxCookieStorageService.
|
|
2118
|
+
monkeyecxCookieStorageService.setCookie('monkey-app-locale', btoa(JSON.stringify(i18n)));
|
|
2119
|
+
if (!cookie)
|
|
2120
|
+
change = true;
|
|
2104
2121
|
}
|
|
2105
|
-
monkeyecxService.get(`${environment.
|
|
2122
|
+
monkeyecxService.get(`${environment.localAssets}/i18n/${i18n.lang}.json`).subscribe((config) => {
|
|
2106
2123
|
const { lang, data } = config;
|
|
2107
2124
|
this.translateService.setTranslation(lang, data, true);
|
|
2108
2125
|
this.translateService.use(lang);
|
|
2126
|
+
if (change)
|
|
2127
|
+
document.location.reload();
|
|
2109
2128
|
}, (err) => {
|
|
2110
|
-
console.log(err);
|
|
2111
2129
|
console.error(`i18n ${i18n.lang} not found!`);
|
|
2130
|
+
monkeyecxErrorConfigService.apply('i18n');
|
|
2112
2131
|
throwError(err);
|
|
2113
2132
|
});
|
|
2114
2133
|
}
|
|
2115
2134
|
}
|
|
2116
|
-
MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2117
|
-
MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2135
|
+
MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, deps: [{ token: MonkeyEcxService }, { token: i1$1.TranslateService }, { token: MonkeyEcxCookieStorageService }, { token: MonkeyEcxErrorConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2136
|
+
MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, providedIn: 'root' });
|
|
2118
2137
|
__decorate([
|
|
2119
2138
|
MonkeyEcxCoreService({
|
|
2120
2139
|
httpResponse: {
|
|
@@ -2125,36 +2144,38 @@ __decorate([
|
|
|
2125
2144
|
}
|
|
2126
2145
|
})
|
|
2127
2146
|
], MonkeyEcxi18nConfigService.prototype, "apply", null);
|
|
2128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, decorators: [{
|
|
2129
2148
|
type: Injectable,
|
|
2130
2149
|
args: [{
|
|
2131
2150
|
providedIn: 'root'
|
|
2132
2151
|
}]
|
|
2133
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i1$1.TranslateService }, { type: MonkeyEcxCookieStorageService }]; }, propDecorators: { apply: [] } });
|
|
2152
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: i1$1.TranslateService }, { type: MonkeyEcxCookieStorageService }, { type: MonkeyEcxErrorConfigService }]; }, propDecorators: { apply: [] } });
|
|
2134
2153
|
|
|
2135
2154
|
class MonkeyEcxLogsConfigService {
|
|
2136
2155
|
apply(params, configBoostrap, environment, identifyCode) {
|
|
2137
2156
|
const { program, logs } = params;
|
|
2138
|
-
if ((logs === null || logs === void 0 ? void 0 : logs.enabled) &&
|
|
2139
|
-
environment.production &&
|
|
2140
|
-
(environment === null || environment === void 0 ? void 0 : environment.dataDogApplicationId) &&
|
|
2141
|
-
(environment === null || environment === void 0 ? void 0 : environment.dataDogClientToken)) {
|
|
2157
|
+
if ((logs === null || logs === void 0 ? void 0 : logs.enabled) && environment.environment !== 'dev') {
|
|
2142
2158
|
datadogRum.init({
|
|
2143
2159
|
applicationId: environment === null || environment === void 0 ? void 0 : environment.dataDogApplicationId,
|
|
2144
2160
|
clientToken: environment === null || environment === void 0 ? void 0 : environment.dataDogClientToken,
|
|
2145
2161
|
service: program.token,
|
|
2146
2162
|
site: 'datadoghq.com',
|
|
2147
2163
|
sampleRate: 100,
|
|
2148
|
-
|
|
2164
|
+
replaySampleRate: 100,
|
|
2165
|
+
env: `monkey-front-${identifyCode}-${environment.environment}`,
|
|
2149
2166
|
version: configBoostrap === null || configBoostrap === void 0 ? void 0 : configBoostrap.version,
|
|
2150
|
-
trackInteractions: true
|
|
2167
|
+
trackInteractions: true,
|
|
2168
|
+
trackSessionAcrossSubdomains: true,
|
|
2169
|
+
useSecureSessionCookie: true,
|
|
2170
|
+
useCrossSiteSessionCookie: true
|
|
2151
2171
|
});
|
|
2172
|
+
datadogRum.startSessionReplayRecording();
|
|
2152
2173
|
}
|
|
2153
2174
|
}
|
|
2154
2175
|
}
|
|
2155
|
-
MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2156
|
-
MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2176
|
+
MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2177
|
+
MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, providedIn: 'root' });
|
|
2178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, decorators: [{
|
|
2158
2179
|
type: Injectable,
|
|
2159
2180
|
args: [{
|
|
2160
2181
|
providedIn: 'root'
|
|
@@ -2199,14 +2220,14 @@ class MonkeyEcxServiceWorkerConfigService {
|
|
|
2199
2220
|
this.verify();
|
|
2200
2221
|
}
|
|
2201
2222
|
}
|
|
2202
|
-
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2203
|
-
MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2223
|
+
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$6.SwUpdate }, { token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2224
|
+
MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
|
|
2225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
|
|
2205
2226
|
type: Injectable,
|
|
2206
2227
|
args: [{
|
|
2207
2228
|
providedIn: 'root'
|
|
2208
2229
|
}]
|
|
2209
|
-
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$
|
|
2230
|
+
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$6.SwUpdate }, { type: i1.MonkeyStyleGuideModalService }]; } });
|
|
2210
2231
|
|
|
2211
2232
|
/* eslint-disable no-console */
|
|
2212
2233
|
class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
@@ -2237,9 +2258,9 @@ class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
|
2237
2258
|
this.handleValidation();
|
|
2238
2259
|
}
|
|
2239
2260
|
}
|
|
2240
|
-
MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2241
|
-
MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2261
|
+
MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2262
|
+
MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, providedIn: 'root' });
|
|
2263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, decorators: [{
|
|
2243
2264
|
type: Injectable,
|
|
2244
2265
|
args: [{
|
|
2245
2266
|
providedIn: 'root'
|
|
@@ -2269,17 +2290,77 @@ class MonkeyEcxMaintenanceConfigService {
|
|
|
2269
2290
|
this.handleValidation(config);
|
|
2270
2291
|
}
|
|
2271
2292
|
}
|
|
2272
|
-
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2273
|
-
MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2293
|
+
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2294
|
+
MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
|
|
2295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
|
|
2275
2296
|
type: Injectable,
|
|
2276
2297
|
args: [{
|
|
2277
2298
|
providedIn: 'root'
|
|
2278
2299
|
}]
|
|
2279
2300
|
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }, { type: i1$3.Router }]; } });
|
|
2280
2301
|
|
|
2302
|
+
class MonkeyEcxFeatureToggleService {
|
|
2303
|
+
constructor() {
|
|
2304
|
+
this.flagSubject$ = new BehaviorSubject(null);
|
|
2305
|
+
// not to do
|
|
2306
|
+
}
|
|
2307
|
+
getAllFlags() {
|
|
2308
|
+
this.flags = this.ldClient.allFlags();
|
|
2309
|
+
this.flagSubject$.next(true);
|
|
2310
|
+
}
|
|
2311
|
+
identify(config, environment) {
|
|
2312
|
+
var _a;
|
|
2313
|
+
if (config) {
|
|
2314
|
+
const email = 'monkey@monkey.exchange';
|
|
2315
|
+
const user = {
|
|
2316
|
+
email,
|
|
2317
|
+
key: `${(_a = config.program) === null || _a === void 0 ? void 0 : _a.token}#${email}`
|
|
2318
|
+
};
|
|
2319
|
+
if (!this.ldClient) {
|
|
2320
|
+
this.ldClient = initialize(environment.launchDarklyClientSideID, user, {
|
|
2321
|
+
streaming: true,
|
|
2322
|
+
disableSyncEventPost: true,
|
|
2323
|
+
sendEvents: false,
|
|
2324
|
+
diagnosticOptOut: true
|
|
2325
|
+
});
|
|
2326
|
+
this.ldClient.on('change', this.getAllFlags.bind(this));
|
|
2327
|
+
this.ldClient.on('ready', this.getAllFlags.bind(this));
|
|
2328
|
+
}
|
|
2329
|
+
else {
|
|
2330
|
+
this.ldClient.identify(user, null, this.getAllFlags);
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
apply(configSubject$, environment) {
|
|
2335
|
+
if (environment.launchDarklyClientSideID) {
|
|
2336
|
+
configSubject$.subscribe((config) => {
|
|
2337
|
+
this.identify(config, environment);
|
|
2338
|
+
});
|
|
2339
|
+
}
|
|
2340
|
+
else {
|
|
2341
|
+
this.flagSubject$.next(true);
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
get onFlags() {
|
|
2345
|
+
return this.flagSubject$.asObservable();
|
|
2346
|
+
}
|
|
2347
|
+
getFlag(flag) {
|
|
2348
|
+
var _a;
|
|
2349
|
+
const flagValue = (_a = this.flags) === null || _a === void 0 ? void 0 : _a[flag];
|
|
2350
|
+
return MonkeyUtils.persistNullEmptyUndefined(flagValue) ? flagValue : null;
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
MonkeyEcxFeatureToggleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2354
|
+
MonkeyEcxFeatureToggleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' });
|
|
2355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, decorators: [{
|
|
2356
|
+
type: Injectable,
|
|
2357
|
+
args: [{
|
|
2358
|
+
providedIn: 'root'
|
|
2359
|
+
}]
|
|
2360
|
+
}], ctorParameters: function () { return []; } });
|
|
2361
|
+
|
|
2281
2362
|
class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
2282
|
-
constructor(monkeyecxService, monkeyecxi18nConfigService, monkeyecxLogsConfigService, monkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService) {
|
|
2363
|
+
constructor(monkeyecxService, monkeyecxi18nConfigService, monkeyecxLogsConfigService, monkeyStyleGuideSettingsService, monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService) {
|
|
2283
2364
|
super(monkeyecxService);
|
|
2284
2365
|
this.monkeyecxi18nConfigService = monkeyecxi18nConfigService;
|
|
2285
2366
|
this.monkeyecxLogsConfigService = monkeyecxLogsConfigService;
|
|
@@ -2287,6 +2368,8 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
2287
2368
|
this.monkeyecxServiceWorkerConfigService = monkeyecxServiceWorkerConfigService;
|
|
2288
2369
|
this.monkeyecxSecurityConsoleConfigService = monkeyecxSecurityConsoleConfigService;
|
|
2289
2370
|
this.monkeyecxMaintenanceConfigService = monkeyecxMaintenanceConfigService;
|
|
2371
|
+
this.monkeyecxErrorConfigService = monkeyecxErrorConfigService;
|
|
2372
|
+
this.monkeyEcxFeatureToggleService = monkeyEcxFeatureToggleService;
|
|
2290
2373
|
this.configSubject$ = new BehaviorSubject(null);
|
|
2291
2374
|
this.configBoostrapSubject$ = new BehaviorSubject(null);
|
|
2292
2375
|
}
|
|
@@ -2300,24 +2383,24 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
2300
2383
|
callback(configBoostrap);
|
|
2301
2384
|
}
|
|
2302
2385
|
getWhiteLabelSettings(monkeyecxCode, configBoostrap = null, callback, environment, identifyCode) {
|
|
2303
|
-
const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, internalValidations } = this;
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
.subscribe((config) => {
|
|
2386
|
+
const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations } = this;
|
|
2387
|
+
const url = `${environment.urlAssets}`;
|
|
2388
|
+
monkeyecxService.get(`${url}/${monkeyecxCode.toLowerCase()}/white-label.json`).subscribe((config) => {
|
|
2307
2389
|
monkeyecxi18nConfigService.apply(config, environment);
|
|
2308
2390
|
monkeyecxLogsConfigService.apply(config, configBoostrap, environment, identifyCode);
|
|
2309
|
-
|
|
2391
|
+
monkeyEcxFeatureToggleService.apply(configSubject$, environment);
|
|
2392
|
+
monkeyStyleGuideSettingsService.boostrap(`${url}/${monkeyecxCode.toLowerCase()}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBoostrap, callback, environment));
|
|
2310
2393
|
configSubject$.next(config);
|
|
2311
2394
|
}, (err) => {
|
|
2312
|
-
|
|
2395
|
+
monkeyecxErrorConfigService.apply('theme');
|
|
2313
2396
|
console.error('Program Configuration not found!');
|
|
2314
2397
|
throwError(err);
|
|
2315
2398
|
});
|
|
2316
2399
|
}
|
|
2317
2400
|
init(callback, environment, identifyCode, monkeyecxCode) {
|
|
2318
|
-
const { monkeyecxService, configBoostrapSubject
|
|
2401
|
+
const { monkeyecxService, configBoostrapSubject$, monkeyecxErrorConfigService } = this;
|
|
2319
2402
|
monkeyecxService
|
|
2320
|
-
.get(
|
|
2403
|
+
.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
|
|
2321
2404
|
observe: 'response'
|
|
2322
2405
|
})
|
|
2323
2406
|
.subscribe((resp) => {
|
|
@@ -2328,10 +2411,11 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
2328
2411
|
configBoostrapSubject$.next(body);
|
|
2329
2412
|
}
|
|
2330
2413
|
else {
|
|
2414
|
+
monkeyecxErrorConfigService.apply('theme');
|
|
2331
2415
|
console.error(`Boostrap ${monkeyCode} Configuration not found!`);
|
|
2332
2416
|
}
|
|
2333
2417
|
}, (err) => {
|
|
2334
|
-
|
|
2418
|
+
monkeyecxErrorConfigService.apply('theme');
|
|
2335
2419
|
console.error('Boostrap Configuration not found!');
|
|
2336
2420
|
throwError(err);
|
|
2337
2421
|
});
|
|
@@ -2343,8 +2427,8 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
|
|
|
2343
2427
|
return this.configBoostrapSubject$.asObservable();
|
|
2344
2428
|
}
|
|
2345
2429
|
}
|
|
2346
|
-
MonkeyEcxConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2347
|
-
MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2430
|
+
MonkeyEcxConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxi18nConfigService }, { token: MonkeyEcxLogsConfigService }, { token: i1.MonkeyStyleGuideSettingsService }, { token: MonkeyEcxServiceWorkerConfigService }, { token: MonkeyEcxSecurityConsoleConfigService }, { token: MonkeyEcxMaintenanceConfigService }, { token: MonkeyEcxErrorConfigService }, { token: MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2431
|
+
MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, providedIn: 'root' });
|
|
2348
2432
|
__decorate([
|
|
2349
2433
|
MonkeyEcxCoreService({
|
|
2350
2434
|
httpResponse: {
|
|
@@ -2355,12 +2439,12 @@ __decorate([
|
|
|
2355
2439
|
}
|
|
2356
2440
|
})
|
|
2357
2441
|
], MonkeyEcxConfigService.prototype, "init", null);
|
|
2358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, decorators: [{
|
|
2359
2443
|
type: Injectable,
|
|
2360
2444
|
args: [{
|
|
2361
2445
|
providedIn: 'root'
|
|
2362
2446
|
}]
|
|
2363
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxi18nConfigService }, { type: MonkeyEcxLogsConfigService }, { type: i1.MonkeyStyleGuideSettingsService }, { type: MonkeyEcxServiceWorkerConfigService }, { type: MonkeyEcxSecurityConsoleConfigService }, { type: MonkeyEcxMaintenanceConfigService }]; }, propDecorators: { init: [] } });
|
|
2447
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxi18nConfigService }, { type: MonkeyEcxLogsConfigService }, { type: i1.MonkeyStyleGuideSettingsService }, { type: MonkeyEcxServiceWorkerConfigService }, { type: MonkeyEcxSecurityConsoleConfigService }, { type: MonkeyEcxMaintenanceConfigService }, { type: MonkeyEcxErrorConfigService }, { type: MonkeyEcxFeatureToggleService }]; }, propDecorators: { init: [] } });
|
|
2364
2448
|
|
|
2365
2449
|
class MonkeyEcxTokenStorageService {
|
|
2366
2450
|
constructor(monkeyecxConfigService) {
|
|
@@ -2465,9 +2549,9 @@ class MonkeyEcxTokenStorageService {
|
|
|
2465
2549
|
});
|
|
2466
2550
|
}
|
|
2467
2551
|
}
|
|
2468
|
-
MonkeyEcxTokenStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2469
|
-
MonkeyEcxTokenStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2552
|
+
MonkeyEcxTokenStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, deps: [{ token: MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2553
|
+
MonkeyEcxTokenStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, providedIn: 'root' });
|
|
2554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, decorators: [{
|
|
2471
2555
|
type: Injectable,
|
|
2472
2556
|
args: [{
|
|
2473
2557
|
providedIn: 'root'
|
|
@@ -2523,9 +2607,9 @@ class MonkeyEcxSecurityDirective {
|
|
|
2523
2607
|
this.handleAccess();
|
|
2524
2608
|
}
|
|
2525
2609
|
}
|
|
2526
|
-
MonkeyEcxSecurityDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2527
|
-
MonkeyEcxSecurityDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2610
|
+
MonkeyEcxSecurityDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityDirective, deps: [{ token: i0.ElementRef }, { token: MonkeyEcxTokenStorageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2611
|
+
MonkeyEcxSecurityDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxSecurityDirective, selector: "[monkeyecxSecurity]", inputs: { roles: ["securityRoles", "roles"], byExclusion: ["securityByExclusion", "byExclusion"] }, ngImport: i0 });
|
|
2612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityDirective, decorators: [{
|
|
2529
2613
|
type: Directive,
|
|
2530
2614
|
args: [{
|
|
2531
2615
|
selector: '[monkeyecxSecurity]'
|
|
@@ -2620,9 +2704,9 @@ class MonkeyEcxTooltipDirective {
|
|
|
2620
2704
|
this.renderer.setStyle(this.tooltip, 'left', `${left}px`);
|
|
2621
2705
|
}
|
|
2622
2706
|
}
|
|
2623
|
-
MonkeyEcxTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2624
|
-
MonkeyEcxTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
2625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2707
|
+
MonkeyEcxTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2708
|
+
MonkeyEcxTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxTooltipDirective, selector: "[monkeyecxTooltip]", inputs: { tooltipDelay: "tooltipDelay", tooltipPosition: "tooltipPosition", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "click": "clickout()" } }, ngImport: i0 });
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTooltipDirective, decorators: [{
|
|
2626
2710
|
type: Directive,
|
|
2627
2711
|
args: [{
|
|
2628
2712
|
selector: '[monkeyecxTooltip]'
|
|
@@ -2648,8 +2732,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
2648
2732
|
|
|
2649
2733
|
class MonkeyEcxDirectivesModule {
|
|
2650
2734
|
}
|
|
2651
|
-
MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2652
|
-
MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2735
|
+
MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2736
|
+
MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, declarations: [MonkeyEcxDragDropDirective,
|
|
2653
2737
|
MonkeyEcxFormatCurrency,
|
|
2654
2738
|
MonkeyEcxFormatUpper,
|
|
2655
2739
|
MonkeyEcxOnlyAlphaNumericDirective,
|
|
@@ -2662,8 +2746,8 @@ MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
2662
2746
|
MonkeyEcxOnlyNumbersDirective,
|
|
2663
2747
|
MonkeyEcxSecurityDirective,
|
|
2664
2748
|
MonkeyEcxTooltipDirective] });
|
|
2665
|
-
MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2749
|
+
MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule });
|
|
2750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, decorators: [{
|
|
2667
2751
|
type: NgModule,
|
|
2668
2752
|
args: [{
|
|
2669
2753
|
declarations: [
|
|
@@ -2737,9 +2821,9 @@ class MonkeyEcxAuthenticationService {
|
|
|
2737
2821
|
this.refreshToken = (args === null || args === void 0 ? void 0 : args.refreshToken) || this.refreshToken.bind(this);
|
|
2738
2822
|
}
|
|
2739
2823
|
}
|
|
2740
|
-
MonkeyEcxAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2741
|
-
MonkeyEcxAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2824
|
+
MonkeyEcxAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2825
|
+
MonkeyEcxAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, providedIn: 'root' });
|
|
2826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, decorators: [{
|
|
2743
2827
|
type: Injectable,
|
|
2744
2828
|
args: [{
|
|
2745
2829
|
providedIn: 'root'
|
|
@@ -2763,9 +2847,9 @@ class MonkeyEcxAuthGuardLogin {
|
|
|
2763
2847
|
return true;
|
|
2764
2848
|
}
|
|
2765
2849
|
}
|
|
2766
|
-
MonkeyEcxAuthGuardLogin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2767
|
-
MonkeyEcxAuthGuardLogin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2850
|
+
MonkeyEcxAuthGuardLogin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2851
|
+
MonkeyEcxAuthGuardLogin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, providedIn: 'root' });
|
|
2852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, decorators: [{
|
|
2769
2853
|
type: Injectable,
|
|
2770
2854
|
args: [{
|
|
2771
2855
|
providedIn: 'root'
|
|
@@ -2786,9 +2870,9 @@ class MonkeyEcxAuthGuard {
|
|
|
2786
2870
|
return false;
|
|
2787
2871
|
}
|
|
2788
2872
|
}
|
|
2789
|
-
MonkeyEcxAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2790
|
-
MonkeyEcxAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2873
|
+
MonkeyEcxAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2874
|
+
MonkeyEcxAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, providedIn: 'root' });
|
|
2875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, decorators: [{
|
|
2792
2876
|
type: Injectable,
|
|
2793
2877
|
args: [{
|
|
2794
2878
|
providedIn: 'root'
|
|
@@ -2907,9 +2991,9 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
2907
2991
|
}
|
|
2908
2992
|
}
|
|
2909
2993
|
}
|
|
2910
|
-
MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2911
|
-
MonkeyEcxHttpErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2994
|
+
MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxTokenStorageService }, { token: MonkeyEcxAuthenticationService }, { token: i1$3.Router }, { token: i1.MonkeyStyleGuideSnackbarService }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2995
|
+
MonkeyEcxHttpErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, providedIn: 'root' });
|
|
2996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, decorators: [{
|
|
2913
2997
|
type: Injectable,
|
|
2914
2998
|
args: [{
|
|
2915
2999
|
providedIn: 'root'
|
|
@@ -2932,9 +3016,9 @@ class MonkeyEcxOthersErrorsHandlingService {
|
|
|
2932
3016
|
}
|
|
2933
3017
|
}
|
|
2934
3018
|
}
|
|
2935
|
-
MonkeyEcxOthersErrorsHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2936
|
-
MonkeyEcxOthersErrorsHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3019
|
+
MonkeyEcxOthersErrorsHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3020
|
+
MonkeyEcxOthersErrorsHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, providedIn: 'root' });
|
|
3021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, decorators: [{
|
|
2938
3022
|
type: Injectable,
|
|
2939
3023
|
args: [{
|
|
2940
3024
|
providedIn: 'root'
|
|
@@ -2964,9 +3048,9 @@ class MonkeyEcxErrorHandlingService {
|
|
|
2964
3048
|
}
|
|
2965
3049
|
}
|
|
2966
3050
|
}
|
|
2967
|
-
MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2968
|
-
MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3051
|
+
MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3052
|
+
MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
|
|
3053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
|
|
2970
3054
|
type: Injectable,
|
|
2971
3055
|
args: [{
|
|
2972
3056
|
providedIn: 'root'
|
|
@@ -2986,10 +3070,10 @@ class MonkeyEcxErrorHandlingModule {
|
|
|
2986
3070
|
};
|
|
2987
3071
|
}
|
|
2988
3072
|
}
|
|
2989
|
-
MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2990
|
-
MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
2991
|
-
MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
2992
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3073
|
+
MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3074
|
+
MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [CommonModule] });
|
|
3075
|
+
MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [[CommonModule]] });
|
|
3076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, decorators: [{
|
|
2993
3077
|
type: NgModule,
|
|
2994
3078
|
args: [{
|
|
2995
3079
|
imports: [CommonModule]
|
|
@@ -3023,9 +3107,9 @@ class MonkeyEcxHttpConfigErrorInterceptor {
|
|
|
3023
3107
|
}));
|
|
3024
3108
|
}
|
|
3025
3109
|
}
|
|
3026
|
-
MonkeyEcxHttpConfigErrorInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3027
|
-
MonkeyEcxHttpConfigErrorInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3110
|
+
MonkeyEcxHttpConfigErrorInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3111
|
+
MonkeyEcxHttpConfigErrorInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor });
|
|
3112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, decorators: [{
|
|
3029
3113
|
type: Injectable
|
|
3030
3114
|
}], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }, { type: MonkeyEcxErrorHandlingService }]; } });
|
|
3031
3115
|
|
|
@@ -3049,9 +3133,9 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
|
|
|
3049
3133
|
}));
|
|
3050
3134
|
}
|
|
3051
3135
|
}
|
|
3052
|
-
MonkeyEcxHttpConfigHeaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3053
|
-
MonkeyEcxHttpConfigHeaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3136
|
+
MonkeyEcxHttpConfigHeaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3137
|
+
MonkeyEcxHttpConfigHeaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor });
|
|
3138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, decorators: [{
|
|
3055
3139
|
type: Injectable
|
|
3056
3140
|
}], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }, { type: MonkeyEcxErrorHandlingService }]; } });
|
|
3057
3141
|
|
|
@@ -3138,9 +3222,9 @@ class MonkeyEcxRequestQueueHandlingService {
|
|
|
3138
3222
|
}));
|
|
3139
3223
|
}
|
|
3140
3224
|
}
|
|
3141
|
-
MonkeyEcxRequestQueueHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3142
|
-
MonkeyEcxRequestQueueHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3225
|
+
MonkeyEcxRequestQueueHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3226
|
+
MonkeyEcxRequestQueueHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, providedIn: 'root' });
|
|
3227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, decorators: [{
|
|
3144
3228
|
type: Injectable,
|
|
3145
3229
|
args: [{
|
|
3146
3230
|
providedIn: 'root'
|
|
@@ -3239,9 +3323,9 @@ class MonkeyEcxRequestQueueModalHandlingService {
|
|
|
3239
3323
|
}));
|
|
3240
3324
|
}
|
|
3241
3325
|
}
|
|
3242
|
-
MonkeyEcxRequestQueueModalHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3243
|
-
MonkeyEcxRequestQueueModalHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3326
|
+
MonkeyEcxRequestQueueModalHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3327
|
+
MonkeyEcxRequestQueueModalHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, providedIn: 'root' });
|
|
3328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, decorators: [{
|
|
3245
3329
|
type: Injectable,
|
|
3246
3330
|
args: [{
|
|
3247
3331
|
providedIn: 'root'
|
|
@@ -3273,9 +3357,9 @@ class MonkeyEcxHttpConfigQueueInterceptor {
|
|
|
3273
3357
|
MonkeyEcxUtils.persistNullEmptyUndefined(mrq.item.name));
|
|
3274
3358
|
}
|
|
3275
3359
|
}
|
|
3276
|
-
MonkeyEcxHttpConfigQueueInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3277
|
-
MonkeyEcxHttpConfigQueueInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3360
|
+
MonkeyEcxHttpConfigQueueInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, deps: [{ token: i0.Injector }, { token: MonkeyEcxRequestQueueHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3361
|
+
MonkeyEcxHttpConfigQueueInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor });
|
|
3362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, decorators: [{
|
|
3279
3363
|
type: Injectable
|
|
3280
3364
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: MonkeyEcxRequestQueueHandlingService }]; } });
|
|
3281
3365
|
|
|
@@ -3308,9 +3392,9 @@ class MonkeyEcxHttpConfigLoadingInProgressInterceptor {
|
|
|
3308
3392
|
: true;
|
|
3309
3393
|
}
|
|
3310
3394
|
}
|
|
3311
|
-
MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3312
|
-
MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3395
|
+
MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3396
|
+
MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor });
|
|
3397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, decorators: [{
|
|
3314
3398
|
type: Injectable
|
|
3315
3399
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3316
3400
|
|
|
@@ -3343,10 +3427,10 @@ class MonkeyEcxHttpConfigInterceptorModule {
|
|
|
3343
3427
|
};
|
|
3344
3428
|
}
|
|
3345
3429
|
}
|
|
3346
|
-
MonkeyEcxHttpConfigInterceptorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3347
|
-
MonkeyEcxHttpConfigInterceptorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3348
|
-
MonkeyEcxHttpConfigInterceptorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3430
|
+
MonkeyEcxHttpConfigInterceptorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3431
|
+
MonkeyEcxHttpConfigInterceptorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [CommonModule] });
|
|
3432
|
+
MonkeyEcxHttpConfigInterceptorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [[CommonModule]] });
|
|
3433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, decorators: [{
|
|
3350
3434
|
type: NgModule,
|
|
3351
3435
|
args: [{
|
|
3352
3436
|
imports: [CommonModule]
|
|
@@ -3377,10 +3461,10 @@ class MonkeyEcxConfigModule {
|
|
|
3377
3461
|
};
|
|
3378
3462
|
}
|
|
3379
3463
|
}
|
|
3380
|
-
MonkeyEcxConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3381
|
-
MonkeyEcxConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3382
|
-
MonkeyEcxConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3464
|
+
MonkeyEcxConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule, deps: [{ token: MonkeyEcxConfigModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3465
|
+
MonkeyEcxConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule });
|
|
3466
|
+
MonkeyEcxConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule });
|
|
3467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule, decorators: [{
|
|
3384
3468
|
type: NgModule
|
|
3385
3469
|
}], ctorParameters: function () { return [{ type: MonkeyEcxConfigModule, decorators: [{
|
|
3386
3470
|
type: Optional
|
|
@@ -3388,62 +3472,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImpo
|
|
|
3388
3472
|
type: SkipSelf
|
|
3389
3473
|
}] }]; } });
|
|
3390
3474
|
|
|
3391
|
-
class MonkeyEcxFeatureToggleService {
|
|
3392
|
-
constructor(monkeyConfigService) {
|
|
3393
|
-
this.monkeyConfigService = monkeyConfigService;
|
|
3394
|
-
this.flagSubject$ = new BehaviorSubject(null);
|
|
3395
|
-
// not to do
|
|
3396
|
-
}
|
|
3397
|
-
getAllFlags() {
|
|
3398
|
-
this.flags = this.ldClient.allFlags();
|
|
3399
|
-
this.flagSubject$.next(true);
|
|
3400
|
-
}
|
|
3401
|
-
identify(config, environment) {
|
|
3402
|
-
var _a;
|
|
3403
|
-
if (config) {
|
|
3404
|
-
const email = 'monkey@monkey.exchange';
|
|
3405
|
-
const user = {
|
|
3406
|
-
email,
|
|
3407
|
-
key: `${(_a = config.program) === null || _a === void 0 ? void 0 : _a.token}#${email}`
|
|
3408
|
-
};
|
|
3409
|
-
if (!this.ldClient) {
|
|
3410
|
-
this.ldClient = initialize(environment.launchDarklyClientSideID, user);
|
|
3411
|
-
this.ldClient.on('change', this.getAllFlags.bind(this));
|
|
3412
|
-
this.ldClient.on('ready', this.getAllFlags.bind(this));
|
|
3413
|
-
}
|
|
3414
|
-
else {
|
|
3415
|
-
this.ldClient.identify(user, null, this.getAllFlags);
|
|
3416
|
-
}
|
|
3417
|
-
}
|
|
3418
|
-
}
|
|
3419
|
-
apply(configBoostrap, environment) {
|
|
3420
|
-
if (environment.launchDarklyClientSideID) {
|
|
3421
|
-
this.monkeyConfigService.config().subscribe((config) => {
|
|
3422
|
-
this.identify(config, environment);
|
|
3423
|
-
});
|
|
3424
|
-
}
|
|
3425
|
-
else {
|
|
3426
|
-
this.flagSubject$.next(true);
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
get onFlags() {
|
|
3430
|
-
return this.flagSubject$.asObservable();
|
|
3431
|
-
}
|
|
3432
|
-
getFlag(flag) {
|
|
3433
|
-
var _a;
|
|
3434
|
-
const flagValue = (_a = this.flags) === null || _a === void 0 ? void 0 : _a[flag];
|
|
3435
|
-
return MonkeyUtils.persistNullEmptyUndefined(flagValue) ? flagValue : null;
|
|
3436
|
-
}
|
|
3437
|
-
}
|
|
3438
|
-
MonkeyEcxFeatureToggleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [{ token: MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3439
|
-
MonkeyEcxFeatureToggleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' });
|
|
3440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0, type: MonkeyEcxFeatureToggleService, decorators: [{
|
|
3441
|
-
type: Injectable,
|
|
3442
|
-
args: [{
|
|
3443
|
-
providedIn: 'root'
|
|
3444
|
-
}]
|
|
3445
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxConfigService }]; } });
|
|
3446
|
-
|
|
3447
3475
|
class MonkeyEcxLoggedHandlingService {
|
|
3448
3476
|
constructor() {
|
|
3449
3477
|
this.schedules = [];
|
|
@@ -3462,9 +3490,9 @@ class MonkeyEcxLoggedHandlingService {
|
|
|
3462
3490
|
this.destroySchedule();
|
|
3463
3491
|
}
|
|
3464
3492
|
}
|
|
3465
|
-
MonkeyEcxLoggedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3466
|
-
MonkeyEcxLoggedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3493
|
+
MonkeyEcxLoggedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3494
|
+
MonkeyEcxLoggedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, providedIn: 'root' });
|
|
3495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, decorators: [{
|
|
3468
3496
|
type: Injectable,
|
|
3469
3497
|
args: [{
|
|
3470
3498
|
providedIn: 'root'
|
|
@@ -3538,9 +3566,9 @@ class MonkeyEcxRequestDownloadHandlingService {
|
|
|
3538
3566
|
return MonkeyEcxUtils.persistNullEmptyUndefined(found);
|
|
3539
3567
|
}
|
|
3540
3568
|
}
|
|
3541
|
-
MonkeyEcxRequestDownloadHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3542
|
-
MonkeyEcxRequestDownloadHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3569
|
+
MonkeyEcxRequestDownloadHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3570
|
+
MonkeyEcxRequestDownloadHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, providedIn: 'root' });
|
|
3571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, decorators: [{
|
|
3544
3572
|
type: Injectable,
|
|
3545
3573
|
args: [{
|
|
3546
3574
|
providedIn: 'root'
|
|
@@ -3588,9 +3616,9 @@ class MonkeyEcxRequestDownloadedHandlingService {
|
|
|
3588
3616
|
return MonkeyEcxUtils.persistNullEmptyUndefined(found);
|
|
3589
3617
|
}
|
|
3590
3618
|
}
|
|
3591
|
-
MonkeyEcxRequestDownloadedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3592
|
-
MonkeyEcxRequestDownloadedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3619
|
+
MonkeyEcxRequestDownloadedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3620
|
+
MonkeyEcxRequestDownloadedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, providedIn: 'root' });
|
|
3621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, decorators: [{
|
|
3594
3622
|
type: Injectable,
|
|
3595
3623
|
args: [{
|
|
3596
3624
|
providedIn: 'root'
|
|
@@ -3638,9 +3666,9 @@ class MonkeyEcxDiscoveryParamsService {
|
|
|
3638
3666
|
return found;
|
|
3639
3667
|
}
|
|
3640
3668
|
}
|
|
3641
|
-
MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3642
|
-
MonkeyEcxDiscoveryParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3669
|
+
MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3670
|
+
MonkeyEcxDiscoveryParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, providedIn: 'root' });
|
|
3671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, decorators: [{
|
|
3644
3672
|
type: Injectable,
|
|
3645
3673
|
args: [{
|
|
3646
3674
|
providedIn: 'root'
|
|
@@ -3720,8 +3748,8 @@ class MonkeyEcxRequestScheduleService {
|
|
|
3720
3748
|
return q;
|
|
3721
3749
|
}
|
|
3722
3750
|
}
|
|
3723
|
-
MonkeyEcxRequestScheduleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3724
|
-
MonkeyEcxRequestScheduleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
3751
|
+
MonkeyEcxRequestScheduleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxLoggedHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3752
|
+
MonkeyEcxRequestScheduleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, providedIn: 'root' });
|
|
3725
3753
|
__decorate([
|
|
3726
3754
|
MonkeyEcxCoreService({
|
|
3727
3755
|
httpResponse: {
|
|
@@ -3732,7 +3760,7 @@ __decorate([
|
|
|
3732
3760
|
}
|
|
3733
3761
|
})
|
|
3734
3762
|
], MonkeyEcxRequestScheduleService.prototype, "doCall", null);
|
|
3735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, decorators: [{
|
|
3736
3764
|
type: Injectable,
|
|
3737
3765
|
args: [{
|
|
3738
3766
|
providedIn: 'root'
|
|
@@ -3837,11 +3865,11 @@ class MonkeyEcxSpecificationSearch {
|
|
|
3837
3865
|
|
|
3838
3866
|
class MonkeyFrontCoreModuleModule {
|
|
3839
3867
|
}
|
|
3840
|
-
MonkeyFrontCoreModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
3841
|
-
MonkeyFrontCoreModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
3842
|
-
HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$
|
|
3868
|
+
MonkeyFrontCoreModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3869
|
+
MonkeyFrontCoreModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, imports: [CommonModule,
|
|
3870
|
+
HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$6.ServiceWorkerModule, ClosedToMaintenanceModule,
|
|
3843
3871
|
VersionChangedModule] });
|
|
3844
|
-
MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
3872
|
+
MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, providers: [
|
|
3845
3873
|
MonkeyStyleGuideModalService,
|
|
3846
3874
|
MonkeyStyleGuideSettingsService,
|
|
3847
3875
|
MonkeyStyleGuideSnackbarService
|
|
@@ -3857,7 +3885,7 @@ MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0
|
|
|
3857
3885
|
ClosedToMaintenanceModule,
|
|
3858
3886
|
VersionChangedModule
|
|
3859
3887
|
]] });
|
|
3860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
3888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, decorators: [{
|
|
3861
3889
|
type: NgModule,
|
|
3862
3890
|
args: [{
|
|
3863
3891
|
imports: [
|