tuain-ng-forms-lib 14.5.10 → 14.5.26

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.
@@ -13,6 +13,8 @@ export declare class FormAction extends FormElement {
13
13
  restrictedOnValue: string | null;
14
14
  customValidation: any;
15
15
  constructor(actionDefinition: any, formConfig: any);
16
+ connectWithParentForm(form: any, formChangeSubject: any): void;
17
+ updateRestrictedVisibility(): void;
16
18
  viewOnState(state: string): boolean;
17
19
  get actionActivated(): Subject<string>;
18
20
  start(): void;
@@ -4,8 +4,8 @@ export declare class FormPiece {
4
4
  protected _isForced: boolean;
5
5
  protected _absoluteVisible: boolean;
6
6
  protected _absoluteDisabled: boolean;
7
- protected visibleStates: string[] | null;
8
- protected enabledStates: string[] | null;
7
+ protected visibleStates: string[];
8
+ protected enabledStates: string[];
9
9
  _form: any;
10
10
  _formConfig: any;
11
11
  _visible: boolean;
@@ -17,7 +17,11 @@ export declare class FormPiece {
17
17
  setCustomAttributes(attributes: any): void;
18
18
  matchAttribute(name: string, value: string): boolean;
19
19
  setVisibleStates(newStates: any): void;
20
+ addVisibleState(state: string): void;
21
+ removeVisibleState(state: string): void;
20
22
  setEnabledStates(newStates: any): void;
23
+ addEnabledState(state: string): void;
24
+ removeEnabledState(state: string): void;
21
25
  viewOnState(state: string): boolean;
22
26
  enabledOnState(state: string): boolean;
23
27
  get absoluteVisible(): boolean;
@@ -11,8 +11,5 @@ export declare class TableAction extends FormPiece {
11
11
  restrictedOnField: string | null;
12
12
  restrictedOnValue: string | null;
13
13
  restrictedOnOperator: string | null;
14
- recordData: any;
15
14
  constructor(actionDefinition: any, formConfig: any);
16
- viewOnState(state: string): boolean;
17
- setRecodData(recordData: any): void;
18
15
  }
@@ -1,11 +1,13 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { PieceComponent } from '../layout/piece.component';
3
3
  import { TableActionEvent } from '../../../classes/forms/table/table';
4
+ import { TableAction } from '../../../classes/forms/table/action';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class LibTableRecordActionComponent extends PieceComponent implements OnInit {
7
+ isVisible: boolean;
6
8
  recordId: any;
7
9
  recordData: any;
8
- action: any;
10
+ action: TableAction | undefined;
9
11
  actionSelected: EventEmitter<TableActionEvent>;
10
12
  ngOnInit(): void;
11
13
  start(): void;
@@ -2,4 +2,5 @@ export declare class LibFileManagementService {
2
2
  openFile(fileBase64Data: any, fileName: any, fileType: any): void;
3
3
  saveFileFromURL(fileUrl: any, fullFileName?: any): void;
4
4
  saveFile(fileBase64Data: any, fileName: any, fileType: any): void;
5
+ printPdfFile(pdfBufferData: any): void;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuain-ng-forms-lib",
3
- "version": "14.5.10",
3
+ "version": "14.5.26",
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",