@hmcts/ccd-case-ui-toolkit 7.3.42 → 7.3.43-EXUI-4188-sanitize-HTML

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';
@@ -4515,6 +4516,7 @@ declare class SelectFlagLocationComponent extends AbstractJourneyComponent imple
4515
4516
  }
4516
4517
 
4517
4518
  declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey {
4519
+ private readonly sanitizer;
4518
4520
  formGroup: FormGroup;
4519
4521
  flagsData: FlagsWithFormGroupPath[];
4520
4522
  caseTitle: string;
@@ -4531,6 +4533,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
4531
4533
  cachedControls: {
4532
4534
  [key: string]: AbstractControl;
4533
4535
  };
4536
+ constructor(multipageComponentStateService: MultipageComponentStateService, sanitizer: DomSanitizer);
4534
4537
  ngOnInit(): void;
4535
4538
  onFlagSelectionChange(selectedFlag: FormControl): void;
4536
4539
  private updateFlagDetails;
@@ -4545,6 +4548,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
4545
4548
  private onNoFlagsError;
4546
4549
  next(): void;
4547
4550
  reapplyCachedControls(): void;
4551
+ sanitizeHtml(content: string | null | undefined): string;
4548
4552
  static ɵfac: i0.ɵɵFactoryDeclaration<ManageCaseFlagsComponent, never>;
4549
4553
  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>;
4550
4554
  }