monkey-front-components 0.0.458 → 0.0.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/base/base-component.mjs +5 -2
- package/fesm2015/monkey-front-components.mjs +4 -1
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +4 -1
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/lib/components/base/base-component.d.ts +1 -0
- package/monkey-front-components-0.0.459.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-components-0.0.458.tgz +0 -0
|
@@ -5,7 +5,7 @@ import { takeUntil, debounceTime, filter } from 'rxjs/operators';
|
|
|
5
5
|
import * as i1$2 from 'monkey-style-guide';
|
|
6
6
|
import { MonkeyUtils, MonkeyInputModule, MonkeySelectModule, MonkeyRadioButtonModule, MonkeyOptionModule, MonkeyFileUploadModule, MonkeyButtonModule, MonkeyInputPhoneModule, MonkeyBadgeModule, MonkeyCheckboxModule, MonkeyDateRangePickerModule, MonkeyIconModule } from 'monkey-style-guide';
|
|
7
7
|
import * as i1$4 from 'monkey-front-core';
|
|
8
|
-
import { MonkeyEcxCommonsService, ValidateUtils, Validators,
|
|
8
|
+
import { MonkeyEcxCommonsService, MonkeyEcxUtils, ValidateUtils, Validators, MonkeyEcxDirectivesModule, MonkeyEcxPipesModule } from 'monkey-front-core';
|
|
9
9
|
import * as i1 from '@angular/forms';
|
|
10
10
|
import { Validators as Validators$1, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
11
|
import * as i3 from '@angular/common';
|
|
@@ -294,6 +294,9 @@ class BaseComponent {
|
|
|
294
294
|
cl: 'CLP #,###,##0'
|
|
295
295
|
}[country];
|
|
296
296
|
}
|
|
297
|
+
getCountryMask(type, country) {
|
|
298
|
+
return MonkeyEcxUtils.getDocumentMask(type, country);
|
|
299
|
+
}
|
|
297
300
|
getCountryValidators(country) {
|
|
298
301
|
return {
|
|
299
302
|
br: {
|