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.
- package/bundles/tuain-ng-forms-lib.umd.js +13 -8
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/classes/forms/field.js +9 -5
- package/esm2015/lib/components/elements/field.component.js +3 -3
- package/esm2015/lib/components/forms/basic-form.js +3 -3
- package/fesm2015/tuain-ng-forms-lib.js +12 -8
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/classes/forms/field.d.ts +6 -2
- package/lib/components/elements/field.component.d.ts +1 -1
- package/lib/components/forms/basic-form.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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<
|
|
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
|
/**
|