@eqproject/eqp-dynamic-module 2.9.41 → 2.10.0
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-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.mjs +5 -3
- package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +16 -5
- package/esm2020/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.mjs +7 -3
- package/esm2020/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +4 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +32 -5
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.mjs +7 -3
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +7 -3
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.mjs +4 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +4 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +32 -5
- package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +4 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +7 -3
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.mjs +7 -3
- package/esm2020/lib/models/dynamicModuleFilterResultViewModeEnum.model.mjs +2 -1
- package/esm2020/lib/models/statistic.model.mjs +3 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +126 -28
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +126 -28
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.d.ts +9 -2
- package/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.d.ts +9 -2
- package/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.d.ts +2 -0
- package/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.d.ts +2 -0
- package/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.d.ts +2 -0
- package/lib/models/dynamicModuleFilterResultViewModeEnum.model.d.ts +2 -1
- package/lib/models/statistic.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { Record } from '../../../../models/record.model';
|
|
|
7
7
|
import { ListFormRecordComponent } from '../../form-records/list-form-record/list-form-record.component';
|
|
8
8
|
import { DynamicModuleFieldFixComponent } from '../../dynamic-module-field-fix/dynamic-module-field.component';
|
|
9
9
|
import { Statistic } from '../../../../models/statistic.model';
|
|
10
|
+
import { DynamicModuleFilterResultViewModeEnum } from '../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class DynamicModuleFilterFixComponent {
|
|
12
13
|
private dialog;
|
|
@@ -14,6 +15,7 @@ export declare class DynamicModuleFilterFixComponent {
|
|
|
14
15
|
form: Form;
|
|
15
16
|
record: Record;
|
|
16
17
|
Statistic: Statistic;
|
|
18
|
+
filterResultViewMode: DynamicModuleFilterResultViewModeEnum;
|
|
17
19
|
filterChange: EventEmitter<Statistic>;
|
|
18
20
|
configList: DynamicModuleListConfig;
|
|
19
21
|
FieldTypeEnum: typeof FieldTypeEnum;
|
|
@@ -39,5 +41,5 @@ export declare class DynamicModuleFilterFixComponent {
|
|
|
39
41
|
*/
|
|
40
42
|
getInnerFormFromField(field: BaseField): Form;
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFilterFixComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFilterFixComponent, "dynamic-module-filter-fix", never, { "field": "field"; "form": "form"; "record": "record"; "Statistic": "Statistic"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFilterFixComponent, "dynamic-module-filter-fix", never, { "field": "field"; "form": "form"; "record": "record"; "Statistic": "Statistic"; "filterResultViewMode": "filterResultViewMode"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
43
45
|
}
|
|
@@ -11,6 +11,8 @@ export declare class AttachmentFilterTemplateComponent {
|
|
|
11
11
|
logicOperatorText: typeof LogicOperatorText;
|
|
12
12
|
selectedLogicOperator: LogicOperatorText;
|
|
13
13
|
activeCondition: boolean;
|
|
14
|
+
isX: boolean;
|
|
15
|
+
isY: boolean;
|
|
14
16
|
onFilterChange(): void;
|
|
15
17
|
/**
|
|
16
18
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Record } from '../../../../../models/record.model';
|
|
3
3
|
import { DateField } from '../../../../../models/fields/dateField.model';
|
|
4
4
|
import { LogicOperatorDate } from '../../../../../models/logicOperator.model';
|
|
5
5
|
import { Statistic } from '../../../../../models/statistic.model';
|
|
6
6
|
import { ModeEnum, TimeTypeEnum } from 'tmw-picker';
|
|
7
|
+
import { DynamicModuleFilterResultViewModeEnum } from '../../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class DateFilterTemplateComponent {
|
|
9
10
|
field: DateField;
|
|
10
11
|
record: Record;
|
|
11
12
|
Statistic: Statistic;
|
|
13
|
+
filterResultViewMode: DynamicModuleFilterResultViewModeEnum;
|
|
12
14
|
filterChange: EventEmitter<any>;
|
|
13
15
|
logicOperatorNumeric: typeof LogicOperatorDate;
|
|
14
16
|
selectedLogicOperator: LogicOperatorDate;
|
|
@@ -19,8 +21,11 @@ export declare class DateFilterTemplateComponent {
|
|
|
19
21
|
outputFormat: string;
|
|
20
22
|
visible: boolean;
|
|
21
23
|
currentStatistic: Statistic;
|
|
24
|
+
isX: boolean;
|
|
25
|
+
isY: boolean;
|
|
22
26
|
constructor();
|
|
23
27
|
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
29
|
/**
|
|
25
30
|
* In base al formato della data richiesta nel DateField (solo data, solo orario o data e ora)
|
|
26
31
|
* imposta la visualizzazione corretta del componente eqp-datetimepicker.
|
|
@@ -30,11 +35,13 @@ export declare class DateFilterTemplateComponent {
|
|
|
30
35
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
31
36
|
*/
|
|
32
37
|
onFilterChange(): void;
|
|
38
|
+
createStatistic(): Statistic;
|
|
33
39
|
setOutputFormat(): void;
|
|
34
40
|
/**
|
|
35
41
|
* Gestione visibilità
|
|
36
42
|
*/
|
|
37
43
|
changeVisibility(): void;
|
|
44
|
+
becomeTheCoord(theCoord: string): void;
|
|
38
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterTemplateComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterTemplateComponent, "date-filter-template", never, { "field": "field"; "record": "record"; "Statistic": "Statistic"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterTemplateComponent, "date-filter-template", never, { "field": "field"; "record": "record"; "Statistic": "Statistic"; "filterResultViewMode": "filterResultViewMode"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
40
47
|
}
|
|
@@ -11,6 +11,8 @@ export declare class ImageFilterTemplateComponent {
|
|
|
11
11
|
logicOperatorText: typeof LogicOperatorText;
|
|
12
12
|
selectedLogicOperator: LogicOperatorText;
|
|
13
13
|
activeCondition: boolean;
|
|
14
|
+
isX: boolean;
|
|
15
|
+
isY: boolean;
|
|
14
16
|
onFilterChange(): void;
|
|
15
17
|
/**
|
|
16
18
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -10,6 +10,8 @@ export declare class ListFormRecordFilterTemplateComponent {
|
|
|
10
10
|
logicOperatorText: typeof LogicOperatorText;
|
|
11
11
|
selectedLogicOperator: LogicOperatorText;
|
|
12
12
|
activeCondition: boolean;
|
|
13
|
+
isX: boolean;
|
|
14
|
+
isY: boolean;
|
|
13
15
|
/**
|
|
14
16
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
15
17
|
*/
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NumericMaskConfig } from '@eqproject/eqp-numeric';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
4
|
import { NumericField } from '../../../../../models/fields/numericField.model';
|
|
5
5
|
import { LogicOperatorNumeric } from '../../../../../models/logicOperator.model';
|
|
6
6
|
import { Statistic } from '../../../../../models/statistic.model';
|
|
7
|
+
import { DynamicModuleFilterResultViewModeEnum } from '../../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class NumericFilterTemplateComponent implements OnInit {
|
|
9
10
|
field: NumericField;
|
|
10
11
|
record: Record;
|
|
11
12
|
Statistic: Statistic;
|
|
13
|
+
filterResultViewMode: DynamicModuleFilterResultViewModeEnum;
|
|
12
14
|
filterChange: EventEmitter<any>;
|
|
13
15
|
validatorsArray: any[];
|
|
14
16
|
eqpNumericOptions: Partial<NumericMaskConfig>;
|
|
@@ -19,13 +21,17 @@ export declare class NumericFilterTemplateComponent implements OnInit {
|
|
|
19
21
|
currentStatistic: Statistic;
|
|
20
22
|
FieldstyleObj: any;
|
|
21
23
|
LabelstyleObj: any;
|
|
24
|
+
isX: boolean;
|
|
25
|
+
isY: boolean;
|
|
22
26
|
constructor();
|
|
23
27
|
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
29
|
initStyles(): void;
|
|
25
30
|
/**
|
|
26
31
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
27
32
|
*/
|
|
28
33
|
onFilterChange(): void;
|
|
34
|
+
createStatistic(): Statistic;
|
|
29
35
|
/**
|
|
30
36
|
* Metodo per configurare eqp-numeric
|
|
31
37
|
*/
|
|
@@ -38,6 +44,7 @@ export declare class NumericFilterTemplateComponent implements OnInit {
|
|
|
38
44
|
* Gestione visibilità
|
|
39
45
|
*/
|
|
40
46
|
changeVisibility(): void;
|
|
47
|
+
becomeTheCoord(theCoord: string): void;
|
|
41
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterTemplateComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterTemplateComponent, "numeric-filter-template", never, { "field": "field"; "record": "record"; "Statistic": "Statistic"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterTemplateComponent, "numeric-filter-template", never, { "field": "field"; "record": "record"; "Statistic": "Statistic"; "filterResultViewMode": "filterResultViewMode"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
43
50
|
}
|
|
@@ -14,6 +14,8 @@ export declare class ListFormRecordTriggerTemplateComponent {
|
|
|
14
14
|
activeCondition: boolean;
|
|
15
15
|
booleanLogicOperatorType: typeof BooleanLogicOperatorType;
|
|
16
16
|
selectedBooleanLogicOperator: BooleanLogicOperatorType;
|
|
17
|
+
isX: boolean;
|
|
18
|
+
isY: boolean;
|
|
17
19
|
onTriggerChange(): void;
|
|
18
20
|
/**
|
|
19
21
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -6,6 +6,8 @@ export declare class Statistic {
|
|
|
6
6
|
value: string;
|
|
7
7
|
logicoperator: LogicOperatorBoolean | LogicOperatorListValue | LogicOperatorNumeric | LogicOperatorText | LogicOperatorDate | LogicOperatorImageSelector;
|
|
8
8
|
visible: boolean;
|
|
9
|
+
isX: boolean;
|
|
10
|
+
isY: boolean;
|
|
9
11
|
}
|
|
10
12
|
export declare class FilterStatistic {
|
|
11
13
|
Statistics: Array<Statistic>;
|