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
|
@@ -588,283 +588,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
588
588
|
}]
|
|
589
589
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
590
590
|
|
|
591
|
-
class MonkeyEcxPipesModule {
|
|
592
|
-
}
|
|
593
|
-
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
594
|
-
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
|
|
595
|
-
MonkeyEcxFormatAddressPipe,
|
|
596
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
597
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
598
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
599
|
-
MonkeyEcxFormatDocumentPipe,
|
|
600
|
-
MonkeyEcxFormatNumberPipe,
|
|
601
|
-
MonkeyEcxFormatPhonePipe,
|
|
602
|
-
MonkeyEcxFormatSizePipe,
|
|
603
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
604
|
-
MonkeyEcxFormatValue,
|
|
605
|
-
MonkeyEcxFormatZipCodePipe,
|
|
606
|
-
MonkeyEcxTextTruncatePipe,
|
|
607
|
-
MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
608
|
-
MonkeyEcxFormatAddressPipe,
|
|
609
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
610
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
611
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
612
|
-
MonkeyEcxFormatDocumentPipe,
|
|
613
|
-
MonkeyEcxFormatNumberPipe,
|
|
614
|
-
MonkeyEcxFormatPhonePipe,
|
|
615
|
-
MonkeyEcxFormatSizePipe,
|
|
616
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
617
|
-
MonkeyEcxFormatValue,
|
|
618
|
-
MonkeyEcxFormatZipCodePipe,
|
|
619
|
-
MonkeyEcxTextTruncatePipe,
|
|
620
|
-
MonkeyEcxTruncateQtdPipe] });
|
|
621
|
-
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
623
|
-
type: NgModule,
|
|
624
|
-
args: [{
|
|
625
|
-
declarations: [
|
|
626
|
-
MonkeyEcxDisplayFirstNamePipe,
|
|
627
|
-
MonkeyEcxFormatAddressPipe,
|
|
628
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
629
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
630
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
631
|
-
MonkeyEcxFormatDocumentPipe,
|
|
632
|
-
MonkeyEcxFormatNumberPipe,
|
|
633
|
-
MonkeyEcxFormatPhonePipe,
|
|
634
|
-
MonkeyEcxFormatSizePipe,
|
|
635
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
636
|
-
MonkeyEcxFormatValue,
|
|
637
|
-
MonkeyEcxFormatZipCodePipe,
|
|
638
|
-
MonkeyEcxTextTruncatePipe,
|
|
639
|
-
MonkeyEcxTruncateQtdPipe,
|
|
640
|
-
],
|
|
641
|
-
exports: [
|
|
642
|
-
MonkeyEcxDisplayFirstNamePipe,
|
|
643
|
-
MonkeyEcxFormatAddressPipe,
|
|
644
|
-
MonkeyEcxFormatCurrencyPipe,
|
|
645
|
-
MonkeyEcxFormatDateTimelapsePipe,
|
|
646
|
-
MonkeyEcxFormatDateGroupPipe,
|
|
647
|
-
MonkeyEcxFormatDocumentPipe,
|
|
648
|
-
MonkeyEcxFormatNumberPipe,
|
|
649
|
-
MonkeyEcxFormatPhonePipe,
|
|
650
|
-
MonkeyEcxFormatSizePipe,
|
|
651
|
-
MonkeyEcxFormatDocumentTypePipe,
|
|
652
|
-
MonkeyEcxFormatValue,
|
|
653
|
-
MonkeyEcxFormatZipCodePipe,
|
|
654
|
-
MonkeyEcxTextTruncatePipe,
|
|
655
|
-
MonkeyEcxTruncateQtdPipe,
|
|
656
|
-
],
|
|
657
|
-
providers: [CurrencyPipe],
|
|
658
|
-
}]
|
|
659
|
-
}] });
|
|
660
|
-
|
|
661
|
-
class ClosedToMaintenanceModule {
|
|
662
|
-
}
|
|
663
|
-
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
664
|
-
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
|
|
665
|
-
MonkeyButtonModule,
|
|
666
|
-
MonkeyIconModule,
|
|
667
|
-
MonkeyInputModule,
|
|
668
|
-
MonkeyModalModule,
|
|
669
|
-
MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
|
|
670
|
-
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
|
|
671
|
-
CommonModule,
|
|
672
|
-
MonkeyButtonModule,
|
|
673
|
-
MonkeyIconModule,
|
|
674
|
-
MonkeyInputModule,
|
|
675
|
-
MonkeyModalModule,
|
|
676
|
-
MonkeyEcxPipesModule,
|
|
677
|
-
TranslateModule.forChild()
|
|
678
|
-
]] });
|
|
679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
|
|
680
|
-
type: NgModule,
|
|
681
|
-
args: [{
|
|
682
|
-
declarations: [ClosedToMaintenanceComponent],
|
|
683
|
-
imports: [
|
|
684
|
-
CommonModule,
|
|
685
|
-
MonkeyButtonModule,
|
|
686
|
-
MonkeyIconModule,
|
|
687
|
-
MonkeyInputModule,
|
|
688
|
-
MonkeyModalModule,
|
|
689
|
-
MonkeyEcxPipesModule,
|
|
690
|
-
TranslateModule.forChild()
|
|
691
|
-
],
|
|
692
|
-
exports: [ClosedToMaintenanceComponent]
|
|
693
|
-
}]
|
|
694
|
-
}] });
|
|
695
|
-
|
|
696
|
-
class MonkeyEcxProgressBarService {
|
|
697
|
-
constructor(router) {
|
|
698
|
-
this.router = router;
|
|
699
|
-
this.visible = null;
|
|
700
|
-
this.init();
|
|
701
|
-
}
|
|
702
|
-
init() {
|
|
703
|
-
this.visible = new BehaviorSubject(false);
|
|
704
|
-
this.router.events
|
|
705
|
-
.pipe(filter((event) => {
|
|
706
|
-
return event instanceof NavigationStart;
|
|
707
|
-
}))
|
|
708
|
-
.subscribe(() => {
|
|
709
|
-
this.show();
|
|
710
|
-
});
|
|
711
|
-
this.router.events
|
|
712
|
-
.pipe(filter((event) => {
|
|
713
|
-
return (event instanceof NavigationEnd ||
|
|
714
|
-
event instanceof NavigationError ||
|
|
715
|
-
event instanceof NavigationCancel);
|
|
716
|
-
}))
|
|
717
|
-
.subscribe(() => {
|
|
718
|
-
this.hide();
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
show() {
|
|
722
|
-
var _a;
|
|
723
|
-
(_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(true);
|
|
724
|
-
}
|
|
725
|
-
hide() {
|
|
726
|
-
var _a;
|
|
727
|
-
(_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(false);
|
|
728
|
-
}
|
|
729
|
-
visibleConfig() {
|
|
730
|
-
var _a;
|
|
731
|
-
return ((_a = this.visible) === null || _a === void 0 ? void 0 : _a.asObservable()) || null;
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
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 });
|
|
735
|
-
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
737
|
-
type: Injectable,
|
|
738
|
-
args: [{
|
|
739
|
-
providedIn: 'root'
|
|
740
|
-
}]
|
|
741
|
-
}], ctorParameters: function () { return [{ type: i1$3.Router }]; } });
|
|
742
|
-
|
|
743
|
-
class MonkeyEcxProgressBarComponent {
|
|
744
|
-
constructor(progressBarService) {
|
|
745
|
-
this.progressBarService = progressBarService;
|
|
746
|
-
this.visible = false;
|
|
747
|
-
//not to do
|
|
748
|
-
}
|
|
749
|
-
ngOnInit() {
|
|
750
|
-
var _a, _b;
|
|
751
|
-
(_b = (_a = this.progressBarService) === null || _a === void 0 ? void 0 : _a.visibleConfig()) === null || _b === void 0 ? void 0 : _b.subscribe((visible) => {
|
|
752
|
-
this.visible = visible;
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
757
|
-
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 });
|
|
758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
759
|
-
type: Component,
|
|
760
|
-
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"] }]
|
|
761
|
-
}], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
|
|
762
|
-
|
|
763
|
-
class MonkeyEcxProgressBarModule {
|
|
764
|
-
}
|
|
765
|
-
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
766
|
-
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
|
|
767
|
-
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
|
|
768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
|
|
769
|
-
type: NgModule,
|
|
770
|
-
args: [{
|
|
771
|
-
declarations: [MonkeyEcxProgressBarComponent],
|
|
772
|
-
imports: [CommonModule],
|
|
773
|
-
exports: [MonkeyEcxProgressBarComponent]
|
|
774
|
-
}]
|
|
775
|
-
}] });
|
|
776
|
-
|
|
777
|
-
class VersionChangedComponent {
|
|
778
|
-
constructor() {
|
|
779
|
-
this.config = null;
|
|
780
|
-
}
|
|
781
|
-
onClose() {
|
|
782
|
-
document.location.reload();
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
786
|
-
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 });
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
788
|
-
type: Component,
|
|
789
|
-
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"] }]
|
|
790
|
-
}], propDecorators: { config: [{
|
|
791
|
-
type: Input
|
|
792
|
-
}], modalRef: [{
|
|
793
|
-
type: Input
|
|
794
|
-
}] } });
|
|
795
|
-
|
|
796
|
-
class VersionChangedModule {
|
|
797
|
-
}
|
|
798
|
-
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
799
|
-
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
|
|
800
|
-
MonkeyButtonModule,
|
|
801
|
-
MonkeyIconModule,
|
|
802
|
-
MonkeyInputModule,
|
|
803
|
-
MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
|
|
804
|
-
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, imports: [[
|
|
805
|
-
CommonModule,
|
|
806
|
-
MonkeyButtonModule,
|
|
807
|
-
MonkeyIconModule,
|
|
808
|
-
MonkeyInputModule,
|
|
809
|
-
MonkeyModalModule,
|
|
810
|
-
TranslateModule.forChild()
|
|
811
|
-
]] });
|
|
812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, decorators: [{
|
|
813
|
-
type: NgModule,
|
|
814
|
-
args: [{
|
|
815
|
-
declarations: [VersionChangedComponent],
|
|
816
|
-
imports: [
|
|
817
|
-
CommonModule,
|
|
818
|
-
MonkeyButtonModule,
|
|
819
|
-
MonkeyIconModule,
|
|
820
|
-
MonkeyInputModule,
|
|
821
|
-
MonkeyModalModule,
|
|
822
|
-
TranslateModule.forChild()
|
|
823
|
-
],
|
|
824
|
-
exports: [VersionChangedComponent]
|
|
825
|
-
}]
|
|
826
|
-
}] });
|
|
827
|
-
|
|
828
|
-
/* eslint-disable space-before-function-paren */
|
|
829
|
-
/* eslint-disable func-names */
|
|
830
|
-
function MonkeyEcxCoreCharts(render = true) {
|
|
831
|
-
return (target, propertyName, propertyDescriptor) => {
|
|
832
|
-
const method = propertyDescriptor.value;
|
|
833
|
-
propertyDescriptor.value = function (...args) {
|
|
834
|
-
const context = this;
|
|
835
|
-
if (render) {
|
|
836
|
-
const scriptsLoaded = Array.from(document.scripts);
|
|
837
|
-
scriptsLoaded.forEach((script) => {
|
|
838
|
-
const { src } = script;
|
|
839
|
-
if (src.search('www.gstatic.com/charts') > 0) {
|
|
840
|
-
document.getElementsByTagName('head')[0].removeChild(script);
|
|
841
|
-
}
|
|
842
|
-
});
|
|
843
|
-
const node = document.createElement('script');
|
|
844
|
-
node.src = 'https://www.gstatic.com/charts/loader.js';
|
|
845
|
-
node.type = 'text/javascript';
|
|
846
|
-
node.async = true;
|
|
847
|
-
node.id = 'monkeyecx-charts-settings';
|
|
848
|
-
node.onload = () => {
|
|
849
|
-
method.apply(context, args);
|
|
850
|
-
};
|
|
851
|
-
document.getElementsByTagName('head')[0].appendChild(node);
|
|
852
|
-
}
|
|
853
|
-
else {
|
|
854
|
-
const scriptsLoaded = Array.from(document.scripts);
|
|
855
|
-
scriptsLoaded.forEach((script) => {
|
|
856
|
-
const { src } = script;
|
|
857
|
-
if (src.search('www.gstatic.com/charts') > 0) {
|
|
858
|
-
document.getElementsByTagName('head')[0].removeChild(script);
|
|
859
|
-
}
|
|
860
|
-
});
|
|
861
|
-
method.apply(context, args);
|
|
862
|
-
}
|
|
863
|
-
};
|
|
864
|
-
return propertyDescriptor;
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
|
|
868
591
|
/* eslint-disable max-classes-per-file */
|
|
869
592
|
const moment$1 = moment_;
|
|
870
593
|
class DateValidator {
|
|
@@ -1344,52 +1067,353 @@ function valueGreaterThanZero(control) {
|
|
|
1344
1067
|
}
|
|
1345
1068
|
return null;
|
|
1346
1069
|
}
|
|
1347
|
-
class Validators {
|
|
1348
|
-
static email(control) {
|
|
1349
|
-
return emailValidator(control);
|
|
1350
|
-
}
|
|
1351
|
-
static dateRange(control) {
|
|
1352
|
-
return dateRangeValidator(control);
|
|
1353
|
-
}
|
|
1354
|
-
static unlockSponsorRegister(control) {
|
|
1355
|
-
return registerValidator(control, 'sponsor');
|
|
1356
|
-
}
|
|
1357
|
-
static unlockBuyerRegister(control) {
|
|
1358
|
-
return registerValidator(control, 'buyer');
|
|
1359
|
-
}
|
|
1360
|
-
static dateStartEnd(control) {
|
|
1361
|
-
return dateStartEndValidator(control);
|
|
1362
|
-
}
|
|
1363
|
-
static url(control) {
|
|
1364
|
-
return urlValidator(control);
|
|
1070
|
+
class Validators {
|
|
1071
|
+
static email(control) {
|
|
1072
|
+
return emailValidator(control);
|
|
1073
|
+
}
|
|
1074
|
+
static dateRange(control) {
|
|
1075
|
+
return dateRangeValidator(control);
|
|
1076
|
+
}
|
|
1077
|
+
static unlockSponsorRegister(control) {
|
|
1078
|
+
return registerValidator(control, 'sponsor');
|
|
1079
|
+
}
|
|
1080
|
+
static unlockBuyerRegister(control) {
|
|
1081
|
+
return registerValidator(control, 'buyer');
|
|
1082
|
+
}
|
|
1083
|
+
static dateStartEnd(control) {
|
|
1084
|
+
return dateStartEndValidator(control);
|
|
1085
|
+
}
|
|
1086
|
+
static url(control) {
|
|
1087
|
+
return urlValidator(control);
|
|
1088
|
+
}
|
|
1089
|
+
static passwordConfirm(control) {
|
|
1090
|
+
return passwordConfirmValidator(control);
|
|
1091
|
+
}
|
|
1092
|
+
static true(control) {
|
|
1093
|
+
return trueValidator(control);
|
|
1094
|
+
}
|
|
1095
|
+
static combo(control) {
|
|
1096
|
+
return comboValidator(control);
|
|
1097
|
+
}
|
|
1098
|
+
static zipCode(control) {
|
|
1099
|
+
return zipCodeValidator(control);
|
|
1100
|
+
}
|
|
1101
|
+
static documentBR(control) {
|
|
1102
|
+
return documentValidator(control, 'BR');
|
|
1103
|
+
}
|
|
1104
|
+
static documentCL(control) {
|
|
1105
|
+
return documentValidator(control, 'CL');
|
|
1106
|
+
}
|
|
1107
|
+
static date(control) {
|
|
1108
|
+
return dateValidator(control);
|
|
1109
|
+
}
|
|
1110
|
+
static greaterThanZero(control) {
|
|
1111
|
+
return valueGreaterThanZero(control);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/* eslint-disable object-curly-newline */
|
|
1116
|
+
|
|
1117
|
+
class MonkeyEcxFormatTaxPipe {
|
|
1118
|
+
transform(tax, decimalDigits = 7) {
|
|
1119
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(tax))
|
|
1120
|
+
return '';
|
|
1121
|
+
const stringTax = tax.toString();
|
|
1122
|
+
const stringTaxLimited = stringTax.slice(0, stringTax.indexOf('.') + decimalDigits + 1);
|
|
1123
|
+
return `${Number(stringTaxLimited).toLocaleString('pt-br', {
|
|
1124
|
+
maximumFractionDigits: decimalDigits,
|
|
1125
|
+
})} %`;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
MonkeyEcxFormatTaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1129
|
+
MonkeyEcxFormatTaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, name: "monkeyecxFormatTax" });
|
|
1130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxFormatTaxPipe, decorators: [{
|
|
1131
|
+
type: Pipe,
|
|
1132
|
+
args: [{
|
|
1133
|
+
name: 'monkeyecxFormatTax',
|
|
1134
|
+
}]
|
|
1135
|
+
}] });
|
|
1136
|
+
|
|
1137
|
+
class MonkeyEcxPipesModule {
|
|
1138
|
+
}
|
|
1139
|
+
MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1140
|
+
MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
|
|
1141
|
+
MonkeyEcxFormatAddressPipe,
|
|
1142
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1143
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1144
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1145
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1146
|
+
MonkeyEcxFormatNumberPipe,
|
|
1147
|
+
MonkeyEcxFormatPhonePipe,
|
|
1148
|
+
MonkeyEcxFormatSizePipe,
|
|
1149
|
+
MonkeyEcxFormatTaxPipe,
|
|
1150
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1151
|
+
MonkeyEcxFormatValue,
|
|
1152
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1153
|
+
MonkeyEcxTextTruncatePipe,
|
|
1154
|
+
MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
|
|
1155
|
+
MonkeyEcxFormatAddressPipe,
|
|
1156
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1157
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1158
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1159
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1160
|
+
MonkeyEcxFormatNumberPipe,
|
|
1161
|
+
MonkeyEcxFormatPhonePipe,
|
|
1162
|
+
MonkeyEcxFormatSizePipe,
|
|
1163
|
+
MonkeyEcxFormatTaxPipe,
|
|
1164
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1165
|
+
MonkeyEcxFormatValue,
|
|
1166
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1167
|
+
MonkeyEcxTextTruncatePipe,
|
|
1168
|
+
MonkeyEcxTruncateQtdPipe] });
|
|
1169
|
+
MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
|
|
1170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
1171
|
+
type: NgModule,
|
|
1172
|
+
args: [{
|
|
1173
|
+
declarations: [
|
|
1174
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
1175
|
+
MonkeyEcxFormatAddressPipe,
|
|
1176
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1177
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1178
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1179
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1180
|
+
MonkeyEcxFormatNumberPipe,
|
|
1181
|
+
MonkeyEcxFormatPhonePipe,
|
|
1182
|
+
MonkeyEcxFormatSizePipe,
|
|
1183
|
+
MonkeyEcxFormatTaxPipe,
|
|
1184
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1185
|
+
MonkeyEcxFormatValue,
|
|
1186
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1187
|
+
MonkeyEcxTextTruncatePipe,
|
|
1188
|
+
MonkeyEcxTruncateQtdPipe,
|
|
1189
|
+
],
|
|
1190
|
+
exports: [
|
|
1191
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
1192
|
+
MonkeyEcxFormatAddressPipe,
|
|
1193
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
1194
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
1195
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
1196
|
+
MonkeyEcxFormatDocumentPipe,
|
|
1197
|
+
MonkeyEcxFormatNumberPipe,
|
|
1198
|
+
MonkeyEcxFormatPhonePipe,
|
|
1199
|
+
MonkeyEcxFormatSizePipe,
|
|
1200
|
+
MonkeyEcxFormatTaxPipe,
|
|
1201
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
1202
|
+
MonkeyEcxFormatValue,
|
|
1203
|
+
MonkeyEcxFormatZipCodePipe,
|
|
1204
|
+
MonkeyEcxTextTruncatePipe,
|
|
1205
|
+
MonkeyEcxTruncateQtdPipe,
|
|
1206
|
+
],
|
|
1207
|
+
providers: [CurrencyPipe],
|
|
1208
|
+
}]
|
|
1209
|
+
}] });
|
|
1210
|
+
|
|
1211
|
+
class ClosedToMaintenanceModule {
|
|
1212
|
+
}
|
|
1213
|
+
ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1214
|
+
ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
|
|
1215
|
+
MonkeyButtonModule,
|
|
1216
|
+
MonkeyIconModule,
|
|
1217
|
+
MonkeyInputModule,
|
|
1218
|
+
MonkeyModalModule,
|
|
1219
|
+
MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
|
|
1220
|
+
ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
|
|
1221
|
+
CommonModule,
|
|
1222
|
+
MonkeyButtonModule,
|
|
1223
|
+
MonkeyIconModule,
|
|
1224
|
+
MonkeyInputModule,
|
|
1225
|
+
MonkeyModalModule,
|
|
1226
|
+
MonkeyEcxPipesModule,
|
|
1227
|
+
TranslateModule.forChild()
|
|
1228
|
+
]] });
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
|
|
1230
|
+
type: NgModule,
|
|
1231
|
+
args: [{
|
|
1232
|
+
declarations: [ClosedToMaintenanceComponent],
|
|
1233
|
+
imports: [
|
|
1234
|
+
CommonModule,
|
|
1235
|
+
MonkeyButtonModule,
|
|
1236
|
+
MonkeyIconModule,
|
|
1237
|
+
MonkeyInputModule,
|
|
1238
|
+
MonkeyModalModule,
|
|
1239
|
+
MonkeyEcxPipesModule,
|
|
1240
|
+
TranslateModule.forChild()
|
|
1241
|
+
],
|
|
1242
|
+
exports: [ClosedToMaintenanceComponent]
|
|
1243
|
+
}]
|
|
1244
|
+
}] });
|
|
1245
|
+
|
|
1246
|
+
class MonkeyEcxProgressBarService {
|
|
1247
|
+
constructor(router) {
|
|
1248
|
+
this.router = router;
|
|
1249
|
+
this.visible = null;
|
|
1250
|
+
this.init();
|
|
1365
1251
|
}
|
|
1366
|
-
|
|
1367
|
-
|
|
1252
|
+
init() {
|
|
1253
|
+
this.visible = new BehaviorSubject(false);
|
|
1254
|
+
this.router.events
|
|
1255
|
+
.pipe(filter((event) => {
|
|
1256
|
+
return event instanceof NavigationStart;
|
|
1257
|
+
}))
|
|
1258
|
+
.subscribe(() => {
|
|
1259
|
+
this.show();
|
|
1260
|
+
});
|
|
1261
|
+
this.router.events
|
|
1262
|
+
.pipe(filter((event) => {
|
|
1263
|
+
return (event instanceof NavigationEnd ||
|
|
1264
|
+
event instanceof NavigationError ||
|
|
1265
|
+
event instanceof NavigationCancel);
|
|
1266
|
+
}))
|
|
1267
|
+
.subscribe(() => {
|
|
1268
|
+
this.hide();
|
|
1269
|
+
});
|
|
1368
1270
|
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1271
|
+
show() {
|
|
1272
|
+
var _a;
|
|
1273
|
+
(_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(true);
|
|
1371
1274
|
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1275
|
+
hide() {
|
|
1276
|
+
var _a;
|
|
1277
|
+
(_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(false);
|
|
1374
1278
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1279
|
+
visibleConfig() {
|
|
1280
|
+
var _a;
|
|
1281
|
+
return ((_a = this.visible) === null || _a === void 0 ? void 0 : _a.asObservable()) || null;
|
|
1377
1282
|
}
|
|
1378
|
-
|
|
1379
|
-
|
|
1283
|
+
}
|
|
1284
|
+
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 });
|
|
1285
|
+
MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
|
|
1287
|
+
type: Injectable,
|
|
1288
|
+
args: [{
|
|
1289
|
+
providedIn: 'root'
|
|
1290
|
+
}]
|
|
1291
|
+
}], ctorParameters: function () { return [{ type: i1$3.Router }]; } });
|
|
1292
|
+
|
|
1293
|
+
class MonkeyEcxProgressBarComponent {
|
|
1294
|
+
constructor(progressBarService) {
|
|
1295
|
+
this.progressBarService = progressBarService;
|
|
1296
|
+
this.visible = false;
|
|
1297
|
+
//not to do
|
|
1380
1298
|
}
|
|
1381
|
-
|
|
1382
|
-
|
|
1299
|
+
ngOnInit() {
|
|
1300
|
+
var _a, _b;
|
|
1301
|
+
(_b = (_a = this.progressBarService) === null || _a === void 0 ? void 0 : _a.visibleConfig()) === null || _b === void 0 ? void 0 : _b.subscribe((visible) => {
|
|
1302
|
+
this.visible = visible;
|
|
1303
|
+
});
|
|
1383
1304
|
}
|
|
1384
|
-
|
|
1385
|
-
|
|
1305
|
+
}
|
|
1306
|
+
MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1307
|
+
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 });
|
|
1308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
|
|
1309
|
+
type: Component,
|
|
1310
|
+
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"] }]
|
|
1311
|
+
}], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
|
|
1312
|
+
|
|
1313
|
+
class MonkeyEcxProgressBarModule {
|
|
1314
|
+
}
|
|
1315
|
+
MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1316
|
+
MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
|
|
1317
|
+
MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
|
|
1318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
|
|
1319
|
+
type: NgModule,
|
|
1320
|
+
args: [{
|
|
1321
|
+
declarations: [MonkeyEcxProgressBarComponent],
|
|
1322
|
+
imports: [CommonModule],
|
|
1323
|
+
exports: [MonkeyEcxProgressBarComponent]
|
|
1324
|
+
}]
|
|
1325
|
+
}] });
|
|
1326
|
+
|
|
1327
|
+
class VersionChangedComponent {
|
|
1328
|
+
constructor() {
|
|
1329
|
+
this.config = null;
|
|
1386
1330
|
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1331
|
+
onClose() {
|
|
1332
|
+
document.location.reload();
|
|
1389
1333
|
}
|
|
1390
|
-
}
|
|
1334
|
+
}
|
|
1335
|
+
VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1336
|
+
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 });
|
|
1337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedComponent, decorators: [{
|
|
1338
|
+
type: Component,
|
|
1339
|
+
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"] }]
|
|
1340
|
+
}], propDecorators: { config: [{
|
|
1341
|
+
type: Input
|
|
1342
|
+
}], modalRef: [{
|
|
1343
|
+
type: Input
|
|
1344
|
+
}] } });
|
|
1391
1345
|
|
|
1392
|
-
|
|
1346
|
+
class VersionChangedModule {
|
|
1347
|
+
}
|
|
1348
|
+
VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1349
|
+
VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
|
|
1350
|
+
MonkeyButtonModule,
|
|
1351
|
+
MonkeyIconModule,
|
|
1352
|
+
MonkeyInputModule,
|
|
1353
|
+
MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
|
|
1354
|
+
VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, imports: [[
|
|
1355
|
+
CommonModule,
|
|
1356
|
+
MonkeyButtonModule,
|
|
1357
|
+
MonkeyIconModule,
|
|
1358
|
+
MonkeyInputModule,
|
|
1359
|
+
MonkeyModalModule,
|
|
1360
|
+
TranslateModule.forChild()
|
|
1361
|
+
]] });
|
|
1362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: VersionChangedModule, decorators: [{
|
|
1363
|
+
type: NgModule,
|
|
1364
|
+
args: [{
|
|
1365
|
+
declarations: [VersionChangedComponent],
|
|
1366
|
+
imports: [
|
|
1367
|
+
CommonModule,
|
|
1368
|
+
MonkeyButtonModule,
|
|
1369
|
+
MonkeyIconModule,
|
|
1370
|
+
MonkeyInputModule,
|
|
1371
|
+
MonkeyModalModule,
|
|
1372
|
+
TranslateModule.forChild()
|
|
1373
|
+
],
|
|
1374
|
+
exports: [VersionChangedComponent]
|
|
1375
|
+
}]
|
|
1376
|
+
}] });
|
|
1377
|
+
|
|
1378
|
+
/* eslint-disable space-before-function-paren */
|
|
1379
|
+
/* eslint-disable func-names */
|
|
1380
|
+
function MonkeyEcxCoreCharts(render = true) {
|
|
1381
|
+
return (target, propertyName, propertyDescriptor) => {
|
|
1382
|
+
const method = propertyDescriptor.value;
|
|
1383
|
+
propertyDescriptor.value = function (...args) {
|
|
1384
|
+
const context = this;
|
|
1385
|
+
if (render) {
|
|
1386
|
+
const scriptsLoaded = Array.from(document.scripts);
|
|
1387
|
+
scriptsLoaded.forEach((script) => {
|
|
1388
|
+
const { src } = script;
|
|
1389
|
+
if (src.search('www.gstatic.com/charts') > 0) {
|
|
1390
|
+
document.getElementsByTagName('head')[0].removeChild(script);
|
|
1391
|
+
}
|
|
1392
|
+
});
|
|
1393
|
+
const node = document.createElement('script');
|
|
1394
|
+
node.src = 'https://www.gstatic.com/charts/loader.js';
|
|
1395
|
+
node.type = 'text/javascript';
|
|
1396
|
+
node.async = true;
|
|
1397
|
+
node.id = 'monkeyecx-charts-settings';
|
|
1398
|
+
node.onload = () => {
|
|
1399
|
+
method.apply(context, args);
|
|
1400
|
+
};
|
|
1401
|
+
document.getElementsByTagName('head')[0].appendChild(node);
|
|
1402
|
+
}
|
|
1403
|
+
else {
|
|
1404
|
+
const scriptsLoaded = Array.from(document.scripts);
|
|
1405
|
+
scriptsLoaded.forEach((script) => {
|
|
1406
|
+
const { src } = script;
|
|
1407
|
+
if (src.search('www.gstatic.com/charts') > 0) {
|
|
1408
|
+
document.getElementsByTagName('head')[0].removeChild(script);
|
|
1409
|
+
}
|
|
1410
|
+
});
|
|
1411
|
+
method.apply(context, args);
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
return propertyDescriptor;
|
|
1415
|
+
};
|
|
1416
|
+
}
|
|
1393
1417
|
|
|
1394
1418
|
function MonkeyEcxCoreServiceConstructor() {
|
|
1395
1419
|
return (target) => {
|
|
@@ -4277,5 +4301,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
4277
4301
|
* Generated bundle index. Do not edit.
|
|
4278
4302
|
*/
|
|
4279
4303
|
|
|
4280
|
-
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 };
|
|
4304
|
+
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 };
|
|
4281
4305
|
//# sourceMappingURL=monkey-front-core.mjs.map
|