@hmcts/ccd-case-ui-toolkit 7.3.48 → 7.3.49-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
|
@@ -24,6 +24,7 @@ import * as i143 from '@nicky-lenaers/ngx-scroll-to';
|
|
|
24
24
|
import { ScrollToService } from '@nicky-lenaers/ngx-scroll-to';
|
|
25
25
|
import * as i140 from '@angular/cdk/tree';
|
|
26
26
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
27
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
27
28
|
import * as i6 from 'ngx-markdown';
|
|
28
29
|
import * as i136 from '@angular/material/legacy-form-field';
|
|
29
30
|
import * as i137 from '@angular/material/legacy-input';
|
|
@@ -2474,6 +2475,9 @@ declare class FormValueService {
|
|
|
2474
2475
|
*/
|
|
2475
2476
|
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]): void;
|
|
2476
2477
|
removeInvalidCollectionData(data: object, field: CaseField): void;
|
|
2478
|
+
removeHiddenField(data: object, caseFields: CaseField[], clearNonCase: boolean, formControls: {
|
|
2479
|
+
[key: string]: AbstractControl;
|
|
2480
|
+
}): void;
|
|
2477
2481
|
/**
|
|
2478
2482
|
* Remove any empty collection fields where a value of greater than zero is specified in the field's {@link FieldType}
|
|
2479
2483
|
* `min` attribute.
|
|
@@ -4518,6 +4522,7 @@ declare class SelectFlagLocationComponent extends AbstractJourneyComponent imple
|
|
|
4518
4522
|
}
|
|
4519
4523
|
|
|
4520
4524
|
declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey {
|
|
4525
|
+
private readonly sanitizer;
|
|
4521
4526
|
formGroup: FormGroup;
|
|
4522
4527
|
flagsData: FlagsWithFormGroupPath[];
|
|
4523
4528
|
caseTitle: string;
|
|
@@ -4534,6 +4539,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4534
4539
|
cachedControls: {
|
|
4535
4540
|
[key: string]: AbstractControl;
|
|
4536
4541
|
};
|
|
4542
|
+
constructor(multipageComponentStateService: MultipageComponentStateService, sanitizer: DomSanitizer);
|
|
4537
4543
|
ngOnInit(): void;
|
|
4538
4544
|
onFlagSelectionChange(selectedFlag: FormControl): void;
|
|
4539
4545
|
private updateFlagDetails;
|
|
@@ -4548,6 +4554,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4548
4554
|
private onNoFlagsError;
|
|
4549
4555
|
next(): void;
|
|
4550
4556
|
reapplyCachedControls(): void;
|
|
4557
|
+
sanitizeHtml(content: string | null | undefined): string;
|
|
4551
4558
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManageCaseFlagsComponent, never>;
|
|
4552
4559
|
static ɵcmp: i0.ɵɵComponentDeclaration<ManageCaseFlagsComponent, "ccd-manage-case-flags", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "flagsData": { "alias": "flagsData"; "required": false; }; "caseTitle": { "alias": "caseTitle"; "required": false; }; "displayContextParameter": { "alias": "displayContextParameter"; "required": false; }; }, { "caseFlagStateEmitter": "caseFlagStateEmitter"; }, never, never, false, never>;
|
|
4553
4560
|
}
|