@eqproject/eqp-dynamic-module 2.10.6 → 2.10.8
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 +8 -3
- package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +3 -3
- package/esm2020/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.mjs +3 -2
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +8 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +7 -4
- package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +9 -6
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.mjs +7 -4
- package/esm2020/lib/models/statistic.model.mjs +17 -1
- package/esm2020/lib/services/eqp-dynamic-module-dialog.service.mjs +25 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +106 -34
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +106 -34
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +2 -1
- package/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.d.ts +3 -1
- 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 +3 -1
- package/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.d.ts +3 -1
- package/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.d.ts +3 -1
- package/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.d.ts +3 -1
- package/lib/models/statistic.model.d.ts +14 -0
- package/lib/services/eqp-dynamic-module-dialog.service.d.ts +6 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { ConfigColumn, EqpTableComponent } from "@eqproject/eqp-table";
|
|
|
5
5
|
import { BaseField } from '../../../models/baseField.model';
|
|
6
6
|
import { Context } from "../../../models/context.model";
|
|
7
7
|
import { EndPointConfiguration } from "../../../models/endPointConfiguration.model";
|
|
8
|
-
import { ActionOnRecord, Form, FormScalarTypeEnum, FormTypeEnum } from "../../../models/form.model";
|
|
8
|
+
import { ActionOnRecord, Form, FormFieldGroup, FormScalarTypeEnum, FormTypeEnum } from "../../../models/form.model";
|
|
9
9
|
import { UtilityHelperService } from "../../../services/utilityHelper.services";
|
|
10
10
|
import { DynamicModuleCompileConfig } from "../../../models/dynamicModuleCompileConfig.model";
|
|
11
11
|
import { DynamicModuleConfiguratorConfig } from "../../../models/dynamicModuleConfiguratorConfig.model";
|
|
@@ -169,6 +169,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
169
169
|
* @param groupName Nome della sezione da eliminare.
|
|
170
170
|
*/
|
|
171
171
|
onDeleteFormFieldGroupName(groupName: string): void;
|
|
172
|
+
onEditFormFieldGroupName(formFieldGroup: FormFieldGroup): void;
|
|
172
173
|
/**
|
|
173
174
|
* Metodo chiamato quando si vuole aggiungere un nuovo campo o si vuole modificare uno esistente.
|
|
174
175
|
* Memorizza l'eventuale Field scelto one crea uno nuovo prima di aprire il dialog per modificarlo/aggiungerlo.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
5
5
|
import { TextField } from '../../../../../models/fields/textField.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AttachmentFilterTemplateComponent {
|
|
@@ -13,6 +13,8 @@ export declare class AttachmentFilterTemplateComponent {
|
|
|
13
13
|
activeCondition: boolean;
|
|
14
14
|
isX: boolean;
|
|
15
15
|
isY: boolean;
|
|
16
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
17
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
16
18
|
onFilterChange(): void;
|
|
17
19
|
/**
|
|
18
20
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Record } from '../../../../../models/record.model';
|
|
3
3
|
import { LogicOperatorBoolean } from '../../../../../models/logicOperator.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
5
5
|
import { BooleanField } from '../../../../../models/fields/booleanField.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BooleanFilterTemplateComponent {
|
|
@@ -19,6 +19,8 @@ export declare class BooleanFilterTemplateComponent {
|
|
|
19
19
|
LabelstyleObj: any;
|
|
20
20
|
isX: boolean;
|
|
21
21
|
isY: boolean;
|
|
22
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
23
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
22
24
|
constructor();
|
|
23
25
|
ngOnInit(): void;
|
|
24
26
|
initStyles(): void;
|
|
@@ -2,7 +2,7 @@ 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
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
5
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
6
6
|
import { ModeEnum, TimeTypeEnum } from 'tmw-picker';
|
|
7
7
|
import { DynamicModuleFilterResultViewModeEnum } from '../../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -23,6 +23,8 @@ export declare class DateFilterTemplateComponent {
|
|
|
23
23
|
currentStatistic: Statistic;
|
|
24
24
|
isX: boolean;
|
|
25
25
|
isY: boolean;
|
|
26
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
27
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
26
28
|
constructor();
|
|
27
29
|
ngOnInit(): void;
|
|
28
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
5
5
|
import { TextField } from '../../../../../models/fields/textField.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ImageFilterTemplateComponent {
|
|
@@ -13,6 +13,8 @@ export declare class ImageFilterTemplateComponent {
|
|
|
13
13
|
activeCondition: boolean;
|
|
14
14
|
isX: boolean;
|
|
15
15
|
isY: boolean;
|
|
16
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
17
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
16
18
|
onFilterChange(): void;
|
|
17
19
|
/**
|
|
18
20
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { Record } from '../../../../../models/record.model';
|
|
3
3
|
import { ImageSelectorField } from '../../../../../models/fields/imageSelectorField.model';
|
|
4
4
|
import { LogicOperatorImageSelector } from '../../../../../models/logicOperator.model';
|
|
5
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
5
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ImageSelectorFilterTemplateComponent {
|
|
8
8
|
field: ImageSelectorField;
|
|
@@ -22,6 +22,8 @@ export declare class ImageSelectorFilterTemplateComponent {
|
|
|
22
22
|
}[];
|
|
23
23
|
isX: boolean;
|
|
24
24
|
isY: boolean;
|
|
25
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
26
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
25
27
|
constructor();
|
|
26
28
|
ngOnInit(): void;
|
|
27
29
|
initStyles(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum } from '../../../../../models/statistic.model';
|
|
4
5
|
import { TextField } from '../../../../../models/fields/textField.model';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ListFormRecordFilterTemplateComponent {
|
|
@@ -12,6 +13,7 @@ export declare class ListFormRecordFilterTemplateComponent {
|
|
|
12
13
|
activeCondition: boolean;
|
|
13
14
|
isX: boolean;
|
|
14
15
|
isY: boolean;
|
|
16
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
15
17
|
/**
|
|
16
18
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
17
19
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Record } from '../../../../../models/record.model';
|
|
3
3
|
import { LogicOperatorListValue } from '../../../../../models/logicOperator.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
5
5
|
import { ListValueField } from '../../../../../models/fields/listValueField.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ListValueFilterTemplateComponent {
|
|
@@ -15,6 +15,8 @@ export declare class ListValueFilterTemplateComponent {
|
|
|
15
15
|
activeCondition: boolean;
|
|
16
16
|
visible: boolean;
|
|
17
17
|
currentStatistic: Statistic;
|
|
18
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
19
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
18
20
|
FieldstyleObj: any;
|
|
19
21
|
LabelstyleObj: any;
|
|
20
22
|
arrayData: {
|
|
@@ -3,7 +3,7 @@ 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
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
6
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
7
7
|
import { DynamicModuleFilterResultViewModeEnum } from '../../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class NumericFilterTemplateComponent implements OnInit {
|
|
@@ -23,6 +23,8 @@ export declare class NumericFilterTemplateComponent implements OnInit {
|
|
|
23
23
|
LabelstyleObj: any;
|
|
24
24
|
isX: boolean;
|
|
25
25
|
isY: boolean;
|
|
26
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
27
|
+
aggregationFunctionEnum: typeof NumberAggregationFunctionEnum;
|
|
26
28
|
constructor();
|
|
27
29
|
ngOnInit(): void;
|
|
28
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -3,7 +3,7 @@ import { Record } from '../../../../../models/record.model';
|
|
|
3
3
|
import { TextMaskEnum, TextField } from '../../../../../models/fields/textField.model';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
6
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
6
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TextFilterTemplateComponent {
|
|
9
9
|
isStillRecoginze: boolean;
|
|
@@ -27,6 +27,8 @@ export declare class TextFilterTemplateComponent {
|
|
|
27
27
|
platform: string;
|
|
28
28
|
isX: boolean;
|
|
29
29
|
isY: boolean;
|
|
30
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
31
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
30
32
|
constructor();
|
|
31
33
|
ngOnInit(): void;
|
|
32
34
|
initStyles(): void;
|
|
@@ -3,7 +3,7 @@ import { Record } from '../../../../../models/record.model';
|
|
|
3
3
|
import { TextMaskEnum, TextField } from '../../../../../models/fields/textField.model';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
6
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
6
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class TextareaFilterTemplateComponent {
|
|
9
9
|
isStillRecoginze: boolean;
|
|
@@ -27,6 +27,8 @@ export declare class TextareaFilterTemplateComponent {
|
|
|
27
27
|
currentStatistic: Statistic;
|
|
28
28
|
isX: boolean;
|
|
29
29
|
isY: boolean;
|
|
30
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
31
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
30
32
|
constructor();
|
|
31
33
|
ngOnInit(): void;
|
|
32
34
|
initStyles(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LogicOperatorText } from '../../../../../models/logicOperator.model';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
|
-
import { Statistic } from '../../../../../models/statistic.model';
|
|
4
|
+
import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum, Statistic } from '../../../../../models/statistic.model';
|
|
5
5
|
import { TextField } from '../../../../../models/fields/textField.model';
|
|
6
6
|
import { BooleanLogicOperatorType } from '../../../../../models/trigger.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -16,6 +16,8 @@ export declare class ListFormRecordTriggerTemplateComponent {
|
|
|
16
16
|
selectedBooleanLogicOperator: BooleanLogicOperatorType;
|
|
17
17
|
isX: boolean;
|
|
18
18
|
isY: boolean;
|
|
19
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
20
|
+
aggregationFunctionEnum: typeof NotNumberAggregationFunctionEnum;
|
|
19
21
|
onTriggerChange(): void;
|
|
20
22
|
/**
|
|
21
23
|
* Metodo che genera l'oggetto da inviare all'esterno
|
|
@@ -8,9 +8,23 @@ export declare class Statistic {
|
|
|
8
8
|
visible: boolean;
|
|
9
9
|
isX: boolean;
|
|
10
10
|
isY: boolean;
|
|
11
|
+
aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
|
|
11
12
|
}
|
|
12
13
|
export declare class FilterStatistic {
|
|
13
14
|
Statistics: Array<Statistic>;
|
|
14
15
|
PrefilterParams?: any;
|
|
15
16
|
AdditionalParams?: any;
|
|
16
17
|
}
|
|
18
|
+
export declare enum NumberAggregationFunctionEnum {
|
|
19
|
+
"COUNT" = 22,
|
|
20
|
+
"SUM" = 23,
|
|
21
|
+
"AVG" = 24,
|
|
22
|
+
"STDEV" = 25,
|
|
23
|
+
"MIN" = 26,
|
|
24
|
+
"MAX" = 27
|
|
25
|
+
}
|
|
26
|
+
export declare enum NotNumberAggregationFunctionEnum {
|
|
27
|
+
"COUNT" = 22,
|
|
28
|
+
"MIN" = 26,
|
|
29
|
+
"MAX" = 27
|
|
30
|
+
}
|
|
@@ -39,6 +39,12 @@ export declare class EqpDynamicModuleDialogService {
|
|
|
39
39
|
* @param title Titolo dello sweetalert (di default mostra 'Attenzione!')
|
|
40
40
|
*/
|
|
41
41
|
static Warning(message: string | string[], title?: string, isToast?: boolean): void;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param message Messaggio da mostrare nel prompt
|
|
45
|
+
* @param confirmCallback Funzione di callback da richiamare sul conferma
|
|
46
|
+
*/
|
|
47
|
+
static Prompt(message: string, confirmCallback: any, inputValue?: any): void;
|
|
42
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleDialogService, never>;
|
|
43
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<EqpDynamicModuleDialogService>;
|
|
44
50
|
}
|