@eqproject/eqp-dynamic-module 2.10.53 → 2.10.54
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/private/add-form-field/add-form-field.component.mjs +4 -1
- package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +2 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +2 -2
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.mjs +2 -2
- package/esm2020/lib/services/utilityHelper.services.mjs +2 -2
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +7 -4
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +7 -4
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1184,7 +1184,7 @@ class UtilityHelperService {
|
|
|
1184
1184
|
if (field.MinLenght) {
|
|
1185
1185
|
validators.push(Validators.minLength(field.MinLenght));
|
|
1186
1186
|
}
|
|
1187
|
-
switch (field.TextMask) {
|
|
1187
|
+
switch (Number(field.TextMask)) {
|
|
1188
1188
|
case TextMaskEnum.Url:
|
|
1189
1189
|
validators.push(Validators.pattern(UrlRegex));
|
|
1190
1190
|
break;
|
|
@@ -3278,7 +3278,7 @@ class TextFieldTemplateComponent {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
}
|
|
3280
3280
|
getInputType() {
|
|
3281
|
-
switch (this.field.TextMask) {
|
|
3281
|
+
switch (Number(this.field.TextMask)) {
|
|
3282
3282
|
case TextMaskEnum.Email:
|
|
3283
3283
|
return 'email';
|
|
3284
3284
|
case TextMaskEnum.Password:
|
|
@@ -9034,7 +9034,7 @@ class TextFilterTemplateComponent {
|
|
|
9034
9034
|
this.LabelstyleObj = UtilityHelperService.initStyles(this.field.LabelstyleCSS);
|
|
9035
9035
|
}
|
|
9036
9036
|
getInputType() {
|
|
9037
|
-
switch (this.field.TextMask) {
|
|
9037
|
+
switch (Number(this.field.TextMask)) {
|
|
9038
9038
|
case TextMaskEnum.Email:
|
|
9039
9039
|
return 'email';
|
|
9040
9040
|
case TextMaskEnum.Password:
|
|
@@ -12510,6 +12510,9 @@ class AddFormFieldComponent {
|
|
|
12510
12510
|
//#region CAMPO DI TESTO
|
|
12511
12511
|
case FieldTypeEnum["Campo di testo"]:
|
|
12512
12512
|
this.setAggregation(NotNumberAggregationFunctionEnum, restoreField);
|
|
12513
|
+
if (this.field.TextMask != null) {
|
|
12514
|
+
this.field.TextMask = Number(this.field.TextMask);
|
|
12515
|
+
}
|
|
12513
12516
|
if (this.field.Microphone == null) {
|
|
12514
12517
|
this.field.Microphone = false;
|
|
12515
12518
|
}
|
|
@@ -13584,7 +13587,7 @@ class TextTriggerTemplateComponent {
|
|
|
13584
13587
|
this.LabelstyleObj = UtilityHelperService.initStyles(this.field.LabelstyleCSS);
|
|
13585
13588
|
}
|
|
13586
13589
|
getInputType() {
|
|
13587
|
-
switch (this.field.TextMask) {
|
|
13590
|
+
switch (Number(this.field.TextMask)) {
|
|
13588
13591
|
case TextMaskEnum.Email:
|
|
13589
13592
|
return 'email';
|
|
13590
13593
|
case TextMaskEnum.Password:
|