@eqproject/eqp-dynamic-module 2.6.53 → 2.6.55
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/private/form-records/add-form-record/add-form-record.component.mjs +26 -14
- package/esm2020/lib/components/private/trigger-creator/dynamic-module-trigger-fix/dynamic-module-trigger-fix.component.mjs +5 -4
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.mjs +36 -105
- package/esm2020/lib/models/logicOperator.model.mjs +5 -3
- package/esm2020/lib/models/trigger.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +92 -145
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +92 -145
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.d.ts +11 -27
- package/lib/models/logicOperator.model.d.ts +5 -3
- package/lib/models/trigger.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,50 +1,34 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Record } from '../../../../../models/record.model';
|
|
3
|
+
import { BooleanLogicOperatorType, TriggerCondition } from '../../../../../models/trigger.model';
|
|
4
|
+
import { ListPresentationEnum, ListValueField } from '../../../../../models/fields/listValueField.model';
|
|
3
5
|
import { LogicOperatorListValue } from '../../../../../models/logicOperator.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
5
|
-
import { ListValueField } from '../../../../../models/fields/listValueField.model';
|
|
6
|
-
import { BooleanLogicOperatorType } from '../../../../../models/trigger.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class ListValueTriggerTemplateComponent {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
validatorsArray: any[];
|
|
8
|
+
condition: TriggerCondition;
|
|
9
|
+
recordChange: EventEmitter<Record>;
|
|
10
|
+
triggerChange: EventEmitter<any>;
|
|
13
11
|
logicOperatorListValue: typeof LogicOperatorListValue;
|
|
14
|
-
|
|
15
|
-
activeCondition: boolean;
|
|
16
|
-
booleanLogicOperatorType: typeof BooleanLogicOperatorType;
|
|
17
|
-
selectedBooleanLogicOperator: BooleanLogicOperatorType;
|
|
12
|
+
selectedLogicOperatorListValue: LogicOperatorListValue;
|
|
18
13
|
FieldstyleObj: any;
|
|
19
14
|
LabelstyleObj: any;
|
|
15
|
+
booleanLogicOperatorType: typeof BooleanLogicOperatorType;
|
|
16
|
+
selectedBooleanLogicOperator: BooleanLogicOperatorType;
|
|
17
|
+
field: ListValueField;
|
|
18
|
+
ListPresentationEnum: typeof ListPresentationEnum;
|
|
20
19
|
arrayData: {
|
|
21
20
|
Key: string;
|
|
22
21
|
Value: any;
|
|
23
22
|
Selected?: boolean;
|
|
24
23
|
ImgUrl?: string;
|
|
25
24
|
}[];
|
|
26
|
-
constructor();
|
|
27
25
|
ngOnInit(): void;
|
|
28
26
|
initStyles(): void;
|
|
29
27
|
/**
|
|
30
28
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
31
29
|
*/
|
|
32
30
|
onTriggerChange(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Metodo che genera l'oggetto da inviare all'esterno
|
|
35
|
-
*/
|
|
36
|
-
generateCondition(mode: any): Statistic;
|
|
37
|
-
/**
|
|
38
|
-
* Metodo di aggiunta dei validator dell'input
|
|
39
|
-
*/
|
|
40
|
-
private configureControllers;
|
|
41
|
-
/**
|
|
42
|
-
* Metodo per creare un array di oggetti del tipo { Key: string, Value: any } da usare come sorgente dati per la eqp-select.
|
|
43
|
-
*/
|
|
44
31
|
private setArrayData;
|
|
45
|
-
prepareValuePairs(): void;
|
|
46
|
-
private createArrayDataElement;
|
|
47
|
-
private createNumberArrayDataElement;
|
|
48
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListValueTriggerTemplateComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListValueTriggerTemplateComponent, "list-value-trigger-template", never, { "
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListValueTriggerTemplateComponent, "list-value-trigger-template", never, { "condition": "condition"; }, { "recordChange": "recordChange"; "triggerChange": "triggerChange"; }, never, never, false, never>;
|
|
50
34
|
}
|
|
@@ -25,8 +25,8 @@ export declare enum LogicOperatorBoolean {
|
|
|
25
25
|
"No" = 10
|
|
26
26
|
}
|
|
27
27
|
export declare enum LogicOperatorListValue {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"CONTIENE ALMENO UNO" = 11,
|
|
29
|
+
"CONTIENE TUTTI" = 12
|
|
30
30
|
}
|
|
31
31
|
export declare enum LogicOperatorImageSelector {
|
|
32
32
|
"=" = 1,
|
|
@@ -42,5 +42,7 @@ export declare enum LogicOperator {
|
|
|
42
42
|
"<" = 7,
|
|
43
43
|
"<=" = 8,
|
|
44
44
|
"Si" = 9,
|
|
45
|
-
"No" = 10
|
|
45
|
+
"No" = 10,
|
|
46
|
+
"CONTIENE ALMENO UNO" = 11,
|
|
47
|
+
"CONTIENE TUTTI" = 12
|
|
46
48
|
}
|