@eqproject/eqp-dynamic-module 2.9.40 → 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.
Files changed (36) hide show
  1. package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +5 -3
  2. package/esm2020/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.mjs +5 -3
  3. package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +16 -5
  4. package/esm2020/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.mjs +7 -3
  5. package/esm2020/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +4 -2
  6. package/esm2020/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +32 -5
  7. package/esm2020/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.mjs +7 -3
  8. package/esm2020/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +7 -3
  9. package/esm2020/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.mjs +4 -2
  10. package/esm2020/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +4 -2
  11. package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +32 -5
  12. package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +4 -2
  13. package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +7 -3
  14. package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.mjs +7 -3
  15. package/esm2020/lib/models/baseField.model.mjs +3 -1
  16. package/esm2020/lib/models/dynamicModuleFilterResultViewModeEnum.model.mjs +2 -1
  17. package/esm2020/lib/models/statistic.model.mjs +3 -1
  18. package/fesm2015/eqproject-eqp-dynamic-module.mjs +132 -30
  19. package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
  20. package/fesm2020/eqproject-eqp-dynamic-module.mjs +132 -30
  21. package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
  22. package/lib/components/private/form-statistics/dynamic-module-filter-fix/dynamic-module-filter-fix.component.d.ts +3 -1
  23. package/lib/components/private/form-statistics/filter-templates/attachment-filter-template/attachment-filter-template.component.d.ts +2 -0
  24. package/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.d.ts +2 -0
  25. package/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.d.ts +9 -2
  26. package/lib/components/private/form-statistics/filter-templates/image-filter-template/image-filter-template.component.d.ts +2 -0
  27. package/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.d.ts +2 -0
  28. package/lib/components/private/form-statistics/filter-templates/list-form-record-filter-template/list-form-record-filter-template.component.d.ts +2 -0
  29. package/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.d.ts +2 -0
  30. package/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.d.ts +9 -2
  31. package/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.d.ts +2 -0
  32. package/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.d.ts +2 -0
  33. package/lib/components/private/trigger-creator/trigger-templates/list-form-record-trigger-template/list-form-record-trigger-template.component.d.ts +2 -0
  34. package/lib/models/dynamicModuleFilterResultViewModeEnum.model.d.ts +2 -1
  35. package/lib/models/statistic.model.d.ts +2 -0
  36. 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
@@ -17,6 +17,8 @@ export declare class BooleanFilterTemplateComponent {
17
17
  currentStatistic: Statistic;
18
18
  FieldstyleObj: any;
19
19
  LabelstyleObj: any;
20
+ isX: boolean;
21
+ isY: boolean;
20
22
  constructor();
21
23
  ngOnInit(): void;
22
24
  initStyles(): void;
@@ -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
@@ -20,6 +20,8 @@ export declare class ImageSelectorFilterTemplateComponent {
20
20
  Selected?: boolean;
21
21
  ImgUrl?: string;
22
22
  }[];
23
+ isX: boolean;
24
+ isY: boolean;
23
25
  constructor();
24
26
  ngOnInit(): void;
25
27
  initStyles(): void;
@@ -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
  */
@@ -23,6 +23,8 @@ export declare class ListValueFilterTemplateComponent {
23
23
  Selected?: boolean;
24
24
  ImgUrl?: string;
25
25
  }[];
26
+ isX: boolean;
27
+ isY: boolean;
26
28
  constructor();
27
29
  ngOnInit(): void;
28
30
  initStyles(): void;
@@ -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
  }
@@ -25,6 +25,8 @@ export declare class TextFilterTemplateComponent {
25
25
  selectedLogicOperator: LogicOperatorText;
26
26
  activeCondition: boolean;
27
27
  platform: string;
28
+ isX: boolean;
29
+ isY: boolean;
28
30
  constructor();
29
31
  ngOnInit(): void;
30
32
  initStyles(): void;
@@ -25,6 +25,8 @@ export declare class TextareaFilterTemplateComponent {
25
25
  platform: string;
26
26
  visible: boolean;
27
27
  currentStatistic: Statistic;
28
+ isX: boolean;
29
+ isY: boolean;
28
30
  constructor();
29
31
  ngOnInit(): void;
30
32
  initStyles(): void;
@@ -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
@@ -2,5 +2,6 @@ export declare enum DynamicModuleFilterResultViewModeEnum {
2
2
  EXTERNAL_ONLY = 0,
3
3
  INTERNAL_LISTVIEW = 1,
4
4
  INTERNAL_EQPTABLE = 2,
5
- FILTERS_ONLY = 3
5
+ FILTERS_ONLY = 3,
6
+ FILTERS_ONLY_WITH_XY = 4
6
7
  }
@@ -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>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.9.40",
7
+ "version": "2.10.0",
8
8
  "peerDependencies": {
9
9
  "@angular-material-components/datetime-picker": "^15.0.0",
10
10
  "@angular-material-components/moment-adapter": "^15.0.0",