tuain-ng-forms-lib 12.0.42 → 12.0.43

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.
@@ -1,5 +1,9 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import { FormElement } from './element';
3
+ export interface DetailEvent {
4
+ code: string;
5
+ detail: any;
6
+ }
3
7
  export declare class FieldDescriptor extends FormElement {
4
8
  private readonly _editionFinish;
5
9
  private readonly _editionPartial;
@@ -40,7 +44,7 @@ export declare class FieldDescriptor extends FormElement {
40
44
  get editionFinish(): Subject<any>;
41
45
  get attributeChange(): Subject<any>;
42
46
  get editionPartial(): Subject<any>;
43
- get detailRequest(): Subject<string>;
47
+ get detailRequest(): Subject<DetailEvent>;
44
48
  get info(): string;
45
49
  get validating(): boolean;
46
50
  set validating(isValidating: boolean);
@@ -59,7 +63,7 @@ export declare class FieldDescriptor extends FormElement {
59
63
  notifyEditionPartial(): void;
60
64
  notifyEditionFinish(): void;
61
65
  setAttr(name: string, value: any): void;
62
- notifyEditionDetailRequest(): void;
66
+ notifyEditionDetailRequest(detail: any): void;
63
67
  setVisibleLabel(visibleLabel: boolean): void;
64
68
  showLabel(): void;
65
69
  hideLabel(): void;
@@ -33,7 +33,7 @@ export declare class FieldComponent implements OnInit {
33
33
  updateValue(): void;
34
34
  onInputChange(): void;
35
35
  onChangeContent(): void;
36
- onShowInfo(): void;
36
+ onShowInfo(detail?: any): void;
37
37
  numberInputValidation(event: any): boolean;
38
38
  get visible(): boolean;
39
39
  get disabled(): boolean;
@@ -146,7 +146,7 @@ export declare class BasicFormComponent {
146
146
  displayActionServerError(): void;
147
147
  displayValidationServerError(): void;
148
148
  displayTableServerError(): void;
149
- showFieldInfo(fieldCode: string): void;
149
+ showFieldInfo(fieldCode: string, detail: any): void;
150
150
  showModalDialog(title: any, body: any, options: any, callback?: any, params?: any): void;
151
151
  openUploadDialog(title: any, body: any, options: any, callback?: any, params?: any): void;
152
152
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuain-ng-forms-lib",
3
- "version": "12.0.42",
3
+ "version": "12.0.43",
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",