monkey-front-core 0.0.136 → 0.0.139
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/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +1 -1
- package/esm2020/lib/core/model/monkeyecx-model.mjs +1 -1
- package/esm2020/lib/core/pipes/index.mjs +2 -1
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -0
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +6 -1
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +1 -1
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +1 -1
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +1 -1
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +1 -1
- package/fesm2015/monkey-front-core.mjs +338 -314
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +334 -310
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/pipes/index.d.ts +1 -0
- package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +7 -6
- package/monkey-front-core-0.0.139.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.136.tgz +0 -0
|
@@ -585,279 +585,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
585
585
|
}]
|
|
586
586
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
587
587
|
|
|
588
|
-
class MonkeyEcxPipesModule {
|
|
589
|
-
}
|
|
590
|
-
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
591
|
-
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
|
|
592
|
-
MonkeyEcxFormatAddressPipe,
|
|
593
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
594
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
595
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
596
|
-
MonkeyEcxFormatDocumentPipe,
|
|
597
|
-
MonkeyEcxFormatNumberPipe,
|
|
598
|
-
MonkeyEcxFormatPhonePipe,
|
|
599
|
-
MonkeyEcxFormatSizePipe,
|
|
600
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
601
|
-
MonkeyEcxFormatValue,
|
|
602
|
-
MonkeyEcxFormatZipCodePipe,
|
|
603
|
-
MonkeyEcxTextTruncatePipe,
|
|
604
|
-
MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
605
|
-
MonkeyEcxFormatAddressPipe,
|
|
606
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
607
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
608
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
609
|
-
MonkeyEcxFormatDocumentPipe,
|
|
610
|
-
MonkeyEcxFormatNumberPipe,
|
|
611
|
-
MonkeyEcxFormatPhonePipe,
|
|
612
|
-
MonkeyEcxFormatSizePipe,
|
|
613
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
614
|
-
MonkeyEcxFormatValue,
|
|
615
|
-
MonkeyEcxFormatZipCodePipe,
|
|
616
|
-
MonkeyEcxTextTruncatePipe,
|
|
617
|
-
MonkeyEcxTruncateQtdPipe] });
|
|
618
|
-
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
620
|
-
type: NgModule,
|
|
621
|
-
args: [{
|
|
622
|
-
declarations: [
|
|
623
|
-
MonkeyEcxDisplayFirstNamePipe,
|
|
624
|
-
MonkeyEcxFormatAddressPipe,
|
|
625
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
626
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
627
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
628
|
-
MonkeyEcxFormatDocumentPipe,
|
|
629
|
-
MonkeyEcxFormatNumberPipe,
|
|
630
|
-
MonkeyEcxFormatPhonePipe,
|
|
631
|
-
MonkeyEcxFormatSizePipe,
|
|
632
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
633
|
-
MonkeyEcxFormatValue,
|
|
634
|
-
MonkeyEcxFormatZipCodePipe,
|
|
635
|
-
MonkeyEcxTextTruncatePipe,
|
|
636
|
-
MonkeyEcxTruncateQtdPipe,
|
|
637
|
-
],
|
|
638
|
-
exports: [
|
|
639
|
-
MonkeyEcxDisplayFirstNamePipe,
|
|
640
|
-
MonkeyEcxFormatAddressPipe,
|
|
641
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
642
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
643
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
644
|
-
MonkeyEcxFormatDocumentPipe,
|
|
645
|
-
MonkeyEcxFormatNumberPipe,
|
|
646
|
-
MonkeyEcxFormatPhonePipe,
|
|
647
|
-
MonkeyEcxFormatSizePipe,
|
|
648
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
649
|
-
MonkeyEcxFormatValue,
|
|
650
|
-
MonkeyEcxFormatZipCodePipe,
|
|
651
|
-
MonkeyEcxTextTruncatePipe,
|
|
652
|
-
MonkeyEcxTruncateQtdPipe,
|
|
653
|
-
],
|
|
654
|
-
providers: [CurrencyPipe],
|
|
655
|
-
}]
|
|
656
|
-
}] });
|
|
657
|
-
|
|
658
|
-
class ClosedToMaintenanceModule {
|
|
659
|
-
}
|
|
660
|
-
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
661
|
-
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
|
|
662
|
-
MonkeyButtonModule,
|
|
663
|
-
MonkeyIconModule,
|
|
664
|
-
MonkeyInputModule,
|
|
665
|
-
MonkeyModalModule,
|
|
666
|
-
MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
|
|
667
|
-
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
|
|
668
|
-
CommonModule,
|
|
669
|
-
MonkeyButtonModule,
|
|
670
|
-
MonkeyIconModule,
|
|
671
|
-
MonkeyInputModule,
|
|
672
|
-
MonkeyModalModule,
|
|
673
|
-
MonkeyEcxPipesModule,
|
|
674
|
-
TranslateModule.forChild()
|
|
675
|
-
]] });
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
|
|
677
|
-
type: NgModule,
|
|
678
|
-
args: [{
|
|
679
|
-
declarations: [ClosedToMaintenanceComponent],
|
|
680
|
-
imports: [
|
|
681
|
-
CommonModule,
|
|
682
|
-
MonkeyButtonModule,
|
|
683
|
-
MonkeyIconModule,
|
|
684
|
-
MonkeyInputModule,
|
|
685
|
-
MonkeyModalModule,
|
|
686
|
-
MonkeyEcxPipesModule,
|
|
687
|
-
TranslateModule.forChild()
|
|
688
|
-
],
|
|
689
|
-
exports: [ClosedToMaintenanceComponent]
|
|
690
|
-
}]
|
|
691
|
-
}] });
|
|
692
|
-
|
|
693
|
-
class MonkeyEcxProgressBarService {
|
|
694
|
-
constructor(router) {
|
|
695
|
-
this.router = router;
|
|
696
|
-
this.visible = null;
|
|
697
|
-
this.init();
|
|
698
|
-
}
|
|
699
|
-
init() {
|
|
700
|
-
this.visible = new BehaviorSubject(false);
|
|
701
|
-
this.router.events
|
|
702
|
-
.pipe(filter((event) => {
|
|
703
|
-
return event instanceof NavigationStart;
|
|
704
|
-
}))
|
|
705
|
-
.subscribe(() => {
|
|
706
|
-
this.show();
|
|
707
|
-
});
|
|
708
|
-
this.router.events
|
|
709
|
-
.pipe(filter((event) => {
|
|
710
|
-
return (event instanceof NavigationEnd ||
|
|
711
|
-
event instanceof NavigationError ||
|
|
712
|
-
event instanceof NavigationCancel);
|
|
713
|
-
}))
|
|
714
|
-
.subscribe(() => {
|
|
715
|
-
this.hide();
|
|
716
|
-
});
|
|
717
|
-
}
|
|
718
|
-
show() {
|
|
719
|
-
this.visible?.next(true);
|
|
720
|
-
}
|
|
721
|
-
hide() {
|
|
722
|
-
this.visible?.next(false);
|
|
723
|
-
}
|
|
724
|
-
visibleConfig() {
|
|
725
|
-
return this.visible?.asObservable() || null;
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
729
|
-
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
731
|
-
type: Injectable,
|
|
732
|
-
args: [{
|
|
733
|
-
providedIn: 'root'
|
|
734
|
-
}]
|
|
735
|
-
}], ctorParameters: function () { return [{ type: i1$3.Router }]; } });
|
|
736
|
-
|
|
737
|
-
class MonkeyEcxProgressBarComponent {
|
|
738
|
-
constructor(progressBarService) {
|
|
739
|
-
this.progressBarService = progressBarService;
|
|
740
|
-
this.visible = false;
|
|
741
|
-
//not to do
|
|
742
|
-
}
|
|
743
|
-
ngOnInit() {
|
|
744
|
-
this.progressBarService?.visibleConfig()?.subscribe((visible) => {
|
|
745
|
-
this.visible = visible;
|
|
746
|
-
});
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
750
|
-
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
752
|
-
type: Component,
|
|
753
|
-
args: [{ selector: 'monkeyecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
|
|
754
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
|
|
755
|
-
|
|
756
|
-
class MonkeyEcxProgressBarModule {
|
|
757
|
-
}
|
|
758
|
-
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
759
|
-
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
|
|
760
|
-
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
|
|
762
|
-
type: NgModule,
|
|
763
|
-
args: [{
|
|
764
|
-
declarations: [MonkeyEcxProgressBarComponent],
|
|
765
|
-
imports: [CommonModule],
|
|
766
|
-
exports: [MonkeyEcxProgressBarComponent]
|
|
767
|
-
}]
|
|
768
|
-
}] });
|
|
769
|
-
|
|
770
|
-
class VersionChangedComponent {
|
|
771
|
-
constructor() {
|
|
772
|
-
this.config = null;
|
|
773
|
-
}
|
|
774
|
-
onClose() {
|
|
775
|
-
document.location.reload();
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
779
|
-
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
781
|
-
type: Component,
|
|
782
|
-
args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
|
|
783
|
-
}], propDecorators: { config: [{
|
|
784
|
-
type: Input
|
|
785
|
-
}], modalRef: [{
|
|
786
|
-
type: Input
|
|
787
|
-
}] } });
|
|
788
|
-
|
|
789
|
-
class VersionChangedModule {
|
|
790
|
-
}
|
|
791
|
-
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
792
|
-
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
|
|
793
|
-
MonkeyButtonModule,
|
|
794
|
-
MonkeyIconModule,
|
|
795
|
-
MonkeyInputModule,
|
|
796
|
-
MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
|
|
797
|
-
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, imports: [[
|
|
798
|
-
CommonModule,
|
|
799
|
-
MonkeyButtonModule,
|
|
800
|
-
MonkeyIconModule,
|
|
801
|
-
MonkeyInputModule,
|
|
802
|
-
MonkeyModalModule,
|
|
803
|
-
TranslateModule.forChild()
|
|
804
|
-
]] });
|
|
805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, decorators: [{
|
|
806
|
-
type: NgModule,
|
|
807
|
-
args: [{
|
|
808
|
-
declarations: [VersionChangedComponent],
|
|
809
|
-
imports: [
|
|
810
|
-
CommonModule,
|
|
811
|
-
MonkeyButtonModule,
|
|
812
|
-
MonkeyIconModule,
|
|
813
|
-
MonkeyInputModule,
|
|
814
|
-
MonkeyModalModule,
|
|
815
|
-
TranslateModule.forChild()
|
|
816
|
-
],
|
|
817
|
-
exports: [VersionChangedComponent]
|
|
818
|
-
}]
|
|
819
|
-
}] });
|
|
820
|
-
|
|
821
|
-
/* eslint-disable space-before-function-paren */
|
|
822
|
-
/* eslint-disable func-names */
|
|
823
|
-
function MonkeyEcxCoreCharts(render = true) {
|
|
824
|
-
return (target, propertyName, propertyDescriptor) => {
|
|
825
|
-
const method = propertyDescriptor.value;
|
|
826
|
-
propertyDescriptor.value = function (...args) {
|
|
827
|
-
const context = this;
|
|
828
|
-
if (render) {
|
|
829
|
-
const scriptsLoaded = Array.from(document.scripts);
|
|
830
|
-
scriptsLoaded.forEach((script) => {
|
|
831
|
-
const { src } = script;
|
|
832
|
-
if (src.search('www.gstatic.com/charts') > 0) {
|
|
833
|
-
document.getElementsByTagName('head')[0].removeChild(script);
|
|
834
|
-
}
|
|
835
|
-
});
|
|
836
|
-
const node = document.createElement('script');
|
|
837
|
-
node.src = 'https://www.gstatic.com/charts/loader.js';
|
|
838
|
-
node.type = 'text/javascript';
|
|
839
|
-
node.async = true;
|
|
840
|
-
node.id = 'monkeyecx-charts-settings';
|
|
841
|
-
node.onload = () => {
|
|
842
|
-
method.apply(context, args);
|
|
843
|
-
};
|
|
844
|
-
document.getElementsByTagName('head')[0].appendChild(node);
|
|
845
|
-
}
|
|
846
|
-
else {
|
|
847
|
-
const scriptsLoaded = Array.from(document.scripts);
|
|
848
|
-
scriptsLoaded.forEach((script) => {
|
|
849
|
-
const { src } = script;
|
|
850
|
-
if (src.search('www.gstatic.com/charts') > 0) {
|
|
851
|
-
document.getElementsByTagName('head')[0].removeChild(script);
|
|
852
|
-
}
|
|
853
|
-
});
|
|
854
|
-
method.apply(context, args);
|
|
855
|
-
}
|
|
856
|
-
};
|
|
857
|
-
return propertyDescriptor;
|
|
858
|
-
};
|
|
859
|
-
}
|
|
860
|
-
|
|
861
588
|
/* eslint-disable max-classes-per-file */
|
|
862
589
|
const moment$1 = moment_;
|
|
863
590
|
class DateValidator {
|
|
@@ -1333,52 +1060,349 @@ function valueGreaterThanZero(control) {
|
|
|
1333
1060
|
}
|
|
1334
1061
|
return null;
|
|
1335
1062
|
}
|
|
1336
|
-
class Validators {
|
|
1337
|
-
static email(control) {
|
|
1338
|
-
return emailValidator(control);
|
|
1339
|
-
}
|
|
1340
|
-
static dateRange(control) {
|
|
1341
|
-
return dateRangeValidator(control);
|
|
1342
|
-
}
|
|
1343
|
-
static unlockSponsorRegister(control) {
|
|
1344
|
-
return registerValidator(control, 'sponsor');
|
|
1345
|
-
}
|
|
1346
|
-
static unlockBuyerRegister(control) {
|
|
1347
|
-
return registerValidator(control, 'buyer');
|
|
1348
|
-
}
|
|
1349
|
-
static dateStartEnd(control) {
|
|
1350
|
-
return dateStartEndValidator(control);
|
|
1351
|
-
}
|
|
1352
|
-
static url(control) {
|
|
1353
|
-
return urlValidator(control);
|
|
1063
|
+
class Validators {
|
|
1064
|
+
static email(control) {
|
|
1065
|
+
return emailValidator(control);
|
|
1066
|
+
}
|
|
1067
|
+
static dateRange(control) {
|
|
1068
|
+
return dateRangeValidator(control);
|
|
1069
|
+
}
|
|
1070
|
+
static unlockSponsorRegister(control) {
|
|
1071
|
+
return registerValidator(control, 'sponsor');
|
|
1072
|
+
}
|
|
1073
|
+
static unlockBuyerRegister(control) {
|
|
1074
|
+
return registerValidator(control, 'buyer');
|
|
1075
|
+
}
|
|
1076
|
+
static dateStartEnd(control) {
|
|
1077
|
+
return dateStartEndValidator(control);
|
|
1078
|
+
}
|
|
1079
|
+
static url(control) {
|
|
1080
|
+
return urlValidator(control);
|
|
1081
|
+
}
|
|
1082
|
+
static passwordConfirm(control) {
|
|
1083
|
+
return passwordConfirmValidator(control);
|
|
1084
|
+
}
|
|
1085
|
+
static true(control) {
|
|
1086
|
+
return trueValidator(control);
|
|
1087
|
+
}
|
|
1088
|
+
static combo(control) {
|
|
1089
|
+
return comboValidator(control);
|
|
1090
|
+
}
|
|
1091
|
+
static zipCode(control) {
|
|
1092
|
+
return zipCodeValidator(control);
|
|
1093
|
+
}
|
|
1094
|
+
static documentBR(control) {
|
|
1095
|
+
return documentValidator(control, 'BR');
|
|
1096
|
+
}
|
|
1097
|
+
static documentCL(control) {
|
|
1098
|
+
return documentValidator(control, 'CL');
|
|
1099
|
+
}
|
|
1100
|
+
static date(control) {
|
|
1101
|
+
return dateValidator(control);
|
|
1102
|
+
}
|
|
1103
|
+
static greaterThanZero(control) {
|
|
1104
|
+
return valueGreaterThanZero(control);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/* eslint-disable object-curly-newline */
|
|
1109
|
+
|
|
1110
|
+
class MonkeyEcxFormatTaxPipe {
|
|
1111
|
+
transform(tax, decimalDigits = 7) {
|
|
1112
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(tax))
|
|
1113
|
+
return '';
|
|
1114
|
+
const stringTax = tax.toString();
|
|
1115
|
+
const stringTaxLimited = stringTax.slice(0, stringTax.indexOf('.') + decimalDigits + 1);
|
|
1116
|
+
return `${Number(stringTaxLimited).toLocaleString('pt-br', {
|
|
1117
|
+
maximumFractionDigits: decimalDigits,
|
|
1118
|
+
})} %`;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
MonkeyEcxFormatTaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1122
|
+
MonkeyEcxFormatTaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, name: "monkeyecxFormatTax" });
|
|
1123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, decorators: [{
|
|
1124
|
+
type: Pipe,
|
|
1125
|
+
args: [{
|
|
1126
|
+
name: 'monkeyecxFormatTax',
|
|
1127
|
+
}]
|
|
1128
|
+
}] });
|
|
1129
|
+
|
|
1130
|
+
class MonkeyEcxPipesModule {
|
|
1131
|
+
}
|
|
1132
|
+
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1133
|
+
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
|
|
1134
|
+
MonkeyEcxFormatAddressPipe,
|
|
1135
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1136
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1137
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1138
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1139
|
+
MonkeyEcxFormatNumberPipe,
|
|
1140
|
+
MonkeyEcxFormatPhonePipe,
|
|
1141
|
+
MonkeyEcxFormatSizePipe,
|
|
1142
|
+
MonkeyEcxFormatTaxPipe,
|
|
1143
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1144
|
+
MonkeyEcxFormatValue,
|
|
1145
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1146
|
+
MonkeyEcxTextTruncatePipe,
|
|
1147
|
+
MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
1148
|
+
MonkeyEcxFormatAddressPipe,
|
|
1149
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1150
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1151
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1152
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1153
|
+
MonkeyEcxFormatNumberPipe,
|
|
1154
|
+
MonkeyEcxFormatPhonePipe,
|
|
1155
|
+
MonkeyEcxFormatSizePipe,
|
|
1156
|
+
MonkeyEcxFormatTaxPipe,
|
|
1157
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1158
|
+
MonkeyEcxFormatValue,
|
|
1159
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1160
|
+
MonkeyEcxTextTruncatePipe,
|
|
1161
|
+
MonkeyEcxTruncateQtdPipe] });
|
|
1162
|
+
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
1163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
1164
|
+
type: NgModule,
|
|
1165
|
+
args: [{
|
|
1166
|
+
declarations: [
|
|
1167
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
1168
|
+
MonkeyEcxFormatAddressPipe,
|
|
1169
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1170
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1171
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1172
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1173
|
+
MonkeyEcxFormatNumberPipe,
|
|
1174
|
+
MonkeyEcxFormatPhonePipe,
|
|
1175
|
+
MonkeyEcxFormatSizePipe,
|
|
1176
|
+
MonkeyEcxFormatTaxPipe,
|
|
1177
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1178
|
+
MonkeyEcxFormatValue,
|
|
1179
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1180
|
+
MonkeyEcxTextTruncatePipe,
|
|
1181
|
+
MonkeyEcxTruncateQtdPipe,
|
|
1182
|
+
],
|
|
1183
|
+
exports: [
|
|
1184
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
1185
|
+
MonkeyEcxFormatAddressPipe,
|
|
1186
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1187
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1188
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1189
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1190
|
+
MonkeyEcxFormatNumberPipe,
|
|
1191
|
+
MonkeyEcxFormatPhonePipe,
|
|
1192
|
+
MonkeyEcxFormatSizePipe,
|
|
1193
|
+
MonkeyEcxFormatTaxPipe,
|
|
1194
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1195
|
+
MonkeyEcxFormatValue,
|
|
1196
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1197
|
+
MonkeyEcxTextTruncatePipe,
|
|
1198
|
+
MonkeyEcxTruncateQtdPipe,
|
|
1199
|
+
],
|
|
1200
|
+
providers: [CurrencyPipe],
|
|
1201
|
+
}]
|
|
1202
|
+
}] });
|
|
1203
|
+
|
|
1204
|
+
class ClosedToMaintenanceModule {
|
|
1205
|
+
}
|
|
1206
|
+
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1207
|
+
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
|
|
1208
|
+
MonkeyButtonModule,
|
|
1209
|
+
MonkeyIconModule,
|
|
1210
|
+
MonkeyInputModule,
|
|
1211
|
+
MonkeyModalModule,
|
|
1212
|
+
MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
|
|
1213
|
+
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
|
|
1214
|
+
CommonModule,
|
|
1215
|
+
MonkeyButtonModule,
|
|
1216
|
+
MonkeyIconModule,
|
|
1217
|
+
MonkeyInputModule,
|
|
1218
|
+
MonkeyModalModule,
|
|
1219
|
+
MonkeyEcxPipesModule,
|
|
1220
|
+
TranslateModule.forChild()
|
|
1221
|
+
]] });
|
|
1222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
|
|
1223
|
+
type: NgModule,
|
|
1224
|
+
args: [{
|
|
1225
|
+
declarations: [ClosedToMaintenanceComponent],
|
|
1226
|
+
imports: [
|
|
1227
|
+
CommonModule,
|
|
1228
|
+
MonkeyButtonModule,
|
|
1229
|
+
MonkeyIconModule,
|
|
1230
|
+
MonkeyInputModule,
|
|
1231
|
+
MonkeyModalModule,
|
|
1232
|
+
MonkeyEcxPipesModule,
|
|
1233
|
+
TranslateModule.forChild()
|
|
1234
|
+
],
|
|
1235
|
+
exports: [ClosedToMaintenanceComponent]
|
|
1236
|
+
}]
|
|
1237
|
+
}] });
|
|
1238
|
+
|
|
1239
|
+
class MonkeyEcxProgressBarService {
|
|
1240
|
+
constructor(router) {
|
|
1241
|
+
this.router = router;
|
|
1242
|
+
this.visible = null;
|
|
1243
|
+
this.init();
|
|
1354
1244
|
}
|
|
1355
|
-
|
|
1356
|
-
|
|
1245
|
+
init() {
|
|
1246
|
+
this.visible = new BehaviorSubject(false);
|
|
1247
|
+
this.router.events
|
|
1248
|
+
.pipe(filter((event) => {
|
|
1249
|
+
return event instanceof NavigationStart;
|
|
1250
|
+
}))
|
|
1251
|
+
.subscribe(() => {
|
|
1252
|
+
this.show();
|
|
1253
|
+
});
|
|
1254
|
+
this.router.events
|
|
1255
|
+
.pipe(filter((event) => {
|
|
1256
|
+
return (event instanceof NavigationEnd ||
|
|
1257
|
+
event instanceof NavigationError ||
|
|
1258
|
+
event instanceof NavigationCancel);
|
|
1259
|
+
}))
|
|
1260
|
+
.subscribe(() => {
|
|
1261
|
+
this.hide();
|
|
1262
|
+
});
|
|
1357
1263
|
}
|
|
1358
|
-
|
|
1359
|
-
|
|
1264
|
+
show() {
|
|
1265
|
+
this.visible?.next(true);
|
|
1360
1266
|
}
|
|
1361
|
-
|
|
1362
|
-
|
|
1267
|
+
hide() {
|
|
1268
|
+
this.visible?.next(false);
|
|
1363
1269
|
}
|
|
1364
|
-
|
|
1365
|
-
return
|
|
1270
|
+
visibleConfig() {
|
|
1271
|
+
return this.visible?.asObservable() || null;
|
|
1366
1272
|
}
|
|
1367
|
-
|
|
1368
|
-
|
|
1273
|
+
}
|
|
1274
|
+
MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1275
|
+
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
1277
|
+
type: Injectable,
|
|
1278
|
+
args: [{
|
|
1279
|
+
providedIn: 'root'
|
|
1280
|
+
}]
|
|
1281
|
+
}], ctorParameters: function () { return [{ type: i1$3.Router }]; } });
|
|
1282
|
+
|
|
1283
|
+
class MonkeyEcxProgressBarComponent {
|
|
1284
|
+
constructor(progressBarService) {
|
|
1285
|
+
this.progressBarService = progressBarService;
|
|
1286
|
+
this.visible = false;
|
|
1287
|
+
//not to do
|
|
1369
1288
|
}
|
|
1370
|
-
|
|
1371
|
-
|
|
1289
|
+
ngOnInit() {
|
|
1290
|
+
this.progressBarService?.visibleConfig()?.subscribe((visible) => {
|
|
1291
|
+
this.visible = visible;
|
|
1292
|
+
});
|
|
1372
1293
|
}
|
|
1373
|
-
|
|
1374
|
-
|
|
1294
|
+
}
|
|
1295
|
+
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1296
|
+
MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
1298
|
+
type: Component,
|
|
1299
|
+
args: [{ selector: 'monkeyecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
|
|
1300
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
|
|
1301
|
+
|
|
1302
|
+
class MonkeyEcxProgressBarModule {
|
|
1303
|
+
}
|
|
1304
|
+
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1305
|
+
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
|
|
1306
|
+
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
|
|
1308
|
+
type: NgModule,
|
|
1309
|
+
args: [{
|
|
1310
|
+
declarations: [MonkeyEcxProgressBarComponent],
|
|
1311
|
+
imports: [CommonModule],
|
|
1312
|
+
exports: [MonkeyEcxProgressBarComponent]
|
|
1313
|
+
}]
|
|
1314
|
+
}] });
|
|
1315
|
+
|
|
1316
|
+
class VersionChangedComponent {
|
|
1317
|
+
constructor() {
|
|
1318
|
+
this.config = null;
|
|
1375
1319
|
}
|
|
1376
|
-
|
|
1377
|
-
|
|
1320
|
+
onClose() {
|
|
1321
|
+
document.location.reload();
|
|
1378
1322
|
}
|
|
1379
|
-
}
|
|
1323
|
+
}
|
|
1324
|
+
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1325
|
+
VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
1327
|
+
type: Component,
|
|
1328
|
+
args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
|
|
1329
|
+
}], propDecorators: { config: [{
|
|
1330
|
+
type: Input
|
|
1331
|
+
}], modalRef: [{
|
|
1332
|
+
type: Input
|
|
1333
|
+
}] } });
|
|
1380
1334
|
|
|
1381
|
-
|
|
1335
|
+
class VersionChangedModule {
|
|
1336
|
+
}
|
|
1337
|
+
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1338
|
+
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
|
|
1339
|
+
MonkeyButtonModule,
|
|
1340
|
+
MonkeyIconModule,
|
|
1341
|
+
MonkeyInputModule,
|
|
1342
|
+
MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
|
|
1343
|
+
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, imports: [[
|
|
1344
|
+
CommonModule,
|
|
1345
|
+
MonkeyButtonModule,
|
|
1346
|
+
MonkeyIconModule,
|
|
1347
|
+
MonkeyInputModule,
|
|
1348
|
+
MonkeyModalModule,
|
|
1349
|
+
TranslateModule.forChild()
|
|
1350
|
+
]] });
|
|
1351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, decorators: [{
|
|
1352
|
+
type: NgModule,
|
|
1353
|
+
args: [{
|
|
1354
|
+
declarations: [VersionChangedComponent],
|
|
1355
|
+
imports: [
|
|
1356
|
+
CommonModule,
|
|
1357
|
+
MonkeyButtonModule,
|
|
1358
|
+
MonkeyIconModule,
|
|
1359
|
+
MonkeyInputModule,
|
|
1360
|
+
MonkeyModalModule,
|
|
1361
|
+
TranslateModule.forChild()
|
|
1362
|
+
],
|
|
1363
|
+
exports: [VersionChangedComponent]
|
|
1364
|
+
}]
|
|
1365
|
+
}] });
|
|
1366
|
+
|
|
1367
|
+
/* eslint-disable space-before-function-paren */
|
|
1368
|
+
/* eslint-disable func-names */
|
|
1369
|
+
function MonkeyEcxCoreCharts(render = true) {
|
|
1370
|
+
return (target, propertyName, propertyDescriptor) => {
|
|
1371
|
+
const method = propertyDescriptor.value;
|
|
1372
|
+
propertyDescriptor.value = function (...args) {
|
|
1373
|
+
const context = this;
|
|
1374
|
+
if (render) {
|
|
1375
|
+
const scriptsLoaded = Array.from(document.scripts);
|
|
1376
|
+
scriptsLoaded.forEach((script) => {
|
|
1377
|
+
const { src } = script;
|
|
1378
|
+
if (src.search('www.gstatic.com/charts') > 0) {
|
|
1379
|
+
document.getElementsByTagName('head')[0].removeChild(script);
|
|
1380
|
+
}
|
|
1381
|
+
});
|
|
1382
|
+
const node = document.createElement('script');
|
|
1383
|
+
node.src = 'https://www.gstatic.com/charts/loader.js';
|
|
1384
|
+
node.type = 'text/javascript';
|
|
1385
|
+
node.async = true;
|
|
1386
|
+
node.id = 'monkeyecx-charts-settings';
|
|
1387
|
+
node.onload = () => {
|
|
1388
|
+
method.apply(context, args);
|
|
1389
|
+
};
|
|
1390
|
+
document.getElementsByTagName('head')[0].appendChild(node);
|
|
1391
|
+
}
|
|
1392
|
+
else {
|
|
1393
|
+
const scriptsLoaded = Array.from(document.scripts);
|
|
1394
|
+
scriptsLoaded.forEach((script) => {
|
|
1395
|
+
const { src } = script;
|
|
1396
|
+
if (src.search('www.gstatic.com/charts') > 0) {
|
|
1397
|
+
document.getElementsByTagName('head')[0].removeChild(script);
|
|
1398
|
+
}
|
|
1399
|
+
});
|
|
1400
|
+
method.apply(context, args);
|
|
1401
|
+
}
|
|
1402
|
+
};
|
|
1403
|
+
return propertyDescriptor;
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1382
1406
|
|
|
1383
1407
|
function MonkeyEcxCoreServiceConstructor() {
|
|
1384
1408
|
return (target) => {
|
|
@@ -4330,5 +4354,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
4330
4354
|
* Generated bundle index. Do not edit.
|
|
4331
4355
|
*/
|
|
4332
4356
|
|
|
4333
|
-
export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPipesModule, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModuleModule, OpSearch, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
4357
|
+
export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPipesModule, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModuleModule, OpSearch, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
4334
4358
|
//# sourceMappingURL=monkey-front-core.mjs.map
|