tuain-ng-forms-lib 14.4.91 → 14.4.95
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/esm2020/lib/classes/forms/action.mjs +2 -1
- package/esm2020/lib/classes/forms/field.mjs +2 -1
- package/esm2020/lib/classes/forms/piece-propagate.mjs +8 -1
- package/esm2020/lib/classes/forms/section.mjs +2 -1
- package/esm2020/lib/classes/forms/subsection.mjs +2 -1
- package/esm2020/lib/classes/forms/table/table.mjs +2 -1
- package/esm2020/lib/components/elements/field.component.mjs +3 -2
- package/esm2020/lib/components/elements/layout/piece.component.mjs +19 -2
- package/esm2020/lib/components/elements/tables/table.component.mjs +2 -6
- package/fesm2015/tuain-ng-forms-lib.mjs +58 -29
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +33 -7
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/classes/forms/piece-propagate.d.ts +2 -0
- package/lib/components/elements/field.component.d.ts +1 -1
- package/lib/components/elements/layout/piece.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
2
|
import { FormPiece } from './piece';
|
|
3
3
|
export declare class FormPiecePropagate extends FormPiece {
|
|
4
|
+
protected propagationCustomAttributes: string[];
|
|
4
5
|
protected _attributeChange: BehaviorSubject<any>;
|
|
5
6
|
constructor(pieceDefinition: any, formConfig: any);
|
|
6
7
|
get attributeChange(): BehaviorSubject<any>;
|
|
7
8
|
propagateAttribute(name: any, value: any): void;
|
|
9
|
+
setCustomAttribute(name: string, value: any): void;
|
|
8
10
|
setVisibility(visible: boolean, forced?: boolean | null): void;
|
|
9
11
|
set enabled(enabled: any);
|
|
10
12
|
formStateChange(state: any): void;
|
|
@@ -23,7 +23,7 @@ export declare class FieldComponent extends ElementComponent implements OnInit {
|
|
|
23
23
|
errorMessage: any;
|
|
24
24
|
field: FieldDescriptor | null;
|
|
25
25
|
ngOnInit(): void;
|
|
26
|
-
defaultProcessAttributeChange(attribute: string, value?: any):
|
|
26
|
+
defaultProcessAttributeChange(attribute: string, value?: any): boolean;
|
|
27
27
|
updateValue(): void;
|
|
28
28
|
onInputChange(): void;
|
|
29
29
|
onChangeContent(): void;
|
|
@@ -3,8 +3,10 @@ export declare class PieceComponent {
|
|
|
3
3
|
formConfig: any;
|
|
4
4
|
visible: boolean;
|
|
5
5
|
disabled: boolean;
|
|
6
|
-
|
|
6
|
+
customAttributes: any;
|
|
7
|
+
defaultProcessAttributeChange(attribute: string, value?: any): boolean;
|
|
7
8
|
customProcessAttributeChange(attribute: string, value?: any): void;
|
|
9
|
+
customAttributeChange(subAttribute: string, value?: any): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PieceComponent, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<PieceComponent, "lib-piece", never, {}, {}, never, ["*"], false>;
|
|
10
12
|
}
|