@hmcts/ccd-case-ui-toolkit 7.3.35 → 7.3.36-3582-rc-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/index.d.ts
CHANGED
|
@@ -2452,7 +2452,7 @@ declare class FormValueService {
|
|
|
2452
2452
|
*/
|
|
2453
2453
|
private static clearOptionalEmpty;
|
|
2454
2454
|
constructor(fieldTypeSanitiser: FieldTypeSanitiser);
|
|
2455
|
-
sanitise(rawValue: object): object;
|
|
2455
|
+
sanitise(rawValue: object, isCaseFlagJourney?: boolean): object;
|
|
2456
2456
|
sanitiseCaseReference(reference: string): string;
|
|
2457
2457
|
filterCurrentPageFields(caseFields: CaseField[], editForm: any): any;
|
|
2458
2458
|
sanitiseDynamicLists(caseFields: CaseField[], editForm: any): any;
|
|
@@ -2473,6 +2473,9 @@ declare class FormValueService {
|
|
|
2473
2473
|
*/
|
|
2474
2474
|
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]): void;
|
|
2475
2475
|
removeInvalidCollectionData(data: object, field: CaseField): void;
|
|
2476
|
+
removeHiddenField(data: object, caseFields: CaseField[], clearNonCase: boolean, formControls: {
|
|
2477
|
+
[key: string]: AbstractControl;
|
|
2478
|
+
}): void;
|
|
2476
2479
|
/**
|
|
2477
2480
|
* Remove any empty collection fields where a value of greater than zero is specified in the field's {@link FieldType}
|
|
2478
2481
|
* `min` attribute.
|