monkey-style-guide 2.0.97 → 2.0.101

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) {
@@ -702,15 +702,10 @@
702
702
  return false;
703
703
  try {
704
704
  var country = phoneUtil.getRegionCodeForCountryCode(internationalNumber);
705
- console.log('country');
706
- console.log(country);
707
705
  var number = phoneUtil.parse(phone, country);
708
- console.log('number');
709
- console.log(number);
710
706
  return phoneUtil.isValidNumberForRegion(number, country);
711
707
  }
712
708
  catch (e) {
713
- console.log(e);
714
709
  //not to do
715
710
  }
716
711
  return false;
@@ -2779,13 +2774,13 @@
2779
2774
  return MonkeyButtonModule;
2780
2775
  }());
2781
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 });
2782
- 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] });
2783
- 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]] });
2784
2779
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyButtonModule, decorators: [{
2785
2780
  type: i0.NgModule,
2786
2781
  args: [{
2787
2782
  declarations: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent],
2788
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyIconModule],
2783
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyIconModule],
2789
2784
  exports: [MonkeyButtonComponent, MonkeyButtonDropdownComponent, MonkeyButtonAvatarComponent],
2790
2785
  schemas: [i0.NO_ERRORS_SCHEMA],
2791
2786
  }]
@@ -2810,8 +2805,8 @@
2810
2805
  }
2811
2806
  MonkeyDateRangePickerComponent.prototype.initDateRange = function () {
2812
2807
  return (this._dateForm = this.fb.group({
2813
- startDate: [null, i4.Validators.required],
2814
- endDate: [null, i4.Validators.required],
2808
+ startDate: [null, i1$2.Validators.required],
2809
+ endDate: [null, i1$2.Validators.required],
2815
2810
  }));
2816
2811
  };
2817
2812
  MonkeyDateRangePickerComponent.prototype.createCalendar = function (month) {
@@ -2985,10 +2980,10 @@
2985
2980
  };
2986
2981
  return MonkeyDateRangePickerComponent;
2987
2982
  }());
2988
- 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 });
2989
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: [
2990
2985
  {
2991
- provide: i4.NG_VALUE_ACCESSOR,
2986
+ provide: i1$2.NG_VALUE_ACCESSOR,
2992
2987
  useExisting: i0.forwardRef(function () { return MonkeyDateRangePickerComponent; }),
2993
2988
  multi: true,
2994
2989
  },
@@ -3002,14 +2997,14 @@
3002
2997
  encapsulation: i0.ViewEncapsulation.None,
3003
2998
  providers: [
3004
2999
  {
3005
- provide: i4.NG_VALUE_ACCESSOR,
3000
+ provide: i1$2.NG_VALUE_ACCESSOR,
3006
3001
  useExisting: i0.forwardRef(function () { return MonkeyDateRangePickerComponent; }),
3007
3002
  multi: true,
3008
3003
  },
3009
3004
  i1$1.CurrencyPipe,
3010
3005
  ],
3011
3006
  }]
3012
- }], 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: [{
3013
3008
  type: i0.Input
3014
3009
  }], infoMessage: [{
3015
3010
  type: i0.Input
@@ -3027,13 +3022,13 @@
3027
3022
  return MonkeyDateRangePickerModule;
3028
3023
  }());
3029
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 });
3030
- 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] });
3031
- 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]] });
3032
3027
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyDateRangePickerModule, decorators: [{
3033
3028
  type: i0.NgModule,
3034
3029
  args: [{
3035
3030
  declarations: [MonkeyDateRangePickerComponent],
3036
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule],
3031
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule],
3037
3032
  exports: [MonkeyDateRangePickerComponent],
3038
3033
  schemas: [i0.NO_ERRORS_SCHEMA],
3039
3034
  }]
@@ -3183,12 +3178,12 @@
3183
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 });
3184
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: [
3185
3180
  {
3186
- provide: i4.NG_VALUE_ACCESSOR,
3181
+ provide: i1$2.NG_VALUE_ACCESSOR,
3187
3182
  useExisting: i0.forwardRef(function () { return MonkeyInputComponent; }),
3188
3183
  multi: true,
3189
3184
  },
3190
3185
  i1$1.CurrencyPipe,
3191
- ], 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 });
3192
3187
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputComponent, decorators: [{
3193
3188
  type: i0.Component,
3194
3189
  args: [{
@@ -3197,7 +3192,7 @@
3197
3192
  encapsulation: i0.ViewEncapsulation.None,
3198
3193
  providers: [
3199
3194
  {
3200
- provide: i4.NG_VALUE_ACCESSOR,
3195
+ provide: i1$2.NG_VALUE_ACCESSOR,
3201
3196
  useExisting: i0.forwardRef(function () { return MonkeyInputComponent; }),
3202
3197
  multi: true,
3203
3198
  },
@@ -3351,12 +3346,12 @@
3351
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 });
3352
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: [
3353
3348
  {
3354
- provide: i4.NG_VALUE_ACCESSOR,
3349
+ provide: i1$2.NG_VALUE_ACCESSOR,
3355
3350
  useExisting: i0.forwardRef(function () { return MonkeyInputFilterComponent; }),
3356
3351
  multi: true,
3357
3352
  },
3358
3353
  i1$1.CurrencyPipe,
3359
- ], 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 });
3360
3355
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputFilterComponent, decorators: [{
3361
3356
  type: i0.Component,
3362
3357
  args: [{
@@ -3365,7 +3360,7 @@
3365
3360
  encapsulation: i0.ViewEncapsulation.None,
3366
3361
  providers: [
3367
3362
  {
3368
- provide: i4.NG_VALUE_ACCESSOR,
3363
+ provide: i1$2.NG_VALUE_ACCESSOR,
3369
3364
  useExisting: i0.forwardRef(function () { return MonkeyInputFilterComponent; }),
3370
3365
  multi: true,
3371
3366
  },
@@ -3420,13 +3415,13 @@
3420
3415
  }());
3421
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 });
3422
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,
3423
- i4.FormsModule,
3424
- 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] });
3425
3420
  MonkeyInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, imports: [[
3426
3421
  i1$1.CommonModule,
3427
- i4.FormsModule,
3428
- i4.ReactiveFormsModule,
3429
- i1$2.NgxMaskModule.forRoot(),
3422
+ i1$2.FormsModule,
3423
+ i1$2.ReactiveFormsModule,
3424
+ i1$3.NgxMaskModule.forRoot(),
3430
3425
  MonkeyIconModule,
3431
3426
  ]] });
3432
3427
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputModule, decorators: [{
@@ -3435,9 +3430,9 @@
3435
3430
  declarations: [MonkeyInputComponent, MonkeyInputFilterComponent],
3436
3431
  imports: [
3437
3432
  i1$1.CommonModule,
3438
- i4.FormsModule,
3439
- i4.ReactiveFormsModule,
3440
- i1$2.NgxMaskModule.forRoot(),
3433
+ i1$2.FormsModule,
3434
+ i1$2.ReactiveFormsModule,
3435
+ i1$3.NgxMaskModule.forRoot(),
3441
3436
  MonkeyIconModule,
3442
3437
  ],
3443
3438
  exports: [MonkeyInputComponent, MonkeyInputFilterComponent],
@@ -3470,7 +3465,7 @@
3470
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 });
3471
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: [
3472
3467
  {
3473
- provide: i4.NG_VALUE_ACCESSOR,
3468
+ provide: i1$2.NG_VALUE_ACCESSOR,
3474
3469
  useExisting: i0.forwardRef(function () { return MonkeyOptionComponent; }),
3475
3470
  multi: true,
3476
3471
  },
@@ -3483,7 +3478,7 @@
3483
3478
  encapsulation: i0.ViewEncapsulation.None,
3484
3479
  providers: [
3485
3480
  {
3486
- provide: i4.NG_VALUE_ACCESSOR,
3481
+ provide: i1$2.NG_VALUE_ACCESSOR,
3487
3482
  useExisting: i0.forwardRef(function () { return MonkeyOptionComponent; }),
3488
3483
  multi: true,
3489
3484
  },
@@ -3657,7 +3652,7 @@
3657
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 });
3658
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: [
3659
3654
  {
3660
- provide: i4.NG_VALUE_ACCESSOR,
3655
+ provide: i1$2.NG_VALUE_ACCESSOR,
3661
3656
  useExisting: i0.forwardRef(function () { return MonkeySelectComponent; }),
3662
3657
  multi: true,
3663
3658
  },
@@ -3670,7 +3665,7 @@
3670
3665
  encapsulation: i0.ViewEncapsulation.None,
3671
3666
  providers: [
3672
3667
  {
3673
- provide: i4.NG_VALUE_ACCESSOR,
3668
+ provide: i1$2.NG_VALUE_ACCESSOR,
3674
3669
  useExisting: i0.forwardRef(function () { return MonkeySelectComponent; }),
3675
3670
  multi: true,
3676
3671
  },
@@ -3716,11 +3711,10 @@
3716
3711
  function PhoneNumberValidDirective() {
3717
3712
  }
3718
3713
  PhoneNumberValidDirective.prototype.onValidate = function () {
3719
- var _this = this;
3720
- var _d = this, destroyed = _d.destroyed, phoneNumber = _d.phoneNumber, internationalNumber = _d.internationalNumber;
3721
- if (destroyed || !phoneNumber)
3714
+ var _d = this, ctrl = _d.ctrl, destroyed = _d.destroyed, phoneNumber = _d.phoneNumber, internationalNumber = _d.internationalNumber;
3715
+ if (destroyed || !phoneNumber || !ctrl)
3722
3716
  return;
3723
- var isValid = true;
3717
+ var isValid = false;
3724
3718
  try {
3725
3719
  isValid = MonkeyUtils.isPhoneNumberValid(phoneNumber, internationalNumber);
3726
3720
  }
@@ -3729,15 +3723,17 @@
3729
3723
  }
3730
3724
  if (!isValid) {
3731
3725
  setTimeout(function () {
3732
- _this.ctrl.markAsDirty();
3733
- _this.ctrl.markAsTouched();
3734
- _this.ctrl.setErrors({ invalidNumber: true });
3726
+ ctrl.markAsDirty();
3727
+ ctrl.markAsTouched();
3728
+ ctrl.setErrors({ phone: true });
3735
3729
  }, 0);
3736
3730
  }
3737
3731
  };
3738
3732
  PhoneNumberValidDirective.prototype.ngOnChanges = function (_d) {
3739
- var phoneNumber = _d.phoneNumber;
3740
- 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)) {
3741
3737
  this.onValidate();
3742
3738
  }
3743
3739
  };
@@ -3762,7 +3758,8 @@
3762
3758
  type: i0.Input
3763
3759
  }] } });
3764
3760
  var MonkeyInputPhoneComponent = /** @class */ (function () {
3765
- function MonkeyInputPhoneComponent(cdr) {
3761
+ function MonkeyInputPhoneComponent(ngControl, cdr) {
3762
+ this.ngControl = ngControl;
3766
3763
  this.cdr = cdr;
3767
3764
  this.name = "mecx-input-phone-" + MonkeyUtils.getRandomString(10);
3768
3765
  this.helperMessage = '';
@@ -3776,6 +3773,10 @@
3776
3773
  this._regionCodes = [];
3777
3774
  this._countryCodes = [];
3778
3775
  this._internationalNumber = 55;
3776
+ this._formControl = null;
3777
+ if (this.ngControl != null) {
3778
+ this.ngControl.valueAccessor = this;
3779
+ }
3779
3780
  }
3780
3781
  MonkeyInputPhoneComponent.prototype.handleValue = function (value) {
3781
3782
  return MonkeyUtils.handleOnlyNumbers("" + value);
@@ -3788,18 +3789,16 @@
3788
3789
  };
3789
3790
  MonkeyInputPhoneComponent.prototype.getValue = function () {
3790
3791
  var _d = this, _internationalNumber = _d._internationalNumber, _handledValue = _d._handledValue;
3791
- return "+" + _internationalNumber + _handledValue;
3792
+ if (_handledValue)
3793
+ return "+" + _internationalNumber + _handledValue;
3794
+ return '';
3792
3795
  };
3793
3796
  MonkeyInputPhoneComponent.prototype.ngOnInit = function () {
3797
+ var _a;
3794
3798
  this._countryCodes = MonkeyUtils.getPhoneRegions();
3795
3799
  this.onHandleInternationalNumber();
3796
3800
  this.onHandleCountryCode(this._internationalNumber);
3797
- };
3798
- MonkeyInputPhoneComponent.prototype.ngOnChanges = function (sc) {
3799
- var _d = sc.formControl, firstChange = _d.firstChange, value = _d.currentValue.value;
3800
- if (sc && firstChange) {
3801
- this.onHandleInternationalNumber(value);
3802
- }
3801
+ this._formControl = this.ngControl && (((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.form) || this.ngControl);
3803
3802
  };
3804
3803
  MonkeyInputPhoneComponent.prototype.onHandleInternationalNumber = function (value) {
3805
3804
  this._internationalNumber =
@@ -3870,31 +3869,22 @@
3870
3869
  };
3871
3870
  return MonkeyInputPhoneComponent;
3872
3871
  }());
3873
- 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 });
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", formControl: "formControl", value: "value" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick()" } }, providers: [
3875
- {
3876
- provide: i4.NG_VALUE_ACCESSOR,
3877
- useExisting: i0.forwardRef(function () { return MonkeyInputPhoneComponent; }),
3878
- multi: true,
3879
- },
3880
- i1$1.CurrencyPipe,
3881
- ], 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 });
3872
+ 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 });
3873
+ 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 });
3882
3874
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneComponent, decorators: [{
3883
3875
  type: i0.Component,
3884
3876
  args: [{
3885
3877
  selector: 'monkey-input-phone',
3886
- 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 ",
3878
+ 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 ",
3887
3879
  encapsulation: i0.ViewEncapsulation.None,
3888
- providers: [
3889
- {
3890
- provide: i4.NG_VALUE_ACCESSOR,
3891
- useExisting: i0.forwardRef(function () { return MonkeyInputPhoneComponent; }),
3892
- multi: true,
3893
- },
3894
- i1$1.CurrencyPipe,
3895
- ],
3896
3880
  }]
3897
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { name: [{
3881
+ }], ctorParameters: function () {
3882
+ return [{ type: i1__namespace$2.NgControl, decorators: [{
3883
+ type: i0.Optional
3884
+ }, {
3885
+ type: i0.Self
3886
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
3887
+ }, propDecorators: { name: [{
3898
3888
  type: i0.Input
3899
3889
  }], label: [{
3900
3890
  type: i0.Input
@@ -3910,8 +3900,6 @@
3910
3900
  type: i0.Input
3911
3901
  }], maxLength: [{
3912
3902
  type: i0.Input
3913
- }], formControl: [{
3914
- type: i0.Input
3915
3903
  }], onChange: [{
3916
3904
  type: i0.Output
3917
3905
  }], value: [{
@@ -4106,7 +4094,7 @@
4106
4094
  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 });
4107
4095
  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: [
4108
4096
  {
4109
- provide: i4.NG_VALUE_ACCESSOR,
4097
+ provide: i1$2.NG_VALUE_ACCESSOR,
4110
4098
  useExisting: i0.forwardRef(function () { return MonkeySelectMultipleComponent; }),
4111
4099
  multi: true,
4112
4100
  },
@@ -4119,7 +4107,7 @@
4119
4107
  encapsulation: i0.ViewEncapsulation.None,
4120
4108
  providers: [
4121
4109
  {
4122
- provide: i4.NG_VALUE_ACCESSOR,
4110
+ provide: i1$2.NG_VALUE_ACCESSOR,
4123
4111
  useExisting: i0.forwardRef(function () { return MonkeySelectMultipleComponent; }),
4124
4112
  multi: true,
4125
4113
  },
@@ -4326,11 +4314,11 @@
4326
4314
  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 });
4327
4315
  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: [
4328
4316
  {
4329
- provide: i4.NG_VALUE_ACCESSOR,
4317
+ provide: i1$2.NG_VALUE_ACCESSOR,
4330
4318
  useExisting: i0.forwardRef(function () { return MonkeySelectSearchComponent; }),
4331
4319
  multi: true,
4332
4320
  },
4333
- ], 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 });
4321
+ ], 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 });
4334
4322
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectSearchComponent, decorators: [{
4335
4323
  type: i0.Component,
4336
4324
  args: [{
@@ -4339,7 +4327,7 @@
4339
4327
  encapsulation: i0.ViewEncapsulation.None,
4340
4328
  providers: [
4341
4329
  {
4342
- provide: i4.NG_VALUE_ACCESSOR,
4330
+ provide: i1$2.NG_VALUE_ACCESSOR,
4343
4331
  useExisting: i0.forwardRef(function () { return MonkeySelectSearchComponent; }),
4344
4332
  multi: true,
4345
4333
  },
@@ -4491,7 +4479,7 @@
4491
4479
  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 });
4492
4480
  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: [
4493
4481
  {
4494
- provide: i4.NG_VALUE_ACCESSOR,
4482
+ provide: i1$2.NG_VALUE_ACCESSOR,
4495
4483
  useExisting: i0.forwardRef(function () { return MonkeySelectFilterComponent; }),
4496
4484
  multi: true,
4497
4485
  },
@@ -4504,7 +4492,7 @@
4504
4492
  encapsulation: i0.ViewEncapsulation.None,
4505
4493
  providers: [
4506
4494
  {
4507
- provide: i4.NG_VALUE_ACCESSOR,
4495
+ provide: i1$2.NG_VALUE_ACCESSOR,
4508
4496
  useExisting: i0.forwardRef(function () { return MonkeySelectFilterComponent; }),
4509
4497
  multi: true,
4510
4498
  },
@@ -4541,8 +4529,8 @@
4541
4529
  MonkeySelectMultipleComponent,
4542
4530
  MonkeySelectSearchComponent,
4543
4531
  MonkeySelectFilterComponent], imports: [i1$1.CommonModule,
4544
- i4.FormsModule,
4545
- i4.ReactiveFormsModule,
4532
+ i1$2.FormsModule,
4533
+ i1$2.ReactiveFormsModule,
4546
4534
  MonkeyInputModule,
4547
4535
  MonkeyOptionModule,
4548
4536
  MonkeyIconModule], exports: [MonkeySelectComponent,
@@ -4551,8 +4539,8 @@
4551
4539
  MonkeySelectFilterComponent] });
4552
4540
  MonkeySelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeySelectModule, imports: [[
4553
4541
  i1$1.CommonModule,
4554
- i4.FormsModule,
4555
- i4.ReactiveFormsModule,
4542
+ i1$2.FormsModule,
4543
+ i1$2.ReactiveFormsModule,
4556
4544
  MonkeyInputModule,
4557
4545
  MonkeyOptionModule,
4558
4546
  MonkeyIconModule,
@@ -4568,8 +4556,8 @@
4568
4556
  ],
4569
4557
  imports: [
4570
4558
  i1$1.CommonModule,
4571
- i4.FormsModule,
4572
- i4.ReactiveFormsModule,
4559
+ i1$2.FormsModule,
4560
+ i1$2.ReactiveFormsModule,
4573
4561
  MonkeyInputModule,
4574
4562
  MonkeyOptionModule,
4575
4563
  MonkeyIconModule,
@@ -4591,15 +4579,15 @@
4591
4579
  }());
4592
4580
  MonkeyInputPhoneModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4593
4581
  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,
4594
- i4.FormsModule,
4595
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyIconModule,
4582
+ i1$2.FormsModule,
4583
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyIconModule,
4596
4584
  MonkeySelectModule,
4597
4585
  MonkeyOptionModule], exports: [MonkeyInputPhoneComponent] });
4598
4586
  MonkeyInputPhoneModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyInputPhoneModule, imports: [[
4599
4587
  i1$1.CommonModule,
4600
- i4.FormsModule,
4601
- i4.ReactiveFormsModule,
4602
- i1$2.NgxMaskModule.forRoot(),
4588
+ i1$2.FormsModule,
4589
+ i1$2.ReactiveFormsModule,
4590
+ i1$3.NgxMaskModule.forRoot(),
4603
4591
  MonkeyIconModule,
4604
4592
  MonkeySelectModule,
4605
4593
  MonkeyOptionModule,
@@ -4610,9 +4598,9 @@
4610
4598
  declarations: [MonkeyInputPhoneComponent, PhoneNumberValidDirective],
4611
4599
  imports: [
4612
4600
  i1$1.CommonModule,
4613
- i4.FormsModule,
4614
- i4.ReactiveFormsModule,
4615
- i1$2.NgxMaskModule.forRoot(),
4601
+ i1$2.FormsModule,
4602
+ i1$2.ReactiveFormsModule,
4603
+ i1$3.NgxMaskModule.forRoot(),
4616
4604
  MonkeyIconModule,
4617
4605
  MonkeySelectModule,
4618
4606
  MonkeyOptionModule,
@@ -4673,11 +4661,11 @@
4673
4661
  MonkeyCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4674
4662
  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: [
4675
4663
  {
4676
- provide: i4.NG_VALUE_ACCESSOR,
4664
+ provide: i1$2.NG_VALUE_ACCESSOR,
4677
4665
  useExisting: i0.forwardRef(function () { return MonkeyCheckboxComponent; }),
4678
4666
  multi: true,
4679
4667
  },
4680
- ], 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 });
4668
+ ], 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 });
4681
4669
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxComponent, decorators: [{
4682
4670
  type: i0.Component,
4683
4671
  args: [{
@@ -4686,7 +4674,7 @@
4686
4674
  encapsulation: i0.ViewEncapsulation.None,
4687
4675
  providers: [
4688
4676
  {
4689
- provide: i4.NG_VALUE_ACCESSOR,
4677
+ provide: i1$2.NG_VALUE_ACCESSOR,
4690
4678
  useExisting: i0.forwardRef(function () { return MonkeyCheckboxComponent; }),
4691
4679
  multi: true,
4692
4680
  },
@@ -4716,13 +4704,13 @@
4716
4704
  return MonkeyCheckboxModule;
4717
4705
  }());
4718
4706
  MonkeyCheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4719
- 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] });
4720
- 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]] });
4707
+ 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] });
4708
+ 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]] });
4721
4709
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyCheckboxModule, decorators: [{
4722
4710
  type: i0.NgModule,
4723
4711
  args: [{
4724
4712
  declarations: [MonkeyCheckboxComponent],
4725
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule],
4713
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule],
4726
4714
  exports: [MonkeyCheckboxComponent],
4727
4715
  schemas: [i0.NO_ERRORS_SCHEMA],
4728
4716
  }]
@@ -4811,7 +4799,7 @@
4811
4799
  MonkeyRadioButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4812
4800
  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: [
4813
4801
  {
4814
- provide: i4.NG_VALUE_ACCESSOR,
4802
+ provide: i1$2.NG_VALUE_ACCESSOR,
4815
4803
  useExisting: i0.forwardRef(function () { return MonkeyRadioButtonComponent; }),
4816
4804
  multi: true,
4817
4805
  },
@@ -4824,7 +4812,7 @@
4824
4812
  encapsulation: i0.ViewEncapsulation.None,
4825
4813
  providers: [
4826
4814
  {
4827
- provide: i4.NG_VALUE_ACCESSOR,
4815
+ provide: i1$2.NG_VALUE_ACCESSOR,
4828
4816
  useExisting: i0.forwardRef(function () { return MonkeyRadioButtonComponent; }),
4829
4817
  multi: true,
4830
4818
  },
@@ -4858,12 +4846,12 @@
4858
4846
  }());
4859
4847
  MonkeyRadioButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4860
4848
  MonkeyRadioButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, declarations: [MonkeyRadioButtonComponent], imports: [i1$1.CommonModule,
4861
- i4.FormsModule,
4862
- i4.ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
4849
+ i1$2.FormsModule,
4850
+ i1$2.ReactiveFormsModule], exports: [MonkeyRadioButtonComponent] });
4863
4851
  MonkeyRadioButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, imports: [[
4864
4852
  i1$1.CommonModule,
4865
- i4.FormsModule,
4866
- i4.ReactiveFormsModule
4853
+ i1$2.FormsModule,
4854
+ i1$2.ReactiveFormsModule
4867
4855
  ]] });
4868
4856
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyRadioButtonModule, decorators: [{
4869
4857
  type: i0.NgModule,
@@ -4873,8 +4861,8 @@
4873
4861
  ],
4874
4862
  imports: [
4875
4863
  i1$1.CommonModule,
4876
- i4.FormsModule,
4877
- i4.ReactiveFormsModule
4864
+ i1$2.FormsModule,
4865
+ i1$2.ReactiveFormsModule
4878
4866
  ],
4879
4867
  exports: [
4880
4868
  MonkeyRadioButtonComponent
@@ -5078,7 +5066,7 @@
5078
5066
  MonkeyFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5079
5067
  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: [
5080
5068
  {
5081
- provide: i4.NG_VALUE_ACCESSOR,
5069
+ provide: i1$2.NG_VALUE_ACCESSOR,
5082
5070
  useExisting: i0.forwardRef(function () { return MonkeyFileUploadComponent; }),
5083
5071
  multi: true,
5084
5072
  },
@@ -5091,7 +5079,7 @@
5091
5079
  encapsulation: i0.ViewEncapsulation.None,
5092
5080
  providers: [
5093
5081
  {
5094
- provide: i4.NG_VALUE_ACCESSOR,
5082
+ provide: i1$2.NG_VALUE_ACCESSOR,
5095
5083
  useExisting: i0.forwardRef(function () { return MonkeyFileUploadComponent; }),
5096
5084
  multi: true,
5097
5085
  },
@@ -5143,13 +5131,13 @@
5143
5131
  }());
5144
5132
  MonkeyFileUploadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5145
5133
  MonkeyFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, declarations: [MonkeyFileUploadComponent], imports: [i1$1.CommonModule,
5146
- i4.FormsModule,
5147
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyIconModule], exports: [MonkeyFileUploadComponent] });
5134
+ i1$2.FormsModule,
5135
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyIconModule], exports: [MonkeyFileUploadComponent] });
5148
5136
  MonkeyFileUploadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, imports: [[
5149
5137
  i1$1.CommonModule,
5150
- i4.FormsModule,
5151
- i4.ReactiveFormsModule,
5152
- i1$2.NgxMaskModule.forRoot(),
5138
+ i1$2.FormsModule,
5139
+ i1$2.ReactiveFormsModule,
5140
+ i1$3.NgxMaskModule.forRoot(),
5153
5141
  MonkeyIconModule,
5154
5142
  ]] });
5155
5143
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyFileUploadModule, decorators: [{
@@ -5158,9 +5146,9 @@
5158
5146
  declarations: [MonkeyFileUploadComponent],
5159
5147
  imports: [
5160
5148
  i1$1.CommonModule,
5161
- i4.FormsModule,
5162
- i4.ReactiveFormsModule,
5163
- i1$2.NgxMaskModule.forRoot(),
5149
+ i1$2.FormsModule,
5150
+ i1$2.ReactiveFormsModule,
5151
+ i1$3.NgxMaskModule.forRoot(),
5164
5152
  MonkeyIconModule,
5165
5153
  ],
5166
5154
  exports: [MonkeyFileUploadComponent],
@@ -5407,7 +5395,7 @@
5407
5395
  };
5408
5396
  return MonkeyImageCropComponent;
5409
5397
  }());
5410
- 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 });
5398
+ 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 });
5411
5399
  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 });
5412
5400
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropComponent, decorators: [{
5413
5401
  type: i0.Component,
@@ -5416,7 +5404,7 @@
5416
5404
  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 ",
5417
5405
  encapsulation: i0.ViewEncapsulation.None,
5418
5406
  }]
5419
- }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$3.DomSanitizer }]; }, propDecorators: { label: [{
5407
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$4.DomSanitizer }]; }, propDecorators: { label: [{
5420
5408
  type: i0.Input
5421
5409
  }], cropTitle: [{
5422
5410
  type: i0.Input
@@ -5463,14 +5451,14 @@
5463
5451
  }());
5464
5452
  MonkeyImageCropModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5465
5453
  MonkeyImageCropModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, declarations: [MonkeyImageCropComponent], imports: [i1$1.CommonModule,
5466
- i4.FormsModule,
5467
- i4.ReactiveFormsModule, i1__namespace$2.NgxMaskModule, MonkeyButtonModule,
5454
+ i1$2.FormsModule,
5455
+ i1$2.ReactiveFormsModule, i1__namespace$3.NgxMaskModule, MonkeyButtonModule,
5468
5456
  MonkeyFileUploadModule], exports: [MonkeyImageCropComponent] });
5469
5457
  MonkeyImageCropModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyImageCropModule, imports: [[
5470
5458
  i1$1.CommonModule,
5471
- i4.FormsModule,
5472
- i4.ReactiveFormsModule,
5473
- i1$2.NgxMaskModule.forRoot(),
5459
+ i1$2.FormsModule,
5460
+ i1$2.ReactiveFormsModule,
5461
+ i1$3.NgxMaskModule.forRoot(),
5474
5462
  MonkeyButtonModule,
5475
5463
  MonkeyFileUploadModule,
5476
5464
  ]] });
@@ -5480,9 +5468,9 @@
5480
5468
  declarations: [MonkeyImageCropComponent],
5481
5469
  imports: [
5482
5470
  i1$1.CommonModule,
5483
- i4.FormsModule,
5484
- i4.ReactiveFormsModule,
5485
- i1$2.NgxMaskModule.forRoot(),
5471
+ i1$2.FormsModule,
5472
+ i1$2.ReactiveFormsModule,
5473
+ i1$3.NgxMaskModule.forRoot(),
5486
5474
  MonkeyButtonModule,
5487
5475
  MonkeyFileUploadModule,
5488
5476
  ],
@@ -5579,13 +5567,13 @@
5579
5567
  return MonkeyModalModule;
5580
5568
  }());
5581
5569
  MonkeyModalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5582
- 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] });
5583
- 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]] });
5570
+ 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] });
5571
+ 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]] });
5584
5572
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyModalModule, decorators: [{
5585
5573
  type: i0.NgModule,
5586
5574
  args: [{
5587
5575
  declarations: [MonkeyModalComponent],
5588
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyButtonModule],
5576
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyButtonModule],
5589
5577
  exports: [MonkeyModalComponent],
5590
5578
  schemas: [i0.NO_ERRORS_SCHEMA],
5591
5579
  }]
@@ -5803,7 +5791,7 @@
5803
5791
  MonkeyTableColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTableColumnComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
5804
5792
  MonkeyTableColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MonkeyTableColumnComponent, selector: "monkey-table-column", providers: [
5805
5793
  {
5806
- provide: i4.NG_VALUE_ACCESSOR,
5794
+ provide: i1$2.NG_VALUE_ACCESSOR,
5807
5795
  useExisting: i0.forwardRef(function () { return MonkeyTableColumnComponent; }),
5808
5796
  multi: true,
5809
5797
  },
@@ -5816,7 +5804,7 @@
5816
5804
  encapsulation: i0.ViewEncapsulation.None,
5817
5805
  providers: [
5818
5806
  {
5819
- provide: i4.NG_VALUE_ACCESSOR,
5807
+ provide: i1$2.NG_VALUE_ACCESSOR,
5820
5808
  useExisting: i0.forwardRef(function () { return MonkeyTableColumnComponent; }),
5821
5809
  multi: true,
5822
5810
  },
@@ -5962,7 +5950,7 @@
5962
5950
  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 });
5963
5951
  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: [
5964
5952
  {
5965
- provide: i4.NG_VALUE_ACCESSOR,
5953
+ provide: i1$2.NG_VALUE_ACCESSOR,
5966
5954
  useExisting: i0.forwardRef(function () { return MonkeyTabComponent; }),
5967
5955
  multi: true,
5968
5956
  },
@@ -5975,7 +5963,7 @@
5975
5963
  encapsulation: i0.ViewEncapsulation.None,
5976
5964
  providers: [
5977
5965
  {
5978
- provide: i4.NG_VALUE_ACCESSOR,
5966
+ provide: i1$2.NG_VALUE_ACCESSOR,
5979
5967
  useExisting: i0.forwardRef(function () { return MonkeyTabComponent; }),
5980
5968
  multi: true,
5981
5969
  },
@@ -5998,13 +5986,13 @@
5998
5986
  return MonkeyTabModule;
5999
5987
  }());
6000
5988
  MonkeyTabModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6001
- 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] });
6002
- 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]] });
5989
+ 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] });
5990
+ 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]] });
6003
5991
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MonkeyTabModule, decorators: [{
6004
5992
  type: i0.NgModule,
6005
5993
  args: [{
6006
5994
  declarations: [MonkeyTabComponent],
6007
- imports: [i1$1.CommonModule, i4.FormsModule, i4.ReactiveFormsModule, MonkeyOptionModule],
5995
+ imports: [i1$1.CommonModule, i1$2.FormsModule, i1$2.ReactiveFormsModule, MonkeyOptionModule],
6008
5996
  exports: [MonkeyTabComponent],
6009
5997
  schemas: [i0.NO_ERRORS_SCHEMA],
6010
5998
  }]