@hmcts/ccd-case-ui-toolkit 7.4.4 → 7.4.5-exui-5202-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
@@ -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';
@@ -1382,6 +1382,7 @@ interface FlagDetail {
1382
1382
  flagComment?: string;
1383
1383
  flagComment_cy?: string;
1384
1384
  flagUpdateComment?: string;
1385
+ flagStatusReasonChange?: string;
1385
1386
  dateTimeModified?: Date | string;
1386
1387
  dateTimeCreated: Date | string;
1387
1388
  path: FlagPath[];
@@ -1588,6 +1589,7 @@ declare enum UpdateFlagStep {
1588
1589
  COMMENT_FIELD_LABEL_EXTERNAL = "Please provide your comments below",
1589
1590
  CHARACTER_LIMIT_INFO = "You can enter up to 200 characters",
1590
1591
  STATUS_HINT_TEXT = "Describe reason for status change.",
1592
+ STATUS_REASON_LABEL = "Reason for change",
1591
1593
  WARNING_TEXT = "The details entered here MAY be visible to the party in the future."
1592
1594
  }
1593
1595
 
@@ -4997,7 +4999,9 @@ declare class CaseFlagSummaryListComponent implements OnInit {
4997
4999
  displayMode: typeof CaseFlagSummaryListDisplayMode;
4998
5000
  flagTypeHeaderText: string;
4999
5001
  caseFlagCheckYourAnswersPageStep: typeof CaseFlagCheckYourAnswersPageStep;
5002
+ updateFlagStep: typeof UpdateFlagStep;
5000
5003
  is2Point1Enabled: boolean;
5004
+ is2Point1Update: boolean;
5001
5005
  externalUserUpdate: boolean;
5002
5006
  constructor(rpxTranslationService: RpxTranslationService);
5003
5007
  ngOnInit(): void;
@@ -6784,6 +6788,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6784
6788
  submitting(): boolean;
6785
6789
  getCaseId(): string;
6786
6790
  getCaseTitle(): string;
6791
+ demoteCaseTitleHeadingLevel(title: string): string;
6787
6792
  getCancelText(): string;
6788
6793
  private canNavigateToSummaryPage;
6789
6794
  private getTriggerText;
@@ -7592,6 +7597,7 @@ declare class CaseChallengedAccessRequestComponent implements OnDestroy, OnInit
7592
7597
  private readonly casesService;
7593
7598
  private readonly route;
7594
7599
  private readonly caseNotifier;
7600
+ private readonly titleService;
7595
7601
  static CANCEL_LINK_DESTINATION: string;
7596
7602
  title: string;
7597
7603
  hint: string;
@@ -7605,11 +7611,14 @@ declare class CaseChallengedAccessRequestComponent implements OnDestroy, OnInit
7605
7611
  private readonly radioSelectedControlName;
7606
7612
  private readonly caseReferenceControlName;
7607
7613
  private readonly otherReasonControlName;
7608
- constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier);
7614
+ private originalDocumentTitle;
7615
+ constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier, titleService: Title);
7609
7616
  ngOnInit(): void;
7610
7617
  onChange(): void;
7611
7618
  onSubmit(): void;
7612
7619
  onCancel(): void;
7620
+ private prefixDocumentTitleWithError;
7621
+ private restoreDocumentTitle;
7613
7622
  ngOnDestroy(): void;
7614
7623
  private inputEmpty;
7615
7624
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseChallengedAccessRequestComponent, never>;
@@ -7626,6 +7635,7 @@ declare class CaseSpecificAccessRequestComponent implements OnDestroy, OnInit {
7626
7635
  private readonly casesService;
7627
7636
  private readonly route;
7628
7637
  private readonly caseNotifier;
7638
+ private readonly titleService;
7629
7639
  static CANCEL_LINK_DESTINATION: string;
7630
7640
  collapsed: boolean;
7631
7641
  title: string;
@@ -7638,10 +7648,13 @@ declare class CaseSpecificAccessRequestComponent implements OnDestroy, OnInit {
7638
7648
  private readonly genericError;
7639
7649
  private readonly specificReasonControlName;
7640
7650
  getSpecificAccessError: boolean;
7641
- constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier);
7651
+ private originalDocumentTitle;
7652
+ constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier, titleService: Title);
7642
7653
  ngOnInit(): void;
7643
7654
  onChange(): void;
7644
7655
  onSubmit(): void;
7656
+ private prefixDocumentTitleWithError;
7657
+ private restoreDocumentTitle;
7645
7658
  onCancel(): void;
7646
7659
  ngOnDestroy(): void;
7647
7660
  private inputEmpty;