monkey-front-components 0.0.784 → 0.0.786

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.
Files changed (24) hide show
  1. package/esm2020/lib/components/base/base-validators.mjs +8 -2
  2. package/esm2020/lib/components/shared/filter/options/options.component.mjs +7 -6
  3. package/esm2020/lib/components/shared/filter/options/options.module.mjs +13 -8
  4. package/esm2020/lib/components/shared/filter/options/value-range/index.mjs +2 -0
  5. package/esm2020/lib/components/shared/filter/options/value-range/value-range.component.mjs +119 -0
  6. package/esm2020/lib/components/shared/filter/selected/item/index.mjs +2 -1
  7. package/esm2020/lib/components/shared/filter/selected/item/item.component.mjs +12 -11
  8. package/esm2020/lib/components/shared/filter/selected/item/value-range/index.mjs +2 -0
  9. package/esm2020/lib/components/shared/filter/selected/item/value-range/value-range.component.mjs +48 -0
  10. package/esm2020/lib/components/shared/filter/selected/selected.module.mjs +12 -9
  11. package/fesm2015/monkey-front-components.mjs +200 -32
  12. package/fesm2015/monkey-front-components.mjs.map +1 -1
  13. package/fesm2020/monkey-front-components.mjs +198 -32
  14. package/fesm2020/monkey-front-components.mjs.map +1 -1
  15. package/lib/components/shared/filter/options/options.module.d.ts +8 -7
  16. package/lib/components/shared/filter/options/value-range/index.d.ts +1 -0
  17. package/lib/components/shared/filter/options/value-range/value-range.component.d.ts +24 -0
  18. package/lib/components/shared/filter/selected/item/index.d.ts +1 -0
  19. package/lib/components/shared/filter/selected/item/value-range/index.d.ts +1 -0
  20. package/lib/components/shared/filter/selected/item/value-range/value-range.component.d.ts +13 -0
  21. package/lib/components/shared/filter/selected/selected.module.d.ts +13 -12
  22. package/monkey-front-components-0.0.786.tgz +0 -0
  23. package/package.json +2 -2
  24. package/monkey-front-components-0.0.784.tgz +0 -0
@@ -7,8 +7,8 @@ import { MonkeyUtils, MonkeyInputModule, MonkeySelectModule, MonkeyRadioButtonMo
7
7
  import { Subject, BehaviorSubject } from 'rxjs';
8
8
  import { takeUntil, debounceTime, filter } from 'rxjs/operators';
9
9
  import * as i1 from '@angular/forms';
10
- import { Validators as Validators$1, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
11
- import * as i3 from '@angular/common';
10
+ import { Validators as Validators$1, FormGroup, FormsModule, ReactiveFormsModule, FormControl } from '@angular/forms';
11
+ import * as i2 from '@angular/common';
12
12
  import { isPlatformBrowser, CommonModule } from '@angular/common';
13
13
  import * as i1$1 from '@angular/router';
14
14
  import { NavigationStart, NavigationEnd, RouterModule, NavigationError, NavigationCancel } from '@angular/router';
@@ -396,7 +396,13 @@ const validators = {
396
396
  },
397
397
  differentFromZero: Validators.differentFromZero,
398
398
  fullName: Validators.validateFullName,
399
- containsNumber: Validators.containsNumber
399
+ containsNumber: Validators.containsNumber,
400
+ min: (param) => {
401
+ return Validators$1.min(param);
402
+ },
403
+ max: (param) => {
404
+ return Validators$1.max(param);
405
+ }
400
406
  };
401
407
 
402
408
  class BaseDynamicArray extends BaseComponent {
@@ -814,7 +820,7 @@ class MECXDynamicFileUploadComponent {
814
820
  }
815
821
  }
816
822
  MECXDynamicFileUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFileUploadComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
817
- MECXDynamicFileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFileUploadComponent, selector: "mecx-dynamic-file-upload", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, usesOnChanges: true, ngImport: i0, template: "<monkey-file-upload\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [icon]=\"_field?.icon\" [formControl]=\"_form.controls[_field?.name]\"\n [placeholder]=\"_field?.placeholder | translate\"\n [helperMessage]=\"_field?.helperMessage | translate\" [label]=\"_field?.label | translate\"\n [maxSize]=\"_field?.maxSize || 5242880\" [fileUpload]=\"_function\"\n [maxSizeErrorMessage]=\"'FIELD.FILE.MAX-FILE' | translate\"\n [allowedExtensionErrorMessage]=\"'FIELD.FILE.ALLOWED-EXTENSION' | translate\"\n [allowedExtensions]=\"_field?.allowedExtensions || []\" *ngIf=\"_field\">\n</monkey-file-upload>", components: [{ type: i1$2.MonkeyFileUploadComponent, selector: "monkey-file-upload", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "infoMessage", "uploadOngoingMessage", "errorMessage", "listenFiles", "maxSize", "allowedExtensions", "maxSizeErrorMessage", "allowedExtensionErrorMessage", "fileUpload", "multiple", "value"], outputs: ["onChange", "onHandleFilesReady"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
823
+ MECXDynamicFileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFileUploadComponent, selector: "mecx-dynamic-file-upload", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, usesOnChanges: true, ngImport: i0, template: "<monkey-file-upload\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [icon]=\"_field?.icon\" [formControl]=\"_form.controls[_field?.name]\"\n [placeholder]=\"_field?.placeholder | translate\"\n [helperMessage]=\"_field?.helperMessage | translate\" [label]=\"_field?.label | translate\"\n [maxSize]=\"_field?.maxSize || 5242880\" [fileUpload]=\"_function\"\n [maxSizeErrorMessage]=\"'FIELD.FILE.MAX-FILE' | translate\"\n [allowedExtensionErrorMessage]=\"'FIELD.FILE.ALLOWED-EXTENSION' | translate\"\n [allowedExtensions]=\"_field?.allowedExtensions || []\" *ngIf=\"_field\">\n</monkey-file-upload>", components: [{ type: i1$2.MonkeyFileUploadComponent, selector: "monkey-file-upload", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "infoMessage", "uploadOngoingMessage", "errorMessage", "listenFiles", "maxSize", "allowedExtensions", "maxSizeErrorMessage", "allowedExtensionErrorMessage", "fileUpload", "multiple", "value"], outputs: ["onChange", "onHandleFilesReady"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
818
824
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFileUploadComponent, decorators: [{
819
825
  type: Component,
820
826
  args: [{ selector: 'mecx-dynamic-file-upload', encapsulation: ViewEncapsulation.None, template: "<monkey-file-upload\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [icon]=\"_field?.icon\" [formControl]=\"_form.controls[_field?.name]\"\n [placeholder]=\"_field?.placeholder | translate\"\n [helperMessage]=\"_field?.helperMessage | translate\" [label]=\"_field?.label | translate\"\n [maxSize]=\"_field?.maxSize || 5242880\" [fileUpload]=\"_function\"\n [maxSizeErrorMessage]=\"'FIELD.FILE.MAX-FILE' | translate\"\n [allowedExtensionErrorMessage]=\"'FIELD.FILE.ALLOWED-EXTENSION' | translate\"\n [allowedExtensions]=\"_field?.allowedExtensions || []\" *ngIf=\"_field\">\n</monkey-file-upload>" }]
@@ -1018,7 +1024,7 @@ class MECXDynamicRadioComponent {
1018
1024
  }
1019
1025
  }
1020
1026
  MECXDynamicRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1021
- MECXDynamicRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicRadioComponent, selector: "mecx-dynamic-radio", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-radiobutton\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\">\n <monkey-option\n *ngFor=\"let value of _field?.value\"\n [label]=\"value.description | translate\"\n [attr.data-testid]=\"'option-' + value.value.toString().toLowerCase()\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-radiobutton>\n", components: [{ type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1027
+ MECXDynamicRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicRadioComponent, selector: "mecx-dynamic-radio", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-radiobutton\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\">\n <monkey-option\n *ngFor=\"let value of _field?.value\"\n [label]=\"value.description | translate\"\n [attr.data-testid]=\"'option-' + value.value.toString().toLowerCase()\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-radiobutton>\n", components: [{ type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1022
1028
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicRadioComponent, decorators: [{
1023
1029
  type: Component,
1024
1030
  args: [{ selector: 'mecx-dynamic-radio', encapsulation: ViewEncapsulation.None, template: "<monkey-radiobutton\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\">\n <monkey-option\n *ngFor=\"let value of _field?.value\"\n [label]=\"value.description | translate\"\n [attr.data-testid]=\"'option-' + value.value.toString().toLowerCase()\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-radiobutton>\n" }]
@@ -1100,7 +1106,7 @@ class MECXDynamicSelectComponent {
1100
1106
  }
1101
1107
  }
1102
1108
  MECXDynamicSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1103
- MECXDynamicSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicSelectComponent, selector: "mecx-dynamic-select", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-select\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select>", components: [{ type: i1$2.MonkeySelectComponent, selector: "monkey-select", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "onHandleOptions", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1109
+ MECXDynamicSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicSelectComponent, selector: "mecx-dynamic-select", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-select\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select>", components: [{ type: i1$2.MonkeySelectComponent, selector: "monkey-select", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "onHandleOptions", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1104
1110
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicSelectComponent, decorators: [{
1105
1111
  type: Component,
1106
1112
  args: [{ selector: 'mecx-dynamic-select', encapsulation: ViewEncapsulation.None, template: "<monkey-select\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select>" }]
@@ -1189,7 +1195,7 @@ class MECXDynamicSelectSearchComponent {
1189
1195
  }
1190
1196
  }
1191
1197
  MECXDynamicSelectSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicSelectSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1192
- MECXDynamicSelectSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicSelectSearchComponent, selector: "mecx-dynamic-select-search", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self", options: "options" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-select-search\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [fieldToCompare]=\"_field?.fieldToCompare\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length && !_options?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of (_field?.value || _options)\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select-search>", components: [{ type: i1$2.MonkeySelectSearchComponent, selector: "monkey-select-search", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "fieldToCompare", "onHandleOptions", "value"], outputs: ["onChange", "onSearch"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1198
+ MECXDynamicSelectSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicSelectSearchComponent, selector: "mecx-dynamic-select-search", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self", options: "options" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<monkey-select-search\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [fieldToCompare]=\"_field?.fieldToCompare\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length && !_options?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of (_field?.value || _options)\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select-search>", components: [{ type: i1$2.MonkeySelectSearchComponent, selector: "monkey-select-search", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "fieldToCompare", "onHandleOptions", "value"], outputs: ["onChange", "onSearch"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1193
1199
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicSelectSearchComponent, decorators: [{
1194
1200
  type: Component,
1195
1201
  args: [{ selector: 'mecx-dynamic-select-search', encapsulation: ViewEncapsulation.None, template: "<monkey-select-search\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [fieldToCompare]=\"_field?.fieldToCompare\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length && !_options?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of (_field?.value || _options)\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select-search>" }]
@@ -1331,7 +1337,7 @@ class MECXDynamicFormComponent extends BaseDynamic {
1331
1337
  }
1332
1338
  }
1333
1339
  MECXDynamicFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFormComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1334
- MECXDynamicFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFormComponent, selector: "mecx-dynamic-form", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"isLoading\">\n <div class=\"input-loading\" *ngFor=\"let item of [1,2,3,4,5,6,7]\"></div>\n</ng-container>\n\n<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form && !isLoading\">\n <div class=\"row\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"_form\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors\" [style.display]=\"'none'\">\n </div>\n </div>\n</form>", directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], encapsulation: i0.ViewEncapsulation.None });
1340
+ MECXDynamicFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFormComponent, selector: "mecx-dynamic-form", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"isLoading\">\n <div class=\"input-loading\" *ngFor=\"let item of [1,2,3,4,5,6,7]\"></div>\n</ng-container>\n\n<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form && !isLoading\">\n <div class=\"row\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"_form\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors\" [style.display]=\"'none'\">\n </div>\n </div>\n</form>", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], encapsulation: i0.ViewEncapsulation.None });
1335
1341
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFormComponent, decorators: [{
1336
1342
  type: Component,
1337
1343
  args: [{ selector: 'mecx-dynamic-form', styles: [], encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"isLoading\">\n <div class=\"input-loading\" *ngFor=\"let item of [1,2,3,4,5,6,7]\"></div>\n</ng-container>\n\n<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form && !isLoading\">\n <div class=\"row\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"_form\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors\" [style.display]=\"'none'\">\n </div>\n </div>\n</form>" }]
@@ -1394,7 +1400,7 @@ class MECXDynamicFormArrayComponent extends BaseDynamicArray {
1394
1400
  }
1395
1401
  }
1396
1402
  MECXDynamicFormArrayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFormArrayComponent, deps: [{ token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1397
- MECXDynamicFormArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFormArrayComponent, selector: "mecx-dynamic-form-array", usesInheritance: true, ngImport: i0, template: "<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form\">\n <div formArrayName=\"fields\">\n <div *ngFor=\"let item of formValues.controls; let indForm=index\" [formGroupName]=\"indForm\">\n <monkey-button type=\"secondary\" color=\"error\" icon=\"close-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.REMOVE' | translate\" (click)=\"onHandleRemove(indForm)\"\n *ngIf=\"formValues.controls.length > 1 && !disabled\">\n </monkey-button>\n <div class=\"row mt-3\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"item\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors[indForm]\"\n [plusValidations]=\"_plusValidations[indForm]\" [style.display]=\"'none'\">\n </div>\n </div>\n </div>\n </div>\n</form>\n<monkey-button type=\"secondary\" color=\"theme\" icon=\"more-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.ADD' | translate\" (click)=\"onHandleAdd()\" *ngIf=\"!disabled\">\n</monkey-button>", styles: ["mecx-dynamic-form-array monkey-button{width:100%}mecx-dynamic-form-array monkey-button button{width:100%;height:40px}\n"], components: [{ type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1403
+ MECXDynamicFormArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXDynamicFormArrayComponent, selector: "mecx-dynamic-form-array", usesInheritance: true, ngImport: i0, template: "<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form\">\n <div formArrayName=\"fields\">\n <div *ngFor=\"let item of formValues.controls; let indForm=index\" [formGroupName]=\"indForm\">\n <monkey-button type=\"secondary\" color=\"error\" icon=\"close-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.REMOVE' | translate\" (click)=\"onHandleRemove(indForm)\"\n *ngIf=\"formValues.controls.length > 1 && !disabled\">\n </monkey-button>\n <div class=\"row mt-3\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"item\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors[indForm]\"\n [plusValidations]=\"_plusValidations[indForm]\" [style.display]=\"'none'\">\n </div>\n </div>\n </div>\n </div>\n</form>\n<monkey-button type=\"secondary\" color=\"theme\" icon=\"more-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.ADD' | translate\" (click)=\"onHandleAdd()\" *ngIf=\"!disabled\">\n</monkey-button>", styles: ["mecx-dynamic-form-array monkey-button{width:100%}mecx-dynamic-form-array monkey-button button{width:100%;height:40px}\n"], components: [{ type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], pipes: { "translate": i1$3.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
1398
1404
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXDynamicFormArrayComponent, decorators: [{
1399
1405
  type: Component,
1400
1406
  args: [{ selector: 'mecx-dynamic-form-array', encapsulation: ViewEncapsulation.None, template: "<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form\">\n <div formArrayName=\"fields\">\n <div *ngFor=\"let item of formValues.controls; let indForm=index\" [formGroupName]=\"indForm\">\n <monkey-button type=\"secondary\" color=\"error\" icon=\"close-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.REMOVE' | translate\" (click)=\"onHandleRemove(indForm)\"\n *ngIf=\"formValues.controls.length > 1 && !disabled\">\n </monkey-button>\n <div class=\"row mt-3\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"item\" [self]=\"self\"\n [formErrors]=\"__monkeyecxFormErrors[indForm]\"\n [plusValidations]=\"_plusValidations[indForm]\" [style.display]=\"'none'\">\n </div>\n </div>\n </div>\n </div>\n</form>\n<monkey-button type=\"secondary\" color=\"theme\" icon=\"more-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.ADD' | translate\" (click)=\"onHandleAdd()\" *ngIf=\"!disabled\">\n</monkey-button>", styles: ["mecx-dynamic-form-array monkey-button{width:100%}mecx-dynamic-form-array monkey-button button{width:100%;height:40px}\n"] }]
@@ -1576,7 +1582,7 @@ class MECXFilterSelectedItemChildrenComponent {
1576
1582
  }
1577
1583
  }
1578
1584
  MECXFilterSelectedItemChildrenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemChildrenComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1579
- MECXFilterSelectedItemChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedItemChildrenComponent, selector: "mecx-filter-selected-item-children", inputs: { option: "option" }, outputs: { onShow: "onShow", onRemove: "onRemove" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"box\">\n <div class=\"data\">\n {{ option.label | translate }}\n </div>\n <div class=\"value\" [id]=\"'mecx-filter-selected-item-'+option?.field\" (click)=\"onShow.next()\">\n <ng-container *ngIf=\"option?.type as type\">\n <ng-container [ngSwitch]=\"type+'-'+_child?.type\">\n <mecx-filter-selected-item-date-with-action *ngSwitchCase=\"'date-with-action'\"\n [option]=\"_child\">\n </mecx-filter-selected-item-date-with-action>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-date-range'\" [option]=\"_child\">\n </mecx-filter-selected-item-date-range>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"action\" (click)=\"onShow.next()\">\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n</div>", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding-left:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:12px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}\n"], components: [{ type: MECXFilterSelectedItemDateWithActionComponent, selector: "mecx-filter-selected-item-date-with-action", inputs: ["option"] }, { type: MECXFilterSelectedItemDateRangeComponent, selector: "mecx-filter-selected-item-date-range", inputs: ["option"] }, { type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "translate": i1$3.TranslatePipe } });
1585
+ MECXFilterSelectedItemChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedItemChildrenComponent, selector: "mecx-filter-selected-item-children", inputs: { option: "option" }, outputs: { onShow: "onShow", onRemove: "onRemove" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"box\">\n <div class=\"data\">\n {{ option.label | translate }}\n </div>\n <div class=\"value\" [id]=\"'mecx-filter-selected-item-'+option?.field\" (click)=\"onShow.next()\">\n <ng-container *ngIf=\"option?.type as type\">\n <ng-container [ngSwitch]=\"type+'-'+_child?.type\">\n <mecx-filter-selected-item-date-with-action *ngSwitchCase=\"'date-with-action'\"\n [option]=\"_child\">\n </mecx-filter-selected-item-date-with-action>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-date-range'\" [option]=\"_child\">\n </mecx-filter-selected-item-date-range>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"action\" (click)=\"onShow.next()\">\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n</div>", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding-left:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:12px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}\n"], components: [{ type: MECXFilterSelectedItemDateWithActionComponent, selector: "mecx-filter-selected-item-date-with-action", inputs: ["option"] }, { type: MECXFilterSelectedItemDateRangeComponent, selector: "mecx-filter-selected-item-date-range", inputs: ["option"] }, { type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "translate": i1$3.TranslatePipe } });
1580
1586
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemChildrenComponent, decorators: [{
1581
1587
  type: Component,
1582
1588
  args: [{ selector: 'mecx-filter-selected-item-children', template: "<div class=\"box\">\n <div class=\"data\">\n {{ option.label | translate }}\n </div>\n <div class=\"value\" [id]=\"'mecx-filter-selected-item-'+option?.field\" (click)=\"onShow.next()\">\n <ng-container *ngIf=\"option?.type as type\">\n <ng-container [ngSwitch]=\"type+'-'+_child?.type\">\n <mecx-filter-selected-item-date-with-action *ngSwitchCase=\"'date-with-action'\"\n [option]=\"_child\">\n </mecx-filter-selected-item-date-with-action>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-date-range'\" [option]=\"_child\">\n </mecx-filter-selected-item-date-range>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"action\" (click)=\"onShow.next()\">\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n</div>", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding-left:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:12px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}\n"] }]
@@ -1614,6 +1620,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1614
1620
  type: Input
1615
1621
  }] } });
1616
1622
 
1623
+ class MECXFilterSelectedItemValueRangeComponent {
1624
+ constructor() {
1625
+ this.option = null;
1626
+ this._min = '';
1627
+ this._max = '';
1628
+ this._hasFilter = true;
1629
+ }
1630
+ onHandleSelectedValue({ field, value, getValue }) {
1631
+ var _a;
1632
+ try {
1633
+ value = value || ((_a = getValue()) === null || _a === void 0 ? void 0 : _a[field]);
1634
+ if (value && JSON.stringify(value) !== '{}') {
1635
+ const objValue = JSON.parse(value);
1636
+ this._min = objValue === null || objValue === void 0 ? void 0 : objValue.min;
1637
+ this._max = objValue === null || objValue === void 0 ? void 0 : objValue.max;
1638
+ if (this._min === null && this._max === null) {
1639
+ this._hasFilter = false;
1640
+ }
1641
+ }
1642
+ }
1643
+ catch (e) {
1644
+ const objValue = JSON.parse(value);
1645
+ this._min = objValue === null || objValue === void 0 ? void 0 : objValue.min;
1646
+ this._max = objValue === null || objValue === void 0 ? void 0 : objValue.max;
1647
+ this._hasFilter = true;
1648
+ }
1649
+ }
1650
+ ngOnChanges(changes) {
1651
+ if (changes.option) {
1652
+ const { currentValue } = changes.option;
1653
+ if (currentValue && JSON.stringify(currentValue) !== '{}') {
1654
+ this.onHandleSelectedValue(currentValue);
1655
+ }
1656
+ }
1657
+ }
1658
+ }
1659
+ MECXFilterSelectedItemValueRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemValueRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1660
+ MECXFilterSelectedItemValueRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedItemValueRangeComponent, selector: "mecx-filter-selected-item-value-range", inputs: { option: "option" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"_hasFilter\">\n {{ _min }} -\n {{ _max }}\n</ng-container>\n\n<ng-container *ngIf=\"!_hasFilter\"> {{ 'FIELD.WITHOUT-FILTER' | translate }} </ng-container>\n", styles: [""], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
1661
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemValueRangeComponent, decorators: [{
1662
+ type: Component,
1663
+ args: [{ selector: 'mecx-filter-selected-item-value-range', template: "<ng-container *ngIf=\"_hasFilter\">\n {{ _min }} -\n {{ _max }}\n</ng-container>\n\n<ng-container *ngIf=\"!_hasFilter\"> {{ 'FIELD.WITHOUT-FILTER' | translate }} </ng-container>\n", styles: [""] }]
1664
+ }], propDecorators: { option: [{
1665
+ type: Input
1666
+ }] } });
1667
+
1617
1668
  class MECXFilterSelectedItemInputComponent {
1618
1669
  constructor() {
1619
1670
  this.option = null;
@@ -1736,7 +1787,7 @@ class MECXFilterOptionsChildrenComponent {
1736
1787
  }
1737
1788
  }
1738
1789
  MECXFilterOptionsChildrenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsChildrenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1739
- MECXFilterOptionsChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsChildrenComponent, selector: "mecx-filter-options-children", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit", onShow: "onShow" }, ngImport: i0, template: "<ng-container *ngFor=\"let child of option?.children\">\n <div class=\"item\" (click)=\"onHandleChildrenAction(child)\"\n [class.selected]=\"onHandleValidateSelected(child)\">\n {{ child.label | translate }}\n </div>\n</ng-container>", styles: [":host{display:flex;flex-direction:column;min-width:180px}:host .item{cursor:pointer;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.selected{cursor:not-allowed!important;background-color:var(--mecx-color-theme-400)!important;color:var(--mecx-color-theme-contrast-main)!important;font-weight:400}:host .item:hover{background-color:var(--mecx-color-theme-100)!important;color:#72717e!important;font-weight:400}\n"], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
1790
+ MECXFilterOptionsChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsChildrenComponent, selector: "mecx-filter-options-children", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit", onShow: "onShow" }, ngImport: i0, template: "<ng-container *ngFor=\"let child of option?.children\">\n <div class=\"item\" (click)=\"onHandleChildrenAction(child)\"\n [class.selected]=\"onHandleValidateSelected(child)\">\n {{ child.label | translate }}\n </div>\n</ng-container>", styles: [":host{display:flex;flex-direction:column;min-width:180px}:host .item{cursor:pointer;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.selected{cursor:not-allowed!important;background-color:var(--mecx-color-theme-400)!important;color:var(--mecx-color-theme-contrast-main)!important;font-weight:400}:host .item:hover{background-color:var(--mecx-color-theme-100)!important;color:#72717e!important;font-weight:400}\n"], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
1740
1791
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsChildrenComponent, decorators: [{
1741
1792
  type: Component,
1742
1793
  args: [{ selector: 'mecx-filter-options-children', template: "<ng-container *ngFor=\"let child of option?.children\">\n <div class=\"item\" (click)=\"onHandleChildrenAction(child)\"\n [class.selected]=\"onHandleValidateSelected(child)\">\n {{ child.label | translate }}\n </div>\n</ng-container>", styles: [":host{display:flex;flex-direction:column;min-width:180px}:host .item{cursor:pointer;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.selected{cursor:not-allowed!important;background-color:var(--mecx-color-theme-400)!important;color:var(--mecx-color-theme-contrast-main)!important;font-weight:400}:host .item:hover{background-color:var(--mecx-color-theme-100)!important;color:#72717e!important;font-weight:400}\n"] }]
@@ -1945,7 +1996,7 @@ class MECXFilterOptionsStatusComponent {
1945
1996
  }
1946
1997
  }
1947
1998
  MECXFilterOptionsStatusComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1948
- MECXFilterOptionsStatusComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsStatusComponent, selector: "mecx-filter-options-status", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let op of option?.values\">\n <div class=\"content-status d-flex flex-column\">\n <div class=\"d-flex align-items-center gap\">\n <monkey-checkbox\n type=\"multiple\"\n [description]=\"op?.description | translate\"\n [value]=\"onHandleChecked(op?.value)\"\n (click)=\"onChangeFilter($event, op?.value)\"\n [attr.data-testid]=\"'mecx-filter-status-btn-' + op?.value?.toLowerCase()\"\n >\n </monkey-checkbox>\n <span class=\"helper\" *ngIf=\"op?.helperMessage\">{{ op?.helperMessage }}</span>\n </div>\n <span class=\"info\" *ngIf=\"op?.infoMessage\">{{ op?.infoMessage }}</span>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host .content-status .gap{gap:6px}:host .content-status .helper{margin-bottom:4px;margin-left:12;font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;text-align:right}:host .content-status .info{font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;margin:-8px 24px 8px}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox{padding:0!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container{height:unset!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container .mecx-check-mark{top:50%;transform:translateY(-50%)}:host ::ng-deep monkey-checkbox{margin:6px 0!important}\n"], components: [{ type: i1$2.MonkeyCheckboxComponent, selector: "monkey-checkbox", inputs: ["label", "type", "helperMessage", "infoMessage", "errorMessage", "description", "value"], outputs: ["onChange"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
1999
+ MECXFilterOptionsStatusComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsStatusComponent, selector: "mecx-filter-options-status", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let op of option?.values\">\n <div class=\"content-status d-flex flex-column\">\n <div class=\"d-flex align-items-center gap\">\n <monkey-checkbox\n type=\"multiple\"\n [description]=\"op?.description | translate\"\n [value]=\"onHandleChecked(op?.value)\"\n (click)=\"onChangeFilter($event, op?.value)\"\n [attr.data-testid]=\"'mecx-filter-status-btn-' + op?.value?.toLowerCase()\"\n >\n </monkey-checkbox>\n <span class=\"helper\" *ngIf=\"op?.helperMessage\">{{ op?.helperMessage }}</span>\n </div>\n <span class=\"info\" *ngIf=\"op?.infoMessage\">{{ op?.infoMessage }}</span>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host .content-status .gap{gap:6px}:host .content-status .helper{margin-bottom:4px;margin-left:12;font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;text-align:right}:host .content-status .info{font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;margin:-8px 24px 8px}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox{padding:0!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container{height:unset!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container .mecx-check-mark{top:50%;transform:translateY(-50%)}:host ::ng-deep monkey-checkbox{margin:6px 0!important}\n"], components: [{ type: i1$2.MonkeyCheckboxComponent, selector: "monkey-checkbox", inputs: ["label", "type", "helperMessage", "infoMessage", "errorMessage", "description", "value"], outputs: ["onChange"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
1949
2000
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsStatusComponent, decorators: [{
1950
2001
  type: Component,
1951
2002
  args: [{ selector: 'mecx-filter-options-status', template: "<ng-container *ngFor=\"let op of option?.values\">\n <div class=\"content-status d-flex flex-column\">\n <div class=\"d-flex align-items-center gap\">\n <monkey-checkbox\n type=\"multiple\"\n [description]=\"op?.description | translate\"\n [value]=\"onHandleChecked(op?.value)\"\n (click)=\"onChangeFilter($event, op?.value)\"\n [attr.data-testid]=\"'mecx-filter-status-btn-' + op?.value?.toLowerCase()\"\n >\n </monkey-checkbox>\n <span class=\"helper\" *ngIf=\"op?.helperMessage\">{{ op?.helperMessage }}</span>\n </div>\n <span class=\"info\" *ngIf=\"op?.infoMessage\">{{ op?.infoMessage }}</span>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host .content-status .gap{gap:6px}:host .content-status .helper{margin-bottom:4px;margin-left:12;font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;text-align:right}:host .content-status .info{font-style:normal;font-weight:400;font-size:16px;color:#9c9ca6;margin:-8px 24px 8px}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox{padding:0!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container{height:unset!important}:host ::ng-deep mecx-form-field mecx-form-field-body.checkbox .mecx-check-container .mecx-check-mark{top:50%;transform:translateY(-50%)}:host ::ng-deep monkey-checkbox{margin:6px 0!important}\n"] }]
@@ -1976,7 +2027,7 @@ class MECXFilterOptionsStatusRadioComponent {
1976
2027
  }
1977
2028
  }
1978
2029
  MECXFilterOptionsStatusRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsStatusRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1979
- MECXFilterOptionsStatusRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsStatusRadioComponent, selector: "mecx-filter-options-status-radio", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit" }, ngImport: i0, template: "<monkey-radiobutton [value]=\"option.value\" (onChange)=\"onChangeFilter($event)\">\n <monkey-option\n *ngFor=\"let op of option?.values\"\n [label]=\"op?.description | translate\"\n [value]=\"op?.value\"\n >\n </monkey-option>\n</monkey-radiobutton>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host ::ng-deep .mecx-radio-container{margin-top:16px}\n"], components: [{ type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
2030
+ MECXFilterOptionsStatusRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsStatusRadioComponent, selector: "mecx-filter-options-status-radio", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit" }, ngImport: i0, template: "<monkey-radiobutton [value]=\"option.value\" (onChange)=\"onChangeFilter($event)\">\n <monkey-option\n *ngFor=\"let op of option?.values\"\n [label]=\"op?.description | translate\"\n [value]=\"op?.value\"\n >\n </monkey-option>\n</monkey-radiobutton>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host ::ng-deep .mecx-radio-container{margin-top:16px}\n"], components: [{ type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
1980
2031
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsStatusRadioComponent, decorators: [{
1981
2032
  type: Component,
1982
2033
  args: [{ selector: 'mecx-filter-options-status-radio', template: "<monkey-radiobutton [value]=\"option.value\" (onChange)=\"onChangeFilter($event)\">\n <monkey-option\n *ngFor=\"let op of option?.values\"\n [label]=\"op?.description | translate\"\n [value]=\"op?.value\"\n >\n </monkey-option>\n</monkey-radiobutton>\n", styles: [":host{display:flex;flex-direction:column;max-width:232px;min-width:180px;max-height:500px;padding:12px 12px 8px;color:#72717e;overflow:auto}:host ::ng-deep .mecx-radio-container{margin-top:16px}\n"] }]
@@ -1986,6 +2037,117 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1986
2037
  type: Output
1987
2038
  }] } });
1988
2039
 
2040
+ class MECXFilterOptionsValueRangeComponent extends BaseComponent {
2041
+ constructor() {
2042
+ super();
2043
+ this.option = null;
2044
+ this.onSubmit = new EventEmitter();
2045
+ this._max = '';
2046
+ this._min = '';
2047
+ this._form = new FormGroup({
2048
+ max: new FormControl(''),
2049
+ min: new FormControl('')
2050
+ });
2051
+ this._selected = 'with';
2052
+ this._hasValue = true;
2053
+ this.eventHandle = new EventEmitter();
2054
+ }
2055
+ bindValidations(validations) {
2056
+ if (validations.length > 0) {
2057
+ const validList = [];
2058
+ validations.forEach((valid) => {
2059
+ const validated = valid.param
2060
+ ? validators[valid.name](valid.param)
2061
+ : validators[valid.name];
2062
+ validList.push(validated);
2063
+ });
2064
+ return Validators$1.compose(validList);
2065
+ }
2066
+ return null;
2067
+ }
2068
+ ngAfterViewInit() {
2069
+ const { option } = this;
2070
+ this._form.get('max').setValidators([this.bindValidations(option.validators || [])]);
2071
+ this._form.get('max').updateValueAndValidity();
2072
+ this._form.get('min').setValidators([this.bindValidations(option.validators || [])]);
2073
+ this._form.get('min').updateValueAndValidity();
2074
+ }
2075
+ ngOnChanges(changes) {
2076
+ var _a, _b, _c, _d;
2077
+ const rawValue = (_b = (_a = changes.option) === null || _a === void 0 ? void 0 : _a.currentValue) === null || _b === void 0 ? void 0 : _b.value;
2078
+ if (!rawValue) {
2079
+ this._selected = 'with';
2080
+ return;
2081
+ }
2082
+ const obj = JSON.parse(rawValue);
2083
+ const hasContent = (obj === null || obj === void 0 ? void 0 : obj.min) || (obj === null || obj === void 0 ? void 0 : obj.max);
2084
+ this._selected = hasContent ? 'with' : 'without';
2085
+ if (hasContent) {
2086
+ this._form.patchValue({
2087
+ max: (_c = obj === null || obj === void 0 ? void 0 : obj.max) !== null && _c !== void 0 ? _c : '',
2088
+ min: (_d = obj === null || obj === void 0 ? void 0 : obj.min) !== null && _d !== void 0 ? _d : ''
2089
+ });
2090
+ }
2091
+ else {
2092
+ this._hasValue = false;
2093
+ this._form.reset();
2094
+ }
2095
+ }
2096
+ onChooseOption(value) {
2097
+ if (value === 'with') {
2098
+ this._hasValue = true;
2099
+ }
2100
+ if (value === 'without') {
2101
+ this._hasValue = false;
2102
+ this._form.reset();
2103
+ }
2104
+ }
2105
+ onClearAllInputs() {
2106
+ this._form.reset();
2107
+ }
2108
+ onApplyFilter() {
2109
+ const { _form } = this;
2110
+ this.__monkeyecxFormErrors = null;
2111
+ if (!this.validateForm(_form)) {
2112
+ return;
2113
+ }
2114
+ const { value } = _form;
2115
+ let { max, min } = value;
2116
+ if (!!min && !!max && min > max) {
2117
+ this.__monkeyecxFormErrors = {
2118
+ min: {
2119
+ firstMessage: 'ERRORS.MIN-GREATHER-THAN-MAX',
2120
+ lastMessage: ''
2121
+ }
2122
+ };
2123
+ return;
2124
+ }
2125
+ const handleValidators = (param) => {
2126
+ const found = this.option.validators.find(({ name }) => {
2127
+ return name === param;
2128
+ });
2129
+ return found.param || 0;
2130
+ };
2131
+ if (this._selected === 'with') {
2132
+ min = min || handleValidators('min');
2133
+ max = max || handleValidators('max');
2134
+ }
2135
+ const values = { min, max };
2136
+ this.onSubmit.next({ [this.option.field]: JSON.stringify(values) });
2137
+ this.eventHandle.next({ [this.option.field]: JSON.stringify(values) });
2138
+ }
2139
+ }
2140
+ MECXFilterOptionsValueRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsValueRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2141
+ MECXFilterOptionsValueRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsValueRangeComponent, selector: "mecx-filter-options-value-range", inputs: { option: "option" }, outputs: { onSubmit: "onSubmit" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container>\n <div class=\"content\">\n <div class=\"checkbox-container\">\n <monkey-radiobutton\n (onChange)=\"onChooseOption($event)\"\n [(ngModel)]=\"_selected\"\n class=\"d-flex\"\n *ngFor=\"let op of option?.roles\"\n >\n <monkey-option [label]=\"op?.label | translate\" [value]=\"op?.type\"> </monkey-option>\n </monkey-radiobutton>\n </div>\n <form name=\"valueRangeForm\" [formGroup]=\"_form\" class=\"form\">\n <div class=\"inputs-container\" [class.disabled]=\"!_hasValue\">\n <ng-container>\n <monkey-input\n [infoMessage]=\"option?.values?.[0].infoMessage | translate\"\n type=\"text\"\n onlyNumber=\"true\"\n [maxLength]=\"4\"\n [(value)]=\"_min\"\n formControlName=\"min\"\n [placeholder]=\"option?.values?.[0].description | translate\"\n >\n </monkey-input>\n <span class=\"title-muted font-size-xxs mt-2\"> {{ 'FIELD.UNTIL' | translate }} </span>\n <monkey-input\n [infoMessage]=\"option?.values?.[1].infoMessage | translate\"\n type=\"text\"\n onlyNumber=\"true\"\n [maxLength]=\"4\"\n [(value)]=\"_max\"\n formControlName=\"max\"\n [placeholder]=\"option?.values?.[1].description | translate\"\n >\n </monkey-input>\n </ng-container>\n </div>\n </form>\n <span\n class=\"error mt-2\"\n *ngIf=\"\n __monkeyecxFormErrors?.min?.firstMessage\n ? (__monkeyecxFormErrors?.min?.firstMessage | translate) +\n ' ' +\n __monkeyecxFormErrors?.min?.lastMessage\n : __monkeyecxFormErrors?.max?.firstMessage\n ? (__monkeyecxFormErrors?.max?.firstMessage | translate) +\n ' ' +\n __monkeyecxFormErrors?.max?.lastMessage\n : '' as error\n \"\n >\n {{ error }}\n </span>\n <div class=\"separator mt-2\"></div>\n <div class=\"buttons-container\">\n <monkey-button type=\"secondary\" color=\"theme\" (click)=\"onClearAllInputs()\" size=\"sm\">\n {{ 'BUTTONS.CLEAR' | translate }}\n </monkey-button>\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onApplyFilter()\" size=\"sm\">\n {{ 'BUTTONS.APPLY' | translate }}\n </monkey-button>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;flex-direction:column;width:246px;max-height:232px;color:#72717e}:host .content{width:100%}:host .checkbox-container{display:flex;align-items:start;justify-content:start;flex-direction:column;padding:8px 8px 0}:host .checkbox-container ::ng-deep monkey-radiobutton{height:30px!important;margin:0}:host .form{width:100%;display:flex;align-items:center;justify-content:center}:host .form .inputs-container{width:100%;display:flex;align-items:start;justify-content:space-between;padding:0 16px 4px}:host .form .inputs-container.disabled{pointer-events:none;opacity:.5;cursor:not-allowed}:host .form .inputs-container ::ng-deep monkey-input mecx-form-field mecx-form-field-body{background-color:#fff;width:77px;height:32px;border:2px solid!important}:host .form .inputs-container ::ng-deep monkey-input mecx-form-field mecx-form-field-body:focus-within{border:2px solid #1f2024!important}:host .form .inputs-container ::ng-deep mecx-form-field-footer{height:12px}:host .form .inputs-container ::ng-deep mecx-form-field mecx-form-field-body input{background-color:#fff;width:77px;height:32px;border:2px solid #bdc1c7!important;margin:0;border-radius:4px}:host .form .inputs-container ::ng-deep mecx-form-field mecx-form-field-body input:focus-within{border:2px solid #1f2024!important}:host .form .inputs-container ::ng-deep input:-webkit-autofill:hover,:host .form .inputs-container ::ng-deep input:-webkit-autofill:active,:host .form .inputs-container ::ng-deep input:-webkit-autofill:focus{background-color:#fff!important;box-shadow:0 0 0 1000px #f5f5f5 inset!important;width:77px;height:32px}:host .separator{width:100%;height:0px;border:1px solid #d6d6d6}:host .error{display:flex;padding:0 16px;font-size:12px;line-height:16px;color:var(--mecx-color-error-main);text-align:left}:host .buttons-container{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 16px 12px}:host ::ng-deep monkey-button button{width:103px}\n"], components: [{ type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }, { type: i1$2.MonkeyInputComponent, selector: "monkey-input", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "type", "infoMessage", "errorMessage", "mask", "prefix", "maxLength", "onlyNumber", "onlyAlphaNumeric", "upperCase", "lowerCase", "capitalize", "currency", "useSymbol", "percent", "maxDateToday", "minYears", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
2142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsValueRangeComponent, decorators: [{
2143
+ type: Component,
2144
+ args: [{ selector: 'mecx-filter-options-value-range', template: "<ng-container>\n <div class=\"content\">\n <div class=\"checkbox-container\">\n <monkey-radiobutton\n (onChange)=\"onChooseOption($event)\"\n [(ngModel)]=\"_selected\"\n class=\"d-flex\"\n *ngFor=\"let op of option?.roles\"\n >\n <monkey-option [label]=\"op?.label | translate\" [value]=\"op?.type\"> </monkey-option>\n </monkey-radiobutton>\n </div>\n <form name=\"valueRangeForm\" [formGroup]=\"_form\" class=\"form\">\n <div class=\"inputs-container\" [class.disabled]=\"!_hasValue\">\n <ng-container>\n <monkey-input\n [infoMessage]=\"option?.values?.[0].infoMessage | translate\"\n type=\"text\"\n onlyNumber=\"true\"\n [maxLength]=\"4\"\n [(value)]=\"_min\"\n formControlName=\"min\"\n [placeholder]=\"option?.values?.[0].description | translate\"\n >\n </monkey-input>\n <span class=\"title-muted font-size-xxs mt-2\"> {{ 'FIELD.UNTIL' | translate }} </span>\n <monkey-input\n [infoMessage]=\"option?.values?.[1].infoMessage | translate\"\n type=\"text\"\n onlyNumber=\"true\"\n [maxLength]=\"4\"\n [(value)]=\"_max\"\n formControlName=\"max\"\n [placeholder]=\"option?.values?.[1].description | translate\"\n >\n </monkey-input>\n </ng-container>\n </div>\n </form>\n <span\n class=\"error mt-2\"\n *ngIf=\"\n __monkeyecxFormErrors?.min?.firstMessage\n ? (__monkeyecxFormErrors?.min?.firstMessage | translate) +\n ' ' +\n __monkeyecxFormErrors?.min?.lastMessage\n : __monkeyecxFormErrors?.max?.firstMessage\n ? (__monkeyecxFormErrors?.max?.firstMessage | translate) +\n ' ' +\n __monkeyecxFormErrors?.max?.lastMessage\n : '' as error\n \"\n >\n {{ error }}\n </span>\n <div class=\"separator mt-2\"></div>\n <div class=\"buttons-container\">\n <monkey-button type=\"secondary\" color=\"theme\" (click)=\"onClearAllInputs()\" size=\"sm\">\n {{ 'BUTTONS.CLEAR' | translate }}\n </monkey-button>\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onApplyFilter()\" size=\"sm\">\n {{ 'BUTTONS.APPLY' | translate }}\n </monkey-button>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:flex;align-items:center;flex-direction:column;width:246px;max-height:232px;color:#72717e}:host .content{width:100%}:host .checkbox-container{display:flex;align-items:start;justify-content:start;flex-direction:column;padding:8px 8px 0}:host .checkbox-container ::ng-deep monkey-radiobutton{height:30px!important;margin:0}:host .form{width:100%;display:flex;align-items:center;justify-content:center}:host .form .inputs-container{width:100%;display:flex;align-items:start;justify-content:space-between;padding:0 16px 4px}:host .form .inputs-container.disabled{pointer-events:none;opacity:.5;cursor:not-allowed}:host .form .inputs-container ::ng-deep monkey-input mecx-form-field mecx-form-field-body{background-color:#fff;width:77px;height:32px;border:2px solid!important}:host .form .inputs-container ::ng-deep monkey-input mecx-form-field mecx-form-field-body:focus-within{border:2px solid #1f2024!important}:host .form .inputs-container ::ng-deep mecx-form-field-footer{height:12px}:host .form .inputs-container ::ng-deep mecx-form-field mecx-form-field-body input{background-color:#fff;width:77px;height:32px;border:2px solid #bdc1c7!important;margin:0;border-radius:4px}:host .form .inputs-container ::ng-deep mecx-form-field mecx-form-field-body input:focus-within{border:2px solid #1f2024!important}:host .form .inputs-container ::ng-deep input:-webkit-autofill:hover,:host .form .inputs-container ::ng-deep input:-webkit-autofill:active,:host .form .inputs-container ::ng-deep input:-webkit-autofill:focus{background-color:#fff!important;box-shadow:0 0 0 1000px #f5f5f5 inset!important;width:77px;height:32px}:host .separator{width:100%;height:0px;border:1px solid #d6d6d6}:host .error{display:flex;padding:0 16px;font-size:12px;line-height:16px;color:var(--mecx-color-error-main);text-align:left}:host .buttons-container{width:100%;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 16px 12px}:host ::ng-deep monkey-button button{width:103px}\n"] }]
2145
+ }], ctorParameters: function () { return []; }, propDecorators: { option: [{
2146
+ type: Input
2147
+ }], onSubmit: [{
2148
+ type: Output
2149
+ }] } });
2150
+
1989
2151
  class MECXFilterOptionsComponent extends BaseComponent {
1990
2152
  constructor() {
1991
2153
  super();
@@ -2058,10 +2220,10 @@ class MECXFilterOptionsComponent extends BaseComponent {
2058
2220
  }
2059
2221
  }
2060
2222
  MECXFilterOptionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2061
- MECXFilterOptionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: { option: "option", closeDirectly: "closeDirectly" }, outputs: { onClose: "onClose", onRemove: "onRemove", onSubmit: "onSubmit", onShowFromChildren: "onShowFromChildren" }, usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex justify-content-between header\">\n <span class=\"title\">\n {{ option?.label | translate }}\n </span>\n <div\n class=\"close\"\n #actionElement\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-options-btn-handle-show-menu\"\n >\n <monkey-icon icon=\"close-12\" color=\"#474747\"></monkey-icon>\n </div>\n</div>\n<ng-container *ngIf=\"option?.type as type\">\n <ng-container *ngIf=\"option?.children; else withoutChildren\">\n <mecx-filter-options-children\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmitChildren($event)\"\n (onShow)=\"onShowFromChildren.next($event)\"\n >\n </mecx-filter-options-children>\n </ng-container>\n <ng-template #withoutChildren>\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-options-currency\n *ngSwitchCase=\"'currency'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-currency>\n <mecx-filter-options-date-range\n *ngSwitchCase=\"'date-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-date-range>\n <mecx-filter-options-input\n *ngSwitchCase=\"'input'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-input>\n <mecx-filter-options-status\n *ngSwitchCase=\"'status'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status>\n <mecx-filter-options-status-radio\n *ngSwitchCase=\"'status-radio'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status-radio>\n </ng-container>\n </ng-template>\n</ng-container>\n\n<div class=\"box-loading\" *ngIf=\"_isLoading\">\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n</div>\n\n<div class=\"footer\" *ngIf=\"_hasMoreValues && !_isLoading\">\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n [label]=\"'BUTTONS.LOAD-MORE' | translate\"\n (click)=\"onHandleLoadMoreValues()\"\n >\n </monkey-button>\n</div>\n\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <div class=\"close-menu\">\n <monkey-button\n type=\"tertiary\"\n color=\"error\"\n (click)=\"onRemove.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-remove\"\n >\n {{ 'BUTTONS.REMOVE' | translate }}\n </monkey-button>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onClose.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-close\"\n >\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px}:host .header{border-bottom:1px solid #d6d6d6;padding:8px}:host .header .title{color:#4b4a53;font-style:normal;font-size:14px;line-height:16px;font-weight:500;text-align:left}:host .header .close{cursor:pointer;border-radius:120px;padding:4px}:host .header .close:hover{background-color:#6d6d6d0c}:host .box-loaing{display:flex;flex-direction:column;gap:12px}:host .footer{padding:12px}:host .footer ::ng-deep monkey-button{width:100%}:host .footer ::ng-deep monkey-button button{width:100%}:host .loading:empty{margin-top:4px;height:24px;width:100%}:host .loading:empty{animation:loading 1.1s infinite linear;background:#ebebeb;background-image:linear-gradient(to right,#ebebeb 0%,#f2f3f5 20%,#ebebeb 40%,#ebebeb 100%);background-repeat:no-repeat}@keyframes loading{0%{background-position:-100px}to{background-position:500px}}.close-menu{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px;padding:8px}.close-menu ::ng-deep monkey-button{width:100%}.close-menu ::ng-deep monkey-button button{width:100%}\n"], components: [{ type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MECXFilterOptionsChildrenComponent, selector: "mecx-filter-options-children", inputs: ["option"], outputs: ["onSubmit", "onShow"] }, { type: MECXFilterOptionsCurrencyComponent, selector: "mecx-filter-options-currency", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsDateRangeComponent, selector: "mecx-filter-options-date-range", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsInputComponent, selector: "mecx-filter-options-input", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsStatusComponent, selector: "mecx-filter-options-status", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsStatusRadioComponent, selector: "mecx-filter-options-status-radio", inputs: ["option"], outputs: ["onSubmit"] }, { type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2223
+ MECXFilterOptionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: { option: "option", closeDirectly: "closeDirectly" }, outputs: { onClose: "onClose", onRemove: "onRemove", onSubmit: "onSubmit", onShowFromChildren: "onShowFromChildren" }, usesInheritance: true, ngImport: i0, template: "<div class=\"d-flex justify-content-between header\">\n <span class=\"title\">\n {{ option?.label | translate }}\n </span>\n <div\n class=\"close\"\n #actionElement\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-options-btn-handle-show-menu\"\n >\n <monkey-icon icon=\"close-12\" color=\"#474747\"></monkey-icon>\n </div>\n</div>\n<ng-container *ngIf=\"option?.type as type\">\n <ng-container *ngIf=\"option?.children; else withoutChildren\">\n <mecx-filter-options-children\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmitChildren($event)\"\n (onShow)=\"onShowFromChildren.next($event)\"\n >\n </mecx-filter-options-children>\n </ng-container>\n <ng-template #withoutChildren>\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-options-currency\n *ngSwitchCase=\"'currency'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-currency>\n <mecx-filter-options-date-range\n *ngSwitchCase=\"'date-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-date-range>\n <mecx-filter-options-input\n *ngSwitchCase=\"'input'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-input>\n <mecx-filter-options-status\n *ngSwitchCase=\"'status'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status>\n <mecx-filter-options-status-radio\n *ngSwitchCase=\"'status-radio'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status-radio>\n\n <mecx-filter-options-value-range\n *ngSwitchCase=\"'value-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-value-range>\n </ng-container>\n </ng-template>\n</ng-container>\n\n<div class=\"box-loading\" *ngIf=\"_isLoading\">\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n</div>\n\n<div class=\"footer\" *ngIf=\"_hasMoreValues && !_isLoading\">\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n [label]=\"'BUTTONS.LOAD-MORE' | translate\"\n (click)=\"onHandleLoadMoreValues()\"\n >\n </monkey-button>\n</div>\n\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <div class=\"close-menu\">\n <monkey-button\n type=\"tertiary\"\n color=\"error\"\n (click)=\"onRemove.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-remove\"\n >\n {{ 'BUTTONS.REMOVE' | translate }}\n </monkey-button>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onClose.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-close\"\n >\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px}:host .header{border-bottom:1px solid #d6d6d6;padding:8px}:host .header .title{color:#4b4a53;font-style:normal;font-size:14px;line-height:16px;font-weight:500;text-align:left}:host .header .close{cursor:pointer;border-radius:120px;padding:4px}:host .header .close:hover{background-color:#6d6d6d0c}:host .box-loaing{display:flex;flex-direction:column;gap:12px}:host .footer{padding:12px}:host .footer ::ng-deep monkey-button{width:100%}:host .footer ::ng-deep monkey-button button{width:100%}:host .loading:empty{margin-top:4px;height:24px;width:100%}:host .loading:empty{animation:loading 1.1s infinite linear;background:#ebebeb;background-image:linear-gradient(to right,#ebebeb 0%,#f2f3f5 20%,#ebebeb 40%,#ebebeb 100%);background-repeat:no-repeat}@keyframes loading{0%{background-position:-100px}to{background-position:500px}}.close-menu{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px;padding:8px}.close-menu ::ng-deep monkey-button{width:100%}.close-menu ::ng-deep monkey-button button{width:100%}\n"], components: [{ type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MECXFilterOptionsChildrenComponent, selector: "mecx-filter-options-children", inputs: ["option"], outputs: ["onSubmit", "onShow"] }, { type: MECXFilterOptionsCurrencyComponent, selector: "mecx-filter-options-currency", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsDateRangeComponent, selector: "mecx-filter-options-date-range", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsInputComponent, selector: "mecx-filter-options-input", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsStatusComponent, selector: "mecx-filter-options-status", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsStatusRadioComponent, selector: "mecx-filter-options-status-radio", inputs: ["option"], outputs: ["onSubmit"] }, { type: MECXFilterOptionsValueRangeComponent, selector: "mecx-filter-options-value-range", inputs: ["option"], outputs: ["onSubmit"] }, { type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2062
2224
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsComponent, decorators: [{
2063
2225
  type: Component,
2064
- args: [{ selector: 'mecx-filter-options', template: "<div class=\"d-flex justify-content-between header\">\n <span class=\"title\">\n {{ option?.label | translate }}\n </span>\n <div\n class=\"close\"\n #actionElement\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-options-btn-handle-show-menu\"\n >\n <monkey-icon icon=\"close-12\" color=\"#474747\"></monkey-icon>\n </div>\n</div>\n<ng-container *ngIf=\"option?.type as type\">\n <ng-container *ngIf=\"option?.children; else withoutChildren\">\n <mecx-filter-options-children\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmitChildren($event)\"\n (onShow)=\"onShowFromChildren.next($event)\"\n >\n </mecx-filter-options-children>\n </ng-container>\n <ng-template #withoutChildren>\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-options-currency\n *ngSwitchCase=\"'currency'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-currency>\n <mecx-filter-options-date-range\n *ngSwitchCase=\"'date-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-date-range>\n <mecx-filter-options-input\n *ngSwitchCase=\"'input'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-input>\n <mecx-filter-options-status\n *ngSwitchCase=\"'status'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status>\n <mecx-filter-options-status-radio\n *ngSwitchCase=\"'status-radio'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status-radio>\n </ng-container>\n </ng-template>\n</ng-container>\n\n<div class=\"box-loading\" *ngIf=\"_isLoading\">\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n</div>\n\n<div class=\"footer\" *ngIf=\"_hasMoreValues && !_isLoading\">\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n [label]=\"'BUTTONS.LOAD-MORE' | translate\"\n (click)=\"onHandleLoadMoreValues()\"\n >\n </monkey-button>\n</div>\n\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <div class=\"close-menu\">\n <monkey-button\n type=\"tertiary\"\n color=\"error\"\n (click)=\"onRemove.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-remove\"\n >\n {{ 'BUTTONS.REMOVE' | translate }}\n </monkey-button>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onClose.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-close\"\n >\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px}:host .header{border-bottom:1px solid #d6d6d6;padding:8px}:host .header .title{color:#4b4a53;font-style:normal;font-size:14px;line-height:16px;font-weight:500;text-align:left}:host .header .close{cursor:pointer;border-radius:120px;padding:4px}:host .header .close:hover{background-color:#6d6d6d0c}:host .box-loaing{display:flex;flex-direction:column;gap:12px}:host .footer{padding:12px}:host .footer ::ng-deep monkey-button{width:100%}:host .footer ::ng-deep monkey-button button{width:100%}:host .loading:empty{margin-top:4px;height:24px;width:100%}:host .loading:empty{animation:loading 1.1s infinite linear;background:#ebebeb;background-image:linear-gradient(to right,#ebebeb 0%,#f2f3f5 20%,#ebebeb 40%,#ebebeb 100%);background-repeat:no-repeat}@keyframes loading{0%{background-position:-100px}to{background-position:500px}}.close-menu{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px;padding:8px}.close-menu ::ng-deep monkey-button{width:100%}.close-menu ::ng-deep monkey-button button{width:100%}\n"] }]
2226
+ args: [{ selector: 'mecx-filter-options', template: "<div class=\"d-flex justify-content-between header\">\n <span class=\"title\">\n {{ option?.label | translate }}\n </span>\n <div\n class=\"close\"\n #actionElement\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-options-btn-handle-show-menu\"\n >\n <monkey-icon icon=\"close-12\" color=\"#474747\"></monkey-icon>\n </div>\n</div>\n<ng-container *ngIf=\"option?.type as type\">\n <ng-container *ngIf=\"option?.children; else withoutChildren\">\n <mecx-filter-options-children\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmitChildren($event)\"\n (onShow)=\"onShowFromChildren.next($event)\"\n >\n </mecx-filter-options-children>\n </ng-container>\n <ng-template #withoutChildren>\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-options-currency\n *ngSwitchCase=\"'currency'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-currency>\n <mecx-filter-options-date-range\n *ngSwitchCase=\"'date-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-date-range>\n <mecx-filter-options-input\n *ngSwitchCase=\"'input'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-input>\n <mecx-filter-options-status\n *ngSwitchCase=\"'status'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status>\n <mecx-filter-options-status-radio\n *ngSwitchCase=\"'status-radio'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-status-radio>\n\n <mecx-filter-options-value-range\n *ngSwitchCase=\"'value-range'\"\n [option]=\"option\"\n (onSubmit)=\"onHandleSubmit($event)\"\n >\n </mecx-filter-options-value-range>\n </ng-container>\n </ng-template>\n</ng-container>\n\n<div class=\"box-loading\" *ngIf=\"_isLoading\">\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n <div class=\"loading\"></div>\n</div>\n\n<div class=\"footer\" *ngIf=\"_hasMoreValues && !_isLoading\">\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n [label]=\"'BUTTONS.LOAD-MORE' | translate\"\n (click)=\"onHandleLoadMoreValues()\"\n >\n </monkey-button>\n</div>\n\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <div class=\"close-menu\">\n <monkey-button\n type=\"tertiary\"\n color=\"error\"\n (click)=\"onRemove.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-remove\"\n >\n {{ 'BUTTONS.REMOVE' | translate }}\n </monkey-button>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onClose.next()\"\n size=\"sm\"\n data-testid=\"mecx-filter-options-btn-close\"\n >\n {{ 'BUTTONS.CLOSE' | translate }}\n </monkey-button>\n </div>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px}:host .header{border-bottom:1px solid #d6d6d6;padding:8px}:host .header .title{color:#4b4a53;font-style:normal;font-size:14px;line-height:16px;font-weight:500;text-align:left}:host .header .close{cursor:pointer;border-radius:120px;padding:4px}:host .header .close:hover{background-color:#6d6d6d0c}:host .box-loaing{display:flex;flex-direction:column;gap:12px}:host .footer{padding:12px}:host .footer ::ng-deep monkey-button{width:100%}:host .footer ::ng-deep monkey-button button{width:100%}:host .loading:empty{margin-top:4px;height:24px;width:100%}:host .loading:empty{animation:loading 1.1s infinite linear;background:#ebebeb;background-image:linear-gradient(to right,#ebebeb 0%,#f2f3f5 20%,#ebebeb 40%,#ebebeb 100%);background-repeat:no-repeat}@keyframes loading{0%{background-position:-100px}to{background-position:500px}}.close-menu{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:8px!important;margin:0 8px;padding:8px}.close-menu ::ng-deep monkey-button{width:100%}.close-menu ::ng-deep monkey-button button{width:100%}\n"] }]
2065
2227
  }], ctorParameters: function () { return []; }, propDecorators: { option: [{
2066
2228
  type: Input
2067
2229
  }], closeDirectly: [{
@@ -2123,10 +2285,10 @@ class MECXFilterSelectedItemComponent {
2123
2285
  }
2124
2286
  }
2125
2287
  MECXFilterSelectedItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2126
- MECXFilterSelectedItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedItemComponent, selector: "mecx-filter-selected-item", inputs: { option: "option" }, outputs: { onClose: "onClose", onSubmit: "onSubmit" }, ngImport: i0, template: "<ng-container *ngIf=\"_option?.type as type\">\n <ng-container *ngIf=\"_option?.children; else withoutChildren\">\n <mecx-filter-selected-item-children\n [option]=\"_option\"\n (onShow)=\"onHandleShowMenu()\"\n (onRemove)=\"onHandleRemove()\"\n >\n </mecx-filter-selected-item-children>\n </ng-container>\n <ng-template #withoutChildren>\n <div class=\"box\">\n <div class=\"data\">\n {{ _option.label | translate }}\n </div>\n <div\n class=\"value\"\n [id]=\"'mecx-filter-selected-item-' + _option?.field\"\n (click)=\"onHandleShowMenu()\"\n [attr.data-testid]=\"'mecx-filter-selected-item-btn-' + _option?.value?.toLowerCase()\"\n >\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-selected-item-currency *ngSwitchCase=\"'currency'\" [option]=\"_option\">\n </mecx-filter-selected-item-currency>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-date-range>\n <mecx-filter-selected-item-input *ngSwitchCase=\"'input'\" [option]=\"_option\">\n </mecx-filter-selected-item-input>\n <mecx-filter-selected-item-status\n *ngSwitchCase=\"'status'\"\n [option]=\"_option\"\n [labelMoreValues]=\"'FIELD.AND-MORE' | translate\"\n >\n </mecx-filter-selected-item-status>\n <mecx-filter-selected-item-status-radio *ngSwitchCase=\"'status-radio'\" [option]=\"_option\">\n </mecx-filter-selected-item-status-radio>\n </ng-container>\n </div>\n <div\n class=\"action\"\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-selected-item-btn-arrow-right\"\n >\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n </div>\n </ng-template>\n</ng-container>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <mecx-filter-options\n [option]=\"_option\"\n (onClose)=\"onHandleClose()\"\n (onRemove)=\"onHandleRemove()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onShowFromChildren)=\"onHandleShowFromChildren($event)\"\n >\n </mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:8px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}mecx-filter-options{margin:4px 0}\n"], components: [{ type: MECXFilterSelectedItemChildrenComponent, selector: "mecx-filter-selected-item-children", inputs: ["option"], outputs: ["onShow", "onRemove"] }, { type: MECXFilterSelectedItemCurrencyComponent, selector: "mecx-filter-selected-item-currency", inputs: ["option"] }, { type: MECXFilterSelectedItemDateRangeComponent, selector: "mecx-filter-selected-item-date-range", inputs: ["option"] }, { type: MECXFilterSelectedItemInputComponent, selector: "mecx-filter-selected-item-input", inputs: ["option"] }, { type: MECXFilterSelectedItemStatusComponent, selector: "mecx-filter-selected-item-status", inputs: ["option", "labelMoreValues"] }, { type: MECXFilterSelectedItemStatusRadioComponent, selector: "mecx-filter-selected-item-status-radio", inputs: ["option"] }, { type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: ["option", "closeDirectly"], outputs: ["onClose", "onRemove", "onSubmit", "onShowFromChildren"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2288
+ MECXFilterSelectedItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedItemComponent, selector: "mecx-filter-selected-item", inputs: { option: "option" }, outputs: { onClose: "onClose", onSubmit: "onSubmit" }, ngImport: i0, template: "<ng-container *ngIf=\"_option?.type as type\">\n <ng-container *ngIf=\"_option?.children; else withoutChildren\">\n <mecx-filter-selected-item-children\n [option]=\"_option\"\n (onShow)=\"onHandleShowMenu()\"\n (onRemove)=\"onHandleRemove()\"\n >\n </mecx-filter-selected-item-children>\n </ng-container>\n <ng-template #withoutChildren>\n <div class=\"box\">\n <div class=\"data\">\n {{ _option.label | translate }}\n </div>\n <div\n class=\"value\"\n [id]=\"'mecx-filter-selected-item-' + _option?.field\"\n (click)=\"onHandleShowMenu()\"\n [attr.data-testid]=\"'mecx-filter-selected-item-btn-' + _option?.value?.toLowerCase()\"\n >\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-selected-item-currency *ngSwitchCase=\"'currency'\" [option]=\"_option\">\n </mecx-filter-selected-item-currency>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-date-range>\n <mecx-filter-selected-item-value-range *ngSwitchCase=\"'value-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-value-range>\n <mecx-filter-selected-item-input *ngSwitchCase=\"'input'\" [option]=\"_option\">\n </mecx-filter-selected-item-input>\n <mecx-filter-selected-item-status\n *ngSwitchCase=\"'status'\"\n [option]=\"_option\"\n [labelMoreValues]=\"'FIELD.AND-MORE' | translate\"\n >\n </mecx-filter-selected-item-status>\n <mecx-filter-selected-item-status-radio *ngSwitchCase=\"'status-radio'\" [option]=\"_option\">\n </mecx-filter-selected-item-status-radio>\n </ng-container>\n </div>\n <div\n class=\"action\"\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-selected-item-btn-arrow-right\"\n >\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n </div>\n </ng-template>\n</ng-container>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <mecx-filter-options\n [option]=\"_option\"\n (onClose)=\"onHandleClose()\"\n (onRemove)=\"onHandleRemove()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onShowFromChildren)=\"onHandleShowFromChildren($event)\"\n >\n </mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:8px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}mecx-filter-options{margin:4px 0}\n"], components: [{ type: MECXFilterSelectedItemChildrenComponent, selector: "mecx-filter-selected-item-children", inputs: ["option"], outputs: ["onShow", "onRemove"] }, { type: MECXFilterSelectedItemCurrencyComponent, selector: "mecx-filter-selected-item-currency", inputs: ["option"] }, { type: MECXFilterSelectedItemDateRangeComponent, selector: "mecx-filter-selected-item-date-range", inputs: ["option"] }, { type: MECXFilterSelectedItemValueRangeComponent, selector: "mecx-filter-selected-item-value-range", inputs: ["option"] }, { type: MECXFilterSelectedItemInputComponent, selector: "mecx-filter-selected-item-input", inputs: ["option"] }, { type: MECXFilterSelectedItemStatusComponent, selector: "mecx-filter-selected-item-status", inputs: ["option", "labelMoreValues"] }, { type: MECXFilterSelectedItemStatusRadioComponent, selector: "mecx-filter-selected-item-status-radio", inputs: ["option"] }, { type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: ["option", "closeDirectly"], outputs: ["onClose", "onRemove", "onSubmit", "onShowFromChildren"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2127
2289
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemComponent, decorators: [{
2128
2290
  type: Component,
2129
- args: [{ selector: 'mecx-filter-selected-item', template: "<ng-container *ngIf=\"_option?.type as type\">\n <ng-container *ngIf=\"_option?.children; else withoutChildren\">\n <mecx-filter-selected-item-children\n [option]=\"_option\"\n (onShow)=\"onHandleShowMenu()\"\n (onRemove)=\"onHandleRemove()\"\n >\n </mecx-filter-selected-item-children>\n </ng-container>\n <ng-template #withoutChildren>\n <div class=\"box\">\n <div class=\"data\">\n {{ _option.label | translate }}\n </div>\n <div\n class=\"value\"\n [id]=\"'mecx-filter-selected-item-' + _option?.field\"\n (click)=\"onHandleShowMenu()\"\n [attr.data-testid]=\"'mecx-filter-selected-item-btn-' + _option?.value?.toLowerCase()\"\n >\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-selected-item-currency *ngSwitchCase=\"'currency'\" [option]=\"_option\">\n </mecx-filter-selected-item-currency>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-date-range>\n <mecx-filter-selected-item-input *ngSwitchCase=\"'input'\" [option]=\"_option\">\n </mecx-filter-selected-item-input>\n <mecx-filter-selected-item-status\n *ngSwitchCase=\"'status'\"\n [option]=\"_option\"\n [labelMoreValues]=\"'FIELD.AND-MORE' | translate\"\n >\n </mecx-filter-selected-item-status>\n <mecx-filter-selected-item-status-radio *ngSwitchCase=\"'status-radio'\" [option]=\"_option\">\n </mecx-filter-selected-item-status-radio>\n </ng-container>\n </div>\n <div\n class=\"action\"\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-selected-item-btn-arrow-right\"\n >\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n </div>\n </ng-template>\n</ng-container>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <mecx-filter-options\n [option]=\"_option\"\n (onClose)=\"onHandleClose()\"\n (onRemove)=\"onHandleRemove()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onShowFromChildren)=\"onHandleShowFromChildren($event)\"\n >\n </mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:8px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}mecx-filter-options{margin:4px 0}\n"] }]
2291
+ args: [{ selector: 'mecx-filter-selected-item', template: "<ng-container *ngIf=\"_option?.type as type\">\n <ng-container *ngIf=\"_option?.children; else withoutChildren\">\n <mecx-filter-selected-item-children\n [option]=\"_option\"\n (onShow)=\"onHandleShowMenu()\"\n (onRemove)=\"onHandleRemove()\"\n >\n </mecx-filter-selected-item-children>\n </ng-container>\n <ng-template #withoutChildren>\n <div class=\"box\">\n <div class=\"data\">\n {{ _option.label | translate }}\n </div>\n <div\n class=\"value\"\n [id]=\"'mecx-filter-selected-item-' + _option?.field\"\n (click)=\"onHandleShowMenu()\"\n [attr.data-testid]=\"'mecx-filter-selected-item-btn-' + _option?.value?.toLowerCase()\"\n >\n <ng-container [ngSwitch]=\"type\">\n <mecx-filter-selected-item-currency *ngSwitchCase=\"'currency'\" [option]=\"_option\">\n </mecx-filter-selected-item-currency>\n <mecx-filter-selected-item-date-range *ngSwitchCase=\"'date-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-date-range>\n <mecx-filter-selected-item-value-range *ngSwitchCase=\"'value-range'\" [option]=\"_option\">\n </mecx-filter-selected-item-value-range>\n <mecx-filter-selected-item-input *ngSwitchCase=\"'input'\" [option]=\"_option\">\n </mecx-filter-selected-item-input>\n <mecx-filter-selected-item-status\n *ngSwitchCase=\"'status'\"\n [option]=\"_option\"\n [labelMoreValues]=\"'FIELD.AND-MORE' | translate\"\n >\n </mecx-filter-selected-item-status>\n <mecx-filter-selected-item-status-radio *ngSwitchCase=\"'status-radio'\" [option]=\"_option\">\n </mecx-filter-selected-item-status-radio>\n </ng-container>\n </div>\n <div\n class=\"action\"\n (click)=\"onHandleShowMenu()\"\n data-testid=\"mecx-filter-selected-item-btn-arrow-right\"\n >\n <monkey-icon icon=\"arrow-right-14\" color=\"#4B4A53\"></monkey-icon>\n </div>\n </div>\n </ng-template>\n</ng-container>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n>\n <mecx-filter-options\n [option]=\"_option\"\n (onClose)=\"onHandleClose()\"\n (onRemove)=\"onHandleRemove()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onShowFromChildren)=\"onHandleShowFromChildren($event)\"\n >\n </mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex}:host .box{display:flex;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:120px;height:40px}:host .box .data{display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e}:host .box .value{cursor:pointer;display:flex;align-items:center;padding:12px 8px;height:100%;font-style:normal;font-weight:400;font-size:14px;line-height:24px;text-align:center;color:#72717e;background-color:#6d6d6d0a}:host .box .value:hover{background-color:#6d6d6d0c;font-weight:400;text-decoration:underline}:host .box .action{cursor:pointer;border-left:1px solid #d6d6d6;padding:8px;color:#908e9d;font-weight:500;font-size:18px;height:40px;align-items:center;display:flex}:host .box .action:hover{background-color:#6d6d6d0c;border-top-right-radius:120px;border-bottom-right-radius:120px}mecx-filter-options{margin:4px 0}\n"] }]
2130
2292
  }], ctorParameters: function () { return []; }, propDecorators: { option: [{
2131
2293
  type: Input
2132
2294
  }], onClose: [{
@@ -2197,7 +2359,7 @@ class MECXFilterSelectedComponent {
2197
2359
  }
2198
2360
  }
2199
2361
  MECXFilterSelectedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2200
- MECXFilterSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedComponent, selector: "mecx-filter-selected", inputs: { model: "model" }, outputs: { onOpenFilters: "onOpenFilters", onClose: "onClose", onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<mecx-filter-selected-item *ngFor=\"let option of _model\" (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\" [option]=\"option\">\n</mecx-filter-selected-item>", styles: [":host{display:flex;flex-wrap:wrap}\n"], components: [{ type: MECXFilterSelectedItemComponent, selector: "mecx-filter-selected-item", inputs: ["option"], outputs: ["onClose", "onSubmit"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2362
+ MECXFilterSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterSelectedComponent, selector: "mecx-filter-selected", inputs: { model: "model" }, outputs: { onOpenFilters: "onOpenFilters", onClose: "onClose", onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<mecx-filter-selected-item *ngFor=\"let option of _model\" (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\" [option]=\"option\">\n</mecx-filter-selected-item>", styles: [":host{display:flex;flex-wrap:wrap}\n"], components: [{ type: MECXFilterSelectedItemComponent, selector: "mecx-filter-selected-item", inputs: ["option"], outputs: ["onClose", "onSubmit"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2201
2363
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedComponent, decorators: [{
2202
2364
  type: Component,
2203
2365
  args: [{ selector: 'mecx-filter-selected', template: "<mecx-filter-selected-item *ngFor=\"let option of _model\" (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\" [option]=\"option\">\n</mecx-filter-selected-item>", styles: [":host{display:flex;flex-wrap:wrap}\n"] }]
@@ -2308,7 +2470,7 @@ class MECXFilterMenuComponent {
2308
2470
  }
2309
2471
  }
2310
2472
  MECXFilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2311
- MECXFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterMenuComponent, selector: "mecx-filter-menu", inputs: { model: "model" }, outputs: { onClose: "onClose", onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"d-flex flex-column\" #actionElement>\n <ng-container *ngFor=\"let menu of _model; let index = index\">\n <ng-container *ngIf=\"menu?.children; else withoutChildren\">\n <div class=\"item no-action\">\n {{ menu.label | translate }}\n </div>\n <div class=\"separator\"></div>\n <ng-container *ngFor=\"let child of menu?.children\">\n <div\n class=\"item children\"\n (click)=\"onHandleChildrenAction(menu, child)\"\n [attr.data-testid]=\"\n 'mecx-filter-item-children-btn-' +\n menu?.field?.toLowerCase() +\n '-' +\n child?.field?.toLowerCase()\n \"\n >\n {{ child.label | translate }}\n </div>\n </ng-container>\n </ng-container>\n <ng-template #withoutChildren>\n <div\n class=\"item\"\n (click)=\"onHandleShowMenu(menu)\"\n [attr.data-testid]=\"'mecx-filter-menu-btn-' + menu?.label?.toLowerCase()\"\n >\n {{ menu.label | translate }}\n </div>\n </ng-template>\n <ng-container *ngIf=\"_model[index + 1]?.group as next; _model: [index]?.group as current\">\n <div class=\"separator\" *ngIf=\"next !== current\"></div>\n </ng-container>\n </ng-container>\n</div>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'rt'\"\n>\n <mecx-filter-options\n [option]=\"_menuOption\"\n (onClose)=\"onHandleClose()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n [closeDirectly]=\"true\"\n ></mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:16px!important;min-width:192px;margin:4px 8px;overflow:auto;max-height:500px}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{justify-content:flex-start!important;width:100%}:host .item{font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.no-action{cursor:not-allowed;padding:8px;margin:0!important;font-weight:500}:host .item:first-child{margin:12px 0 0}:host .item:last-child{margin:0 0 12px}:host .item:not(.no-action){cursor:pointer}:host .item:not(.no-action):hover{background-color:var(--mecx-color-theme-200)!important;color:var(--mecx-color-theme-main)!important;font-weight:400}:host .separator{border-bottom:1px solid #ebebeb}\n"], components: [{ type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: ["option", "closeDirectly"], outputs: ["onClose", "onRemove", "onSubmit", "onShowFromChildren"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2473
+ MECXFilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterMenuComponent, selector: "mecx-filter-menu", inputs: { model: "model" }, outputs: { onClose: "onClose", onSubmit: "onSubmit" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"d-flex flex-column\" #actionElement>\n <ng-container *ngFor=\"let menu of _model; let index = index\">\n <ng-container *ngIf=\"menu?.children; else withoutChildren\">\n <div class=\"item no-action\">\n {{ menu.label | translate }}\n </div>\n <div class=\"separator\"></div>\n <ng-container *ngFor=\"let child of menu?.children\">\n <div\n class=\"item children\"\n (click)=\"onHandleChildrenAction(menu, child)\"\n [attr.data-testid]=\"\n 'mecx-filter-item-children-btn-' +\n menu?.field?.toLowerCase() +\n '-' +\n child?.field?.toLowerCase()\n \"\n >\n {{ child.label | translate }}\n </div>\n </ng-container>\n </ng-container>\n <ng-template #withoutChildren>\n <div\n class=\"item\"\n (click)=\"onHandleShowMenu(menu)\"\n [attr.data-testid]=\"'mecx-filter-menu-btn-' + menu?.label?.toLowerCase()\"\n >\n {{ menu.label | translate }}\n </div>\n </ng-template>\n <ng-container *ngIf=\"_model[index + 1]?.group as next; _model: [index]?.group as current\">\n <div class=\"separator\" *ngIf=\"next !== current\"></div>\n </ng-container>\n </ng-container>\n</div>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'rt'\"\n>\n <mecx-filter-options\n [option]=\"_menuOption\"\n (onClose)=\"onHandleClose()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n [closeDirectly]=\"true\"\n ></mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:16px!important;min-width:192px;margin:4px 8px;overflow:auto;max-height:500px}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{justify-content:flex-start!important;width:100%}:host .item{font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.no-action{cursor:not-allowed;padding:8px;margin:0!important;font-weight:500}:host .item:first-child{margin:12px 0 0}:host .item:last-child{margin:0 0 12px}:host .item:not(.no-action){cursor:pointer}:host .item:not(.no-action):hover{background-color:var(--mecx-color-theme-200)!important;color:var(--mecx-color-theme-main)!important;font-weight:400}:host .separator{border-bottom:1px solid #ebebeb}\n"], components: [{ type: MECXFilterOptionsComponent, selector: "mecx-filter-options", inputs: ["option", "closeDirectly"], outputs: ["onClose", "onRemove", "onSubmit", "onShowFromChildren"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }], pipes: { "translate": i1$3.TranslatePipe } });
2312
2474
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterMenuComponent, decorators: [{
2313
2475
  type: Component,
2314
2476
  args: [{ selector: 'mecx-filter-menu', template: "<div class=\"d-flex flex-column\" #actionElement>\n <ng-container *ngFor=\"let menu of _model; let index = index\">\n <ng-container *ngIf=\"menu?.children; else withoutChildren\">\n <div class=\"item no-action\">\n {{ menu.label | translate }}\n </div>\n <div class=\"separator\"></div>\n <ng-container *ngFor=\"let child of menu?.children\">\n <div\n class=\"item children\"\n (click)=\"onHandleChildrenAction(menu, child)\"\n [attr.data-testid]=\"\n 'mecx-filter-item-children-btn-' +\n menu?.field?.toLowerCase() +\n '-' +\n child?.field?.toLowerCase()\n \"\n >\n {{ child.label | translate }}\n </div>\n </ng-container>\n </ng-container>\n <ng-template #withoutChildren>\n <div\n class=\"item\"\n (click)=\"onHandleShowMenu(menu)\"\n [attr.data-testid]=\"'mecx-filter-menu-btn-' + menu?.label?.toLowerCase()\"\n >\n {{ menu.label | translate }}\n </div>\n </ng-template>\n <ng-container *ngIf=\"_model[index + 1]?.group as next; _model: [index]?.group as current\">\n <div class=\"separator\" *ngIf=\"next !== current\"></div>\n </ng-container>\n </ng-container>\n</div>\n<ng-container\n *monkeyecxPopover=\"_showMenu; target: $any(actionElement); closed: closeMenu; dir: 'rt'\"\n>\n <mecx-filter-options\n [option]=\"_menuOption\"\n (onClose)=\"onHandleClose()\"\n (onSubmit)=\"onHandleSubmit($event)\"\n [closeDirectly]=\"true\"\n ></mecx-filter-options>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;background:#fafafa;border:1px solid #d6d6d6;box-sizing:border-box;box-shadow:0 4px 36px -8px #6d6d6d3a;border-radius:16px!important;min-width:192px;margin:4px 8px;overflow:auto;max-height:500px}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{justify-content:flex-start!important;width:100%}:host .item{font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#72717e;padding:8px 24px}:host .item.no-action{cursor:not-allowed;padding:8px;margin:0!important;font-weight:500}:host .item:first-child{margin:12px 0 0}:host .item:last-child{margin:0 0 12px}:host .item:not(.no-action){cursor:pointer}:host .item:not(.no-action):hover{background-color:var(--mecx-color-theme-200)!important;color:var(--mecx-color-theme-main)!important;font-weight:400}:host .separator{border-bottom:1px solid #ebebeb}\n"] }]
@@ -2425,7 +2587,7 @@ class MECXFilterComponent {
2425
2587
  }
2426
2588
  }
2427
2589
  MECXFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2428
- MECXFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterComponent, selector: "mecx-filter", inputs: { searchPlaceholder: "searchPlaceholder", orderPlaceholder: "orderPlaceholder", menus: "menus", orders: "orders", enableSearch: "enableSearch", enableAddFilter: "enableAddFilter", enableOrder: "enableOrder", complementTemplate: "complementTemplate", search: "search", order: "order", ordersList: "ordersList", isLoading: "isLoading" }, outputs: { onFilter: "onFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"d-flex full-width flex-column d-flex-gap-2 filter-content\">\n <div class=\"d-flex flex-column flex-md-row justify-content-between full-width\">\n <div class=\"d-flex full-width d-flex-gap-2 filter-input\">\n <ng-container *ngIf=\"enableSearch\">\n <monkey-input-filter\n [placeholder]=\"searchPlaceholder | translate\"\n (onChange)=\"onSearchFilter($event)\"\n icon=\"search-16\"\n iconPosition=\"left\"\n [(value)]=\"_search\"\n data-testid=\"mecx-filter-input\"\n >\n </monkey-input-filter>\n </ng-container>\n <ng-container *ngIf=\"!_hasFilterByMenu\">\n <div *ngIf=\"enableAddFilter\" class=\"d-flex actions\" id=\"mecx-filters-add-filter\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n (click)=\"onHandleShowMenu()\"\n icon=\"more-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-add-filter\"\n >\n {{ 'BUTTONS.ADD-FILTER' | translate }}\n </monkey-button>\n </div>\n </ng-container>\n </div>\n <div class=\"order hidden-sm hidden-xs\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"_hasFilterByMenu\">\n <div class=\"separator\"></div>\n <div class=\"d-flex full-width d-flex-gap-2 align-items-end\">\n <mecx-filter-selected\n class=\"d-flex-gap-2\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n ></mecx-filter-selected>\n <div class=\"more-filters\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"more-16\"\n id=\"mecx-filters-add-filter\"\n (click)=\"onHandleShowMenu()\"\n >\n </monkey-button>\n </div>\n </div>\n </ng-container>\n <div class=\"order hidden-md hidden-lg\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<mecx-filter-menu\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n>\n</mecx-filter-menu>\n\n<ng-template #orderBy>\n <ng-container *ngIf=\"!(_ordersList?.length > 0); else orderByList\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <monkey-select-filter\n (onChange)=\"onHandleOrder($event)\"\n [placeholder]=\"orderPlaceholder | translate\"\n type=\"none\"\n [(value)]=\"_order\"\n data-testid=\"mecx-filter-btn-order\"\n >\n <monkey-option\n *ngFor=\"let ordBy of orders\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-order-' + ordBy?.value?.toLowerCase()\"\n >x\n </monkey-option>\n </monkey-select-filter>\n </div>\n </ng-container>\n</ng-template>\n\n<ng-template #orderByList>\n <div class=\"d-flex full-width justify-content-end\">\n <div #ordersFilterMenu (click)=\"onHandleShowOrders(ordersFilterMenu)\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"arrow-down-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-ordination\"\n >\n {{ 'BUTTONS.ORDINATION' | translate }}\n </monkey-button>\n </div>\n </div>\n <div\n class=\"ml-1\"\n *monkeyecxPopover=\"\n _showOrder;\n target: $any(_actionElementOrder);\n closed: closeOrder;\n dir: 'rtl'\n \"\n >\n <div class=\"drop-down-orders-filter pt-4\">\n <ng-container *ngFor=\"let item of _ordersList\">\n <div class=\"px-4\">\n <span>{{ item.label | translate }}</span>\n <monkey-radiobutton [value]=\"item.value\" (onChange)=\"onHandleOrder($event, item.field)\">\n <monkey-option\n *ngFor=\"let ordBy of item.values\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-ordination-' + ordBy?.value?.toLowerCase()\"\n >\n </monkey-option>\n </monkey-radiobutton>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>\n", styles: [".drop-down-orders-filter{display:flex;flex-direction:column;background:#fafafa;border:1px solid #e9eaec;box-shadow:1px 17px 31px 5px #1d1d1d15;border-radius:16px!important}.drop-down-orders-filter ::ng-deep .mecx-radio-container{margin-top:16px}:host{display:flex;width:100%;align-items:center}@media screen and (max-width: 599px){:host .filter-content,:host .filter-input{flex-direction:column}}:host .filter-input .actions ::ng-deep monkey-button button{justify-content:center;white-space:nowrap}:host .filter-input .actions ::ng-deep monkey-button button monkey-icon{margin-right:0;margin-left:10px}@media screen and (max-width: 599px){:host .filter-input{flex-wrap:wrap}:host .filter-input .actions{flex:1 1}}:host .filter-input .mecx-button-filter{white-space:nowrap;justify-content:center}@media screen and (max-width: 959px){:host{flex-direction:column;max-width:100%}:host ::ng-deep monkey-input-filter{width:100%}:host ::ng-deep monkey-select-filter{width:100%}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{width:100%}}@media screen and (min-width: 960px){:host .actions ::ng-deep monkey-button button{width:170px}}:host .more-filters ::ng-deep monkey-button monkey-icon{margin-right:unset!important}:host .order{white-space:nowrap;align-self:flex-start}@media screen and (max-width: 599px){:host .order{align-self:unset}}@media screen and (min-width: 960px){:host .order ::ng-deep monkey-select-filter{width:unset}:host .order ::ng-deep monkey-button monkey-icon{margin-left:10px;margin-right:unset}}:host ::ng-deep monkey-button{margin-bottom:0}:host ::ng-deep mecx-form-field-filter mecx-form-field-body{height:40px;margin:0}:host ::ng-deep monkey-button-dropdown{color:#fff}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger{background:#fff;border-radius:.5rem;border:1px solid #d6d6d6;height:40px;justify-content:center;width:40px}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger{justify-content:center}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger monkey-icon{margin-left:0}:host .separator{border-bottom:1px solid #ebebeb;margin-top:16px;margin-bottom:16px}\n"], components: [{ type: i1$2.MonkeyInputFilterComponent, selector: "monkey-input-filter", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "type", "infoMessage", "errorMessage", "mask", "prefix", "onlyNumber", "onlyAlphaNumeric", "upperCase", "lowerCase", "capitalize", "currency", "iconPosition", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }, { type: MECXFilterSelectedComponent, selector: "mecx-filter-selected", inputs: ["model"], outputs: ["onOpenFilters", "onClose", "onSubmit"] }, { type: MECXFilterMenuComponent, selector: "mecx-filter-menu", inputs: ["model"], outputs: ["onClose", "onSubmit"] }, { type: i1$2.MonkeySelectFilterComponent, selector: "monkey-select-filter", inputs: ["placeholder", "icon", "type", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }, { type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
2590
+ MECXFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXFilterComponent, selector: "mecx-filter", inputs: { searchPlaceholder: "searchPlaceholder", orderPlaceholder: "orderPlaceholder", menus: "menus", orders: "orders", enableSearch: "enableSearch", enableAddFilter: "enableAddFilter", enableOrder: "enableOrder", complementTemplate: "complementTemplate", search: "search", order: "order", ordersList: "ordersList", isLoading: "isLoading" }, outputs: { onFilter: "onFilter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"d-flex full-width flex-column d-flex-gap-2 filter-content\">\n <div class=\"d-flex flex-column flex-md-row justify-content-between full-width\">\n <div class=\"d-flex full-width d-flex-gap-2 filter-input\">\n <ng-container *ngIf=\"enableSearch\">\n <monkey-input-filter\n [placeholder]=\"searchPlaceholder | translate\"\n (onChange)=\"onSearchFilter($event)\"\n icon=\"search-16\"\n iconPosition=\"left\"\n [(value)]=\"_search\"\n data-testid=\"mecx-filter-input\"\n >\n </monkey-input-filter>\n </ng-container>\n <ng-container *ngIf=\"!_hasFilterByMenu\">\n <div *ngIf=\"enableAddFilter\" class=\"d-flex actions\" id=\"mecx-filters-add-filter\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n (click)=\"onHandleShowMenu()\"\n icon=\"more-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-add-filter\"\n >\n {{ 'BUTTONS.ADD-FILTER' | translate }}\n </monkey-button>\n </div>\n </ng-container>\n </div>\n <div class=\"order hidden-sm hidden-xs\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"_hasFilterByMenu\">\n <div class=\"separator\"></div>\n <div class=\"d-flex full-width d-flex-gap-2 align-items-end\">\n <mecx-filter-selected\n class=\"d-flex-gap-2\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n ></mecx-filter-selected>\n <div class=\"more-filters\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"more-16\"\n id=\"mecx-filters-add-filter\"\n (click)=\"onHandleShowMenu()\"\n >\n </monkey-button>\n </div>\n </div>\n </ng-container>\n <div class=\"order hidden-md hidden-lg\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<mecx-filter-menu\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n>\n</mecx-filter-menu>\n\n<ng-template #orderBy>\n <ng-container *ngIf=\"!(_ordersList?.length > 0); else orderByList\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <monkey-select-filter\n (onChange)=\"onHandleOrder($event)\"\n [placeholder]=\"orderPlaceholder | translate\"\n type=\"none\"\n [(value)]=\"_order\"\n data-testid=\"mecx-filter-btn-order\"\n >\n <monkey-option\n *ngFor=\"let ordBy of orders\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-order-' + ordBy?.value?.toLowerCase()\"\n >x\n </monkey-option>\n </monkey-select-filter>\n </div>\n </ng-container>\n</ng-template>\n\n<ng-template #orderByList>\n <div class=\"d-flex full-width justify-content-end\">\n <div #ordersFilterMenu (click)=\"onHandleShowOrders(ordersFilterMenu)\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"arrow-down-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-ordination\"\n >\n {{ 'BUTTONS.ORDINATION' | translate }}\n </monkey-button>\n </div>\n </div>\n <div\n class=\"ml-1\"\n *monkeyecxPopover=\"\n _showOrder;\n target: $any(_actionElementOrder);\n closed: closeOrder;\n dir: 'rtl'\n \"\n >\n <div class=\"drop-down-orders-filter pt-4\">\n <ng-container *ngFor=\"let item of _ordersList\">\n <div class=\"px-4\">\n <span>{{ item.label | translate }}</span>\n <monkey-radiobutton [value]=\"item.value\" (onChange)=\"onHandleOrder($event, item.field)\">\n <monkey-option\n *ngFor=\"let ordBy of item.values\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-ordination-' + ordBy?.value?.toLowerCase()\"\n >\n </monkey-option>\n </monkey-radiobutton>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>\n", styles: [".drop-down-orders-filter{display:flex;flex-direction:column;background:#fafafa;border:1px solid #e9eaec;box-shadow:1px 17px 31px 5px #1d1d1d15;border-radius:16px!important}.drop-down-orders-filter ::ng-deep .mecx-radio-container{margin-top:16px}:host{display:flex;width:100%;align-items:center}@media screen and (max-width: 599px){:host .filter-content,:host .filter-input{flex-direction:column}}:host .filter-input .actions ::ng-deep monkey-button button{justify-content:center;white-space:nowrap}:host .filter-input .actions ::ng-deep monkey-button button monkey-icon{margin-right:0;margin-left:10px}@media screen and (max-width: 599px){:host .filter-input{flex-wrap:wrap}:host .filter-input .actions{flex:1 1}}:host .filter-input .mecx-button-filter{white-space:nowrap;justify-content:center}@media screen and (max-width: 959px){:host{flex-direction:column;max-width:100%}:host ::ng-deep monkey-input-filter{width:100%}:host ::ng-deep monkey-select-filter{width:100%}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{width:100%}}@media screen and (min-width: 960px){:host .actions ::ng-deep monkey-button button{width:170px}}:host .more-filters ::ng-deep monkey-button monkey-icon{margin-right:unset!important}:host .order{white-space:nowrap;align-self:flex-start}@media screen and (max-width: 599px){:host .order{align-self:unset}}@media screen and (min-width: 960px){:host .order ::ng-deep monkey-select-filter{width:unset}:host .order ::ng-deep monkey-button monkey-icon{margin-left:10px;margin-right:unset}}:host ::ng-deep monkey-button{margin-bottom:0}:host ::ng-deep mecx-form-field-filter mecx-form-field-body{height:40px;margin:0}:host ::ng-deep monkey-button-dropdown{color:#fff}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger{background:#fff;border-radius:.5rem;border:1px solid #d6d6d6;height:40px;justify-content:center;width:40px}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger{justify-content:center}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger monkey-icon{margin-left:0}:host .separator{border-bottom:1px solid #ebebeb;margin-top:16px;margin-bottom:16px}\n"], components: [{ type: i1$2.MonkeyInputFilterComponent, selector: "monkey-input-filter", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "type", "infoMessage", "errorMessage", "mask", "prefix", "onlyNumber", "onlyAlphaNumeric", "upperCase", "lowerCase", "capitalize", "currency", "iconPosition", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }, { type: MECXFilterSelectedComponent, selector: "mecx-filter-selected", inputs: ["model"], outputs: ["onOpenFilters", "onClose", "onSubmit"] }, { type: MECXFilterMenuComponent, selector: "mecx-filter-menu", inputs: ["model"], outputs: ["onClose", "onSubmit"] }, { type: i1$2.MonkeySelectFilterComponent, selector: "monkey-select-filter", inputs: ["placeholder", "icon", "type", "value"], outputs: ["onChange"] }, { type: i1$2.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }, { type: i1$2.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$4.MonkeyEcxPopoverDirective, selector: "[monkeyecxPopover]", inputs: ["monkeyecxPopover", "monkeyecxPopoverClosed", "monkeyecxPopoverTarget", "monkeyecxPopoverMinwidth", "monkeyecxPopoverBackdrop", "monkeyecxPopoverWatch", "monkeyecxPopoverDir", "monkeyecxPopoverContextmenu", "monkeyecxPopoverHeight"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i1$3.TranslatePipe } });
2429
2591
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterComponent, decorators: [{
2430
2592
  type: Component,
2431
2593
  args: [{ selector: 'mecx-filter', template: "<div class=\"d-flex full-width flex-column d-flex-gap-2 filter-content\">\n <div class=\"d-flex flex-column flex-md-row justify-content-between full-width\">\n <div class=\"d-flex full-width d-flex-gap-2 filter-input\">\n <ng-container *ngIf=\"enableSearch\">\n <monkey-input-filter\n [placeholder]=\"searchPlaceholder | translate\"\n (onChange)=\"onSearchFilter($event)\"\n icon=\"search-16\"\n iconPosition=\"left\"\n [(value)]=\"_search\"\n data-testid=\"mecx-filter-input\"\n >\n </monkey-input-filter>\n </ng-container>\n <ng-container *ngIf=\"!_hasFilterByMenu\">\n <div *ngIf=\"enableAddFilter\" class=\"d-flex actions\" id=\"mecx-filters-add-filter\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n (click)=\"onHandleShowMenu()\"\n icon=\"more-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-add-filter\"\n >\n {{ 'BUTTONS.ADD-FILTER' | translate }}\n </monkey-button>\n </div>\n </ng-container>\n </div>\n <div class=\"order hidden-sm hidden-xs\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"_hasFilterByMenu\">\n <div class=\"separator\"></div>\n <div class=\"d-flex full-width d-flex-gap-2 align-items-end\">\n <mecx-filter-selected\n class=\"d-flex-gap-2\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n ></mecx-filter-selected>\n <div class=\"more-filters\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"more-16\"\n id=\"mecx-filters-add-filter\"\n (click)=\"onHandleShowMenu()\"\n >\n </monkey-button>\n </div>\n </div>\n </ng-container>\n <div class=\"order hidden-md hidden-lg\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <ng-container *ngIf=\"!!complementTemplate\">\n <ng-container *ngTemplateOutlet=\"complementTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"enableOrder\">\n <ng-container *ngTemplateOutlet=\"orderBy\"></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n\n<mecx-filter-menu\n *monkeyecxPopover=\"_showMenu; target: $any(_actionElement); closed: closeMenu; dir: 'ltr'\"\n (onSubmit)=\"onHandleSubmit($event)\"\n (onClose)=\"onHandleClose()\"\n [model]=\"menus\"\n>\n</mecx-filter-menu>\n\n<ng-template #orderBy>\n <ng-container *ngIf=\"!(_ordersList?.length > 0); else orderByList\">\n <div class=\"d-flex align-items-center flex-column flex-sm-row\">\n <monkey-select-filter\n (onChange)=\"onHandleOrder($event)\"\n [placeholder]=\"orderPlaceholder | translate\"\n type=\"none\"\n [(value)]=\"_order\"\n data-testid=\"mecx-filter-btn-order\"\n >\n <monkey-option\n *ngFor=\"let ordBy of orders\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-order-' + ordBy?.value?.toLowerCase()\"\n >x\n </monkey-option>\n </monkey-select-filter>\n </div>\n </ng-container>\n</ng-template>\n\n<ng-template #orderByList>\n <div class=\"d-flex full-width justify-content-end\">\n <div #ordersFilterMenu (click)=\"onHandleShowOrders(ordersFilterMenu)\">\n <monkey-button\n type=\"filter\"\n color=\"border\"\n icon=\"arrow-down-16\"\n iconPosition=\"right\"\n data-testid=\"mecx-filter-btn-ordination\"\n >\n {{ 'BUTTONS.ORDINATION' | translate }}\n </monkey-button>\n </div>\n </div>\n <div\n class=\"ml-1\"\n *monkeyecxPopover=\"\n _showOrder;\n target: $any(_actionElementOrder);\n closed: closeOrder;\n dir: 'rtl'\n \"\n >\n <div class=\"drop-down-orders-filter pt-4\">\n <ng-container *ngFor=\"let item of _ordersList\">\n <div class=\"px-4\">\n <span>{{ item.label | translate }}</span>\n <monkey-radiobutton [value]=\"item.value\" (onChange)=\"onHandleOrder($event, item.field)\">\n <monkey-option\n *ngFor=\"let ordBy of item.values\"\n [label]=\"ordBy?.label | translate\"\n [value]=\"ordBy?.value\"\n [attr.data-testid]=\"'mecx-filter-btn-ordination-' + ordBy?.value?.toLowerCase()\"\n >\n </monkey-option>\n </monkey-radiobutton>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>\n", styles: [".drop-down-orders-filter{display:flex;flex-direction:column;background:#fafafa;border:1px solid #e9eaec;box-shadow:1px 17px 31px 5px #1d1d1d15;border-radius:16px!important}.drop-down-orders-filter ::ng-deep .mecx-radio-container{margin-top:16px}:host{display:flex;width:100%;align-items:center}@media screen and (max-width: 599px){:host .filter-content,:host .filter-input{flex-direction:column}}:host .filter-input .actions ::ng-deep monkey-button button{justify-content:center;white-space:nowrap}:host .filter-input .actions ::ng-deep monkey-button button monkey-icon{margin-right:0;margin-left:10px}@media screen and (max-width: 599px){:host .filter-input{flex-wrap:wrap}:host .filter-input .actions{flex:1 1}}:host .filter-input .mecx-button-filter{white-space:nowrap;justify-content:center}@media screen and (max-width: 959px){:host{flex-direction:column;max-width:100%}:host ::ng-deep monkey-input-filter{width:100%}:host ::ng-deep monkey-select-filter{width:100%}:host ::ng-deep monkey-button{width:100%}:host ::ng-deep monkey-button button{width:100%}}@media screen and (min-width: 960px){:host .actions ::ng-deep monkey-button button{width:170px}}:host .more-filters ::ng-deep monkey-button monkey-icon{margin-right:unset!important}:host .order{white-space:nowrap;align-self:flex-start}@media screen and (max-width: 599px){:host .order{align-self:unset}}@media screen and (min-width: 960px){:host .order ::ng-deep monkey-select-filter{width:unset}:host .order ::ng-deep monkey-button monkey-icon{margin-left:10px;margin-right:unset}}:host ::ng-deep monkey-button{margin-bottom:0}:host ::ng-deep mecx-form-field-filter mecx-form-field-body{height:40px;margin:0}:host ::ng-deep monkey-button-dropdown{color:#fff}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger{background:#fff;border-radius:.5rem;border:1px solid #d6d6d6;height:40px;justify-content:center;width:40px}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger{justify-content:center}:host ::ng-deep monkey-button-dropdown mecx-button-dropdown.trigger mecx-button-dropdown__trigger monkey-icon{margin-left:0}:host .separator{border-bottom:1px solid #ebebeb;margin-top:16px;margin-bottom:16px}\n"] }]
@@ -2466,7 +2628,8 @@ MECXFilterOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
2466
2628
  MECXFilterOptionsDateRangeComponent,
2467
2629
  MECXFilterOptionsInputComponent,
2468
2630
  MECXFilterOptionsStatusComponent,
2469
- MECXFilterOptionsStatusRadioComponent], imports: [CommonModule,
2631
+ MECXFilterOptionsStatusRadioComponent,
2632
+ MECXFilterOptionsValueRangeComponent], imports: [CommonModule,
2470
2633
  FormsModule,
2471
2634
  MonkeyBadgeModule,
2472
2635
  MonkeyButtonModule,
@@ -2485,7 +2648,8 @@ MECXFilterOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
2485
2648
  MECXFilterOptionsDateRangeComponent,
2486
2649
  MECXFilterOptionsInputComponent,
2487
2650
  MECXFilterOptionsStatusComponent,
2488
- MECXFilterOptionsStatusRadioComponent] });
2651
+ MECXFilterOptionsStatusRadioComponent,
2652
+ MECXFilterOptionsValueRangeComponent] });
2489
2653
  MECXFilterOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsModule, imports: [[
2490
2654
  CommonModule,
2491
2655
  FormsModule,
@@ -2501,7 +2665,7 @@ MECXFilterOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
2501
2665
  MonkeySelectModule,
2502
2666
  ReactiveFormsModule,
2503
2667
  RouterModule,
2504
- TranslateModule.forChild(),
2668
+ TranslateModule.forChild()
2505
2669
  ]] });
2506
2670
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterOptionsModule, decorators: [{
2507
2671
  type: NgModule,
@@ -2514,6 +2678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2514
2678
  MECXFilterOptionsInputComponent,
2515
2679
  MECXFilterOptionsStatusComponent,
2516
2680
  MECXFilterOptionsStatusRadioComponent,
2681
+ MECXFilterOptionsValueRangeComponent
2517
2682
  ],
2518
2683
  imports: [
2519
2684
  CommonModule,
@@ -2530,7 +2695,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2530
2695
  MonkeySelectModule,
2531
2696
  ReactiveFormsModule,
2532
2697
  RouterModule,
2533
- TranslateModule.forChild(),
2698
+ TranslateModule.forChild()
2534
2699
  ],
2535
2700
  exports: [
2536
2701
  MECXFilterOptionsChildrenComponent,
@@ -2540,7 +2705,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2540
2705
  MECXFilterOptionsInputComponent,
2541
2706
  MECXFilterOptionsStatusComponent,
2542
2707
  MECXFilterOptionsStatusRadioComponent,
2543
- ],
2708
+ MECXFilterOptionsValueRangeComponent
2709
+ ]
2544
2710
  }]
2545
2711
  }] });
2546
2712
 
@@ -2611,6 +2777,7 @@ MECXFilterSelectedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0"
2611
2777
  MECXFilterSelectedItemComponent,
2612
2778
  MECXFilterSelectedItemCurrencyComponent,
2613
2779
  MECXFilterSelectedItemDateRangeComponent,
2780
+ MECXFilterSelectedItemValueRangeComponent,
2614
2781
  MECXFilterSelectedItemDateWithActionComponent,
2615
2782
  MECXFilterSelectedItemInputComponent,
2616
2783
  MECXFilterSelectedItemStatusComponent,
@@ -2645,7 +2812,7 @@ MECXFilterSelectedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0"
2645
2812
  MonkeySelectModule,
2646
2813
  ReactiveFormsModule,
2647
2814
  RouterModule,
2648
- TranslateModule.forChild(),
2815
+ TranslateModule.forChild()
2649
2816
  ]] });
2650
2817
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedModule, decorators: [{
2651
2818
  type: NgModule,
@@ -2656,10 +2823,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2656
2823
  MECXFilterSelectedItemComponent,
2657
2824
  MECXFilterSelectedItemCurrencyComponent,
2658
2825
  MECXFilterSelectedItemDateRangeComponent,
2826
+ MECXFilterSelectedItemValueRangeComponent,
2659
2827
  MECXFilterSelectedItemDateWithActionComponent,
2660
2828
  MECXFilterSelectedItemInputComponent,
2661
2829
  MECXFilterSelectedItemStatusComponent,
2662
- MECXFilterSelectedItemStatusRadioComponent,
2830
+ MECXFilterSelectedItemStatusRadioComponent
2663
2831
  ],
2664
2832
  imports: [
2665
2833
  CommonModule,
@@ -2677,9 +2845,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2677
2845
  MonkeySelectModule,
2678
2846
  ReactiveFormsModule,
2679
2847
  RouterModule,
2680
- TranslateModule.forChild(),
2848
+ TranslateModule.forChild()
2681
2849
  ],
2682
- exports: [MECXFilterSelectedComponent],
2850
+ exports: [MECXFilterSelectedComponent]
2683
2851
  }]
2684
2852
  }] });
2685
2853
 
@@ -2808,7 +2976,7 @@ class MECXPasswordStrengthComponent {
2808
2976
  }
2809
2977
  }
2810
2978
  MECXPasswordStrengthComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXPasswordStrengthComponent, deps: [{ token: i1$4.MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Component });
2811
- MECXPasswordStrengthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXPasswordStrengthComponent, selector: "mecx-password-strength", inputs: { passwordToCheck: "passwordToCheck", i18n: "i18n" }, outputs: { onHandleSubmitReady: "onHandleSubmitReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"_validatorsPasswordPass?.length\">\n <div id=\"strength\" class=\"d-flex full-width flex-column justify-content-center align-items-center\"\n #strength>\n <div id=\"strengthBar\" class=\"strength-bar d-flex full-width flex-row\">\n <div class=\"d-flex full-width align-items-center\">\n <div class=\"bar-label\">\n <small>{{ i18n?.TITLE }}</small>\n </div>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\">\n </div>\n <ng-container *ngIf=\"_stepPassword === 0\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 1\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 2\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"callbacks mt-2 row\">\n <div class=\"col-sm-6 mt-2 d-flex justify-content-start\"\n *ngFor=\"let validators of _validatorsPasswordPass\">\n <monkey-icon *ngIf=\"validators.validate\" icon=\"check-circle-20\"></monkey-icon>\n <monkey-icon *ngIf=\"!validators.validate\" icon=\"error-20\"></monkey-icon>\n <span class=\"ml-2\">\n {{ i18n?.TYPES?.[validators.regex] }}\n </span>\n </div>\n </div>\n</ng-container>\n<ng-template #stepPasswordLabel>\n <div class=\"name-point mt-1\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\" [class.success]=\"_stepPassword === 2\">\n {{ i18n?.LABELS?.[_stepPassword] }}\n </div>\n</ng-template>", styles: ["mecx-password-strength{margin-bottom:8px}mecx-password-strength .strength-bar{display:inline;list-style:none;padding:0;vertical-align:2px;gap:.5rem}mecx-password-strength .strength-bar .bar-label{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#4b4a53;text-align:left}mecx-password-strength .strength-bar .point:last-child{margin:0}mecx-password-strength .callbacks{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#72717e;text-align:left}mecx-password-strength .point{background:#ebebeb;border-radius:8px;display:inline-block;height:8px;margin-right:4px;width:100%}mecx-password-strength .point.success{background:var(--mecx-color-success-main)}mecx-password-strength .point.warning{background:var(--mecx-color-warning-main)}mecx-password-strength .point.error{background:var(--mecx-color-error-main)}mecx-password-strength .name-point.success{color:var(--mecx-color-success-main)}mecx-password-strength .name-point.warning{color:var(--mecx-color-warning-main)}mecx-password-strength .name-point.error{color:var(--mecx-color-error-main)}\n"], components: [{ type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
2979
+ MECXPasswordStrengthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXPasswordStrengthComponent, selector: "mecx-password-strength", inputs: { passwordToCheck: "passwordToCheck", i18n: "i18n" }, outputs: { onHandleSubmitReady: "onHandleSubmitReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"_validatorsPasswordPass?.length\">\n <div id=\"strength\" class=\"d-flex full-width flex-column justify-content-center align-items-center\"\n #strength>\n <div id=\"strengthBar\" class=\"strength-bar d-flex full-width flex-row\">\n <div class=\"d-flex full-width align-items-center\">\n <div class=\"bar-label\">\n <small>{{ i18n?.TITLE }}</small>\n </div>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\">\n </div>\n <ng-container *ngIf=\"_stepPassword === 0\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 1\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 2\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"callbacks mt-2 row\">\n <div class=\"col-sm-6 mt-2 d-flex justify-content-start\"\n *ngFor=\"let validators of _validatorsPasswordPass\">\n <monkey-icon *ngIf=\"validators.validate\" icon=\"check-circle-20\"></monkey-icon>\n <monkey-icon *ngIf=\"!validators.validate\" icon=\"error-20\"></monkey-icon>\n <span class=\"ml-2\">\n {{ i18n?.TYPES?.[validators.regex] }}\n </span>\n </div>\n </div>\n</ng-container>\n<ng-template #stepPasswordLabel>\n <div class=\"name-point mt-1\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\" [class.success]=\"_stepPassword === 2\">\n {{ i18n?.LABELS?.[_stepPassword] }}\n </div>\n</ng-template>", styles: ["mecx-password-strength{margin-bottom:8px}mecx-password-strength .strength-bar{display:inline;list-style:none;padding:0;vertical-align:2px;gap:.5rem}mecx-password-strength .strength-bar .bar-label{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#4b4a53;text-align:left}mecx-password-strength .strength-bar .point:last-child{margin:0}mecx-password-strength .callbacks{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#72717e;text-align:left}mecx-password-strength .point{background:#ebebeb;border-radius:8px;display:inline-block;height:8px;margin-right:4px;width:100%}mecx-password-strength .point.success{background:var(--mecx-color-success-main)}mecx-password-strength .point.warning{background:var(--mecx-color-warning-main)}mecx-password-strength .point.error{background:var(--mecx-color-error-main)}mecx-password-strength .name-point.success{color:var(--mecx-color-success-main)}mecx-password-strength .name-point.warning{color:var(--mecx-color-warning-main)}mecx-password-strength .name-point.error{color:var(--mecx-color-error-main)}\n"], components: [{ type: i1$2.MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
2812
2980
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXPasswordStrengthComponent, decorators: [{
2813
2981
  type: Component,
2814
2982
  args: [{ selector: 'mecx-password-strength', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"_validatorsPasswordPass?.length\">\n <div id=\"strength\" class=\"d-flex full-width flex-column justify-content-center align-items-center\"\n #strength>\n <div id=\"strengthBar\" class=\"strength-bar d-flex full-width flex-row\">\n <div class=\"d-flex full-width align-items-center\">\n <div class=\"bar-label\">\n <small>{{ i18n?.TITLE }}</small>\n </div>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\">\n </div>\n <ng-container *ngIf=\"_stepPassword === 0\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.warning]=\"_stepPassword === 1\"\n [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 1\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n <div class=\"d-flex full-width align-items-center flex-column\">\n <div class=\"point\" [class.success]=\"_stepPassword === 2\"></div>\n <ng-container *ngIf=\"_stepPassword === 2\">\n <ng-container *ngTemplateOutlet=\"stepPasswordLabel\"></ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"callbacks mt-2 row\">\n <div class=\"col-sm-6 mt-2 d-flex justify-content-start\"\n *ngFor=\"let validators of _validatorsPasswordPass\">\n <monkey-icon *ngIf=\"validators.validate\" icon=\"check-circle-20\"></monkey-icon>\n <monkey-icon *ngIf=\"!validators.validate\" icon=\"error-20\"></monkey-icon>\n <span class=\"ml-2\">\n {{ i18n?.TYPES?.[validators.regex] }}\n </span>\n </div>\n </div>\n</ng-container>\n<ng-template #stepPasswordLabel>\n <div class=\"name-point mt-1\" [class.error]=\"_stepPassword === 0\"\n [class.warning]=\"_stepPassword === 1\" [class.success]=\"_stepPassword === 2\">\n {{ i18n?.LABELS?.[_stepPassword] }}\n </div>\n</ng-template>", styles: ["mecx-password-strength{margin-bottom:8px}mecx-password-strength .strength-bar{display:inline;list-style:none;padding:0;vertical-align:2px;gap:.5rem}mecx-password-strength .strength-bar .bar-label{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#4b4a53;text-align:left}mecx-password-strength .strength-bar .point:last-child{margin:0}mecx-password-strength .callbacks{font-style:normal;font-weight:400;font-size:14px;line-height:16px;color:#72717e;text-align:left}mecx-password-strength .point{background:#ebebeb;border-radius:8px;display:inline-block;height:8px;margin-right:4px;width:100%}mecx-password-strength .point.success{background:var(--mecx-color-success-main)}mecx-password-strength .point.warning{background:var(--mecx-color-warning-main)}mecx-password-strength .point.error{background:var(--mecx-color-error-main)}mecx-password-strength .name-point.success{color:var(--mecx-color-success-main)}mecx-password-strength .name-point.warning{color:var(--mecx-color-warning-main)}mecx-password-strength .name-point.error{color:var(--mecx-color-error-main)}\n"] }]
@@ -2920,7 +3088,7 @@ class MECXProgressBarComponent extends BaseComponent {
2920
3088
  }
2921
3089
  }
2922
3090
  MECXProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXProgressBarComponent, deps: [{ token: MECXProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
2923
- MECXProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXProgressBarComponent, selector: "mecx-progress-bar", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>", styles: ["app-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
3091
+ MECXProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXProgressBarComponent, selector: "mecx-progress-bar", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>", styles: ["app-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 });
2924
3092
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXProgressBarComponent, decorators: [{
2925
3093
  type: Component,
2926
3094
  args: [{ selector: 'mecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>", styles: ["app-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
@@ -3088,7 +3256,7 @@ class MECXProductsComponent extends BaseComponent {
3088
3256
  }
3089
3257
  }
3090
3258
  MECXProductsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXProductsComponent, deps: [{ token: i1$4.MonkeyEcxTokenStorageService }], target: i0.ɵɵFactoryTarget.Component });
3091
- MECXProductsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXProductsComponent, selector: "mecx-products", outputs: { onAccess: "onAccess" }, usesInheritance: true, ngImport: i0, template: "<mecx-products-filter (onChangeFilter)=\"onHandleChangeFilter($event)\"></mecx-products-filter>\n<div class=\"products-list\">\n <div *ngFor=\"let product of _filteredProducts\" class=\"product\">\n <span class=\"title\" *ngIf=\"_hasMoreProducts\">{{ 'PRODUCTS.'+product.name | translate }}</span>\n <div class=\"items\">\n <div *ngFor=\"let item of product.items\" class=\"item\"\n (click)=\"onAccess.next(item)\">\n <div class=\"icon\">\n <img [src]=\"item.logo\" #img (error)=\"onImgError(img)\">\n </div>\n <span class=\"name\">{{ item.name }}</span>\n </div>\n </div>\n </div>\n</div>", styles: [":host{display:flex;flex-direction:column;overflow:hidden}:host .products-list{display:flex;flex-direction:column;overflow:auto}:host .product{display:flex;flex-direction:column}:host .product .title{font-style:normal;font-weight:600;font-size:24px;line-height:32px;letter-spacing:.04em;color:#4b4a53;margin:32px 0}:host .product .items{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:10px;grid-row-gap:10px}:host .product .items .item{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;padding:12px}:host .product .items .item .icon{margin:12px 0}:host .product .items .item .icon img{width:100%;max-width:140px}:host .product .items .item .icon .no-image{width:52px;height:52px}:host .product .items .item .name{font-style:normal;font-weight:400;font-size:18px;line-height:24px;color:#72717e;margin-top:8px}:host .product .items .item:hover{box-shadow:0 25px 52px 8px #eaeaeae0}\n"], components: [{ type: MECXProductsFilterComponent, selector: "mecx-products-filter", inputs: ["isLoading"], outputs: ["onChangeFilter"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
3259
+ MECXProductsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MECXProductsComponent, selector: "mecx-products", outputs: { onAccess: "onAccess" }, usesInheritance: true, ngImport: i0, template: "<mecx-products-filter (onChangeFilter)=\"onHandleChangeFilter($event)\"></mecx-products-filter>\n<div class=\"products-list\">\n <div *ngFor=\"let product of _filteredProducts\" class=\"product\">\n <span class=\"title\" *ngIf=\"_hasMoreProducts\">{{ 'PRODUCTS.'+product.name | translate }}</span>\n <div class=\"items\">\n <div *ngFor=\"let item of product.items\" class=\"item\"\n (click)=\"onAccess.next(item)\">\n <div class=\"icon\">\n <img [src]=\"item.logo\" #img (error)=\"onImgError(img)\">\n </div>\n <span class=\"name\">{{ item.name }}</span>\n </div>\n </div>\n </div>\n</div>", styles: [":host{display:flex;flex-direction:column;overflow:hidden}:host .products-list{display:flex;flex-direction:column;overflow:auto}:host .product{display:flex;flex-direction:column}:host .product .title{font-style:normal;font-weight:600;font-size:24px;line-height:32px;letter-spacing:.04em;color:#4b4a53;margin:32px 0}:host .product .items{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:10px;grid-row-gap:10px}:host .product .items .item{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;padding:12px}:host .product .items .item .icon{margin:12px 0}:host .product .items .item .icon img{width:100%;max-width:140px}:host .product .items .item .icon .no-image{width:52px;height:52px}:host .product .items .item .name{font-style:normal;font-weight:400;font-size:18px;line-height:24px;color:#72717e;margin-top:8px}:host .product .items .item:hover{box-shadow:0 25px 52px 8px #eaeaeae0}\n"], components: [{ type: MECXProductsFilterComponent, selector: "mecx-products-filter", inputs: ["isLoading"], outputs: ["onChangeFilter"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$3.TranslatePipe } });
3092
3260
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXProductsComponent, decorators: [{
3093
3261
  type: Component,
3094
3262
  args: [{ selector: 'mecx-products', template: "<mecx-products-filter (onChangeFilter)=\"onHandleChangeFilter($event)\"></mecx-products-filter>\n<div class=\"products-list\">\n <div *ngFor=\"let product of _filteredProducts\" class=\"product\">\n <span class=\"title\" *ngIf=\"_hasMoreProducts\">{{ 'PRODUCTS.'+product.name | translate }}</span>\n <div class=\"items\">\n <div *ngFor=\"let item of product.items\" class=\"item\"\n (click)=\"onAccess.next(item)\">\n <div class=\"icon\">\n <img [src]=\"item.logo\" #img (error)=\"onImgError(img)\">\n </div>\n <span class=\"name\">{{ item.name }}</span>\n </div>\n </div>\n </div>\n</div>", styles: [":host{display:flex;flex-direction:column;overflow:hidden}:host .products-list{display:flex;flex-direction:column;overflow:auto}:host .product{display:flex;flex-direction:column}:host .product .title{font-style:normal;font-weight:600;font-size:24px;line-height:32px;letter-spacing:.04em;color:#4b4a53;margin:32px 0}:host .product .items{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:10px;grid-row-gap:10px}:host .product .items .item{cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;padding:12px}:host .product .items .item .icon{margin:12px 0}:host .product .items .item .icon img{width:100%;max-width:140px}:host .product .items .item .icon .no-image{width:52px;height:52px}:host .product .items .item .name{font-style:normal;font-weight:400;font-size:18px;line-height:24px;color:#72717e;margin-top:8px}:host .product .items .item:hover{box-shadow:0 25px 52px 8px #eaeaeae0}\n"] }]