@eqproject/eqp-dynamic-module 2.9.12 → 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 +54 -13
- package/esm2020/lib/components/private/dynamic-module-field-extra-fix/dynamic-module-field-extra-fix.component.mjs +5 -3
- 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 +128 -30
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +124 -30
- 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 +2 -0
- package/lib/components/private/dynamic-module-field-extra-fix/dynamic-module-field-extra-fix.component.d.ts +3 -2
- 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,8 @@ 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;
|
|
237
|
+
setCodeToExtraFields(): void;
|
|
236
238
|
/**
|
|
237
239
|
* Metodo per ripristinare l'oggetto field al cambio del tipo selezionato.
|
|
238
240
|
* Lascia valorizzate solo le proprietà dell'oggetto BaseField comune a tutti i tipi di campo.
|
|
@@ -2,13 +2,14 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { FieldExtraConfig, FieldExtraValues } from '../../../models/fieldExtraConfig.model';
|
|
3
3
|
import { Form } from '../../../models/form.model';
|
|
4
4
|
import { EndPointConfiguration } from '../../../models/endPointConfiguration.model';
|
|
5
|
-
import { FieldTypeEnum } from '../../../models/baseField.model';
|
|
5
|
+
import { BaseField, FieldTypeEnum } from '../../../models/baseField.model';
|
|
6
6
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class DynamicModuleFieldExtraFixComponent {
|
|
9
9
|
private formBuilder;
|
|
10
10
|
fieldExtraConfig: FieldExtraConfig;
|
|
11
11
|
form: Form;
|
|
12
|
+
field: BaseField;
|
|
12
13
|
endPointConfiguration: EndPointConfiguration;
|
|
13
14
|
configValueChange: EventEmitter<FieldExtraValues>;
|
|
14
15
|
FieldTypeEnum: typeof FieldTypeEnum;
|
|
@@ -19,5 +20,5 @@ export declare class DynamicModuleFieldExtraFixComponent {
|
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
configureForm(): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFieldExtraFixComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFieldExtraFixComponent, "dynamic-module-field-extra-fix", never, { "fieldExtraConfig": "fieldExtraConfig"; "form": "form"; "endPointConfiguration": "endPointConfiguration"; }, { "configValueChange": "configValueChange"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFieldExtraFixComponent, "dynamic-module-field-extra-fix", never, { "fieldExtraConfig": "fieldExtraConfig"; "form": "form"; "field": "field"; "endPointConfiguration": "endPointConfiguration"; }, { "configValueChange": "configValueChange"; }, never, never, false, never>;
|
|
23
24
|
}
|
|
@@ -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;
|