@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.
- package/README.md +4 -0
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +7 -7
- package/esm2020/lib/components/private/action-button-creator/action-button-creator.component.mjs +29 -15
- package/esm2020/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +3 -3
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +39 -61
- package/esm2020/lib/components/private/trigger-creator/trigger-creator.component.mjs +71 -39
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +144 -119
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +143 -119
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/action-button-creator/action-button-creator.component.d.ts +9 -1
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +1 -0
- package/lib/components/private/trigger-creator/trigger-creator.component.d.ts +10 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|