@eqproject/eqp-dynamic-module 2.10.63 → 2.10.65
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/README.md +7 -0
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +4 -1
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +21 -4
- package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +5 -4
- package/esm2020/lib/models/fields/textField.model.mjs +6 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +31 -5
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +31 -5
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +4 -1
- package/lib/components/private/field-templates/text-field-template/text-field-template.component.d.ts +2 -1
- package/lib/models/fields/textField.model.d.ts +6 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { BaseField, ColSpanSizesEnum, DataGetterCardinalityEnum, FieldInvisibili
|
|
|
8
8
|
import { BoolPresentantioEnum } from "../../../models/fields/booleanField.model";
|
|
9
9
|
import { DateTimeTypeEnum } from "../../../models/fields/dateField.model";
|
|
10
10
|
import { ListPresentationEnum } from "../../../models/fields/listValueField.model";
|
|
11
|
-
import { TextMaskEnum } from "../../../models/fields/textField.model";
|
|
11
|
+
import { TextFieldIconPositionEnum, TextMaskEnum } from "../../../models/fields/textField.model";
|
|
12
12
|
import { FormFieldGroup, Form } from '../../../models/form.model';
|
|
13
13
|
import { UtilityHelperService } from "../../../services/utilityHelper.services";
|
|
14
14
|
import { AttachmentFieldTypeEnum, DynAttachment } from "../../../models/dynAttachment";
|
|
@@ -103,10 +103,12 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
103
103
|
DateTimeTypeEnum: typeof DateTimeTypeEnum;
|
|
104
104
|
ListPresentationEnum: typeof ListPresentationEnum;
|
|
105
105
|
TextMaskEnum: typeof TextMaskEnum;
|
|
106
|
+
TextFieldIconPositionEnum: typeof TextFieldIconPositionEnum;
|
|
106
107
|
AttachmentType: typeof AttachmentType;
|
|
107
108
|
attachmentFieldTypeEnum: typeof AttachmentFieldTypeEnum;
|
|
108
109
|
dataGetterTypeEnum: typeof DataGetterTypeEnum;
|
|
109
110
|
subscription: any;
|
|
111
|
+
showTextFieldIcon: boolean;
|
|
110
112
|
configColumnListImages: Array<ConfigColumn>;
|
|
111
113
|
configColumnImage: Array<ConfigColumn>;
|
|
112
114
|
GenericListImagesImageTemplate: TemplateRef<any>;
|
|
@@ -229,6 +231,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
229
231
|
openVisibleIfDialog(): void;
|
|
230
232
|
openReadOnlyIfDialog(): void;
|
|
231
233
|
openAnswerStyleVisibleIfDialog(): void;
|
|
234
|
+
onTextFieldIconToggle(enabled: boolean): void;
|
|
232
235
|
stringSanitizer(value: any): void;
|
|
233
236
|
/**
|
|
234
237
|
* Metodo per disabilitare il pulsante per salvare il campo inserito/modificato.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Record } from '../../../../models/record.model';
|
|
3
|
-
import { TextMaskEnum, TextField } from '../../../../models/fields/textField.model';
|
|
3
|
+
import { TextFieldIconPositionEnum, TextMaskEnum, TextField } from '../../../../models/fields/textField.model';
|
|
4
4
|
import { IBaseFieldComponent } from '../../../../interfaces/iBaseFieldComponent.interface';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -17,6 +17,7 @@ export declare class TextFieldTemplateComponent implements OnInit, OnChanges, IB
|
|
|
17
17
|
LabelstyleObj: any;
|
|
18
18
|
recordChange: EventEmitter<Record>;
|
|
19
19
|
InputMaskEnum: typeof TextMaskEnum;
|
|
20
|
+
TextFieldIconPositionEnum: typeof TextFieldIconPositionEnum;
|
|
20
21
|
platform: string;
|
|
21
22
|
constructor();
|
|
22
23
|
ngOnInit(): void;
|
|
@@ -5,6 +5,8 @@ export declare class TextField extends BaseField {
|
|
|
5
5
|
MaxLenght: number;
|
|
6
6
|
MinLenght: number;
|
|
7
7
|
Microphone: boolean;
|
|
8
|
+
IconName: string;
|
|
9
|
+
IconPosition: TextFieldIconPositionEnum;
|
|
8
10
|
}
|
|
9
11
|
export declare enum TextMaskEnum {
|
|
10
12
|
'Password' = 1,
|
|
@@ -12,5 +14,9 @@ export declare enum TextMaskEnum {
|
|
|
12
14
|
'Telefono' = 3,
|
|
13
15
|
'Url' = 4
|
|
14
16
|
}
|
|
17
|
+
export declare enum TextFieldIconPositionEnum {
|
|
18
|
+
'Sinistra' = 1,
|
|
19
|
+
'Destra' = 2
|
|
20
|
+
}
|
|
15
21
|
export declare const UrlRegex = "(https?://)?([\\da-z.-]+)\\.([a-z.]{2,6})[/\\w .-]*/?";
|
|
16
22
|
export declare const TelRegex = "([+]?[0-9]{10,14})";
|