@hmcts/ccd-case-ui-toolkit 7.4.17-exceljs-update → 7.4.17-exui-5220-rc2

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
@@ -1084,6 +1084,7 @@ declare class CaseTab implements Orderable {
1084
1084
  order?: number;
1085
1085
  fields: CaseField[];
1086
1086
  show_condition?: string;
1087
+ defaultFocus?: boolean;
1087
1088
  }
1088
1089
 
1089
1090
  declare class CasePrintDocument {
@@ -2294,9 +2295,7 @@ declare class FieldsUtils {
2294
2295
  static readonly SERVER_RESPONSE_FIELD_TYPE_COLLECTION = "Collection";
2295
2296
  static readonly SERVER_RESPONSE_FIELD_TYPE_COMPLEX = "Complex";
2296
2297
  static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_LIST_TYPE: FieldTypeEnum[];
2297
- static readonly defaultTabList: {
2298
- PRLAPPS: string;
2299
- };
2298
+ static readonly defaultTabList: Record<string, string>;
2300
2299
  static isValidDisplayContext(ctx: string): boolean;
2301
2300
  static createToken(): string;
2302
2301
  static isTranslatable(fieldType: FieldType): boolean;
@@ -2772,6 +2771,9 @@ declare class SearchInput implements Orderable {
2772
2771
  }
2773
2772
 
2774
2773
  declare class WindowService {
2774
+ setLocalStorage(key: string, value: string): void;
2775
+ getLocalStorage(key: string): string;
2776
+ removeLocalStorage(key: string): void;
2775
2777
  locationAssign(url: string): void;
2776
2778
  setSessionStorage(key: string, value: string): void;
2777
2779
  getSessionStorage(key: string): string;
@@ -2816,8 +2818,8 @@ declare class SearchFiltersComponent implements OnInit {
2816
2818
  ngOnInit(): void;
2817
2819
  reset(): void;
2818
2820
  apply(): void;
2819
- populateValuesInSessionStorage(): void;
2820
- getValuesFromSessionStorage(): Jurisdiction;
2821
+ populateValuesInLocalStorage(): void;
2822
+ getValuesFromLocalStorage(): Jurisdiction;
2821
2823
  getMetadataFields(): string[];
2822
2824
  isSearchable(): boolean;
2823
2825
  isSearchableAndSearchInputsReady(): boolean;
@@ -3985,6 +3987,12 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
3985
3987
  * This runs only when the document has meaningful content, so a completely empty field remains empty.
3986
3988
  */
3987
3989
  private preserveDocmosisBlankParagraphs;
3990
+ /**
3991
+ * Uses the presentational tags supported by Docmosis while continuing to
3992
+ * accept the equivalent semantic tags when existing content is loaded.
3993
+ */
3994
+ private normaliseDocmosisInlineFormatting;
3995
+ private replaceElements;
3988
3996
  private hasMeaningfulRichTextContent;
3989
3997
  syncAccessibilityLater(): void;
3990
3998
  protected addValidators(caseField: CaseField, control: AbstractControl): void;
@@ -5367,6 +5375,8 @@ declare class QueryListItem implements CaseMessage {
5367
5375
  messageIndexInParent?: number | null;
5368
5376
  get lastSubmittedMessage(): QueryListItem;
5369
5377
  get lastSubmittedBy(): string;
5378
+ get isLastSubmittedByHmctsStaff(): boolean;
5379
+ static isHmctsStaffUser(message: QueryListItem): boolean;
5370
5380
  get lastSubmittedDate(): Date;
5371
5381
  get lastResponseBy(): string;
5372
5382
  get lastResponseDate(): Date | null;
@@ -5436,6 +5446,8 @@ declare class QueryDetailsComponent implements OnChanges, OnInit, OnDestroy {
5436
5446
  constructor(sessionStorageService: SessionStorageService, route: ActivatedRoute, router: Router, abstractConfig: AbstractAppConfig, caseNotifier: CaseNotifier);
5437
5447
  onBack(): void;
5438
5448
  isInternalUser(): boolean;
5449
+ isJudiciaryUser(): boolean;
5450
+ isHmctsStaffUser(message: QueryListItem): boolean;
5439
5451
  ngOnInit(): void;
5440
5452
  ngOnChanges(): void;
5441
5453
  ngOnDestroy(): void;
@@ -5455,6 +5467,7 @@ declare class QueryListComponent implements OnChanges {
5455
5467
  sortTable(col: QueryListColumn): void;
5456
5468
  getAriaSortHeaderValue(col: QueryListColumn): 'ascending' | 'descending' | 'none';
5457
5469
  showDetails(query: any): void;
5470
+ isHmctsStaffUser(message: QueryListItem): boolean;
5458
5471
  private sort;
5459
5472
  private sortDate;
5460
5473
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryListComponent, never>;