@hmcts/ccd-case-ui-toolkit 7.4.4 → 7.4.5-govuk6

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
@@ -20,7 +20,7 @@ import * as i139 from '@angular-material-components/datetime-picker';
20
20
  import { NgxMatDatetimepicker, NgxMatDateFormats } from '@angular-material-components/datetime-picker';
21
21
  import { LegacyThemePalette } from '@angular/material/legacy-core';
22
22
  import { Moment } from 'moment/moment';
23
- import { DomSanitizer } from '@angular/platform-browser';
23
+ import { DomSanitizer, Title } from '@angular/platform-browser';
24
24
  import * as i153 from 'ngx-editor';
25
25
  import { Editor } from 'ngx-editor';
26
26
  import * as i144 from '@angular/cdk/tree';
@@ -6784,6 +6784,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6784
6784
  submitting(): boolean;
6785
6785
  getCaseId(): string;
6786
6786
  getCaseTitle(): string;
6787
+ demoteCaseTitleHeadingLevel(title: string): string;
6787
6788
  getCancelText(): string;
6788
6789
  private canNavigateToSummaryPage;
6789
6790
  private getTriggerText;
@@ -7592,6 +7593,7 @@ declare class CaseChallengedAccessRequestComponent implements OnDestroy, OnInit
7592
7593
  private readonly casesService;
7593
7594
  private readonly route;
7594
7595
  private readonly caseNotifier;
7596
+ private readonly titleService;
7595
7597
  static CANCEL_LINK_DESTINATION: string;
7596
7598
  title: string;
7597
7599
  hint: string;
@@ -7605,11 +7607,14 @@ declare class CaseChallengedAccessRequestComponent implements OnDestroy, OnInit
7605
7607
  private readonly radioSelectedControlName;
7606
7608
  private readonly caseReferenceControlName;
7607
7609
  private readonly otherReasonControlName;
7608
- constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier);
7610
+ private originalDocumentTitle;
7611
+ constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier, titleService: Title);
7609
7612
  ngOnInit(): void;
7610
7613
  onChange(): void;
7611
7614
  onSubmit(): void;
7612
7615
  onCancel(): void;
7616
+ private prefixDocumentTitleWithError;
7617
+ private restoreDocumentTitle;
7613
7618
  ngOnDestroy(): void;
7614
7619
  private inputEmpty;
7615
7620
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseChallengedAccessRequestComponent, never>;
@@ -7626,6 +7631,7 @@ declare class CaseSpecificAccessRequestComponent implements OnDestroy, OnInit {
7626
7631
  private readonly casesService;
7627
7632
  private readonly route;
7628
7633
  private readonly caseNotifier;
7634
+ private readonly titleService;
7629
7635
  static CANCEL_LINK_DESTINATION: string;
7630
7636
  collapsed: boolean;
7631
7637
  title: string;
@@ -7638,10 +7644,13 @@ declare class CaseSpecificAccessRequestComponent implements OnDestroy, OnInit {
7638
7644
  private readonly genericError;
7639
7645
  private readonly specificReasonControlName;
7640
7646
  getSpecificAccessError: boolean;
7641
- constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier);
7647
+ private originalDocumentTitle;
7648
+ constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier, titleService: Title);
7642
7649
  ngOnInit(): void;
7643
7650
  onChange(): void;
7644
7651
  onSubmit(): void;
7652
+ private prefixDocumentTitleWithError;
7653
+ private restoreDocumentTitle;
7645
7654
  onCancel(): void;
7646
7655
  ngOnDestroy(): void;
7647
7656
  private inputEmpty;
@@ -7660,6 +7669,7 @@ declare class CaseReviewSpecificAccessRequestComponent implements OnInit, OnDest
7660
7669
  private readonly route;
7661
7670
  private readonly router;
7662
7671
  private readonly appConfig;
7672
+ private readonly titleService;
7663
7673
  static CANCEL_LINK_DESTINATION: string;
7664
7674
  collapsed: boolean;
7665
7675
  title: string;
@@ -7675,12 +7685,15 @@ declare class CaseReviewSpecificAccessRequestComponent implements OnInit, OnDest
7675
7685
  caseDetails: CaseView;
7676
7686
  private readonly genericError;
7677
7687
  private readonly radioSelectedControlName;
7678
- constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, appConfig: AbstractAppConfig);
7688
+ private originalDocumentTitle;
7689
+ constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, appConfig: AbstractAppConfig, titleService: Title);
7679
7690
  ngOnInit(): void;
7680
7691
  ngOnDestroy(): void;
7681
7692
  onChange(): void;
7682
7693
  onSubmit(): void;
7683
7694
  onCancel(): void;
7695
+ private prefixDocumentTitleWithError;
7696
+ private restoreDocumentTitle;
7684
7697
  setMockData(): void;
7685
7698
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseReviewSpecificAccessRequestComponent, never>;
7686
7699
  static ɵcmp: i0.ɵɵComponentDeclaration<CaseReviewSpecificAccessRequestComponent, "ccd-case-review-specific-access-request", never, {}, {}, never, never, false, never>;