@eqproject/eqp-dynamic-module 2.10.101 → 2.10.103

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.
@@ -29,6 +29,7 @@ export declare class ActionButtonCreatorComponent {
29
29
  dialogFormulaRef: MatDialogRef<TemplateRef<any>>;
30
30
  dialogFormula: TemplateRef<any>;
31
31
  forms: Array<Form>;
32
+ private modulesLoaded;
32
33
  constructor(dialog: MatDialog, utilityHelperService: UtilityHelperService);
33
34
  ngOnInit(): void;
34
35
  openFormulaDialog(formulaField: any): void;
@@ -41,7 +42,14 @@ export declare class ActionButtonCreatorComponent {
41
42
  saveOrExitForm(exit: boolean): void;
42
43
  generateGUID(): string;
43
44
  changeSomething(): void;
44
- getAllModules(): void;
45
+ /**
46
+ * Chiama l'endpoint "tutti i form" solo se il tipo di action button attualmente selezionato
47
+ * ha almeno un campo DMMODULE, e solo la prima volta per apertura di modale: le chiamate
48
+ * successive (anche cambiando Tipo Action Button più volte) riusano "this.forms" già scaricato.
49
+ */
50
+ private ensureModulesLoaded;
51
+ private getAllModules;
52
+ private applyModulesToStructure;
45
53
  onChangeFormula(formula: any): void;
46
54
  isAnActionKey(key: any, field: ActionButton, formulas: Array<any>): boolean;
47
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonCreatorComponent, never>;
@@ -114,6 +114,7 @@ export declare class AddFormRecordComponent implements OnInit {
114
114
  private resizeBase64Image;
115
115
  setDataGetter(form: any): void;
116
116
  checkTriggers(record: Record): void;
117
+ private evaluateTriggerCondition;
117
118
  logTrigger(trigger: any, condition: any, record: any): void;
118
119
  onFireTrigger(ev: FireTrigger): void;
119
120
  generateAction(actionButton: ActionButton): void;
@@ -23,19 +23,28 @@ export declare class TriggerCreatorComponent {
23
23
  dialogFormulaRef: MatDialogRef<TemplateRef<any>>;
24
24
  dialogFormula: TemplateRef<any>;
25
25
  forms: Array<Form>;
26
+ private modulesLoaded;
26
27
  constructor(dialog: MatDialog, utilityHelperService: UtilityHelperService);
27
28
  ngOnInit(): void;
28
29
  onTriggerChange(outputCondition: Condition, TriggerCondition: TriggerCondition): void;
29
30
  addCondition(): void;
30
31
  deleteCondition(element: TriggerCondition): void;
31
32
  onFieldTypeChange(ev: BaseField, condition: TriggerCondition): void;
33
+ isValid(): boolean;
32
34
  saveOrExitForm(exit: boolean): void;
33
35
  onChangeFormula(formula: any): void;
34
36
  onFormulaFieldChange(formulaField: any): void;
35
37
  /** azioni sulla selezione nel caso di DROPDOWN_LIST*/
36
38
  onDropDownSelection(selectedAllowedValue: any, formulaField: any): void;
37
39
  openFormulaDialog(formulaField: any): void;
38
- getAllModules(): void;
40
+ /**
41
+ * Chiama l'endpoint "tutti i form" solo se il tipo di trigger attualmente selezionato
42
+ * ha almeno un campo DMMODULE, e solo la prima volta per apertura di modale: le chiamate
43
+ * successive (anche cambiando Tipo Trigger più volte) riusano "this.forms" già scaricato.
44
+ */
45
+ private ensureModulesLoaded;
46
+ private getAllModules;
47
+ private applyModulesToStructure;
39
48
  onEqpSelectModule(ev: any, formulaField: any): void;
40
49
  /**
41
50
  * adatta la compatibilità di proprietà di tipo dropdown dichiarate nel configurator ma create in precedenza come string
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.10.101",
7
+ "version": "2.10.103",
8
8
  "peerDependencies": {
9
9
  "@angular/cdk": "^15.1.2",
10
10
  "@angular/common": "^15.1.2",