monkey-front-core 0.0.488 → 0.0.490
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +12 -11
- package/fesm2015/monkey-front-core.mjs +50 -46
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +48 -46
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +3 -3
- package/monkey-front-core-0.0.490.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.488.tgz +0 -0
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { MonkeyEcxCookieStorageService } from '../services/storage/monkeyecx-cookie-storage.service';
|
|
1
|
+
import { DEFAULT_CURRENCY_CODE, Inject, Pipe } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "@angular/common";
|
|
5
4
|
export class MonkeyEcxFormatCurrencyPipe {
|
|
6
|
-
constructor(
|
|
7
|
-
this.injector = injector;
|
|
5
|
+
constructor(currencyPipe, defaultCurencyCode) {
|
|
8
6
|
this.currencyPipe = currencyPipe;
|
|
7
|
+
this.defaultCurencyCode = defaultCurencyCode;
|
|
9
8
|
// not to do
|
|
10
9
|
}
|
|
11
10
|
transform(value, symbol = 'symbol') {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
const { currency } = i18n;
|
|
11
|
+
console.log('veio no core@@@@');
|
|
12
|
+
console.log(this.defaultCurencyCode.toString());
|
|
13
|
+
const currency = this.defaultCurencyCode.toString();
|
|
16
14
|
return this.currencyPipe.transform(value, currency, symbol);
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
|
-
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token:
|
|
17
|
+
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i1.CurrencyPipe }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
18
|
MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, name: "monkeyecxFormatCurrency" });
|
|
21
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
|
|
22
20
|
type: Pipe,
|
|
23
21
|
args: [{
|
|
24
22
|
name: 'monkeyecxFormatCurrency'
|
|
25
23
|
}]
|
|
26
|
-
}], ctorParameters: function () { return [{ type:
|
|
27
|
-
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i1.CurrencyPipe }, { type: i0.InjectionToken, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [DEFAULT_CURRENCY_CODE]
|
|
27
|
+
}] }]; } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWZvcm1hdC1jdXJyZW5jeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29yZS9waXBlcy9tb25rZXllY3gtZm9ybWF0LWN1cnJlbmN5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLEVBQWtCLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7OztBQUtuRyxNQUFNLE9BQU8sMkJBQTJCO0lBQ3RDLFlBQ1UsWUFBMEIsRUFDSyxrQkFBMEM7UUFEekUsaUJBQVksR0FBWixZQUFZLENBQWM7UUFDSyx1QkFBa0IsR0FBbEIsa0JBQWtCLENBQXdCO1FBRWpGLFlBQVk7SUFDZCxDQUFDO0lBRUQsU0FBUyxDQUFDLEtBQVUsRUFBRSxNQUFNLEdBQUcsUUFBUTtRQUNyQyxPQUFPLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7UUFDaEMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsa0JBQWtCLENBQUMsUUFBUSxFQUFFLENBQUMsQ0FBQztRQUNoRCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsa0JBQWtCLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDcEQsT0FBTyxJQUFJLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBQzlELENBQUM7O3dIQWJVLDJCQUEyQiw4Q0FHNUIscUJBQXFCO3NIQUhwQiwyQkFBMkI7MkZBQTNCLDJCQUEyQjtrQkFIdkMsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUseUJBQXlCO2lCQUNoQzs7MEJBSUksTUFBTTsyQkFBQyxxQkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDdXJyZW5jeVBpcGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgREVGQVVMVF9DVVJSRU5DWV9DT0RFLCBJbmplY3QsIEluamVjdGlvblRva2VuLCBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ21vbmtleWVjeEZvcm1hdEN1cnJlbmN5J1xufSlcbmV4cG9ydCBjbGFzcyBNb25rZXlFY3hGb3JtYXRDdXJyZW5jeVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBjdXJyZW5jeVBpcGU6IEN1cnJlbmN5UGlwZSxcbiAgICBASW5qZWN0KERFRkFVTFRfQ1VSUkVOQ1lfQ09ERSkgcHJpdmF0ZSBkZWZhdWx0Q3VyZW5jeUNvZGU6IEluamVjdGlvblRva2VuPHN0cmluZz5cbiAgKSB7XG4gICAgLy8gbm90IHRvIGRvXG4gIH1cblxuICB0cmFuc2Zvcm0odmFsdWU6IGFueSwgc3ltYm9sID0gJ3N5bWJvbCcpIHtcbiAgICBjb25zb2xlLmxvZygndmVpbyBubyBjb3JlQEBAQCcpO1xuICAgIGNvbnNvbGUubG9nKHRoaXMuZGVmYXVsdEN1cmVuY3lDb2RlLnRvU3RyaW5nKCkpO1xuICAgIGNvbnN0IGN1cnJlbmN5ID0gdGhpcy5kZWZhdWx0Q3VyZW5jeUNvZGUudG9TdHJpbmcoKTtcbiAgICByZXR1cm4gdGhpcy5jdXJyZW5jeVBpcGUudHJhbnNmb3JtKHZhbHVlLCBjdXJyZW5jeSwgc3ltYm9sKTtcbiAgfVxufVxuIl19
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule, Pipe, ViewEncapsulation, Injectable,
|
|
2
|
+
import { Component, Input, NgModule, Pipe, ViewEncapsulation, Injectable, DEFAULT_CURRENCY_CODE, Inject, InjectionToken, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, Optional, inject, SkipSelf, NgZone, ErrorHandler } from '@angular/core';
|
|
3
3
|
import * as i1 from 'monkey-style-guide';
|
|
4
4
|
import { MonkeyButtonModule, MonkeyModalModule, MonkeyIconModule, MonkeyInputModule, MonkeyRadioButtonModule, MonkeyOptionModule, MonkeyUtils, MonkeyStyleGuideModule, MonkeyStyleGuideModalService, MonkeyStyleGuideSettingsService, MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
@@ -12,12 +12,11 @@ import { throwError, BehaviorSubject, Subscription, interval, concat, Subject, o
|
|
|
12
12
|
import * as i1$2 from '@angular/common/http';
|
|
13
13
|
import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
14
14
|
import * as i2$1 from '@angular/platform-browser';
|
|
15
|
-
import * as i1$3 from 'ngx-cookie-service';
|
|
16
15
|
import * as i2$2 from '@angular/router';
|
|
17
16
|
import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel, Router } from '@angular/router';
|
|
18
17
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
19
18
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
20
|
-
import * as i1$
|
|
19
|
+
import * as i1$3 from '@angular/cdk/overlay';
|
|
21
20
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
22
21
|
import { __awaiter, __decorate } from 'tslib';
|
|
23
22
|
import * as i2$3 from '@ngrx/store';
|
|
@@ -27,9 +26,10 @@ import esCL from '@angular/common/locales/es-CL';
|
|
|
27
26
|
import esMX from '@angular/common/locales/es-MX';
|
|
28
27
|
import ptBr from '@angular/common/locales/pt';
|
|
29
28
|
import { datadogRum } from '@datadog/browser-rum';
|
|
30
|
-
import * as i1$
|
|
29
|
+
import * as i1$4 from '@angular/service-worker';
|
|
31
30
|
import { ServiceWorkerModule } from '@angular/service-worker';
|
|
32
31
|
import { initialize } from 'launchdarkly-js-client-sdk';
|
|
32
|
+
import * as i1$5 from 'ngx-cookie-service';
|
|
33
33
|
import { parseUrl } from 'query-string';
|
|
34
34
|
|
|
35
35
|
class AlertsComponent {
|
|
@@ -732,57 +732,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
732
732
|
}]
|
|
733
733
|
}], ctorParameters: function () { return []; } });
|
|
734
734
|
|
|
735
|
-
class MonkeyEcxCookieStorageService {
|
|
736
|
-
constructor(cookieService) {
|
|
737
|
-
this.cookieService = cookieService;
|
|
738
|
-
// not to do
|
|
739
|
-
}
|
|
740
|
-
setCookie(name, value, environment) {
|
|
741
|
-
this.removeCookie(name, environment);
|
|
742
|
-
const { urlDomain } = environment;
|
|
743
|
-
const handledDomain = urlDomain ? `.${urlDomain}` : '';
|
|
744
|
-
this.cookieService.set(name, value, undefined, '/', handledDomain, true, 'None');
|
|
745
|
-
}
|
|
746
|
-
getCookie(name) {
|
|
747
|
-
return this.cookieService.get(name);
|
|
748
|
-
}
|
|
749
|
-
removeCookie(name, environment) {
|
|
750
|
-
const { urlDomain } = environment;
|
|
751
|
-
const handledDomain = urlDomain ? `.${urlDomain}` : '';
|
|
752
|
-
this.cookieService.delete(name, '/', handledDomain, true, 'None');
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$3.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
756
|
-
MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
|
|
757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
|
|
758
|
-
type: Injectable,
|
|
759
|
-
args: [{
|
|
760
|
-
providedIn: 'root'
|
|
761
|
-
}]
|
|
762
|
-
}], ctorParameters: function () { return [{ type: i1$3.CookieService }]; } });
|
|
763
|
-
|
|
764
735
|
class MonkeyEcxFormatCurrencyPipe {
|
|
765
|
-
constructor(
|
|
766
|
-
this.injector = injector;
|
|
736
|
+
constructor(currencyPipe, defaultCurencyCode) {
|
|
767
737
|
this.currencyPipe = currencyPipe;
|
|
738
|
+
this.defaultCurencyCode = defaultCurencyCode;
|
|
768
739
|
// not to do
|
|
769
740
|
}
|
|
770
741
|
transform(value, symbol = 'symbol') {
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
const
|
|
774
|
-
const { currency } = i18n;
|
|
742
|
+
console.log('veio no core@@@@');
|
|
743
|
+
console.log(this.defaultCurencyCode.toString());
|
|
744
|
+
const currency = this.defaultCurencyCode.toString();
|
|
775
745
|
return this.currencyPipe.transform(value, currency, symbol);
|
|
776
746
|
}
|
|
777
747
|
}
|
|
778
|
-
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token:
|
|
748
|
+
MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i2.CurrencyPipe }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
779
749
|
MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, name: "monkeyecxFormatCurrency" });
|
|
780
750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
|
|
781
751
|
type: Pipe,
|
|
782
752
|
args: [{
|
|
783
753
|
name: 'monkeyecxFormatCurrency'
|
|
784
754
|
}]
|
|
785
|
-
}], ctorParameters: function () {
|
|
755
|
+
}], ctorParameters: function () {
|
|
756
|
+
return [{ type: i2.CurrencyPipe }, { type: i0.InjectionToken, decorators: [{
|
|
757
|
+
type: Inject,
|
|
758
|
+
args: [DEFAULT_CURRENCY_CODE]
|
|
759
|
+
}] }];
|
|
760
|
+
} });
|
|
786
761
|
|
|
787
762
|
const MECX_TIMEZONEOFFSET = new InjectionToken('');
|
|
788
763
|
const MECX_DATE_FORMAT = new InjectionToken('');
|
|
@@ -2559,7 +2534,7 @@ class MonkeyEcxPopoverDirective {
|
|
|
2559
2534
|
this.eventsSubs.unsubscribe();
|
|
2560
2535
|
}
|
|
2561
2536
|
}
|
|
2562
|
-
MonkeyEcxPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
2537
|
+
MonkeyEcxPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.Overlay }, { token: i1$3.OverlayPositionBuilder }, { token: i2$2.Router }, { token: POPOVER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2563
2538
|
MonkeyEcxPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: { popover: ["monkeyecxPopover", "popover"], closed: ["monkeyecxPopoverClosed", "closed"], target: ["monkeyecxPopoverTarget", "target"], minwidth: ["monkeyecxPopoverMinwidth", "minwidth"], backdrop: ["monkeyecxPopoverBackdrop", "backdrop"], watch: ["monkeyecxPopoverWatch", "watch"], dir: ["monkeyecxPopoverDir", "dir"], contextmenu: ["monkeyecxPopoverContextmenu", "contextmenu"], height: ["monkeyecxPopoverHeight", "height"] }, ngImport: i0 });
|
|
2564
2539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPopoverDirective, decorators: [{
|
|
2565
2540
|
type: Directive,
|
|
@@ -2567,7 +2542,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2567
2542
|
selector: '[monkeyecxPopover]'
|
|
2568
2543
|
}]
|
|
2569
2544
|
}], ctorParameters: function () {
|
|
2570
|
-
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
2545
|
+
return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.Overlay }, { type: i1$3.OverlayPositionBuilder }, { type: i2$2.Router }, { type: undefined, decorators: [{
|
|
2571
2546
|
type: Inject,
|
|
2572
2547
|
args: [POPOVER_OPTIONS]
|
|
2573
2548
|
}, {
|
|
@@ -3693,14 +3668,14 @@ class MonkeyEcxServiceWorkerConfigService {
|
|
|
3693
3668
|
this.verify();
|
|
3694
3669
|
}
|
|
3695
3670
|
}
|
|
3696
|
-
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$
|
|
3671
|
+
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$4.SwUpdate }, { token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3697
3672
|
MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
|
|
3698
3673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
|
|
3699
3674
|
type: Injectable,
|
|
3700
3675
|
args: [{
|
|
3701
3676
|
providedIn: 'root'
|
|
3702
3677
|
}]
|
|
3703
|
-
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$
|
|
3678
|
+
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$4.SwUpdate }, { type: i1.MonkeyStyleGuideModalService }]; } });
|
|
3704
3679
|
|
|
3705
3680
|
/* eslint-disable no-console */
|
|
3706
3681
|
class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
@@ -4241,6 +4216,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
4241
4216
|
}]
|
|
4242
4217
|
}], ctorParameters: function () { return [{ type: MonkeyEcxConfigService }, { type: i2$3.Store }]; } });
|
|
4243
4218
|
|
|
4219
|
+
class MonkeyEcxCookieStorageService {
|
|
4220
|
+
constructor(cookieService) {
|
|
4221
|
+
this.cookieService = cookieService;
|
|
4222
|
+
// not to do
|
|
4223
|
+
}
|
|
4224
|
+
setCookie(name, value, environment) {
|
|
4225
|
+
this.removeCookie(name, environment);
|
|
4226
|
+
const { urlDomain } = environment;
|
|
4227
|
+
const handledDomain = urlDomain ? `.${urlDomain}` : '';
|
|
4228
|
+
this.cookieService.set(name, value, undefined, '/', handledDomain, true, 'None');
|
|
4229
|
+
}
|
|
4230
|
+
getCookie(name) {
|
|
4231
|
+
return this.cookieService.get(name);
|
|
4232
|
+
}
|
|
4233
|
+
removeCookie(name, environment) {
|
|
4234
|
+
const { urlDomain } = environment;
|
|
4235
|
+
const handledDomain = urlDomain ? `.${urlDomain}` : '';
|
|
4236
|
+
this.cookieService.delete(name, '/', handledDomain, true, 'None');
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$5.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4240
|
+
MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
|
|
4241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
|
|
4242
|
+
type: Injectable,
|
|
4243
|
+
args: [{
|
|
4244
|
+
providedIn: 'root'
|
|
4245
|
+
}]
|
|
4246
|
+
}], ctorParameters: function () { return [{ type: i1$5.CookieService }]; } });
|
|
4247
|
+
|
|
4244
4248
|
class MonkeyEcxSecurityDirective {
|
|
4245
4249
|
constructor(elementRef, tokenStorageService, cdr) {
|
|
4246
4250
|
this.elementRef = elementRef;
|
|
@@ -6571,7 +6575,7 @@ class MonkeyFrontCoreModule {
|
|
|
6571
6575
|
}
|
|
6572
6576
|
MonkeyFrontCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6573
6577
|
MonkeyFrontCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModule, imports: [CommonModule,
|
|
6574
|
-
HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$
|
|
6578
|
+
HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$4.ServiceWorkerModule, ClosedToMaintenanceModule, i2$3.StoreFeatureModule, VersionChangedModule,
|
|
6575
6579
|
AlertsModule,
|
|
6576
6580
|
CurrencyConfigModule] });
|
|
6577
6581
|
MonkeyFrontCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModule, providers: [
|