@eqproject/eqp-dynamic-module 2.9.13 → 2.9.14
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 +2 -2
- package/esm2020/lib/components/private/action-button-creator/action-button-creator.component.mjs +36 -9
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +38 -20
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +4 -2
- package/esm2020/lib/components/private/field-templates/action-button-field-template/action-button-field-template.component.mjs +27 -6
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +4 -2
- package/esm2020/lib/models/fields/actionButton.model.mjs +1 -1
- package/esm2020/lib/models/trigger.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +108 -35
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +104 -35
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/action-button-creator/action-button-creator.component.d.ts +2 -0
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +1 -0
- package/lib/components/private/field-templates/action-button-field-template/action-button-field-template.component.d.ts +1 -1
- package/lib/models/fields/actionButton.model.d.ts +2 -1
- package/lib/models/trigger.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -34,9 +34,11 @@ export declare class ActionButtonCreatorComponent {
|
|
|
34
34
|
onFormulaFieldChange(formulaField: any): void;
|
|
35
35
|
onEqpSelectModule(ev: any, formulaField: any): void;
|
|
36
36
|
saveOrExitForm(exit: boolean): void;
|
|
37
|
+
generateGUID(): string;
|
|
37
38
|
changeSomething(): void;
|
|
38
39
|
getAllModules(): void;
|
|
39
40
|
onChangeFormula(formula: any): void;
|
|
41
|
+
isAnActionKey(key: any, field: ActionButton, formulas: Array<any>): boolean;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonCreatorComponent, never>;
|
|
41
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonCreatorComponent, "action-button-creator", never, { "form": "form"; "actionButton": "actionButton"; "actionButtonField": "actionButtonField"; "formulas": "formulas"; "endPointConfiguration": "endPointConfiguration"; "InField": "InField"; }, { "onSaveRecord": "onSaveRecord"; "onChangeSomething": "onChangeSomething"; }, never, never, false, never>;
|
|
42
44
|
}
|
|
@@ -233,6 +233,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
233
233
|
* che mostra l'elenco dei campi aggiunti alla form.
|
|
234
234
|
*/
|
|
235
235
|
saveAndExitAddField(save: boolean): void;
|
|
236
|
+
isAnActionKey(key: any, field: ActionButtonField, formulas: Array<any>): boolean;
|
|
236
237
|
setCodeToExtraFields(): void;
|
|
237
238
|
/**
|
|
238
239
|
* Metodo per ripristinare l'oggetto field al cambio del tipo selezionato.
|
|
@@ -13,7 +13,7 @@ export declare class ActionButtonFieldTemplateComponent {
|
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
initStyles(): void;
|
|
15
15
|
generateAction(actionButton: ActionButtonField): void;
|
|
16
|
-
|
|
16
|
+
evaluateFormulasAndFireTrigger(triggerToFire: FireTrigger): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonFieldTemplateComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonFieldTemplateComponent, "action-button-field-template", never, { "field": "field"; "record": "record"; "inConfig": "inConfig"; }, { "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BaseField } from "../baseField.model";
|
|
2
2
|
export declare class ActionButtonField extends BaseField {
|
|
3
|
+
ButtonUniqueId: string;
|
|
3
4
|
ButtonCode: string;
|
|
4
5
|
Icon: string;
|
|
5
6
|
ButtonLabel: string;
|
|
6
7
|
execution: string;
|
|
7
|
-
formulas: KeyTypeValue
|
|
8
|
+
formulas: Array<KeyTypeValue>;
|
|
8
9
|
formulasTemp?: any;
|
|
9
10
|
userPatient: string;
|
|
10
11
|
userMedicalExamination: number;
|