@eqproject/eqp-dynamic-module 2.2.11 → 2.2.12

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.
@@ -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 } from "../../../models/baseField.model";
8
+ import { BaseField, ColSpanSizesEnum, FieldTypeEnum, WhereToShowValuesEnum } 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,6 +71,7 @@ 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;
74
75
  subscription: any;
75
76
  constructor(formBuilder: UntypedFormBuilder, enumHelper: EnumHelper, dialog: MatDialog, cdr: ChangeDetectorRef);
76
77
  ngOnInit(): void;
@@ -130,6 +131,7 @@ export declare class AddFormFieldComponent implements OnInit {
130
131
  * tutti gli altri valori per la grandezza di schermo selezionata.
131
132
  */
132
133
  onColSpanSizeSelect(): void;
134
+ BuildWhereToShowValues(value: WhereToShowValuesEnum): void;
133
135
  /**
134
136
  * Metodo invocato al cambio del tipo di visualizzazione scelta per i campi di tipo elenco generico.
135
137
  * Se viene scelta la visualizzazione ad immagini svuota la lista delle coppie chiave-valore inserite
@@ -203,6 +205,18 @@ export declare class AddFormFieldComponent implements OnInit {
203
205
  * Lascia valorizzate solo le proprietà dell'oggetto BaseField comune a tutti i tipi di campo.
204
206
  */
205
207
  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;
206
220
  static ɵfac: i0.ɵɵFactoryDeclaration<AddFormFieldComponent, never>;
207
221
  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>;
208
222
  }
@@ -18,6 +18,7 @@ export declare class BaseField extends BaseObj {
18
18
  OrdinalPosition: number;
19
19
  Disabled: boolean;
20
20
  Readonly: boolean;
21
+ WhereToShowValues: WhereToShowValuesEnum;
21
22
  VisibleIf: string;
22
23
  FieldstyleCSS: string;
23
24
  LabelstyleCSS: string;
@@ -34,6 +35,11 @@ export declare class BaseField extends BaseObj {
34
35
  FieldValue: any;
35
36
  FormFormGroup: UntypedFormGroup;
36
37
  }
38
+ export declare enum WhereToShowValuesEnum {
39
+ QUESTIONARIO = 2,
40
+ RISPOSTA = 4,
41
+ REPORT = 8
42
+ }
37
43
  export declare enum FieldTypeEnum {
38
44
  'Campo di testo' = 1,
39
45
  'Area di testo' = 2,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.2.11",
7
+ "version": "2.2.12",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^15.1.2",
10
10
  "@angular/core": "^15.1.2",