tuain-ng-forms-lib 12.0.11 → 12.0.12

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.
@@ -20,6 +20,8 @@ export declare class FormElement {
20
20
  supportMode(state: any): boolean;
21
21
  get visible(): boolean;
22
22
  set visible(visible: boolean);
23
+ visibleOn(state: any): boolean;
24
+ enabledOn(state: any): boolean;
23
25
  setVisibility(visible: boolean, forced?: boolean): void;
24
26
  show(forced?: boolean): void;
25
27
  hide(forced?: boolean): void;
@@ -43,7 +43,7 @@ export declare class FormStructureAndData {
43
43
  getTableObject(elementId: any): any;
44
44
  getActionObject(elementId: any): any;
45
45
  getSubSection(sectionCode: any, subsectionCode: any): any;
46
- get actions(): FormAction[];
46
+ get actions(): {};
47
47
  getSection(sectionCode: any): any;
48
48
  sections(): RecordFormSection[];
49
49
  sectionTitles(): string[];
@@ -73,7 +73,7 @@ export declare class FormStructureAndData {
73
73
  disableAction(actionCode: any): any;
74
74
  enableActions(actionArray: any): void;
75
75
  disableActions(actionArray: any): void;
76
- get fields(): FieldDescriptor[];
76
+ get fields(): {};
77
77
  enableField(fieldCode: any): any;
78
78
  disableField(fieldCode: any): any;
79
79
  getFieldValue(fieldCode: any): any;
@@ -6,5 +6,5 @@ export declare class ElementComponent implements OnInit {
6
6
  ngOnInit(): void;
7
7
  start(): void;
8
8
  get visible(): any;
9
- get disabled(): any;
9
+ get disabled(): boolean;
10
10
  }
@@ -41,6 +41,7 @@ export declare class BasicFormComponent {
41
41
  constructor(formManagerService: LibFormManagerService, _eventManager: LibEventManagerService, fileMgmtServices: LibFileManagementService);
42
42
  setConfig(formConfig: any): void;
43
43
  cleanStart(): void;
44
+ get form(): FormStructureAndData;
44
45
  get currentState(): string;
45
46
  set currentState(state: string);
46
47
  get currentMode(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuain-ng-forms-lib",
3
- "version": "12.0.11",
3
+ "version": "12.0.12",
4
4
  "description": "Componentes y Clases Angular para la gestión de formularios TUAIN",
5
5
  "author": "Mauricio Méndez, Imix Consulting",
6
6
  "license": "MIT",