@eqproject/eqp-dynamic-module 2.10.33 → 2.10.35

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 (24) hide show
  1. package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +3 -3
  2. package/esm2020/lib/components/private/action-button-creator/action-button-creator.component.mjs +11 -4
  3. package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +4 -4
  4. package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +1 -1
  5. package/esm2020/lib/components/private/field-templates/action-button-field-template/action-button-field-template.component.mjs +36 -15
  6. package/esm2020/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.mjs +3 -3
  7. package/esm2020/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.mjs +24 -8
  8. package/esm2020/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +2 -2
  9. package/esm2020/lib/components/private/graphs/graph/graph.component.mjs +7 -7
  10. package/esm2020/lib/directives/dynamic-loader/dynamic-loader.directive.mjs +5 -5
  11. package/esm2020/lib/directives/speech-to-text/speech-to-text.directive.mjs +4 -4
  12. package/esm2020/lib/models/fields/attachmentField.model.mjs +1 -1
  13. package/esm2020/lib/services/utilityHelper.services.mjs +9 -9
  14. package/fesm2015/eqproject-eqp-dynamic-module.mjs +98 -54
  15. package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
  16. package/fesm2020/eqproject-eqp-dynamic-module.mjs +98 -54
  17. package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
  18. package/lib/components/private/action-button-creator/action-button-creator.component.d.ts +2 -1
  19. package/lib/components/private/field-templates/action-button-field-template/action-button-field-template.component.d.ts +6 -1
  20. package/lib/components/private/field-templates/boolean-field-template/boolean-field-template.component.d.ts +2 -0
  21. package/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.d.ts +1 -1
  22. package/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.d.ts +1 -1
  23. package/lib/models/fields/attachmentField.model.d.ts +1 -1
  24. package/package.json +1 -1
@@ -16,6 +16,7 @@ export declare class ActionButtonCreatorComponent {
16
16
  formulas: any;
17
17
  endPointConfiguration: EndPointConfiguration;
18
18
  InField: boolean;
19
+ formulaObject: any;
19
20
  onSaveRecord: EventEmitter<ActionButton>;
20
21
  onChangeSomething: EventEmitter<ActionButton>;
21
22
  FieldTypeEnum: typeof FieldTypeEnum;
@@ -44,5 +45,5 @@ export declare class ActionButtonCreatorComponent {
44
45
  onChangeFormula(formula: any): void;
45
46
  isAnActionKey(key: any, field: ActionButton, formulas: Array<any>): boolean;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonCreatorComponent, never>;
47
- 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>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonCreatorComponent, "action-button-creator", never, { "form": "form"; "actionButton": "actionButton"; "actionButtonField": "actionButtonField"; "formulas": "formulas"; "endPointConfiguration": "endPointConfiguration"; "InField": "InField"; "formulaObject": "formulaObject"; }, { "onSaveRecord": "onSaveRecord"; "onChangeSomething": "onChangeSomething"; }, never, never, false, never>;
48
49
  }
@@ -9,6 +9,7 @@ export declare class ActionButtonFieldTemplateComponent {
9
9
  formulaObject: any;
10
10
  inConfig: boolean;
11
11
  fireTrigger: EventEmitter<FireTrigger>;
12
+ recordChange: EventEmitter<Record>;
12
13
  FieldstyleObj: any;
13
14
  constructor();
14
15
  ngOnInit(): void;
@@ -19,6 +20,10 @@ export declare class ActionButtonFieldTemplateComponent {
19
20
  updateField(): void;
20
21
  generateAction(actionButton: ActionButtonField): void;
21
22
  evaluateFormulasAndFireTrigger(triggerToFire: FireTrigger): void;
23
+ /**
24
+ * Metodo per emettere l'evento che il valore del record è cambiato.
25
+ */
26
+ onRecordValueChange(): void;
22
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonFieldTemplateComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonFieldTemplateComponent, "action-button-field-template", never, { "field": "field"; "record": "record"; "formulaObject": "formulaObject"; "inConfig": "inConfig"; }, { "fireTrigger": "fireTrigger"; }, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonFieldTemplateComponent, "action-button-field-template", never, { "field": "field"; "record": "record"; "formulaObject": "formulaObject"; "inConfig": "inConfig"; }, { "fireTrigger": "fireTrigger"; "recordChange": "recordChange"; }, never, never, false, never>;
24
29
  }
@@ -14,6 +14,8 @@ export declare class BooleanFieldTemplateComponent implements OnInit, OnChanges,
14
14
  constructor();
15
15
  initStyles(): void;
16
16
  ngOnInit(): void;
17
+ checkReadonly(): void;
18
+ checkVisibility(defaultValue: any): void;
17
19
  ngOnChanges(changes: SimpleChanges): void;
18
20
  /**
19
21
  * Metodo per aggiornare il valore del campo quando questo è rappresentato da una formula.
@@ -16,7 +16,7 @@ import { DatePipe } from "@angular/common";
16
16
  import { ModeEnum, TimeTypeEnum } from 'tmw-picker';
17
17
  import { TabellarField } from '../../../../models/graph.model';
18
18
  import * as i0 from "@angular/core";
19
- type Panel = {
19
+ declare type Panel = {
20
20
  record: Record;
21
21
  isOpen: boolean;
22
22
  pageState: string;
@@ -7,7 +7,7 @@ import { UtilityHelperService } from '../../../../../services/utilityHelper.serv
7
7
  import { DynamicLoaderDirectiveData, eventOut } from '../../../../../directives/dynamic-loader/dynamic-loader.directive';
8
8
  import { FireTrigger, ActionButton } from '../../../../../models/trigger.model';
9
9
  import * as i0 from "@angular/core";
10
- type PageState = null | 'visualizzaContenuto' | 'modificaContenuto';
10
+ declare type PageState = null | 'visualizzaContenuto' | 'modificaContenuto';
11
11
  export declare class SingleRecordComponent implements OnInit {
12
12
  private utilityHelperService;
13
13
  endPointConfiguration: EndPointConfiguration;
@@ -3,7 +3,7 @@ export declare class AttachmentField extends BaseField {
3
3
  /**Elenco delle estensioni consentite. Se vuoto usa il default (pdf) */
4
4
  AllowedExtensions: Array<string>;
5
5
  /**Se true permette l'inserimento di più allegati. In questo caso i metadati vengono rappresentati come una detail */
6
- IsMultiAttach: boolean;
6
+ isMultiAttach: boolean;
7
7
  /**Elenco campi che possono rappresentare i metadati dell'allegato, ad esempio nome, ecc... */
8
8
  MetadataFields: Array<BaseField>;
9
9
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.10.33",
7
+ "version": "2.10.35",
8
8
  "peerDependencies": {
9
9
  "@angular-material-components/datetime-picker": "^15.0.0",
10
10
  "@angular-material-components/moment-adapter": "^15.0.0",