monkey-style-guide 2.0.98 → 2.0.102

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.
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common/http'), require('@angular/common'), require('google-libphonenumber'), require('rxjs/operators'), require('@angular/forms'), require('moment'), require('ngx-mask'), require('@angular/platform-browser')) :
3
3
  typeof define === 'function' && define.amd ? define('monkey-style-guide', ['exports', '@angular/core', 'rxjs', '@angular/common/http', '@angular/common', 'google-libphonenumber', 'rxjs/operators', '@angular/forms', 'moment', 'ngx-mask', '@angular/platform-browser'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["monkey-style-guide"] = {}, global.ng.core, global.rxjs, global.ng.common.http, global.ng.common, global["google-libphonenumber"], global.rxjs.operators, global.ng.forms, global.moment, global["ngx-mask"], global.ng.platformBrowser));
5
- })(this, (function (exports, i0, rxjs, i1, i1$1, googleLibphonenumber, operators, i4, moment_, i1$2, i1$3) { 'use strict';
5
+ })(this, (function (exports, i0, rxjs, i1, i1$1, googleLibphonenumber, operators, i1$2, moment_, i1$3, i1$4) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -25,10 +25,10 @@
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
27
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
29
- var moment___namespace = /*#__PURE__*/_interopNamespace(moment_);
30
28
  var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
29
+ var moment___namespace = /*#__PURE__*/_interopNamespace(moment_);
31
30
  var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
31
+ var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
32
32
 
33
33
  var MonkeyStyleGuideService = /** @class */ (function () {
34
34
  function MonkeyStyleGuideService(http) {
@@ -2774,13 +2774,13 @@
2774
2774
  return MonkeyButtonModule;
2775
2775
  }());
2776
2776
  MonkeyButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2777
- MonkeyButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, declarations: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent], imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyIconModule], exports: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent] });
2778
- MonkeyButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, imports: [[i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyIconModule]] });
2777
+ MonkeyButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, declarations: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent], imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyIconModule], exports: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent] });
2778
+ MonkeyButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, imports: [[i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyIconModule]] });
2779
2779
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, decorators: [{
2780
2780
  type: i0.NgModule,
2781
2781
  args: [{
2782
2782
  declarations: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent],
2783
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyIconModule],
2783
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyIconModule],
2784
2784
  exports: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent],
2785
2785
  schemas: [i0.NO_ERRORS_SCHEMA],
2786
2786
  }]
@@ -2805,8 +2805,8 @@
2805
2805
  }
2806
2806
  MonkeyDateRangePickerComponent.prototype.initDateRange = function () {
2807
2807
  return (this._dateForm = this.fb.group({
2808
- startDate: [null, i4.Validators.required],
2809
- endDate: [null, i4.Validators.required],
2808
+ startDate: [null, i1$2.Validators.required],
2809
+ endDate: [null, i1$2.Validators.required],
2810
2810
  }));
2811
2811
  };
2812
2812
  MonkeyDateRangePickerComponent.prototype.createCalendar = function (month) {
@@ -2980,10 +2980,10 @@
2980
2980
  };
2981
2981
  return MonkeyDateRangePickerComponent;
2982
2982
  }());
2983
- MonkeyDateRangePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerComponent, deps: [{ token: i4__namespace.FormBuilder }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2983
+ MonkeyDateRangePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerComponent, deps: [{ token: i1__namespace$2.FormBuilder }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2984
2984
  MonkeyDateRangePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyDateRangePickerComponent, selector: "monkey-date-range-picker", inputs: { i18n: "i18n", infoMessage: "infoMessage", errorMessage: "errorMessage", value: "value" }, outputs: { onChange: "onChange" }, providers: [
2985
2985
  {
2986
- provide: i4.NG_VALUE_ACCESSOR,
2986
+ provide: i1$2.NG_VALUE_ACCESSOR,
2987
2987
  useExisting: i0.forwardRef(function () { return MonkeyDateRangePickerComponent; }),
2988
2988
  multi: true,
2989
2989
  },
@@ -2997,14 +2997,14 @@
2997
2997
  encapsulation: i0.ViewEncapsulation.None,
2998
2998
  providers: [
2999
2999
  {
3000
- provide: i4.NG_VALUE_ACCESSOR,
3000
+ provide: i1$2.NG_VALUE_ACCESSOR,
3001
3001
  useExisting: i0.forwardRef(function () { return MonkeyDateRangePickerComponent; }),
3002
3002
  multi: true,
3003
3003
  },
3004
3004
  i1$1.CurrencyPipe,
3005
3005
  ],
3006
3006
  }]
3007
- }], ctorParameters: function () { return [{ type: i4__namespace.FormBuilder }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { i18n: [{
3007
+ }], ctorParameters: function () { return [{ type: i1__namespace$2.FormBuilder }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { i18n: [{
3008
3008
  type: i0.Input
3009
3009
  }], infoMessage: [{
3010
3010
  type: i0.Input
@@ -3022,13 +3022,13 @@
3022
3022
  return MonkeyDateRangePickerModule;
3023
3023
  }());
3024
3024
  MonkeyDateRangePickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3025
- MonkeyDateRangePickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, declarations: [MonkeyDateRangePickerComponent], imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule], exports: [MonkeyDateRangePickerComponent] });
3026
- MonkeyDateRangePickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, imports: [[i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule]] });
3025
+ MonkeyDateRangePickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, declarations: [MonkeyDateRangePickerComponent], imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule], exports: [MonkeyDateRangePickerComponent] });
3026
+ MonkeyDateRangePickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, imports: [[i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule]] });
3027
3027
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, decorators: [{
3028
3028
  type: i0.NgModule,
3029
3029
  args: [{
3030
3030
  declarations: [MonkeyDateRangePickerComponent],
3031
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule],
3031
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule],
3032
3032
  exports: [MonkeyDateRangePickerComponent],
3033
3033
  schemas: [i0.NO_ERRORS_SCHEMA],
3034
3034
  }]
@@ -3178,12 +3178,12 @@
3178
3178
  MonkeyInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputComponent, deps: [{ token: i1__namespace$1.CurrencyPipe }, { token: MonkeyStyleGuideSettingsService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3179
3179
  MonkeyInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyInputComponent, selector: "monkey-input", inputs: { name: "name", label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", type: "type", infoMessage: "infoMessage", errorMessage: "errorMessage", mask: "mask", prefix: "prefix", maxLength: "maxLength", onlyNumber: "onlyNumber", onlyAlphaNumeric: "onlyAlphaNumeric", upperCase: "upperCase", lowerCase: "lowerCase", capitalize: "capitalize", currency: "currency", percent: "percent", maxDateToday: "maxDateToday", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick()" } }, providers: [
3180
3180
  {
3181
- provide: i4.NG_VALUE_ACCESSOR,
3181
+ provide: i1$2.NG_VALUE_ACCESSOR,
3182
3182
  useExisting: i0.forwardRef(function () { return MonkeyInputComponent; }),
3183
3183
  multi: true,
3184
3184
  },
3185
3185
  i1$1.CurrencyPipe,
3186
- ], viewQueries: [{ propertyName: "monkeyInput", first: true, predicate: ["monkeyInput"], descendants: true, static: true }], ngImport: i0__namespace, template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <symbol>\n {{ _symbol }}\n </symbol>\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n (keypress)=\"onKeyPress($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n [prefix]=\"prefix\"\n *ngIf=\"mask && prefix\"\n #monkeyInput\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n *ngIf=\"mask && !prefix\"\n #monkeyInput\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n *ngIf=\"!mask && !prefix\"\n [max]=\"maxDateToday ? _maxDateToday : null\"\n #monkeyInput\n />\n <monkey-icon\n icon=\"eye-open-16\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'text'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n <monkey-icon\n icon=\"eye-closed-16\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'password'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers"] }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3186
+ ], viewQueries: [{ propertyName: "monkeyInput", first: true, predicate: ["monkeyInput"], descendants: true, static: true }], ngImport: i0__namespace, template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <symbol>\n {{ _symbol }}\n </symbol>\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n (keypress)=\"onKeyPress($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n [prefix]=\"prefix\"\n *ngIf=\"mask && prefix\"\n #monkeyInput\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n *ngIf=\"mask && !prefix\"\n #monkeyInput\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n *ngIf=\"!mask && !prefix\"\n [max]=\"maxDateToday ? _maxDateToday : null\"\n #monkeyInput\n />\n <monkey-icon\n icon=\"eye-open-16\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'text'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n <monkey-icon\n icon=\"eye-closed-16\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'password'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$3.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers"] }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3187
3187
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputComponent, decorators: [{
3188
3188
  type: i0.Component,
3189
3189
  args: [{
@@ -3192,7 +3192,7 @@
3192
3192
  encapsulation: i0.ViewEncapsulation.None,
3193
3193
  providers: [
3194
3194
  {
3195
- provide: i4.NG_VALUE_ACCESSOR,
3195
+ provide: i1$2.NG_VALUE_ACCESSOR,
3196
3196
  useExisting: i0.forwardRef(function () { return MonkeyInputComponent; }),
3197
3197
  multi: true,
3198
3198
  },
@@ -3346,12 +3346,12 @@
3346
3346
  MonkeyInputFilterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputFilterComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace$1.CurrencyPipe }, { token: MonkeyStyleGuideSettingsService }], target: i0__namespace.ɵɵFactoryTarget.Component });
3347
3347
  MonkeyInputFilterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyInputFilterComponent, selector: "monkey-input-filter", inputs: { name: "name", label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", type: "type", infoMessage: "infoMessage", errorMessage: "errorMessage", mask: "mask", prefix: "prefix", onlyNumber: "onlyNumber", onlyAlphaNumeric: "onlyAlphaNumeric", upperCase: "upperCase", lowerCase: "lowerCase", capitalize: "capitalize", currency: "currency", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick($event)" } }, providers: [
3348
3348
  {
3349
- provide: i4.NG_VALUE_ACCESSOR,
3349
+ provide: i1$2.NG_VALUE_ACCESSOR,
3350
3350
  useExisting: i0.forwardRef(function () { return MonkeyInputFilterComponent; }),
3351
3351
  multi: true,
3352
3352
  },
3353
3353
  i1$1.CurrencyPipe,
3354
- ], ngImport: i0__namespace, template: "\n <mecx-form-field-filter [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-body>\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n [prefix]=\"prefix\"\n *ngIf=\"mask && prefix\"\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n *ngIf=\"mask && !prefix\"\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n *ngIf=\"!mask && !prefix\"\n />\n <monkey-icon [icon]=\"icon\" [color]=\"'#4B4A53'\"></monkey-icon>\n <monkey-icon\n icon=\"eyes-16\"\n [color]=\"'#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'text'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n <monkey-icon\n icon=\"eyes-off-16\"\n [color]=\"'#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'password'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n </mecx-form-field-body>\n </mecx-form-field-filter>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers"] }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3354
+ ], ngImport: i0__namespace, template: "\n <mecx-form-field-filter [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-body>\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n [prefix]=\"prefix\"\n *ngIf=\"mask && prefix\"\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n [mask]=\"mask\"\n *ngIf=\"mask && !prefix\"\n />\n <input\n [name]=\"name\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"value\"\n (input)=\"onChangeInput($event)\"\n [id]=\"_id\"\n [disabled]=\"_disabled\"\n *ngIf=\"!mask && !prefix\"\n />\n <monkey-icon [icon]=\"icon\" [color]=\"'#4B4A53'\"></monkey-icon>\n <monkey-icon\n icon=\"eyes-16\"\n [color]=\"'#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'text'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n <monkey-icon\n icon=\"eyes-off-16\"\n [color]=\"'#4B4A53'\"\n *ngIf=\"_oldType === 'password' && type === 'password'\"\n (click)=\"onShowAndHidePassword()\"\n ></monkey-icon>\n </mecx-form-field-body>\n </mecx-form-field-filter>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$3.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers"] }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3355
3355
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputFilterComponent, decorators: [{
3356
3356
  type: i0.Component,
3357
3357
  args: [{
@@ -3360,7 +3360,7 @@
3360
3360
  encapsulation: i0.ViewEncapsulation.None,
3361
3361
  providers: [
3362
3362
  {
3363
- provide: i4.NG_VALUE_ACCESSOR,
3363
+ provide: i1$2.NG_VALUE_ACCESSOR,
3364
3364
  useExisting: i0.forwardRef(function () { return MonkeyInputFilterComponent; }),
3365
3365
  multi: true,
3366
3366
  },
@@ -3415,13 +3415,13 @@
3415
3415
  }());
3416
3416
  MonkeyInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3417
3417
  MonkeyInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, declarations: [MonkeyInputComponent, MonkeyInputFilterComponent], imports: [i1$1.CommonModule,
3418
- i4.FormsModule,
3419
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyIconModule], exports: [MonkeyInputComponent, MonkeyInputFilterComponent] });
3418
+ i1$2.FormsModule,
3419
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyIconModule], exports: [MonkeyInputComponent, MonkeyInputFilterComponent] });
3420
3420
  MonkeyInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, imports: [[
3421
3421
  i1$1.CommonModule,
3422
- i4.FormsModule,
3423
- i4.ReactiveFormsModule,
3424
- i1$2.NgxMaskModule.forRoot(),
3422
+ i1$2.FormsModule,
3423
+ i1$2.ReactiveFormsModule,
3424
+ i1$3.NgxMaskModule.forRoot(),
3425
3425
  MonkeyIconModule,
3426
3426
  ]] });
3427
3427
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, decorators: [{
@@ -3430,9 +3430,9 @@
3430
3430
  declarations: [MonkeyInputComponent, MonkeyInputFilterComponent],
3431
3431
  imports: [
3432
3432
  i1$1.CommonModule,
3433
- i4.FormsModule,
3434
- i4.ReactiveFormsModule,
3435
- i1$2.NgxMaskModule.forRoot(),
3433
+ i1$2.FormsModule,
3434
+ i1$2.ReactiveFormsModule,
3435
+ i1$3.NgxMaskModule.forRoot(),
3436
3436
  MonkeyIconModule,
3437
3437
  ],
3438
3438
  exports: [MonkeyInputComponent, MonkeyInputFilterComponent],
@@ -3465,7 +3465,7 @@
3465
3465
  MonkeyOptionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyOptionComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3466
3466
  MonkeyOptionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyOptionComponent, selector: "monkey-option", inputs: { type: "type", label: "label", value: "value", selectAll: "selectAll", selected: "selected", enableClick: "enableClick" }, outputs: { onSelectOption: "onSelectOption" }, host: { listeners: { "click": "onClick($event)" } }, providers: [
3467
3467
  {
3468
- provide: i4.NG_VALUE_ACCESSOR,
3468
+ provide: i1$2.NG_VALUE_ACCESSOR,
3469
3469
  useExisting: i0.forwardRef(function () { return MonkeyOptionComponent; }),
3470
3470
  multi: true,
3471
3471
  },
@@ -3478,7 +3478,7 @@
3478
3478
  encapsulation: i0.ViewEncapsulation.None,
3479
3479
  providers: [
3480
3480
  {
3481
- provide: i4.NG_VALUE_ACCESSOR,
3481
+ provide: i1$2.NG_VALUE_ACCESSOR,
3482
3482
  useExisting: i0.forwardRef(function () { return MonkeyOptionComponent; }),
3483
3483
  multi: true,
3484
3484
  },
@@ -3652,7 +3652,7 @@
3652
3652
  MonkeySelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3653
3653
  MonkeySelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeySelectComponent, selector: "monkey-select", inputs: { label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", labelSelect: "labelSelect", onHandleOptions: "onHandleOptions", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "document:click": "clickout()" } }, providers: [
3654
3654
  {
3655
- provide: i4.NG_VALUE_ACCESSOR,
3655
+ provide: i1$2.NG_VALUE_ACCESSOR,
3656
3656
  useExisting: i0.forwardRef(function () { return MonkeySelectComponent; }),
3657
3657
  multi: true,
3658
3658
  },
@@ -3665,7 +3665,7 @@
3665
3665
  encapsulation: i0.ViewEncapsulation.None,
3666
3666
  providers: [
3667
3667
  {
3668
- provide: i4.NG_VALUE_ACCESSOR,
3668
+ provide: i1$2.NG_VALUE_ACCESSOR,
3669
3669
  useExisting: i0.forwardRef(function () { return MonkeySelectComponent; }),
3670
3670
  multi: true,
3671
3671
  },
@@ -3711,11 +3711,10 @@
3711
3711
  function PhoneNumberValidDirective() {
3712
3712
  }
3713
3713
  PhoneNumberValidDirective.prototype.onValidate = function () {
3714
- var _this = this;
3715
- var _d = this, destroyed = _d.destroyed, phoneNumber = _d.phoneNumber, internationalNumber = _d.internationalNumber;
3716
- if (destroyed || !phoneNumber)
3714
+ var _d = this, ctrl = _d.ctrl, destroyed = _d.destroyed, phoneNumber = _d.phoneNumber, internationalNumber = _d.internationalNumber;
3715
+ if (destroyed || !phoneNumber || !ctrl)
3717
3716
  return;
3718
- var isValid = true;
3717
+ var isValid = false;
3719
3718
  try {
3720
3719
  isValid = MonkeyUtils.isPhoneNumberValid(phoneNumber, internationalNumber);
3721
3720
  }
@@ -3724,15 +3723,17 @@
3724
3723
  }
3725
3724
  if (!isValid) {
3726
3725
  setTimeout(function () {
3727
- _this.ctrl.markAsDirty();
3728
- _this.ctrl.markAsTouched();
3729
- _this.ctrl.setErrors({ invalidNumber: true });
3726
+ ctrl.markAsDirty();
3727
+ ctrl.markAsTouched();
3728
+ ctrl.setErrors({ phone: true });
3730
3729
  }, 0);
3731
3730
  }
3732
3731
  };
3733
3732
  PhoneNumberValidDirective.prototype.ngOnChanges = function (_d) {
3734
- var phoneNumber = _d.phoneNumber;
3735
- if (phoneNumber && !phoneNumber.firstChange) {
3733
+ var ctrl = _d.ctrl, phoneNumber = _d.phoneNumber, internationalNumber = _d.internationalNumber;
3734
+ if ((phoneNumber && !phoneNumber.firstChange) ||
3735
+ (internationalNumber && !internationalNumber.firstChange) ||
3736
+ (ctrl && !ctrl.firstChange)) {
3736
3737
  this.onValidate();
3737
3738
  }
3738
3739
  };
@@ -3757,7 +3758,8 @@
3757
3758
  type: i0.Input
3758
3759
  }] } });
3759
3760
  var MonkeyInputPhoneComponent = /** @class */ (function () {
3760
- function MonkeyInputPhoneComponent(cdr) {
3761
+ function MonkeyInputPhoneComponent(ngControl, cdr) {
3762
+ this.ngControl = ngControl;
3761
3763
  this.cdr = cdr;
3762
3764
  this.name = "mecx-input-phone-" + MonkeyUtils.getRandomString(10);
3763
3765
  this.helperMessage = '';
@@ -3771,6 +3773,10 @@
3771
3773
  this._regionCodes = [];
3772
3774
  this._countryCodes = [];
3773
3775
  this._internationalNumber = 55;
3776
+ this._formControl = null;
3777
+ if (this.ngControl != null) {
3778
+ this.ngControl.valueAccessor = this;
3779
+ }
3774
3780
  }
3775
3781
  MonkeyInputPhoneComponent.prototype.handleValue = function (value) {
3776
3782
  return MonkeyUtils.handleOnlyNumbers("" + value);
@@ -3783,18 +3789,17 @@
3783
3789
  };
3784
3790
  MonkeyInputPhoneComponent.prototype.getValue = function () {
3785
3791
  var _d = this, _internationalNumber = _d._internationalNumber, _handledValue = _d._handledValue;
3786
- return "+" + _internationalNumber + _handledValue;
3792
+ if (_handledValue)
3793
+ return "+" + _internationalNumber + _handledValue;
3794
+ return '';
3787
3795
  };
3788
3796
  MonkeyInputPhoneComponent.prototype.ngOnInit = function () {
3797
+ var _a, _b;
3789
3798
  this._countryCodes = MonkeyUtils.getPhoneRegions();
3790
3799
  this.onHandleInternationalNumber();
3791
3800
  this.onHandleCountryCode(this._internationalNumber);
3792
- };
3793
- MonkeyInputPhoneComponent.prototype.ngOnChanges = function (sc) {
3794
- var _d = sc.formControl, firstChange = _d.firstChange, value = _d.currentValue.value;
3795
- if (sc && firstChange) {
3796
- this.onHandleInternationalNumber(value);
3797
- }
3801
+ this._formControl =
3802
+ this.ngControl && (((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.form) || ((_b = this.ngControl) === null || _b === void 0 ? void 0 : _b.control));
3798
3803
  };
3799
3804
  MonkeyInputPhoneComponent.prototype.onHandleInternationalNumber = function (value) {
3800
3805
  this._internationalNumber =
@@ -3865,31 +3870,22 @@
3865
3870
  };
3866
3871
  return MonkeyInputPhoneComponent;
3867
3872
  }());
3868
- MonkeyInputPhoneComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3869
- MonkeyInputPhoneComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyInputPhoneComponent, selector: "monkey-input-phone", inputs: { name: "name", label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", maxLength: "maxLength", formControl: "formControl", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick()" } }, providers: [
3870
- {
3871
- provide: i4.NG_VALUE_ACCESSOR,
3872
- useExisting: i0.forwardRef(function () { return MonkeyInputPhoneComponent; }),
3873
- multi: true,
3874
- },
3875
- i1$1.CurrencyPipe,
3876
- ], usesOnChanges: true, ngImport: i0__namespace, template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <monkey-select\n [(ngModel)]=\"_internationalNumber\"\n [labelSelect]=\"onHandleInternationalNumberFormated()\"\n (onChange)=\"onHandleCountryCode($event)\"\n >\n <monkey-option *ngFor=\"let cc of _countryCodes\" [label]=\"'+' + cc\" [value]=\"cc\">\n </monkey-option>\n </monkey-select>\n <input\n [name]=\"name\"\n type=\"string\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n phoneNumberValidate\n [ctrl]=\"formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"\n #monkeyInput\n />\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MonkeySelectComponent, selector: "monkey-select", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "onHandleOptions", "value"], outputs: ["onChange"] }, { type: MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: PhoneNumberValidDirective, selector: "[phoneNumberValidate]", inputs: ["phoneNumber", "internationalNumber", "ctrl"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3873
+ MonkeyInputPhoneComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneComponent, deps: [{ token: i1__namespace$2.NgControl, optional: true, self: true }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3874
+ MonkeyInputPhoneComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyInputPhoneComponent, selector: "monkey-input-phone", inputs: { name: "name", label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", maxLength: "maxLength", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace, template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <monkey-select\n [(ngModel)]=\"_internationalNumber\"\n [labelSelect]=\"onHandleInternationalNumberFormated()\"\n (onChange)=\"onHandleCountryCode($event)\"\n >\n <monkey-option *ngFor=\"let cc of _countryCodes\" [label]=\"'+' + cc\" [value]=\"cc\">\n </monkey-option>\n </monkey-select>\n <input\n [name]=\"name\"\n type=\"string\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n phoneNumberValidate\n [ctrl]=\"_formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"\n #monkeyInput\n />\n <!--phoneNumberValidate\n [ctrl]=\"formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"-->\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }, { type: MonkeySelectComponent, selector: "monkey-select", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "onHandleOptions", "value"], outputs: ["onChange"] }, { type: MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: PhoneNumberValidDirective, selector: "[phoneNumberValidate]", inputs: ["phoneNumber", "internationalNumber", "ctrl"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
3877
3875
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneComponent, decorators: [{
3878
3876
  type: i0.Component,
3879
3877
  args: [{
3880
3878
  selector: 'monkey-input-phone',
3881
- template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <monkey-select\n [(ngModel)]=\"_internationalNumber\"\n [labelSelect]=\"onHandleInternationalNumberFormated()\"\n (onChange)=\"onHandleCountryCode($event)\"\n >\n <monkey-option *ngFor=\"let cc of _countryCodes\" [label]=\"'+' + cc\" [value]=\"cc\">\n </monkey-option>\n </monkey-select>\n <input\n [name]=\"name\"\n type=\"string\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n phoneNumberValidate\n [ctrl]=\"formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"\n #monkeyInput\n />\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ",
3879
+ template: "\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\" [id]=\"_id\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body [class.error]=\"errorMessage?.trim()\">\n <monkey-icon\n [icon]=\"icon\"\n [color]=\"errorMessage?.trim() ? '#fa3838' : '#4B4A53'\"\n *ngIf=\"icon\"\n ></monkey-icon>\n <monkey-select\n [(ngModel)]=\"_internationalNumber\"\n [labelSelect]=\"onHandleInternationalNumberFormated()\"\n (onChange)=\"onHandleCountryCode($event)\"\n >\n <monkey-option *ngFor=\"let cc of _countryCodes\" [label]=\"'+' + cc\" [value]=\"cc\">\n </monkey-option>\n </monkey-select>\n <input\n [name]=\"name\"\n type=\"string\"\n [placeholder]=\"placeholder\"\n (input)=\"onChangeValue($event)\"\n [id]=\"name\"\n [(ngModel)]=\"_formatedValue\"\n (keypress)=\"onKeyPress($event)\"\n [disabled]=\"_disabled\"\n [maxLength]=\"maxLength\"\n phoneNumberValidate\n [ctrl]=\"_formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"\n #monkeyInput\n />\n <!--phoneNumberValidate\n [ctrl]=\"formControl\"\n [phoneNumber]=\"_handledValue\"\n [internationalNumber]=\"_internationalNumber\"-->\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ",
3882
3880
  encapsulation: i0.ViewEncapsulation.None,
3883
- providers: [
3884
- {
3885
- provide: i4.NG_VALUE_ACCESSOR,
3886
- useExisting: i0.forwardRef(function () { return MonkeyInputPhoneComponent; }),
3887
- multi: true,
3888
- },
3889
- i1$1.CurrencyPipe,
3890
- ],
3891
3881
  }]
3892
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { name: [{
3882
+ }], ctorParameters: function () {
3883
+ return [{ type: i1__namespace$2.NgControl, decorators: [{
3884
+ type: i0.Optional
3885
+ }, {
3886
+ type: i0.Self
3887
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
3888
+ }, propDecorators: { name: [{
3893
3889
  type: i0.Input
3894
3890
  }], label: [{
3895
3891
  type: i0.Input
@@ -3905,8 +3901,6 @@
3905
3901
  type: i0.Input
3906
3902
  }], maxLength: [{
3907
3903
  type: i0.Input
3908
- }], formControl: [{
3909
- type: i0.Input
3910
3904
  }], onChange: [{
3911
3905
  type: i0.Output
3912
3906
  }], value: [{
@@ -4101,7 +4095,7 @@
4101
4095
  MonkeySelectMultipleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectMultipleComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4102
4096
  MonkeySelectMultipleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeySelectMultipleComponent, selector: "monkey-select-multiple", inputs: { label: "label", labelMoreValues: "labelMoreValues", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "document:click": "clickout()" } }, providers: [
4103
4097
  {
4104
- provide: i4.NG_VALUE_ACCESSOR,
4098
+ provide: i1$2.NG_VALUE_ACCESSOR,
4105
4099
  useExisting: i0.forwardRef(function () { return MonkeySelectMultipleComponent; }),
4106
4100
  multi: true,
4107
4101
  },
@@ -4114,7 +4108,7 @@
4114
4108
  encapsulation: i0.ViewEncapsulation.None,
4115
4109
  providers: [
4116
4110
  {
4117
- provide: i4.NG_VALUE_ACCESSOR,
4111
+ provide: i1$2.NG_VALUE_ACCESSOR,
4118
4112
  useExisting: i0.forwardRef(function () { return MonkeySelectMultipleComponent; }),
4119
4113
  multi: true,
4120
4114
  },
@@ -4321,11 +4315,11 @@
4321
4315
  MonkeySelectSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectSearchComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
4322
4316
  MonkeySelectSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeySelectSearchComponent, selector: "monkey-select-search", inputs: { label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", labelSelect: "labelSelect", fieldToCompare: "fieldToCompare", onHandleOptions: "onHandleOptions", value: "value" }, outputs: { onChange: "onChange", onSearch: "onSearch" }, host: { listeners: { "document:click": "clickout()" } }, providers: [
4323
4317
  {
4324
- provide: i4.NG_VALUE_ACCESSOR,
4318
+ provide: i1$2.NG_VALUE_ACCESSOR,
4325
4319
  useExisting: i0.forwardRef(function () { return MonkeySelectSearchComponent; }),
4326
4320
  multi: true,
4327
4321
  },
4328
- ], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent }], viewQueries: [{ propertyName: "selectOptions", first: true, predicate: ["selectOptions"], descendants: true, static: true }, { propertyName: "inputFilter", first: true, predicate: ["inputFilter"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: "\n <mecx-form-field [id]=\"_id\" [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body (click)=\"open()\" [class.error]=\"errorMessage?.trim()\">\n <monkey-icon [icon]=\"icon\" [color]=\"'#aaaaaa'\"></monkey-icon>\n <mecx-select class=\"trigger\" [ngClass]=\"{ open: _opened }\">\n <mecx-select__trigger>\n <input\n [placeholder]=\"labelSelect || placeholder\"\n (input)=\"onChangeInput($event)\"\n #inputFilter\n [ngModel]=\"_selected?.label || ''\"\n />\n <monkey-icon\n [icon]=\"!_opened ? 'arrow-down-16' : 'arrow-up-16'\"\n [color]=\"'#4B4A53'\"\n ></monkey-icon>\n </mecx-select__trigger>\n </mecx-select>\n </mecx-form-field-body>\n <mecx-select-inside [ngClass]=\"{ open: _opened }\">\n <mecx-select-options #selectOptions>\n <ng-content> </ng-content>\n </mecx-select-options>\n </mecx-select-inside>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
4322
+ ], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent }], viewQueries: [{ propertyName: "selectOptions", first: true, predicate: ["selectOptions"], descendants: true, static: true }, { propertyName: "inputFilter", first: true, predicate: ["inputFilter"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: "\n <mecx-form-field [id]=\"_id\" [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body (click)=\"open()\" [class.error]=\"errorMessage?.trim()\">\n <monkey-icon [icon]=\"icon\" [color]=\"'#aaaaaa'\"></monkey-icon>\n <mecx-select class=\"trigger\" [ngClass]=\"{ open: _opened }\">\n <mecx-select__trigger>\n <input\n [placeholder]=\"labelSelect || placeholder\"\n (input)=\"onChangeInput($event)\"\n #inputFilter\n [ngModel]=\"_selected?.label || ''\"\n />\n <monkey-icon\n [icon]=\"!_opened ? 'arrow-down-16' : 'arrow-up-16'\"\n [color]=\"'#4B4A53'\"\n ></monkey-icon>\n </mecx-select__trigger>\n </mecx-select>\n </mecx-form-field-body>\n <mecx-select-inside [ngClass]=\"{ open: _opened }\">\n <mecx-select-options #selectOptions>\n <ng-content> </ng-content>\n </mecx-select-options>\n </mecx-select-inside>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n ", isInline: true, components: [{ type: MonkeyIconComponent, selector: "monkey-icon", inputs: ["icon", "color", "contrast", "disabled"] }], directives: [{ type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
4329
4323
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectSearchComponent, decorators: [{
4330
4324
  type: i0.Component,
4331
4325
  args: [{
@@ -4334,7 +4328,7 @@
4334
4328
  encapsulation: i0.ViewEncapsulation.None,
4335
4329
  providers: [
4336
4330
  {
4337
- provide: i4.NG_VALUE_ACCESSOR,
4331
+ provide: i1$2.NG_VALUE_ACCESSOR,
4338
4332
  useExisting: i0.forwardRef(function () { return MonkeySelectSearchComponent; }),
4339
4333
  multi: true,
4340
4334
  },
@@ -4486,7 +4480,7 @@
4486
4480
  MonkeySelectFilterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectFilterComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4487
4481
  MonkeySelectFilterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeySelectFilterComponent, selector: "monkey-select-filter", inputs: { placeholder: "placeholder", icon: "icon", type: "type", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "document:click": "clickout()" } }, providers: [
4488
4482
  {
4489
- provide: i4.NG_VALUE_ACCESSOR,
4483
+ provide: i1$2.NG_VALUE_ACCESSOR,
4490
4484
  useExisting: i0.forwardRef(function () { return MonkeySelectFilterComponent; }),
4491
4485
  multi: true,
4492
4486
  },
@@ -4499,7 +4493,7 @@
4499
4493
  encapsulation: i0.ViewEncapsulation.None,
4500
4494
  providers: [
4501
4495
  {
4502
- provide: i4.NG_VALUE_ACCESSOR,
4496
+ provide: i1$2.NG_VALUE_ACCESSOR,
4503
4497
  useExisting: i0.forwardRef(function () { return MonkeySelectFilterComponent; }),
4504
4498
  multi: true,
4505
4499
  },
@@ -4536,8 +4530,8 @@
4536
4530
  MonkeySelectMultipleComponent,
4537
4531
  MonkeySelectSearchComponent,
4538
4532
  MonkeySelectFilterComponent], imports: [i1$1.CommonModule,
4539
- i4.FormsModule,
4540
- i4.ReactiveFormsModule,
4533
+ i1$2.FormsModule,
4534
+ i1$2.ReactiveFormsModule,
4541
4535
  MonkeyInputModule,
4542
4536
  MonkeyOptionModule,
4543
4537
  MonkeyIconModule], exports: [MonkeySelectComponent,
@@ -4546,8 +4540,8 @@
4546
4540
  MonkeySelectFilterComponent] });
4547
4541
  MonkeySelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectModule, imports: [[
4548
4542
  i1$1.CommonModule,
4549
- i4.FormsModule,
4550
- i4.ReactiveFormsModule,
4543
+ i1$2.FormsModule,
4544
+ i1$2.ReactiveFormsModule,
4551
4545
  MonkeyInputModule,
4552
4546
  MonkeyOptionModule,
4553
4547
  MonkeyIconModule,
@@ -4563,8 +4557,8 @@
4563
4557
  ],
4564
4558
  imports: [
4565
4559
  i1$1.CommonModule,
4566
- i4.FormsModule,
4567
- i4.ReactiveFormsModule,
4560
+ i1$2.FormsModule,
4561
+ i1$2.ReactiveFormsModule,
4568
4562
  MonkeyInputModule,
4569
4563
  MonkeyOptionModule,
4570
4564
  MonkeyIconModule,
@@ -4586,15 +4580,15 @@
4586
4580
  }());
4587
4581
  MonkeyInputPhoneModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4588
4582
  MonkeyInputPhoneModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneModule, declarations: [MonkeyInputPhoneComponent, PhoneNumberValidDirective], imports: [i1$1.CommonModule,
4589
- i4.FormsModule,
4590
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyIconModule,
4583
+ i1$2.FormsModule,
4584
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyIconModule,
4591
4585
  MonkeySelectModule,
4592
4586
  MonkeyOptionModule], exports: [MonkeyInputPhoneComponent] });
4593
4587
  MonkeyInputPhoneModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneModule, imports: [[
4594
4588
  i1$1.CommonModule,
4595
- i4.FormsModule,
4596
- i4.ReactiveFormsModule,
4597
- i1$2.NgxMaskModule.forRoot(),
4589
+ i1$2.FormsModule,
4590
+ i1$2.ReactiveFormsModule,
4591
+ i1$3.NgxMaskModule.forRoot(),
4598
4592
  MonkeyIconModule,
4599
4593
  MonkeySelectModule,
4600
4594
  MonkeyOptionModule,
@@ -4605,9 +4599,9 @@
4605
4599
  declarations: [MonkeyInputPhoneComponent, PhoneNumberValidDirective],
4606
4600
  imports: [
4607
4601
  i1$1.CommonModule,
4608
- i4.FormsModule,
4609
- i4.ReactiveFormsModule,
4610
- i1$2.NgxMaskModule.forRoot(),
4602
+ i1$2.FormsModule,
4603
+ i1$2.ReactiveFormsModule,
4604
+ i1$3.NgxMaskModule.forRoot(),
4611
4605
  MonkeyIconModule,
4612
4606
  MonkeySelectModule,
4613
4607
  MonkeyOptionModule,
@@ -4668,11 +4662,11 @@
4668
4662
  MonkeyCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4669
4663
  MonkeyCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyCheckboxComponent, selector: "monkey-checkbox", inputs: { label: "label", type: "type", helperMessage: "helperMessage", infoMessage: "infoMessage", errorMessage: "errorMessage", description: "description", value: "value" }, outputs: { onChange: "onChange" }, providers: [
4670
4664
  {
4671
- provide: i4.NG_VALUE_ACCESSOR,
4665
+ provide: i1$2.NG_VALUE_ACCESSOR,
4672
4666
  useExisting: i0.forwardRef(function () { return MonkeyCheckboxComponent; }),
4673
4667
  multi: true,
4674
4668
  },
4675
- ], ngImport: i0__namespace, template: "\n <mecx-form-field *ngIf=\"type === 'single'; else multiple\" [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body class=\"checkbox\">\n <label class=\"mecx-check-container\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [id]=\"_id\" [disabled]=\"_disabled\" />\n {{ description }}\n <ng-content> </ng-content>\n <p class=\"mecx-check-mark\"></p>\n </label>\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n <ng-template #multiple>\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-body class=\"checkbox\">\n <label class=\"mecx-check-container\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [id]=\"_id\" [disabled]=\"_disabled\" />\n {{ description }}\n <p class=\"mecx-check-mark\"></p>\n </label>\n </mecx-form-field-body>\n </mecx-form-field>\n </ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
4669
+ ], ngImport: i0__namespace, template: "\n <mecx-form-field *ngIf=\"type === 'single'; else multiple\" [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-header>\n <label>\n {{ label }}\n </label>\n <helper>\n {{ helperMessage }}\n </helper>\n </mecx-form-field-header>\n <mecx-form-field-body class=\"checkbox\">\n <label class=\"mecx-check-container\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [id]=\"_id\" [disabled]=\"_disabled\" />\n {{ description }}\n <ng-content> </ng-content>\n <p class=\"mecx-check-mark\"></p>\n </label>\n </mecx-form-field-body>\n <mecx-form-field-footer>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-form-field-footer>\n </mecx-form-field>\n <ng-template #multiple>\n <mecx-form-field [ngClass]=\"{ disabled: _disabled }\">\n <mecx-form-field-body class=\"checkbox\">\n <label class=\"mecx-check-container\">\n <input type=\"checkbox\" [(ngModel)]=\"value\" [id]=\"_id\" [disabled]=\"_disabled\" />\n {{ description }}\n <p class=\"mecx-check-mark\"></p>\n </label>\n </mecx-form-field-body>\n </mecx-form-field>\n </ng-template>\n ", isInline: true, directives: [{ type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
4676
4670
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxComponent, decorators: [{
4677
4671
  type: i0.Component,
4678
4672
  args: [{
@@ -4681,7 +4675,7 @@
4681
4675
  encapsulation: i0.ViewEncapsulation.None,
4682
4676
  providers: [
4683
4677
  {
4684
- provide: i4.NG_VALUE_ACCESSOR,
4678
+ provide: i1$2.NG_VALUE_ACCESSOR,
4685
4679
  useExisting: i0.forwardRef(function () { return MonkeyCheckboxComponent; }),
4686
4680
  multi: true,
4687
4681
  },
@@ -4711,13 +4705,13 @@
4711
4705
  return MonkeyCheckboxModule;
4712
4706
  }());
4713
4707
  MonkeyCheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4714
- MonkeyCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, declarations: [MonkeyCheckboxComponent], imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule], exports: [MonkeyCheckboxComponent] });
4715
- MonkeyCheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, imports: [[i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule]] });
4708
+ MonkeyCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, declarations: [MonkeyCheckboxComponent], imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule], exports: [MonkeyCheckboxComponent] });
4709
+ MonkeyCheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, imports: [[i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule]] });
4716
4710
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, decorators: [{
4717
4711
  type: i0.NgModule,
4718
4712
  args: [{
4719
4713
  declarations: [MonkeyCheckboxComponent],
4720
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule],
4714
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule],
4721
4715
  exports: [MonkeyCheckboxComponent],
4722
4716
  schemas: [i0.NO_ERRORS_SCHEMA],
4723
4717
  }]
@@ -4806,7 +4800,7 @@
4806
4800
  MonkeyRadioButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4807
4801
  MonkeyRadioButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: { label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", errorMessage: "errorMessage", value: "value" }, outputs: { onChange: "onChange" }, providers: [
4808
4802
  {
4809
- provide: i4.NG_VALUE_ACCESSOR,
4803
+ provide: i1$2.NG_VALUE_ACCESSOR,
4810
4804
  useExisting: i0.forwardRef(function () { return MonkeyRadioButtonComponent; }),
4811
4805
  multi: true,
4812
4806
  },
@@ -4819,7 +4813,7 @@
4819
4813
  encapsulation: i0.ViewEncapsulation.None,
4820
4814
  providers: [
4821
4815
  {
4822
- provide: i4.NG_VALUE_ACCESSOR,
4816
+ provide: i1$2.NG_VALUE_ACCESSOR,
4823
4817
  useExisting: i0.forwardRef(function () { return MonkeyRadioButtonComponent; }),
4824
4818
  multi: true,
4825
4819
  },
@@ -4853,12 +4847,12 @@
4853
4847
  }());
4854
4848
  MonkeyRadioButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4855
4849
  MonkeyRadioButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, declarations: [MonkeyRadioButtonComponent], imports: [i1$1.CommonModule,
4856
- i4.FormsModule,
4857
- i4.ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
4850
+ i1$2.FormsModule,
4851
+ i1$2.ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
4858
4852
  MonkeyRadioButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, imports: [[
4859
4853
  i1$1.CommonModule,
4860
- i4.FormsModule,
4861
- i4.ReactiveFormsModule
4854
+ i1$2.FormsModule,
4855
+ i1$2.ReactiveFormsModule
4862
4856
  ]] });
4863
4857
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, decorators: [{
4864
4858
  type: i0.NgModule,
@@ -4868,8 +4862,8 @@
4868
4862
  ],
4869
4863
  imports: [
4870
4864
  i1$1.CommonModule,
4871
- i4.FormsModule,
4872
- i4.ReactiveFormsModule
4865
+ i1$2.FormsModule,
4866
+ i1$2.ReactiveFormsModule
4873
4867
  ],
4874
4868
  exports: [
4875
4869
  MonkeyRadioButtonComponent
@@ -5073,7 +5067,7 @@
5073
5067
  MonkeyFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5074
5068
  MonkeyFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyFileUploadComponent, selector: "monkey-file-upload", inputs: { name: "name", label: "label", helperMessage: "helperMessage", placeholder: "placeholder", icon: "icon", infoMessage: "infoMessage", uploadOngoingMessage: "uploadOngoingMessage", errorMessage: "errorMessage", listenFiles: "listenFiles", maxSize: "maxSize", allowedExtensions: "allowedExtensions", maxSizeErrorMessage: "maxSizeErrorMessage", allowedExtensionErrorMessage: "allowedExtensionErrorMessage", fileUpload: "fileUpload", value: "value" }, outputs: { onChange: "onChange", onHandleFilesReady: "onHandleFilesReady" }, host: { listeners: { "click": "onClick($event)" } }, providers: [
5075
5069
  {
5076
- provide: i4.NG_VALUE_ACCESSOR,
5070
+ provide: i1$2.NG_VALUE_ACCESSOR,
5077
5071
  useExisting: i0.forwardRef(function () { return MonkeyFileUploadComponent; }),
5078
5072
  multi: true,
5079
5073
  },
@@ -5086,7 +5080,7 @@
5086
5080
  encapsulation: i0.ViewEncapsulation.None,
5087
5081
  providers: [
5088
5082
  {
5089
- provide: i4.NG_VALUE_ACCESSOR,
5083
+ provide: i1$2.NG_VALUE_ACCESSOR,
5090
5084
  useExisting: i0.forwardRef(function () { return MonkeyFileUploadComponent; }),
5091
5085
  multi: true,
5092
5086
  },
@@ -5138,13 +5132,13 @@
5138
5132
  }());
5139
5133
  MonkeyFileUploadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5140
5134
  MonkeyFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, declarations: [MonkeyFileUploadComponent], imports: [i1$1.CommonModule,
5141
- i4.FormsModule,
5142
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyIconModule], exports: [MonkeyFileUploadComponent] });
5135
+ i1$2.FormsModule,
5136
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyIconModule], exports: [MonkeyFileUploadComponent] });
5143
5137
  MonkeyFileUploadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, imports: [[
5144
5138
  i1$1.CommonModule,
5145
- i4.FormsModule,
5146
- i4.ReactiveFormsModule,
5147
- i1$2.NgxMaskModule.forRoot(),
5139
+ i1$2.FormsModule,
5140
+ i1$2.ReactiveFormsModule,
5141
+ i1$3.NgxMaskModule.forRoot(),
5148
5142
  MonkeyIconModule,
5149
5143
  ]] });
5150
5144
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, decorators: [{
@@ -5153,9 +5147,9 @@
5153
5147
  declarations: [MonkeyFileUploadComponent],
5154
5148
  imports: [
5155
5149
  i1$1.CommonModule,
5156
- i4.FormsModule,
5157
- i4.ReactiveFormsModule,
5158
- i1$2.NgxMaskModule.forRoot(),
5150
+ i1$2.FormsModule,
5151
+ i1$2.ReactiveFormsModule,
5152
+ i1$3.NgxMaskModule.forRoot(),
5159
5153
  MonkeyIconModule,
5160
5154
  ],
5161
5155
  exports: [MonkeyFileUploadComponent],
@@ -5402,7 +5396,7 @@
5402
5396
  };
5403
5397
  return MonkeyImageCropComponent;
5404
5398
  }());
5405
- MonkeyImageCropComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$3.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Component });
5399
+ MonkeyImageCropComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$4.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Component });
5406
5400
  MonkeyImageCropComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyImageCropComponent, selector: "monkey-image-crop", inputs: { label: "label", cropTitle: "cropTitle", labelChangeImage: "labelChangeImage", labelPreviewImage: "labelPreviewImage", helperMessage: "helperMessage", placeholder: "placeholder", maxSize: "maxSize", maxSizeErrorMessage: "maxSizeErrorMessage", allowedExtensionErrorMessage: "allowedExtensionErrorMessage", fileUpload: "fileUpload", onHandleGetFilesReady: "onHandleGetFilesReady" }, outputs: { onHandleFilesReady: "onHandleFilesReady", onHandlePreviewReady: "onHandlePreviewReady" }, host: { listeners: { "mousemove": "moveImg($event)", "touchmove": "moveImg($event)", "document:mouseup": "moveStop()", "document:touchend": "moveStop()" } }, ngImport: i0__namespace, template: "\n <monkey-file-upload\n [label]=\"label\"\n [helperMessage]=\"helperMessage\"\n icon=\"upload-16\"\n [placeholder]=\"placeholder\"\n [maxSize]=\"maxSize\"\n [maxSizeErrorMessage]=\"maxSizeErrorMessage\"\n [allowedExtensionErrorMessage]=\"allowedExtensionErrorMessage\"\n (onHandleFilesReady)=\"onHandleFileUploadFilesReady($event)\"\n listenFiles=\"true\"\n [maxFiles]=\"1\"\n [allowedExtensions]=\"['.jpg', '.jpeg', '.png']\"\n *ngIf=\"!_loadCompleted\"\n >\n </monkey-file-upload>\n <div *ngIf=\"_loadPreview\">\n <progress class=\"monkey-progress monkey-progress__grey\"></progress>\n </div>\n <div class=\"box-cut-title\" *ngIf=\"_loadCompleted\">\n {{ cropTitle }} {{ _fileNameToCut }}\n </div>\n <div\n id=\"imageCropSource\"\n name=\"imageCropSource\"\n #imageCropSource\n class=\"box-cut\"\n *ngIf=\"_loadCompleted\"\n >\n <div class=\"edit-resize-cut\">\n <img class=\"source-image\" [src]=\"_safeImgDataUrl\" />\n <div\n class=\"cut\"\n [style.top.px]=\"_cutCoords.y1\"\n [style.left.px]=\"_cutCoords.x1\"\n [style.width.px]=\"_cutCoords.x2 - _cutCoords.x1\"\n [style.height.px]=\"_cutCoords.y2 - _cutCoords.y1\"\n *ngIf=\"_loadCompleted\"\n >\n <div\n (mousedown)=\"startMove($event, 'move')\"\n (touchstart)=\"startMove($event, 'move')\"\n class=\"move\"\n ></div>\n <span\n class=\"resize top-left\"\n (mousedown)=\"startMove($event, 'resize', 'topleft')\"\n (touchstart)=\"startMove($event, 'resize', 'topleft')\"\n >\n </span>\n <span class=\"resize top\"></span>\n <span\n class=\"resize top-right\"\n (mousedown)=\"startMove($event, 'resize', 'topright')\"\n (touchstart)=\"startMove($event, 'resize', 'topright')\"\n >\n </span>\n <span class=\"resize right\"></span>\n <span\n class=\"resize bottom-right\"\n (mousedown)=\"startMove($event, 'resize', 'bottomright')\"\n (touchstart)=\"startMove($event, 'resize', 'bottomright')\"\n >\n </span>\n <span class=\"resize bottom\"> </span>\n <span\n class=\"resize bottom-left\"\n (mousedown)=\"startMove($event, 'resize', 'bottomleft')\"\n (touchstart)=\"startMove($event, 'resize', 'bottomleft')\"\n >\n </span>\n <span class=\"resize left\"> </span>\n <span\n class=\"resize-bar top\"\n (mousedown)=\"startMove($event, 'resize', 'top')\"\n (touchstart)=\"startMove($event, 'resize', 'top')\"\n >\n </span>\n <span\n class=\"resize-bar right\"\n (mousedown)=\"startMove($event, 'resize', 'right')\"\n (touchstart)=\"startMove($event, 'resize', 'right')\"\n >\n </span>\n <span\n class=\"resize-bar bottom\"\n (mousedown)=\"startMove($event, 'resize', 'bottom')\"\n (touchstart)=\"startMove($event, 'resize', 'bottom')\"\n >\n </span>\n <span\n class=\"resize-bar left\"\n (mousedown)=\"startMove($event, 'resize', 'left')\"\n (touchstart)=\"startMove($event, 'resize', 'left')\"\n >\n </span>\n </div>\n </div>\n </div>\n <mecx-image-crop-upload-info *ngIf=\"_progress\">\n <span [style.width.%]=\"_progress\"> {{ _progress }}%</span>\n </mecx-image-crop-upload-info>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onHandleImageChange()\"\n *ngIf=\"_loadCompleted\"\n >\n {{ labelChangeImage }}\n </monkey-button>\n ", isInline: true, components: [{ type: MonkeyFileUploadComponent, selector: "monkey-file-upload", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "infoMessage", "uploadOngoingMessage", "errorMessage", "listenFiles", "maxSize", "allowedExtensions", "maxSizeErrorMessage", "allowedExtensionErrorMessage", "fileUpload", "value"], outputs: ["onChange", "onHandleFilesReady"] }, { type: MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i1__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
5407
5401
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropComponent, decorators: [{
5408
5402
  type: i0.Component,
@@ -5411,7 +5405,7 @@
5411
5405
  template: "\n <monkey-file-upload\n [label]=\"label\"\n [helperMessage]=\"helperMessage\"\n icon=\"upload-16\"\n [placeholder]=\"placeholder\"\n [maxSize]=\"maxSize\"\n [maxSizeErrorMessage]=\"maxSizeErrorMessage\"\n [allowedExtensionErrorMessage]=\"allowedExtensionErrorMessage\"\n (onHandleFilesReady)=\"onHandleFileUploadFilesReady($event)\"\n listenFiles=\"true\"\n [maxFiles]=\"1\"\n [allowedExtensions]=\"['.jpg', '.jpeg', '.png']\"\n *ngIf=\"!_loadCompleted\"\n >\n </monkey-file-upload>\n <div *ngIf=\"_loadPreview\">\n <progress class=\"monkey-progress monkey-progress__grey\"></progress>\n </div>\n <div class=\"box-cut-title\" *ngIf=\"_loadCompleted\">\n {{ cropTitle }} {{ _fileNameToCut }}\n </div>\n <div\n id=\"imageCropSource\"\n name=\"imageCropSource\"\n #imageCropSource\n class=\"box-cut\"\n *ngIf=\"_loadCompleted\"\n >\n <div class=\"edit-resize-cut\">\n <img class=\"source-image\" [src]=\"_safeImgDataUrl\" />\n <div\n class=\"cut\"\n [style.top.px]=\"_cutCoords.y1\"\n [style.left.px]=\"_cutCoords.x1\"\n [style.width.px]=\"_cutCoords.x2 - _cutCoords.x1\"\n [style.height.px]=\"_cutCoords.y2 - _cutCoords.y1\"\n *ngIf=\"_loadCompleted\"\n >\n <div\n (mousedown)=\"startMove($event, 'move')\"\n (touchstart)=\"startMove($event, 'move')\"\n class=\"move\"\n ></div>\n <span\n class=\"resize top-left\"\n (mousedown)=\"startMove($event, 'resize', 'topleft')\"\n (touchstart)=\"startMove($event, 'resize', 'topleft')\"\n >\n </span>\n <span class=\"resize top\"></span>\n <span\n class=\"resize top-right\"\n (mousedown)=\"startMove($event, 'resize', 'topright')\"\n (touchstart)=\"startMove($event, 'resize', 'topright')\"\n >\n </span>\n <span class=\"resize right\"></span>\n <span\n class=\"resize bottom-right\"\n (mousedown)=\"startMove($event, 'resize', 'bottomright')\"\n (touchstart)=\"startMove($event, 'resize', 'bottomright')\"\n >\n </span>\n <span class=\"resize bottom\"> </span>\n <span\n class=\"resize bottom-left\"\n (mousedown)=\"startMove($event, 'resize', 'bottomleft')\"\n (touchstart)=\"startMove($event, 'resize', 'bottomleft')\"\n >\n </span>\n <span class=\"resize left\"> </span>\n <span\n class=\"resize-bar top\"\n (mousedown)=\"startMove($event, 'resize', 'top')\"\n (touchstart)=\"startMove($event, 'resize', 'top')\"\n >\n </span>\n <span\n class=\"resize-bar right\"\n (mousedown)=\"startMove($event, 'resize', 'right')\"\n (touchstart)=\"startMove($event, 'resize', 'right')\"\n >\n </span>\n <span\n class=\"resize-bar bottom\"\n (mousedown)=\"startMove($event, 'resize', 'bottom')\"\n (touchstart)=\"startMove($event, 'resize', 'bottom')\"\n >\n </span>\n <span\n class=\"resize-bar left\"\n (mousedown)=\"startMove($event, 'resize', 'left')\"\n (touchstart)=\"startMove($event, 'resize', 'left')\"\n >\n </span>\n </div>\n </div>\n </div>\n <mecx-image-crop-upload-info *ngIf=\"_progress\">\n <span [style.width.%]=\"_progress\"> {{ _progress }}%</span>\n </mecx-image-crop-upload-info>\n <monkey-button\n type=\"tertiary\"\n color=\"theme\"\n (click)=\"onHandleImageChange()\"\n *ngIf=\"_loadCompleted\"\n >\n {{ labelChangeImage }}\n </monkey-button>\n ",
5412
5406
  encapsulation: i0.ViewEncapsulation.None,
5413
5407
  }]
5414
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$3.DomSanitizer }]; }, propDecorators: { label: [{
5408
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$4.DomSanitizer }]; }, propDecorators: { label: [{
5415
5409
  type: i0.Input
5416
5410
  }], cropTitle: [{
5417
5411
  type: i0.Input
@@ -5458,14 +5452,14 @@
5458
5452
  }());
5459
5453
  MonkeyImageCropModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5460
5454
  MonkeyImageCropModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, declarations: [MonkeyImageCropComponent], imports: [i1$1.CommonModule,
5461
- i4.FormsModule,
5462
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyButtonModule,
5455
+ i1$2.FormsModule,
5456
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyButtonModule,
5463
5457
  MonkeyFileUploadModule], exports: [MonkeyImageCropComponent] });
5464
5458
  MonkeyImageCropModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, imports: [[
5465
5459
  i1$1.CommonModule,
5466
- i4.FormsModule,
5467
- i4.ReactiveFormsModule,
5468
- i1$2.NgxMaskModule.forRoot(),
5460
+ i1$2.FormsModule,
5461
+ i1$2.ReactiveFormsModule,
5462
+ i1$3.NgxMaskModule.forRoot(),
5469
5463
  MonkeyButtonModule,
5470
5464
  MonkeyFileUploadModule,
5471
5465
  ]] });
@@ -5475,9 +5469,9 @@
5475
5469
  declarations: [MonkeyImageCropComponent],
5476
5470
  imports: [
5477
5471
  i1$1.CommonModule,
5478
- i4.FormsModule,
5479
- i4.ReactiveFormsModule,
5480
- i1$2.NgxMaskModule.forRoot(),
5472
+ i1$2.FormsModule,
5473
+ i1$2.ReactiveFormsModule,
5474
+ i1$3.NgxMaskModule.forRoot(),
5481
5475
  MonkeyButtonModule,
5482
5476
  MonkeyFileUploadModule,
5483
5477
  ],
@@ -5574,13 +5568,13 @@
5574
5568
  return MonkeyModalModule;
5575
5569
  }());
5576
5570
  MonkeyModalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5577
- MonkeyModalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, declarations: [MonkeyModalComponent], imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule], exports: [MonkeyModalComponent] });
5578
- MonkeyModalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, imports: [[i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule]] });
5571
+ MonkeyModalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, declarations: [MonkeyModalComponent], imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule], exports: [MonkeyModalComponent] });
5572
+ MonkeyModalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, imports: [[i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule]] });
5579
5573
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, decorators: [{
5580
5574
  type: i0.NgModule,
5581
5575
  args: [{
5582
5576
  declarations: [MonkeyModalComponent],
5583
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule],
5577
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule],
5584
5578
  exports: [MonkeyModalComponent],
5585
5579
  schemas: [i0.NO_ERRORS_SCHEMA],
5586
5580
  }]
@@ -5798,7 +5792,7 @@
5798
5792
  MonkeyTableColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTableColumnComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5799
5793
  MonkeyTableColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyTableColumnComponent, selector: "monkey-table-column", providers: [
5800
5794
  {
5801
- provide: i4.NG_VALUE_ACCESSOR,
5795
+ provide: i1$2.NG_VALUE_ACCESSOR,
5802
5796
  useExisting: i0.forwardRef(function () { return MonkeyTableColumnComponent; }),
5803
5797
  multi: true,
5804
5798
  },
@@ -5811,7 +5805,7 @@
5811
5805
  encapsulation: i0.ViewEncapsulation.None,
5812
5806
  providers: [
5813
5807
  {
5814
- provide: i4.NG_VALUE_ACCESSOR,
5808
+ provide: i1$2.NG_VALUE_ACCESSOR,
5815
5809
  useExisting: i0.forwardRef(function () { return MonkeyTableColumnComponent; }),
5816
5810
  multi: true,
5817
5811
  },
@@ -5957,7 +5951,7 @@
5957
5951
  MonkeyTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5958
5952
  MonkeyTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyTabComponent, selector: "monkey-tab", inputs: { position: "position", selected: "selected" }, outputs: { onChange: "onChange" }, providers: [
5959
5953
  {
5960
- provide: i4.NG_VALUE_ACCESSOR,
5954
+ provide: i1$2.NG_VALUE_ACCESSOR,
5961
5955
  useExisting: i0.forwardRef(function () { return MonkeyTabComponent; }),
5962
5956
  multi: true,
5963
5957
  },
@@ -5970,7 +5964,7 @@
5970
5964
  encapsulation: i0.ViewEncapsulation.None,
5971
5965
  providers: [
5972
5966
  {
5973
- provide: i4.NG_VALUE_ACCESSOR,
5967
+ provide: i1$2.NG_VALUE_ACCESSOR,
5974
5968
  useExisting: i0.forwardRef(function () { return MonkeyTabComponent; }),
5975
5969
  multi: true,
5976
5970
  },
@@ -5993,13 +5987,13 @@
5993
5987
  return MonkeyTabModule;
5994
5988
  }());
5995
5989
  MonkeyTabModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5996
- MonkeyTabModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, declarations: [MonkeyTabComponent], imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyOptionModule], exports: [MonkeyTabComponent] });
5997
- MonkeyTabModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, imports: [[i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyOptionModule]] });
5990
+ MonkeyTabModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, declarations: [MonkeyTabComponent], imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyOptionModule], exports: [MonkeyTabComponent] });
5991
+ MonkeyTabModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, imports: [[i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyOptionModule]] });
5998
5992
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, decorators: [{
5999
5993
  type: i0.NgModule,
6000
5994
  args: [{
6001
5995
  declarations: [MonkeyTabComponent],
6002
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyOptionModule],
5996
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyOptionModule],
6003
5997
  exports: [MonkeyTabComponent],
6004
5998
  schemas: [i0.NO_ERRORS_SCHEMA],
6005
5999
  }]