@eqproject/eqp-dynamic-module 2.2.12 → 2.2.13
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/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +33 -11
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +14 -99
- package/esm2020/lib/components/private/add-formula-field/add-formula-field.component.mjs +2 -2
- package/esm2020/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.mjs +3 -3
- package/esm2020/lib/eqp-dynamic-module.module.mjs +1 -1
- package/esm2020/lib/interfaces/iRootObject.interface.mjs +1 -1
- package/esm2020/lib/models/baseField.model.mjs +1 -12
- package/esm2020/lib/models/entity.model.mjs +1 -1
- package/esm2020/lib/models/form.model.mjs +1 -1
- package/esm2020/lib/services/utilityHelper.services.mjs +2 -2
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +35 -111
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +35 -111
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +3 -1
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +1 -15
- package/lib/interfaces/iRootObject.interface.d.ts +1 -0
- package/lib/models/baseField.model.d.ts +0 -6
- package/lib/models/entity.model.d.ts +1 -0
- package/lib/models/form.model.d.ts +1 -0
- package/lib/services/utilityHelper.services.d.ts +1 -1
- package/package.json +1 -1
|
@@ -98,7 +98,9 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
98
98
|
* non viene eseguita nessuna chiamata http per recuperare/salvare i dati.
|
|
99
99
|
*/
|
|
100
100
|
configureDefaultEndPoints(): void;
|
|
101
|
-
stringSanitizer(value: any):
|
|
101
|
+
stringSanitizer(value: any): boolean;
|
|
102
|
+
setName(Name: string): void;
|
|
103
|
+
setCode(Code: string): void;
|
|
102
104
|
omit_special_char(event: any): boolean;
|
|
103
105
|
onImport(event: any): void;
|
|
104
106
|
importModule(): void;
|
|
@@ -5,7 +5,7 @@ import { AttachmentType, EqpAttachmentsComponent, IAttachmentDTO } from "@eqproj
|
|
|
5
5
|
import { PickerModeEnum } from "@eqproject/eqp-datetimepicker";
|
|
6
6
|
import { EnumHelper } from "@eqproject/eqp-select";
|
|
7
7
|
import { ConfigColumn } from "@eqproject/eqp-table";
|
|
8
|
-
import { BaseField, ColSpanSizesEnum, FieldTypeEnum
|
|
8
|
+
import { BaseField, ColSpanSizesEnum, FieldTypeEnum } from "../../../models/baseField.model";
|
|
9
9
|
import { BoolPresentantioEnum } from "../../../models/fields/booleanField.model";
|
|
10
10
|
import { DateTimeTypeEnum } from "../../../models/fields/dateField.model";
|
|
11
11
|
import { ListPresentationEnum } from "../../../models/fields/listValueField.model";
|
|
@@ -71,7 +71,6 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
71
71
|
TextMaskEnum: typeof TextMaskEnum;
|
|
72
72
|
AttachmentType: typeof AttachmentType;
|
|
73
73
|
pickerModeEnum: typeof PickerModeEnum;
|
|
74
|
-
WhereToShowValuesEnum: typeof WhereToShowValuesEnum;
|
|
75
74
|
subscription: any;
|
|
76
75
|
constructor(formBuilder: UntypedFormBuilder, enumHelper: EnumHelper, dialog: MatDialog, cdr: ChangeDetectorRef);
|
|
77
76
|
ngOnInit(): void;
|
|
@@ -131,7 +130,6 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
131
130
|
* tutti gli altri valori per la grandezza di schermo selezionata.
|
|
132
131
|
*/
|
|
133
132
|
onColSpanSizeSelect(): void;
|
|
134
|
-
BuildWhereToShowValues(value: WhereToShowValuesEnum): void;
|
|
135
133
|
/**
|
|
136
134
|
* Metodo invocato al cambio del tipo di visualizzazione scelta per i campi di tipo elenco generico.
|
|
137
135
|
* Se viene scelta la visualizzazione ad immagini svuota la lista delle coppie chiave-valore inserite
|
|
@@ -205,18 +203,6 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
205
203
|
* Lascia valorizzate solo le proprietà dell'oggetto BaseField comune a tutti i tipi di campo.
|
|
206
204
|
*/
|
|
207
205
|
private restoreBaseFieldProperties;
|
|
208
|
-
/**
|
|
209
|
-
* Metodo per eliminare un metadata aggiunto per un campo di tipo Allegato o Immagine.
|
|
210
|
-
* @param metadata Metadata da eliminare.
|
|
211
|
-
*/
|
|
212
|
-
/**
|
|
213
|
-
* Imposta l'ordinamento dei metadata all'interno dei campi di tipo Allegato e Immagine.
|
|
214
|
-
*/
|
|
215
|
-
/**
|
|
216
|
-
* Metodo per ricaricare i dati della tabella dei metadata visualizzata nella creazione/modifica
|
|
217
|
-
* dei campi di tipo Allegato o Immagine.
|
|
218
|
-
*/
|
|
219
|
-
hasFlag(enumFlag: any, comparElement: any): number;
|
|
220
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFormFieldComponent, never>;
|
|
221
207
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormFieldComponent, "eqp-dynamic-module-add-form-field", never, { "debugMode": "debugMode"; "field": "field"; "indexField": "indexField"; "formFieldsGroups": "formFieldsGroups"; "availableFields": "availableFields"; "fieldTypesToExclude": "fieldTypesToExclude"; }, { "saveFieldEvent": "saveFieldEvent"; }, never, never, false, never>;
|
|
222
208
|
}
|
|
@@ -18,7 +18,6 @@ export declare class BaseField extends BaseObj {
|
|
|
18
18
|
OrdinalPosition: number;
|
|
19
19
|
Disabled: boolean;
|
|
20
20
|
Readonly: boolean;
|
|
21
|
-
WhereToShowValues: WhereToShowValuesEnum;
|
|
22
21
|
VisibleIf: string;
|
|
23
22
|
FieldstyleCSS: string;
|
|
24
23
|
LabelstyleCSS: string;
|
|
@@ -35,11 +34,6 @@ export declare class BaseField extends BaseObj {
|
|
|
35
34
|
FieldValue: any;
|
|
36
35
|
FormFormGroup: UntypedFormGroup;
|
|
37
36
|
}
|
|
38
|
-
export declare enum WhereToShowValuesEnum {
|
|
39
|
-
QUESTIONARIO = 2,
|
|
40
|
-
RISPOSTA = 4,
|
|
41
|
-
REPORT = 8
|
|
42
|
-
}
|
|
43
37
|
export declare enum FieldTypeEnum {
|
|
44
38
|
'Campo di testo' = 1,
|
|
45
39
|
'Area di testo' = 2,
|
|
@@ -6,6 +6,7 @@ import { BaseField } from "./baseField.model";
|
|
|
6
6
|
* Si tratta dell'oggetto che viene rappresentato a video e con cui l'utente interagisce.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Form extends BaseObj implements IRootObject {
|
|
9
|
+
Code: string;
|
|
9
10
|
Name: string;
|
|
10
11
|
Description: string;
|
|
11
12
|
Version: number;
|
|
@@ -71,7 +71,7 @@ export declare class UtilityHelperService {
|
|
|
71
71
|
* @param expression prende una stringa in input e verifica che ogni parentesi aperta venga anche chiusa
|
|
72
72
|
* @returns true se le parentesi sono pari e ogni parentesi chiude se stessa, false se mancano parentesi o non vengono chiuse
|
|
73
73
|
*/
|
|
74
|
-
static
|
|
74
|
+
static stringCheckParentesis(expression: any, required?: boolean): boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Metodo che data la configurazione di un endpoint costruisce l'url da chiamare, gli eventuali parametri
|
|
77
77
|
* da passare (nel body o nella rotta) ed effettua la chiamata. Al termine della chiamata esegue le eventuali
|