ngx-techlify-core 18.49.0 → 18.50.1
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/esm2022/lib/form-configuration/form-configuration-utility.service.mjs +10 -2
- package/esm2022/lib/techlify-icon/techlify-icon.component.mjs +8 -2
- package/fesm2022/ngx-techlify-core.mjs +16 -2
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/form-configuration/form-configuration-utility.service.d.ts +8 -0
- package/package.json +1 -1
|
@@ -4,6 +4,14 @@ export declare class FormConfigurationUtilityService {
|
|
|
4
4
|
formConfiguration: any;
|
|
5
5
|
fieldConfigCache: any;
|
|
6
6
|
initialize(formConfigurationFormService: FormConfigurationFormService, formCode: any): Observable<boolean>;
|
|
7
|
+
/**
|
|
8
|
+
* Check if field is requried based on if is_required is true and
|
|
9
|
+
* is_enabled is true in the form configuration. If the field is not enabled,
|
|
10
|
+
* it should not be required even if is_required is true.
|
|
11
|
+
*
|
|
12
|
+
* @param fieldCode
|
|
13
|
+
* @returns true if the field is required and enabled, false otherwise
|
|
14
|
+
*/
|
|
7
15
|
getFieldRequired(fieldCode: any): boolean;
|
|
8
16
|
getFieldEnabled(fieldCode: any): boolean;
|
|
9
17
|
getFieldConfig(fieldCode: any): any;
|